freeradius.git
20 years agoRenamed so that dh_installdocs can actually find and install the Debian README release_0_9_0
phampson [Wed, 9 Jul 2003 08:00:20 +0000 (08:00 +0000)]
Renamed so that dh_installdocs can actually find and install the Debian README

20 years agoChange the removal of the freeradius-generated documentation directory to
phampson [Wed, 9 Jul 2003 05:37:01 +0000 (05:37 +0000)]
Change the removal of the freeradius-generated documentation directory to
match what's actually being generated.

20 years agoUpdated version to 0.9.0~pre2-1, this time before the tarball's released.
phampson [Wed, 9 Jul 2003 04:39:01 +0000 (04:39 +0000)]
Updated version to 0.9.0~pre2-1, this time before the tarball's released.
Moved openssl changelog entry to the 'New Upstream Release' section.

20 years ago update for 0.9.0
aland [Tue, 8 Jul 2003 18:01:05 +0000 (18:01 +0000)]
update for 0.9.0

20 years ago Ready for 0.9.0-pre2
aland [Tue, 8 Jul 2003 18:00:51 +0000 (18:00 +0000)]
Ready for 0.9.0-pre2

Don't use 'find', as it isn't necessary

20 years agoAttach pre-release version number.
phampson [Tue, 8 Jul 2003 16:46:09 +0000 (16:46 +0000)]
Attach pre-release version number.

20 years agoFinal notes regarding 0.9 VS older Debian(ised) (and non-Debian) versions
phampson [Tue, 8 Jul 2003 15:12:15 +0000 (15:12 +0000)]
Final notes regarding 0.9 VS older Debian(ised) (and non-Debian) versions

20 years agoupdate spec files for release
pnixon [Mon, 7 Jul 2003 20:59:33 +0000 (20:59 +0000)]
update spec files for release

20 years agorelease version
pnixon [Mon, 7 Jul 2003 20:39:07 +0000 (20:39 +0000)]
release version

20 years agorelease version
pnixon [Mon, 7 Jul 2003 20:33:51 +0000 (20:33 +0000)]
release version

20 years ago Added note that playing with the dictionaries is bad.
aland [Mon, 7 Jul 2003 19:28:31 +0000 (19:28 +0000)]
Added note that playing with the dictionaries is bad.

20 years ago added notes about what to fix next
aland [Mon, 7 Jul 2003 19:21:28 +0000 (19:21 +0000)]
added notes about what to fix next

20 years ago check & memset
aland [Mon, 7 Jul 2003 19:11:45 +0000 (19:11 +0000)]
check & memset

20 years ago check & memset
aland [Mon, 7 Jul 2003 19:06:26 +0000 (19:06 +0000)]
check & memset

20 years ago check for malloc failed & memset
aland [Mon, 7 Jul 2003 19:05:14 +0000 (19:05 +0000)]
check for malloc failed & memset

20 years ago error check & memset to zero
aland [Mon, 7 Jul 2003 19:04:05 +0000 (19:04 +0000)]
error check & memset to zero

20 years ago die if failed allocating memory.
aland [Mon, 7 Jul 2003 19:02:48 +0000 (19:02 +0000)]
die if failed allocating memory.

memset() data to 0.

20 years ago extend permissions for some files so that group members may read
aland [Mon, 7 Jul 2003 18:36:26 +0000 (18:36 +0000)]
extend permissions for some files so that group members may read
them, too.

20 years ago getenv can return NULL
aland [Mon, 7 Jul 2003 15:47:54 +0000 (15:47 +0000)]
getenv can return NULL

Patch from Steve G

20 years ago Apparently RedHat 9 doesn't like the use of 'signal', and prefers
aland [Mon, 7 Jul 2003 15:30:08 +0000 (15:30 +0000)]
Apparently RedHat 9 doesn't like the use of 'signal', and prefers
'sigaction' (sigh)

Patch from Steve G

