aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/bsc_init.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2009-12-12 13:44:19 +0100
committerHarald Welte <laforge@gnumonks.org>2009-12-12 13:44:19 +0100
commitd6aa52488a19674fb142e9619b579f600b2fec9a (patch)
treebb95fc13f1991a805f6c654bd4386660d8ef76b5 /openbsc/src/bsc_init.c
parent7bcb893eb78148250ed2b513e5e2a06fef7d47f3 (diff)
add warning about accept-all network on non-barred cells
Diffstat (limited to 'openbsc/src/bsc_init.c')
-rw-r--r--openbsc/src/bsc_init.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsc/src/bsc_init.c b/openbsc/src/bsc_init.c
index d21f71a0c..c46fb2cdc 100644
--- a/openbsc/src/bsc_init.c
+++ b/openbsc/src/bsc_init.c
@@ -795,6 +795,14 @@ static int bootstrap_bts(struct gsm_bts *bts)
return -EINVAL;
}
+ if (bts->network->auth_policy == GSM_AUTH_POLICY_ACCEPT_ALL &&
+ !bts->cell_barred)
+ fprintf(stderr, "\nWARNING: You are running an 'accept-all' "
+ "network on a BTS that is not barred. This "
+ "configuration is likely to interfere with production "
+ "GSM networks and should only be used in a RF "
+ "shielded environment such as a faraday cage!\n\n");
+
/* Control Channel Description */
bts->si_common.chan_desc.att = 1;
bts->si_common.chan_desc.ccch_conf = RSL_BCCH_CCCH_CONF_1_C;