File: README.xtradius

package info (click to toggle)
xtradius 1.2.1-beta2-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,252 kB
  • ctags: 921
  • sloc: ansic: 10,181; perl: 733; sh: 260; makefile: 149; sql: 21
file content (109 lines) | stat: -rw-r--r-- 4,187 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
-- VERSION 1.2.1 --
CHANGES:
* Upgraded to cistron 1.6.6

-- VERSION 1.2 --
CHANGES:
* Upgraded to cistron 1.6.5

-- VERSION 1.1Pre2 --
CHANGES:
* Fixed CHAP-Challenge attribute which was not being made
  available to the scripts. Patch submitted by Alexei Saveliev
* Fixed incorrect parsing of A/V pairs sent from scripts.
* Removed linefeed from documentation, scripts, and src.
* Fixed errors in redhat/rc.radiusd-redhat script - patch from
  Vasily Ryndyuk
* Added attributes to raddb/dictionary.ascend, patch submitted
  by Cyril Zlachevsky
* Changed redhat/radiusd-logrotate script, to uncomment
  unnecessary checkrad.log entry.  Patch submitted by Cyril Zlachevsky.
* Fixed postgresql plugin. Month and year needed to be incremented,
  to avoid small y2k issue.

-- VERSION 1.1Pre1 --
CHANGES:
* Upgraded to Cistron-1.6.4
* Added contrib/xtradius_test.pl script in order to test xtradius
* Changed buffer size form exec strings... Previous version cutted out long
parameters
* Changed attributes codes in raddb/dictionary.xtradius
* Added support for Cisco VoIP
  Now xtradius can handle Cisco VoIP packets handling them as all the others.
  Thanks to Cyril Zlachevsky (mazay@phone.dn.ua) for his help
* Added new LDAP auth script contrib/authldap.pl 
  Thanks to Kevin Lynn (klynn@santacruz.org)
* Added xtradius_test.pl under contrib
  This is a simple debugging script which logs script data to /tmp/xtr.debug
  It is useful when making tests

-- VERSION 1.0beta3 --
CHANGES:
* Bugfixes:
- Fixed radius_env's call to strdup in exec.c
- Fixed compile-time warning when NOSHADOW is defined
* Added contrib/ directory with the following plug-ins:
- authldap    - external authentication via LDAP
- authmysql   - external authentication and accounting via MySQL
- pg_xtradius - external authentication and accounting via PostgreSQL

-- VERSION 1.0beta2 --
CHANGES:
* Upgraded to Cistron-1.6.3
* Applied bugfixes submitted on the message board:
- execparam bugfix ("Weird Execparam Bug", alex, 24-01-2000)
- auth.c bugfix    ("Some BUGs in source code", Rusakov_SA, 26-01-2000)
- auth.c bugfix    ("bug in auth.c", Anatoli, 15-04-2000)

-- VERSION 1.0beta --
CHANGES:
* Upgraded to Cistron-1.6.1
* Extended AUTH_STRING_LEN up to 254
* Added some fixes to make xtradius FreeBSD compatible
* Now attributes are passed to the scripts via environment variables. This
should make scripts easier to write.
* Dictionary values have been moved into dictionary.xtradius (update your
/etc/raddb!)

Remember that you can send back to the NAS some dictionary values simply
printing them to stdout

-- VERSION 0.9 --
CHANGES:
* Fixed bug when passing User-Name with spaces to external program. Now
it will be passed to the script in the correct way.
(a special thank goes to John Edwards for reporting the bug)

* Dictionary keys
ATTRIBUTE	Exec-Program-Account	1142	string
ATTRIBUTE	Exec-Program-Nas	1143	string
ATTRIBUTE	Exec-Program-Log	1144	string
VALUE		Auth-Type		External		252

* /etc/raddb/execparams allows you to specify param char and dictionary key
With this you config which params the radius server can pass to your
scripts. 
A line like this 
NAS-IP-Address	n
will give to %n in the command line the Nas ip address.
If the attribute is an integer and has defined value pairs in the
dictionary the correct value will substituted.

* /etc/raddb/users
Example below let you to specify how and when to execute your scripts; put
this lines at the beginning of your user file and remeber to change your
default auth-type to external also!
Also remember that if you want to send attributes back to the NAS you have
to print them using your scripts.

DEFAULT Acct-Status-Type = "Start"
        Exec-Program-Account = "/usr/local/xtradius/ixtrp/radacct.pl %u %e %y %k %o %d %k"
	Exec-Program-Nas = "/usr/local/xtradius/ixtrp/nas_start.pl %n"
	Exec-Program-Log = "/usr/local/xtradius/ixtrp/radlog.pl %x %n"

DEFAULT Acct-Status-Type = "Stop"
        Exec-Program-Account = "/usr/local/xtradius/ixtrp/radacct.pl %u %e %y %k %o %d %k"
	Exec-Program-Nas = "/usr/local/xtradius/ixtrp/nas_stop.pl %n"
	Exec-Program-Log = "/usr/local/xtradius/ixtrp/radlog.pl %x %n"

DEFAULT	Auth-Type = External