20 years ago If the EAP NAK says that the client can do LEAP, then do that.
aland [Mon, 7 Jul 2003 15:20:42 +0000 (15:20 +0000)]
If the EAP NAK says that the client can do LEAP, then do that.

Also print out a little more in the way of debugging information

20 years ago More check pointers before dereferencing them.
aland [Sat, 5 Jul 2003 15:33:40 +0000 (15:33 +0000)]
More check pointers before dereferencing them.

20 years ago Check pointer before de-referencing it.
aland [Sat, 5 Jul 2003 15:26:59 +0000 (15:26 +0000)]
Check pointer before de-referencing it.

20 years ago After allocating memory, ensure it's all zero before we use it
aland [Fri, 4 Jul 2003 21:08:03 +0000 (21:08 +0000)]
After allocating memory, ensure it's all zero before we use it

20 years ago Clear out field after we've freed it.
aland [Fri, 4 Jul 2003 21:04:54 +0000 (21:04 +0000)]
Clear out field after we've freed it.

Bug noted by  Steve G

20 years ago last set of changes before 0.9
aland [Fri, 4 Jul 2003 21:01:29 +0000 (21:01 +0000)]
last set of changes before 0.9

20 years ago Don't de-reference 'cur' after we've free'd it.
aland [Fri, 4 Jul 2003 20:49:18 +0000 (20:49 +0000)]
Don't de-reference 'cur' after we've free'd it.

20 years ago Don't call printf... it's dumb.
aland [Fri, 4 Jul 2003 20:10:08 +0000 (20:10 +0000)]
Don't call printf... it's dumb.

20 years ago We should really clean this up...
aland [Fri, 4 Jul 2003 20:02:44 +0000 (20:02 +0000)]
We should really clean this up...

20 years ago Don't copy more data than exists
aland [Fri, 4 Jul 2003 19:16:12 +0000 (19:16 +0000)]
Don't copy more data than exists

20 years ago moved pthread include, so that it will be included.
aland [Fri, 4 Jul 2003 19:13:55 +0000 (19:13 +0000)]
moved pthread include, so that it will be included.
Noted by Steve G

Hmm... most of the includes should probably be fixed here...

20 years ago Minor cleanups from Steve G
aland [Fri, 4 Jul 2003 19:11:07 +0000 (19:11 +0000)]
Minor cleanups from Steve G

20 years ago Added attributes from
aland [Fri, 4 Jul 2003 15:22:55 +0000 (15:22 +0000)]
Added attributes from

http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide_chapter09186a00800b5dc5.html

Patch by Tamas Jalsovszky

20 years agoOn retransmissions free the previous radius packet id since we are going to forget
kkalev [Wed, 2 Jul 2003 13:48:51 +0000 (13:48 +0000)]
On retransmissions free the previous radius packet id since we are going to forget
about it completely

20 years ago corrected typo
aland [Mon, 30 Jun 2003 15:23:15 +0000 (15:23 +0000)]
corrected typo

20 years ago Use the 'canonical user name' for Unix group lookups, not the
aland [Mon, 30 Jun 2003 15:22:45 +0000 (15:22 +0000)]
Use the 'canonical user name' for Unix group lookups, not the
User-Name attribute.

Patch from James J. William

20 years agoSleep 140msec between calls to do_send not only 25msec
kkalev [Sat, 28 Jun 2003 15:42:08 +0000 (15:42 +0000)]
Sleep 140msec between calls to do_send not only 25msec
Do n=0 before sending out accounting packets

20 years ago Don't create config.h, as no one uses it
aland [Fri, 27 Jun 2003 20:49:30 +0000 (20:49 +0000)]
Don't create config.h, as no one uses it

20 years ago EAP TLS document
aland [Fri, 27 Jun 2003 20:13:10 +0000 (20:13 +0000)]
EAP TLS document

20 years ago Stupid sem_wait implementation: you should return -1 on signal,
aland [Fri, 27 Jun 2003 18:15:38 +0000 (18:15 +0000)]
Stupid sem_wait implementation: you should return -1 on signal,
not zero!

