freeradius.git
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.

20 years agoAdd a link for extra documentation from Stadler Karel (<Karel.Stadler@psi.ch>)
kkalev [Thu, 12 Jun 2003 21:22:30 +0000 (21:22 +0000)]
Add a link for extra documentation from Stadler Karel (<Karel.Stadler@psi.ch>)

20 years agoSync with updates from SuSE package maintainer. Thanks SuSE!
pnixon [Thu, 12 Jun 2003 13:26:21 +0000 (13:26 +0000)]
Sync with updates from SuSE package maintainer. Thanks SuSE!

20 years agoUpdate for FreeRadius 0.9 release and enable Krb5
pnixon [Thu, 12 Jun 2003 08:37:04 +0000 (08:37 +0000)]
Update for FreeRadius 0.9 release and enable Krb5

20 years agofix broken accounting_onoff_query
pnixon [Wed, 11 Jun 2003 16:12:44 +0000 (16:12 +0000)]
fix broken accounting_onoff_query

20 years agoChanced some field names to be "nicer"
pnixon [Wed, 11 Jun 2003 14:59:30 +0000 (14:59 +0000)]
Chanced some field names to be "nicer"

20 years agoDebian: Install MIBs for Radius-SMUX.
phampson [Wed, 11 Jun 2003 14:31:59 +0000 (14:31 +0000)]
Debian: Install MIBs for Radius-SMUX.

20 years agoClean up two shadowed variable warnings in smux_open.
phampson [Wed, 11 Jun 2003 14:30:01 +0000 (14:30 +0000)]
Clean up two shadowed variable warnings in smux_open.

20 years agoh323_db_postgresql.sql is now split out into two new files.
pnixon [Wed, 11 Jun 2003 13:33:07 +0000 (13:33 +0000)]
h323_db_postgresql.sql is now split out into two new files.

20 years agoUpdate VIEW calls to work with new call_history schema
pnixon [Wed, 11 Jun 2003 10:58:34 +0000 (10:58 +0000)]
Update VIEW calls to work with new call_history schema

20 years agoInstead of just storing the user counter we also store the last acct-unique-id
kkalev [Tue, 10 Jun 2003 13:56:51 +0000 (13:56 +0000)]
Instead of just storing the user counter we also store the last acct-unique-id
if that is available. That way we can avoid runing if we get a duplicate
accounting packet.

20 years ago Grabbed attributes and values from one of netscreen's PDF's.
aland [Sun, 8 Jun 2003 13:07:23 +0000 (13:07 +0000)]
Grabbed attributes and values from one of netscreen's PDF's.

Untested, and therefore not $INCLUDEd in the main dictionary

21 years agouse versioned libs (lib-0.8.1.so instead of lib.so.0.0.0)
fcusack [Thu, 5 Jun 2003 20:16:54 +0000 (20:16 +0000)]
use versioned libs (lib-0.8.1.so instead of lib.so.0.0.0)

21 years ago+ Information about reply-items support added
3APA3A [Wed, 4 Jun 2003 12:53:22 +0000 (12:53 +0000)]
+ Information about reply-items support added

21 years ago+ support for = flag in field description to add item to reply_items
3APA3A [Wed, 4 Jun 2003 12:47:28 +0000 (12:47 +0000)]
+ support for = flag in field description to add item to reply_items
  instead of configure_items. Patch from Michael Chernyakhovsky <mike@mgn.ru>

21 years agoClarent Log file parser and DB schema
pnixon [Mon, 2 Jun 2003 14:40:04 +0000 (14:40 +0000)]
Clarent Log file parser and DB schema
These are not directly for radius files as clarent does not support radius at the GW
end of a call. Rather you can use these to suck the clarent flatfile into a DB then
compare to the results you have from radius in situations where you have Clarent GWs
at one end of a call and Cisco/radius at the other end.
They needed a home (other than my local disk) and hence they are now living here :-)

21 years agoSome changes from my local tree
pnixon [Mon, 2 Jun 2003 14:34:57 +0000 (14:34 +0000)]
Some changes from my local tree

21 years ago Don't die if accthost/authost aren't defined.
aland [Wed, 28 May 2003 14:10:21 +0000 (14:10 +0000)]
Don't die if accthost/authost aren't defined.

