1 #define CHECKRAD1 "/usr/sbin/checkrad"
2 #define CHECKRAD2 "/usr/local/sbin/checkrad"
4 /* Hack for funky ascend ports on MAX 4048 (and probably others)
5 The "NAS-Port-Id" value is "xyyzz" where "x" = 1 for digital, 2 for analog;
6 "yy" = line number (1 for first PRI/T1/E1, 2 for second, so on);
7 "zz" = channel number (on the PRI or Channelized T1/E1).
8 This should work with normal terminal servers, unless you have a TS with
9 more than 9999 ports ;^).
10 The "ASCEND_CHANNELS_PER_LINE" is the number of channels for each line into
11 the unit. For my US/PRI that's 23. A US/T1 would be 24, and a
12 European E1 would be 30 (I think ... never had one ;^).
13 This will NOT change the "NAS-Port-Id" reported in the detail log. This
14 is simply to fix the dynamic IP assignments a la Cistron.
15 WARNING: This hack works for me, but I only have one PRI!!! I've not
16 tested it on 2 or more (or with models other than the Max 4048)
18 -- dgreer@austintx.com
21 #define ASCEND_PORT_HACK
22 #define ASCEND_CHANNELS_PER_LINE 23
24 #define CISCO_ACCOUNTING_HACK
27 #define SQL_LOCK_LEN sizeof(SQLACCTREC)
28 #define SQLQUERYLOG "/var/log/radacct/radius.sql"
29 #define SQLCONFIGFILE "rlm_sql.conf"
30 #define SQLBACKUP "/var/log/radacct/sqlbackup.dat"
34 #define MAX_COMMUNITY_LEN 50
35 #define MAX_SQL_SOCKS 5
36 #define MAX_TABLE_LEN 20
37 #define MAX_AUTH_QUERY_LEN 256
38 #define AUTH_STRING_LEN 128