20 years ago Build experimental modules, too.
aland [Fri, 27 Jun 2003 17:56:05 +0000 (17:56 +0000)]
Build experimental modules, too.

Noted by Alexander M. Pravking

20 years ago Use the correct variable to check the status
aland [Fri, 27 Jun 2003 15:17:52 +0000 (15:17 +0000)]
Use the correct variable to check the status

Patch from Dan Carver

20 years ago The dictionaries should be publiuc accessible.
aland [Fri, 27 Jun 2003 15:04:15 +0000 (15:04 +0000)]
The dictionaries should be publiuc accessible.

Patch from Jonathan Ruano

20 years ago! LINFO changed to L_DBG than adding new valuepair
3APA3A [Fri, 27 Jun 2003 10:48:41 +0000 (10:48 +0000)]
! LINFO changed to L_DBG than adding new valuepair

20 years agoOn retransmissions:
kkalev [Thu, 26 Jun 2003 20:46:40 +0000 (20:46 +0000)]
On retransmissions:
free(req->data) since we 've changed the radius packet id. That way rad_send
will recreate the radius packet and don't use the existing one.
keep a mapping of radius ids which are in use so that we don't use them

20 years ago added note about the changed location of the dictionary files
aland [Thu, 26 Jun 2003 20:19:09 +0000 (20:19 +0000)]
added note about the changed location of the dictionary files

20 years ago The unique ID we generate is based on the client IP address,
aland [Thu, 26 Jun 2003 20:06:25 +0000 (20:06 +0000)]
The unique ID we generate is based on the client IP address,
NOT on the NAS-IP-Address, or NAS-Identifier.  The packet MAY
have been proxied, and the contents of the packet MAY be lying
to us.

In addition, the old code did not properly deal with string/ipaddr
sizes in the attributes it used.

20 years ago Select the OP column, too.
aland [Thu, 26 Jun 2003 19:53:08 +0000 (19:53 +0000)]
Select the OP column, too.

Input from Dmitriy Milashenk

20 years ago If we have Auth-Type := Reject, then don't proxy it.
aland [Thu, 26 Jun 2003 19:40:56 +0000 (19:40 +0000)]
If we have Auth-Type := Reject, then don't proxy it.

Hack from Chris Brotsos

20 years ago Added weird & wild flag to build on RH9, as per todays post
aland [Thu, 26 Jun 2003 19:33:57 +0000 (19:33 +0000)]
Added weird & wild flag to build on RH9, as per todays post
to -users from Michael Griego

20 years ago the VENDOR macro operates on signed quantities, which is
aland [Thu, 26 Jun 2003 15:21:33 +0000 (15:21 +0000)]
the VENDOR macro operates on signed quantities, which is
annoying.  So when it's shifted right, it carries the sign with it.

The solution is to keep only the lower 16 bits, so that vendor
codes higher than 32768 can work.

Bug noted by Jacob S. Barrett

20 years ago more glibc stupidity.
aland [Thu, 26 Jun 2003 15:11:09 +0000 (15:11 +0000)]
more glibc stupidity.

Patch from Oliver Graf

20 years ago updated usage help
aland [Thu, 26 Jun 2003 15:08:29 +0000 (15:08 +0000)]
updated usage help

20 years ago Patch to make it work on only versions.
aland [Wed, 25 Jun 2003 21:37:57 +0000 (21:37 +0000)]
Patch to make it work on only versions.

Patch from Boian Jordanov

20 years agoOn retransmissions change the radius packet id
kkalev [Wed, 25 Jun 2003 19:24:54 +0000 (19:24 +0000)]
On retransmissions change the radius packet id

20 years ago glibc returns an 'int' for gethostbyname_r(), NOT a pointer.
aland [Wed, 25 Jun 2003 17:52:52 +0000 (17:52 +0000)]
glibc returns an 'int' for gethostbyname_r(), NOT a pointer.