Patch from Liyan Tan

21 years ago Added redback, from Eduardo Rolda
aland [Mon, 26 May 2003 17:40:58 +0000 (17:40 +0000)]
Added redback, from Eduardo Rolda

21 years ago Sample configuration for the digest module, now that it's stable.
aland [Mon, 26 May 2003 16:07:15 +0000 (16:07 +0000)]
Sample configuration for the digest module, now that it's stable.

21 years ago Added digest, exec, and ippool.
aland [Mon, 26 May 2003 16:00:36 +0000 (16:00 +0000)]
Added digest, exec, and ippool.

21 years ago Close only connected sockets, not unconnected ones.
aland [Mon, 26 May 2003 15:53:26 +0000 (15:53 +0000)]
Close only connected sockets, not unconnected ones.

Patch from Geller Sandor

21 years ago Corrected typo
aland [Mon, 26 May 2003 15:40:00 +0000 (15:40 +0000)]
Corrected typo

Patch from Marko Myllynen

21 years ago Fixed typo.
aland [Mon, 26 May 2003 15:38:38 +0000 (15:38 +0000)]
Fixed typo.

Patch by Marko Myllynen

21 years ago Minor reformatting, pointer to web page containing sample of dictionary
aland [Fri, 23 May 2003 16:07:45 +0000 (16:07 +0000)]
Minor reformatting, pointer to web page containing sample of dictionary

21 years ago Patch for new location of dictionaries
aland [Fri, 23 May 2003 14:57:24 +0000 (14:57 +0000)]
Patch for new location of dictionaries

21 years agoEscape " in login_time create page before parsing the login-time string
kkalev [Thu, 22 May 2003 09:28:31 +0000 (09:28 +0000)]
Escape " in login_time create page before parsing the login-time string

21 years ago Updated warning message to be a little clearer
aland [Wed, 21 May 2003 17:36:52 +0000 (17:36 +0000)]
Updated warning message to be a little clearer

21 years ago Take care of SQL_DOWN in connect socket. It's a temporary error,
aland [Wed, 21 May 2003 16:53:57 +0000 (16:53 +0000)]
Take care of SQL_DOWN in connect socket.  It's a temporary error,
not a success.

21 years agoFixed bug in reporting authserver in warnings when marking dead the
cparker [Wed, 21 May 2003 15:32:33 +0000 (15:32 +0000)]
Fixed bug in reporting authserver in warnings when marking dead the
accounting host for a realm entry.

21 years ago Added 'none' as allowed string
aland [Tue, 20 May 2003 14:22:25 +0000 (14:22 +0000)]
Added 'none' as allowed string

21 years ago Added perl script to look at the DB
aland [Tue, 20 May 2003 14:17:06 +0000 (14:17 +0000)]
Added perl script to look at the DB

21 years ago Add names for items in 'authorize', etc. which aren't sub-sections
aland [Tue, 20 May 2003 14:13:43 +0000 (14:13 +0000)]
Add names for items in 'authorize', etc. which aren't sub-sections

21 years agoApply a patch from Alexander M. Pravking <fduch@antar.bryansk.ru> to do an xlat on the
kkalev [Mon, 19 May 2003 07:50:47 +0000 (07:50 +0000)]
Apply a patch from Alexander M. Pravking <fduch@antar.bryansk.ru> to do an xlat on the
retrieved attributes.

21 years agoSmall change in user_accounting.php3
kkalev [Mon, 19 May 2003 07:43:51 +0000 (07:43 +0000)]
Small change in user_accounting.php3

21 years agoUpdate documentation for the counter module
kkalev [Sat, 17 May 2003 09:41:13 +0000 (09:41 +0000)]
Update documentation for the counter module

21 years agoAdd a few more debug statements
kkalev [Sat, 17 May 2003 08:34:54 +0000 (08:34 +0000)]
Add a few more debug statements

21 years agoUpdate documentation for the counter module
kkalev [Sat, 17 May 2003 08:23:15 +0000 (08:23 +0000)]
Update documentation for the counter module

21 years ago Don't try to delete the CVS directory on 'make clean'
aland [Thu, 15 May 2003 16:47:28 +0000 (16:47 +0000)]
Don't try to delete the CVS directory on 'make clean'