You've got to love misbegotten undocumented incompatible broken
stupid software...

20 years ago print out more descriptive error message
aland [Wed, 25 Jun 2003 15:18:08 +0000 (15:18 +0000)]
print out more descriptive error message

20 years agoUpdate from SuSE. Thanks
pnixon [Wed, 25 Jun 2003 13:44:01 +0000 (13:44 +0000)]
Update from SuSE. Thanks

20 years agoremove an old pthread_cond comment
fcusack [Wed, 25 Jun 2003 08:46:33 +0000 (08:46 +0000)]
remove an old pthread_cond comment

20 years ago Latest changes
aland [Tue, 24 Jun 2003 20:14:04 +0000 (20:14 +0000)]
Latest changes

20 years ago Minor updates
aland [Tue, 24 Jun 2003 19:17:51 +0000 (19:17 +0000)]
Minor updates

20 years ago cleanups, so we don't call strdup() (and thus malloc) within
aland [Tue, 24 Jun 2003 15:22:28 +0000 (15:22 +0000)]
cleanups, so we don't call strdup() (and thus malloc) within
a critical section.  Instead, we just do the comparison.

20 years ago remove duplications
aland [Tue, 24 Jun 2003 15:13:52 +0000 (15:13 +0000)]
remove duplications

20 years agoCrypt thread patch from Oliver Graf <ograf@rz-online.net> (KEVAG Telekom GmbH /...
pnixon [Tue, 24 Jun 2003 14:22:19 +0000 (14:22 +0000)]
Crypt thread patch from Oliver Graf <ograf@rz-online.net>  (KEVAG Telekom GmbH / RZ-Online GmbH)

20 years ago Give up on stupid pthread conditionals. POSIX semaphores are
aland [Tue, 24 Jun 2003 13:47:22 +0000 (13:47 +0000)]
Give up on stupid pthread conditionals.  POSIX semaphores are
boatloads simpler, faster, better, with icing on top.

20 years ago+ Examples for rlm_passwd are updated
3APA3A [Tue, 24 Jun 2003 12:54:05 +0000 (12:54 +0000)]
+ Examples for rlm_passwd are updated

20 years ago+ Note about request_items added
3APA3A [Tue, 24 Jun 2003 12:48:33 +0000 (12:48 +0000)]
+ Note about request_items added

20 years ago+ Patch to add attributes to any list: request_itmes, reply_items and
3APA3A [Tue, 24 Jun 2003 12:44:31 +0000 (12:44 +0000)]
+ Patch to add attributes to any list: request_itmes, reply_items and
  configure_items

20 years agoltconfig patch from SuSE. This has been in the SuSE distro for several version
pnixon [Tue, 24 Jun 2003 11:03:39 +0000 (11:03 +0000)]
ltconfig patch from SuSE. This has been in the SuSE distro for several version
so it should be stable.

20 years agoHuge rlm_perl update patch applied on Alan's instructions
pnixon [Tue, 24 Jun 2003 10:44:50 +0000 (10:44 +0000)]
Huge rlm_perl update patch applied on Alan's instructions

20 years ago after a bit of thinking, some re-arranging
aland [Mon, 23 Jun 2003 20:26:28 +0000 (20:26 +0000)]
after a bit of thinking, some re-arranging

20 years ago extend the scope of the mutexes, so that conditionals won't be lost
aland [Mon, 23 Jun 2003 20:15:41 +0000 (20:15 +0000)]
extend the scope of the mutexes, so that conditionals won't be lost

20 years ago corrected typo in commented out stuff, just in case we can
aland [Mon, 23 Jun 2003 16:43:43 +0000 (16:43 +0000)]
corrected typo in commented out stuff, just in case we can
get it to work in the future.

20 years agoRegenerate configure from configure.in using autoconf2.13:
phampson [Sun, 22 Jun 2003 16:31:37 +0000 (16:31 +0000)]
Regenerate configure from configure.in using autoconf2.13:
Checks for gethostby{addr,name}{,_r} in a way that's doesn't involve
accidentally falling checks. Prefers GNU to SYSV to BSD.

20 years agoChecks for gethostby{addr,name}{,_r} in a way that's doesn't involve
phampson [Sun, 22 Jun 2003 16:30:58 +0000 (16:30 +0000)]
Checks for gethostby{addr,name}{,_r} in a way that's doesn't involve
accidentally falling checks. Prefers GNU to SYSV to BSD.

20 years agoRerun autoconf (2.13) and autoheader (2.13)
phampson [Sun, 22 Jun 2003 10:06:08 +0000 (10:06 +0000)]
Rerun autoconf (2.13) and autoheader (2.13)

20 years agoFix detection of gethostbyaddr{,_r} to not prefer the non-thread safe BSD version
phampson [Sun, 22 Jun 2003 10:04:21 +0000 (10:04 +0000)]
Fix detection of gethostbyaddr{,_r} to not prefer the non-thread safe BSD version
Add discriminiation of gethostbyname{,_r} similar to gethostbyaddr{,_r}
Make BSDSTYLE an actual value.
Make ip_getaddr() use a threadsafe gethostbyname_r if available.
 Based (almost completely) on a patch by Oliver Graf <ograf@rz-online.net>:
 http://lists.cistron.nl/archives/freeradius-users/2003/06/msg00686.html
 With correction by Paul Hampson <Paul.Hampson@Pobox.Com> as mentioned:
 http://lists.cistron.nl/archives/freeradius-users/2003/06/msg00702.html

20 years agoRemove last vestiges of DICT_NOCASE
phampson [Sun, 22 Jun 2003 07:47:41 +0000 (07:47 +0000)]
Remove last vestiges of DICT_NOCASE

20 years agoFix transposal of ERX-Primary-Wins and ERX-Secondary-Dns
phampson [Sat, 21 Jun 2003 10:38:26 +0000 (10:38 +0000)]
Fix transposal of ERX-Primary-Wins and ERX-Secondary-Dns
Add some new attributes from ERX 5.0x software.
Add URLs for all the ERX's Radius Attributes (versions 3.0 to 5.0)

20 years ago! memory management patch from Michael Chernyakhovsky <mike@mgn.ru>
3APA3A [Sat, 21 Jun 2003 10:23:20 +0000 (10:23 +0000)]
! memory management patch from Michael Chernyakhovsky <mike@mgn.ru>
  to prevent crash on radiusd restart

20 years agoUse ip_getaddr in place of inet_addr and gethostbyname calls.
phampson [Sat, 21 Jun 2003 04:47:59 +0000 (04:47 +0000)]
Use ip_getaddr in place of inet_addr and gethostbyname calls.
This will allow gethostbyname_r to be cleanly used when it's available.

20 years agoMake NAS port unsigned
phampson [Fri, 20 Jun 2003 17:50:10 +0000 (17:50 +0000)]
Make NAS port unsigned

20 years agoFix compiler warnings about missing prototypes and typecasts
phampson [Fri, 20 Jun 2003 17:47:49 +0000 (17:47 +0000)]
Fix compiler warnings about missing prototypes and typecasts

20 years agoRemove the tls_mode configuration directive. It is deprecated in favor of either
kkalev [Fri, 20 Jun 2003 12:52:46 +0000 (12:52 +0000)]
Remove the tls_mode configuration directive. It is deprecated in favor of either
StartTLS or LDAPS and it only created confusion.

20 years agoFix integer conversion; radius "ints" are really uint32's.
fcusack [Thu, 19 Jun 2003 09:04:18 +0000 (09:04 +0000)]
Fix integer conversion; radius "ints" are really uint32's.
Thanks to Sepp Rudel and Oliver Graf.

20 years agorad_chap_encode buffer overflow fix courtesy of Masao NISHIKU
fcusack [Wed, 18 Jun 2003 07:47:43 +0000 (07:47 +0000)]
rad_chap_encode buffer overflow fix courtesy of Masao NISHIKU

20 years agoRecord recent change to rules to install SNMP MIBs
phampson [Mon, 16 Jun 2003 16:36:10 +0000 (16:36 +0000)]
Record recent change to rules to install SNMP MIBs

20 years agoWhitespace fixup in previous change.
phampson [Mon, 16 Jun 2003 15:34:06 +0000 (15:34 +0000)]
Whitespace fixup in previous change.

20 years agoMove configuration for newly-stable modules from experimental.conf to
phampson [Mon, 16 Jun 2003 15:23:40 +0000 (15:23 +0000)]
Move configuration for newly-stable modules from experimental.conf to
radiusd.conf.in:
 rlm_digest
 rlm_exec
 rlm_ippool

20 years agoAdded file exists check, quiet mode and slightly more verbosity in verbose mode.
pnixon [Mon, 16 Jun 2003 12:23:27 +0000 (12:23 +0000)]
Added file exists check, quiet mode and slightly more verbosity in verbose mode.

20 years agoUpdate 'missing' script to the one in Debian's automake-1.6 package.
phampson [Mon, 16 Jun 2003 08:38:01 +0000 (08:38 +0000)]
Update 'missing' script to the one in Debian's automake-1.6 package.
This adds the --run parameter libltdl wants to call.

20 years ago[Debian] Turn on --enable-developer when building Debian package,
phampson [Mon, 16 Jun 2003 07:28:57 +0000 (07:28 +0000)]
[Debian] Turn on --enable-developer when building Debian package,
to enable warnings and remove INSTALLSTRIP=-s, since Debian policy
requires that binaries are installed unstripped and then conditionally
stripped before packaging...

20 years agoFix the --enable-developer flag for people without ${srcdir}/CVS
phampson [Mon, 16 Jun 2003 07:26:38 +0000 (07:26 +0000)]
Fix the --enable-developer flag for people without ${srcdir}/CVS

20 years agoAlso add '-maxdepth 1' for finding modules in experimental mode...
phampson [Mon, 16 Jun 2003 07:01:54 +0000 (07:01 +0000)]
Also add '-maxdepth 1' for finding modules in experimental mode...
 (Pointed out by Kevin Bonner)
 (rlm_sql honours experimental mode, and rlm_eap's modules are all stable)

20 years agoRemove accidentally committed cruft. (Was generated by a bug)
phampson [Mon, 16 Jun 2003 06:52:41 +0000 (06:52 +0000)]
Remove accidentally committed cruft. (Was generated by a bug)

20 years agoRemove accidentally committed Makefile.
phampson [Mon, 16 Jun 2003 06:50:12 +0000 (06:50 +0000)]
Remove accidentally committed Makefile.

20 years ago* Add a warning message if some deprecated files are being used. If
hartwick [Sun, 15 Jun 2003 14:09:32 +0000 (14:09 +0000)]
* Add a warning message if some deprecated files are being used.  If
  the files are not being used don't worry about the warning as the
  installation will be unaffected anyway.

20 years agoUse '-maxdepth 1' find argument to avoid doubly-configuring sub-modules and
phampson [Sat, 14 Jun 2003 06:19:05 +0000 (06:19 +0000)]
Use '-maxdepth 1' find argument to avoid doubly-configuring sub-modules and
configuring disabled sub-modules....
(Sub-modules are configured by their super-modules.)

20 years agoRemove accidentally committed Makefile.
phampson [Sat, 14 Jun 2003 05:00:51 +0000 (05:00 +0000)]
Remove accidentally committed Makefile.

20 years agoThis is a more-or-less complete rewrite of doc/Acct-Type thanks to Franklin Trumpy.
pnixon [Fri, 13 Jun 2003 08:28:56 +0000 (08:28 +0000)]
This is a more-or-less complete rewrite of doc/Acct-Type thanks to Franklin Trumpy.