21 years ago trylock may return positive or negative on failure. <sigh>
aland [Thu, 15 May 2003 14:54:18 +0000 (14:54 +0000)]
trylock may return positive or negative on failure.  <sigh>

Patch from Liyan Tan

21 years ago Update checks to work.
aland [Thu, 15 May 2003 14:52:02 +0000 (14:52 +0000)]
Update checks to work.

Patch from Konstantin Cherkasoff

21 years ago Whoops... when inserting into the tail of the queue, ensure
aland [Wed, 14 May 2003 17:48:15 +0000 (17:48 +0000)]
Whoops... when inserting into the tail of the queue, ensure
that the previous link for the handle is set to what was the tail

21 years ago Patch from "Simon" to use the port given in the config file
aland [Wed, 14 May 2003 17:36:41 +0000 (17:36 +0000)]
Patch from "Simon" to use the port given in the config file
when connecting to the MySQL server.

Also miscellaneous whitespace changes, to go more with the
code style

21 years ago Cleanups & security fixes
aland [Wed, 14 May 2003 14:33:57 +0000 (14:33 +0000)]
Cleanups & security fixes

21 years agoAdd new override option to rlm_ippool
wichert [Wed, 14 May 2003 09:09:16 +0000 (09:09 +0000)]
Add new override option to rlm_ippool

21 years agoAdd seperate build timestamp file
wichert [Wed, 14 May 2003 09:06:35 +0000 (09:06 +0000)]
Add seperate build timestamp file

21 years agoAdd cross-compile, autotools and build-optios support
wichert [Wed, 14 May 2003 09:04:36 +0000 (09:04 +0000)]
Add cross-compile, autotools and build-optios support

21 years agoFix location of pidfile
wichert [Wed, 14 May 2003 09:00:37 +0000 (09:00 +0000)]
Fix location of pidfile

21 years agoFix default values for boolean types
wichert [Wed, 14 May 2003 09:00:06 +0000 (09:00 +0000)]
Fix default values for boolean types

21 years agoFix upgrade test
wichert [Wed, 14 May 2003 08:50:53 +0000 (08:50 +0000)]
Fix upgrade test

21 years agoFix another compiler warning
wichert [Wed, 14 May 2003 08:49:55 +0000 (08:49 +0000)]
Fix another compiler warning

21 years agoMake encrypted_pass const
wichert [Wed, 14 May 2003 08:49:15 +0000 (08:49 +0000)]
Make encrypted_pass const

21 years agoFix compiler warning
wichert [Wed, 14 May 2003 08:48:12 +0000 (08:48 +0000)]
Fix compiler warning

21 years agoFix typo an invalid free
wichert [Wed, 14 May 2003 08:45:41 +0000 (08:45 +0000)]
Fix typo an invalid free

21 years agoFix variable shadowing and add const where needed. Patch from Paul Hampson
wichert [Wed, 14 May 2003 08:44:28 +0000 (08:44 +0000)]
Fix variable shadowing and add const where needed. Patch from Paul Hampson

21 years agoImprove wording a bit
wichert [Wed, 14 May 2003 08:42:59 +0000 (08:42 +0000)]
Improve wording a bit

21 years ago Allow NT-Password use in stage6, too.
aland [Mon, 12 May 2003 18:07:40 +0000 (18:07 +0000)]
Allow NT-Password use in stage6, too.

21 years ago Slight change...
aland [Mon, 12 May 2003 15:18:53 +0000 (15:18 +0000)]
Slight change...

21 years ago Alloed IPASS-style realms to work well, too
aland [Mon, 12 May 2003 15:18:02 +0000 (15:18 +0000)]
Alloed IPASS-style realms to work well, too

21 years agoAdd a config directive general_stats_use_totacct. If set we use the totacct table...
kkalev [Mon, 12 May 2003 13:34:57 +0000 (13:34 +0000)]
Add a config directive general_stats_use_totacct. If set we use the totacct table in the stats page instead of
radacct

21 years agoUse $config[sql_usergroup_table] in show_groups.php3
kkalev [Sun, 11 May 2003 14:03:37 +0000 (14:03 +0000)]
Use $config[sql_usergroup_table] in show_groups.php3