freeradius.git
20 years ago Document $(R)
aland [Mon, 5 Apr 2004 21:12:48 +0000 (21:12 +0000)]
Document $(R)

20 years ago If the request queue is too large, complain, and discard the
aland [Mon, 5 Apr 2004 21:02:17 +0000 (21:02 +0000)]
If the request queue is too large, complain, and discard the
new request.

If the request queue is full, double it in size.

20 years ago The REQUEST is in the 'req' variable, not in 'request'
aland [Mon, 5 Apr 2004 21:00:34 +0000 (21:00 +0000)]
The REQUEST is in the 'req' variable, not in 'request'

20 years ago NOT match is NOT zero.
aland [Mon, 5 Apr 2004 18:52:37 +0000 (18:52 +0000)]
NOT match is NOT zero.

Thanks to Malcom Caldwell

20 years agoAdd 7 new Juniper attributes
pnixon [Sun, 4 Apr 2004 23:33:55 +0000 (23:33 +0000)]
Add 7 new Juniper attributes

20 years agoAdd ldap_userdn as a configuration directive. If set we use that for
kkalev [Sat, 3 Apr 2004 21:35:17 +0000 (21:35 +0000)]
Add ldap_userdn as a configuration directive. If set we use that for
user DN's (variables supported) instead of performing and ldap search for
each user. That can be somewhat faster.

20 years ago* Sort the servers list in failed_logins,user_stats,stats
kkalev [Sat, 3 Apr 2004 20:42:29 +0000 (20:42 +0000)]
* Sort the servers list in failed_logins,user_stats,stats
* Add the /bin postgresql compatibility patch from Guy Fraser

20 years agoAdd a few comments on the user of the Ldap-UserDN attribute
kkalev [Sat, 3 Apr 2004 20:28:12 +0000 (20:28 +0000)]
Add a few comments on the user of the Ldap-UserDN attribute

20 years ago Documented %{0} etc.
aland [Fri, 26 Mar 2004 19:18:17 +0000 (19:18 +0000)]
Documented %{0} etc.

20 years ago Allow only 0..8.
aland [Fri, 26 Mar 2004 16:16:11 +0000 (16:16 +0000)]
Allow only 0..8.

When we have a new match, delete all references to old matches.

If we didn't have a match, don't reference the rxmatch array,
and delete all references to old matches

20 years ago We now have man pages
aland [Thu, 25 Mar 2004 21:22:28 +0000 (21:22 +0000)]
We now have man pages

20 years ago We now have man pages
aland [Thu, 25 Mar 2004 21:11:57 +0000 (21:11 +0000)]
We now have man pages

20 years ago We now have man pages
aland [Thu, 25 Mar 2004 19:25:37 +0000 (19:25 +0000)]
We now have man pages

20 years ago We now have a man page
aland [Thu, 25 Mar 2004 19:23:03 +0000 (19:23 +0000)]
We now have a man page

20 years ago We now have man pages
aland [Thu, 25 Mar 2004 19:17:30 +0000 (19:17 +0000)]
We now have man pages

20 years ago More updates
aland [Thu, 25 Mar 2004 19:14:36 +0000 (19:14 +0000)]
More updates

20 years ago We now have a man page. Updates should go there
aland [Thu, 25 Mar 2004 19:08:04 +0000 (19:08 +0000)]
We now have a man page.  Updates should go there

20 years ago A bit of updates
aland [Thu, 25 Mar 2004 19:07:31 +0000 (19:07 +0000)]
A bit of updates

20 years ago Interix requires -D_ALL_SOURCE, for reasons known only to them.
aland [Thu, 25 Mar 2004 18:01:13 +0000 (18:01 +0000)]
Interix requires -D_ALL_SOURCE, for reasons known only to them.

20 years ago Updates
aland [Thu, 25 Mar 2004 17:13:40 +0000 (17:13 +0000)]
Updates

20 years ago Made rbtree code handling for proxying request live.
aland [Thu, 25 Mar 2004 17:05:55 +0000 (17:05 +0000)]
Made rbtree code handling for proxying request live.

Chris Brotsos says that it's slower, but ~8 seconds over 50K
requests, which is negligible.

Having proper locking allows us to handle ID's on proxy packets
better.

20 years ago Corrected typos, where 'test -f' didn't match 'echo'
aland [Thu, 25 Mar 2004 15:23:49 +0000 (15:23 +0000)]
Corrected typos, where 'test -f' didn't match 'echo'

20 years agoDocument -v option.
phampson [Thu, 25 Mar 2004 11:38:35 +0000 (11:38 +0000)]
Document -v option.

20 years agoAdd accounting_update_query_alt to rlm_sql, to catch lost start packets
phampson [Thu, 25 Mar 2004 11:31:17 +0000 (11:31 +0000)]
Add accounting_update_query_alt to rlm_sql, to catch lost start packets
earlier than the eventual stop packet.

20 years agoSome new Cisco VASs
pnixon [Thu, 25 Mar 2004 08:49:05 +0000 (08:49 +0000)]
Some new Cisco VASs

20 years agoAdd new VSAs for CISCO SIP PROXY SERVER as defined at http://www.cisco.com/en/US...
pnixon [Thu, 25 Mar 2004 08:22:26 +0000 (08:22 +0000)]
Add new VSAs for CISCO SIP PROXY SERVER as defined at cisco.com/en/US/products/sw/voicesw/ps2157/products_administration_guide_chapter09186a00800c7944.html

20 years ago Install eap.conf, too
aland [Thu, 25 Mar 2004 03:28:47 +0000 (03:28 +0000)]
Install eap.conf, too

20 years ago Better linking of sub-modules, and added support for static
aland [Wed, 24 Mar 2004 18:09:36 +0000 (18:09 +0000)]
Better linking of sub-modules, and added support for static
linking of SQL sub-modules

20 years ago Added extra LCRYPT, for systems which have problems linking
aland [Wed, 24 Mar 2004 18:06:28 +0000 (18:06 +0000)]
Added extra LCRYPT, for systems which have problems linking
otherwise (hello Interix)

20 years agoupdate strip_dot function to return NULL if it receives a blank string
pnixon [Wed, 24 Mar 2004 14:50:33 +0000 (14:50 +0000)]
update strip_dot function to return NULL if it receives a blank string

20 years agoChange H323DisconnectCause from VARCHAR(2) to VARCHAR(20) because CSPS sends cause...
pnixon [Wed, 24 Mar 2004 13:56:28 +0000 (13:56 +0000)]
Change H323DisconnectCause from VARCHAR(2) to VARCHAR(20) because CSPS sends cause names instead of cause codes.

20 years ago For '=~', add the matching sub-strings to the request, as %{0},
aland [Tue, 23 Mar 2004 22:19:31 +0000 (22:19 +0000)]
For '=~', add the matching sub-strings to the request, as %{0},
%{1}, %{2}, etc.

20 years ago Preliminary support for xlat's of regex results: %{1}, %{2}, etc.
aland [Tue, 23 Mar 2004 22:14:24 +0000 (22:14 +0000)]
Preliminary support for xlat's of regex results: %{1}, %{2}, etc.

20 years ago Include prototype for rl_add_proxy
aland [Tue, 23 Mar 2004 22:08:37 +0000 (22:08 +0000)]
Include prototype for rl_add_proxy

20 years ago signed/unsigned fixes.
mcr [Fri, 19 Mar 2004 02:22:16 +0000 (02:22 +0000)]
signed/unsigned fixes.
also put () around one expression, since it looks like it
was not meant to be default precedence.

20 years ago as a result of incrementing the EAP-id each time, the
mcr [Fri, 19 Mar 2004 02:21:08 +0000 (02:21 +0000)]
as a result of incrementing the EAP-id each time, the
cryptographic results have changed.

20 years ago increment the EAP-id on each stage of the transaction.
mcr [Fri, 19 Mar 2004 02:20:35 +0000 (02:20 +0000)]
increment the EAP-id on each stage of the transaction.

20 years agoAdd alternate index as a comment to support stupid cisco SIP softswitches
pnixon [Thu, 18 Mar 2004 21:04:43 +0000 (21:04 +0000)]
Add alternate index as a comment to support stupid cisco SIP softswitches

20 years agoFix spelling error
pnixon [Thu, 18 Mar 2004 21:03:55 +0000 (21:03 +0000)]
Fix spelling error

20 years agoupdate ID tag
pnixon [Thu, 18 Mar 2004 21:03:14 +0000 (21:03 +0000)]
update ID tag

20 years agoUpdate the documentation to make it easier to understand. Include info about VSA...
pnixon [Thu, 18 Mar 2004 20:26:00 +0000 (20:26 +0000)]
Update the documentation to make it easier to understand. Include info about VSA configs on Cisco

20 years agoChange config name from "sql" to "pgsql-voip" to allow loading alongside an existing...
pnixon [Thu, 18 Mar 2004 18:27:36 +0000 (18:27 +0000)]
Change config name from "sql" to "pgsql-voip" to allow loading alongside an existing sql config

20 years ago Don't de-reference proxy when asked to look at proxy reply, and
aland [Thu, 18 Mar 2004 15:56:50 +0000 (15:56 +0000)]
Don't de-reference proxy when asked to look at proxy reply, and
vice-versa

20 years ago No proxy packet or proxy reply, don't do anything
aland [Thu, 18 Mar 2004 15:39:13 +0000 (15:39 +0000)]
No proxy packet or proxy reply, don't do anything

20 years agoChange all CalledID and CallingID fields to VARCHAR(80) to support Cisco CSPS (SIP...
pnixon [Thu, 18 Mar 2004 14:37:02 +0000 (14:37 +0000)]
Change all CalledID and CallingID fields to VARCHAR(80) to support Cisco CSPS (SIP Softswitch) which has stupidly long strings in the form of "sip:001212223304@csps.domain.com>;tag=5963C650-1BD". WooHoo.. We now support SIP billing as well as H323 :-)

20 years agoChange CiscoNASPort from BOOL to Varchar(1) to fix compatibility problems
pnixon [Thu, 18 Mar 2004 14:30:36 +0000 (14:30 +0000)]
Change CiscoNASPort from BOOL to Varchar(1) to fix compatibility problems

20 years agoChanged StopTelephony column h323RemoteAddress from BOOL to INET to fix compatibility...
pnixon [Thu, 18 Mar 2004 13:00:18 +0000 (13:00 +0000)]
Changed StopTelephony column h323RemoteAddress from BOOL to INET to fix compatibility problems between tables

20 years agoUpdate to SuSE build files to include files in /etc/raddb/certs/
pnixon [Wed, 17 Mar 2004 21:24:26 +0000 (21:24 +0000)]
Update to SuSE build files to include files in /etc/raddb/certs/

20 years ago Removed unnecessary character
aland [Tue, 16 Mar 2004 15:54:57 +0000 (15:54 +0000)]
Removed unnecessary character

20 years ago Flush the buffer after writing to it
aland [Tue, 16 Mar 2004 15:30:15 +0000 (15:30 +0000)]
Flush the buffer after writing to it

20 years agoCheck return value from registered xlat functions. If return value is 0,
mgriego [Tue, 16 Mar 2004 15:16:14 +0000 (15:16 +0000)]
Check return value from registered xlat functions.  If return value is 0,
treat the attribute as not found.

20 years ago If input ends in one or more blank lines, don't get excited.
aland [Mon, 15 Mar 2004 19:17:43 +0000 (19:17 +0000)]
If input ends in one or more blank lines, don't get excited.

Patch from Chris Mikkelson

20 years ago Moved EAP section to its own configuration file, as it was
aland [Mon, 15 Mar 2004 19:10:47 +0000 (19:10 +0000)]
Moved EAP section to its own configuration file, as it was
getting large

20 years ago Added two realm module configure options. Ignore_default and
cparker [Mon, 15 Mar 2004 01:27:11 +0000 (01:27 +0000)]
Added two realm module configure options.  Ignore_default and
ignore_null.  Boolean values that can be set to yes to cause the
specific module instance to not return a match on DEFAULT or NULL
realms respectively.  This allows mutliple realm modules to coexist
with DEFAULT and NULL entries in 'raddb/proxy.conf' much nicer.

Updated man page, and radiusd.conf with examples.

20 years ago More man pages for commonly used modules.
cparker [Sun, 14 Mar 2004 01:25:10 +0000 (01:25 +0000)]
More man pages for commonly used modules.

20 years ago A little better way of dealing with DICT_VALUEs that are defined
aland [Fri, 12 Mar 2004 21:33:37 +0000 (21:33 +0000)]
A little better way of dealing with DICT_VALUEs that are defined
out of order

20 years ago Get rid of "long" types. They're not needed.
aland [Fri, 12 Mar 2004 19:06:56 +0000 (19:06 +0000)]
Get rid of "long" types.  They're not needed.

20 years ago Don't bother fixing these things up incorrectly
aland [Fri, 12 Mar 2004 18:23:14 +0000 (18:23 +0000)]
Don't bother fixing these things up incorrectly

20 years ago Look for post-proxy for tunneled session, and do it, if configured
aland [Fri, 12 Mar 2004 16:35:48 +0000 (16:35 +0000)]
Look for post-proxy for tunneled session, and do it, if configured

20 years ago Added instance, so that we can control with_ntdomain_hack,
aland [Fri, 12 Mar 2004 16:31:22 +0000 (16:31 +0000)]
Added instance, so that we can control with_ntdomain_hack,
for proxying EAP-MS-CHAP-V2 as MSCHAP-V2.

The wonderful Windows clients send User-Name = "DOMAIN\\user",
but calculate the MS-CHAP response based on "user", so they lie
to us.  WTF were those people thinking?

20 years ago After we've called MS-CHAP for authentication, delete the MPPE
aland [Fri, 12 Mar 2004 16:19:50 +0000 (16:19 +0000)]
After we've called MS-CHAP for authentication, delete the MPPE
keys from the response.

Handle proxying of EAP-MS-CHAP-V2 as MS-CHAP-V2

20 years ago If the tunneled EAP session returned early because the server
aland [Fri, 12 Mar 2004 16:14:53 +0000 (16:14 +0000)]
If the tunneled EAP session returned early because the server
is acting as a protocol translator for proxying (EAP-FOO to FOO),
then remember what's going on for later.

20 years ago Minor formatting
aland [Fri, 12 Mar 2004 16:12:53 +0000 (16:12 +0000)]
Minor formatting

20 years ago A little prettier printing for -Xx
aland [Fri, 12 Mar 2004 16:12:35 +0000 (16:12 +0000)]
A little prettier printing for -Xx

20 years ago Padding is "NOT unaligned data", not "aligned data"
aland [Wed, 10 Mar 2004 20:29:20 +0000 (20:29 +0000)]
Padding is "NOT unaligned data", not "aligned data"

20 years agoAdd a force directive in log_badlogins. If uncommented it will force inserts even...
kkalev [Wed, 10 Mar 2004 14:29:32 +0000 (14:29 +0000)]
Add a force directive in log_badlogins. If uncommented it will force inserts even if there are
sql errors. That can help in case there is one sql query which stops the whole failed logins
logging system from working

20 years ago Added attributes as posted to the list today
aland [Tue, 9 Mar 2004 16:01:13 +0000 (16:01 +0000)]
Added attributes as posted to the list today

20 years ago Export rad_postauth()
aland [Mon, 8 Mar 2004 22:04:36 +0000 (22:04 +0000)]
Export rad_postauth()

20 years ago Added submodule tunnel callback
aland [Mon, 8 Mar 2004 21:51:30 +0000 (21:51 +0000)]
Added submodule tunnel callback

20 years ago Expose rad_postauth
aland [Mon, 8 Mar 2004 21:51:03 +0000 (21:51 +0000)]
Expose rad_postauth

20 years ago -X means debug_flag +=2.
aland [Mon, 8 Mar 2004 21:47:57 +0000 (21:47 +0000)]
-X means debug_flag +=2.

This lets "-xX" set it to 3, rather than 2

20 years ago Added 'const', for paranoia
aland [Mon, 8 Mar 2004 21:47:06 +0000 (21:47 +0000)]
Added 'const', for paranoia

20 years ago More updates
aland [Mon, 8 Mar 2004 21:45:12 +0000 (21:45 +0000)]
More updates

20 years ago If this VP isn't a LEAP thing, go to the next one.
aland [Mon, 8 Mar 2004 19:11:08 +0000 (19:11 +0000)]
If this VP isn't a LEAP thing, go to the next one.

This prevents an infinite loop.

20 years ago Catch people who type 1 character hex strings
aland [Fri, 5 Mar 2004 20:45:26 +0000 (20:45 +0000)]
Catch people who type 1 character hex strings

20 years ago eapttls_process() was sometimes returning PW_FOO, and sometimes
aland [Fri, 5 Mar 2004 17:51:17 +0000 (17:51 +0000)]
eapttls_process() was sometimes returning PW_FOO, and sometimes
returning RLM_MODULE_FOO.  That's bad.

The code has now been fixed to be consistent.

20 years ago If we've found openssl/ssl.h, then set -I$OPENSSL_INCLUDE
aland [Fri, 5 Mar 2004 17:33:31 +0000 (17:33 +0000)]
If we've found openssl/ssl.h, then set -I$OPENSSL_INCLUDE

Patch from Rok Papez

20 years ago Added docs for cisco_accounting_username_bug
aland [Thu, 4 Mar 2004 16:19:25 +0000 (16:19 +0000)]
Added docs for cisco_accounting_username_bug

20 years ago Nope... Panther doesn't like this, either.
aland [Thu, 4 Mar 2004 16:06:40 +0000 (16:06 +0000)]
Nope... Panther doesn't like this, either.

20 years ago Explicitly link to -lradius, to get functions defined there, for
aland [Wed, 3 Mar 2004 19:52:36 +0000 (19:52 +0000)]
Explicitly link to -lradius, to get functions defined there, for
platforms like Mac OSX, which can't figure out that since radiusd
is linked to -lradius, and radiusd is also linked to rlm_mschap,
then it shouldn't be rocket science to have rlm_mschap use
the symbols from -lradius.

Instead, it forces you to link rlm_mschap against -lradius.  Weird.

20 years ago The encryption of the MPPE keys is done by tunnel_pwencode,
aland [Wed, 3 Mar 2004 19:50:50 +0000 (19:50 +0000)]
The encryption of the MPPE keys is done by tunnel_pwencode,
so we don't do it here, and we don't need to pass "secret" or
"request" to the gen keys function

20 years ago added gtc{} to eap{}
aland [Wed, 3 Mar 2004 16:58:40 +0000 (16:58 +0000)]
added gtc{} to eap{}

20 years ago Added another debug message about which section it's processing
aland [Wed, 3 Mar 2004 15:56:57 +0000 (15:56 +0000)]
Added another debug message about which section it's processing

20 years agoAdded cisco_accouting_username_bug to the rlm_eap_t.
mgriego [Tue, 2 Mar 2004 23:57:40 +0000 (23:57 +0000)]
Added cisco_accouting_username_bug to the rlm_eap_t.

20 years agoMust have a semicolon at the end of the line.
mgriego [Tue, 2 Mar 2004 23:48:01 +0000 (23:48 +0000)]
Must have a semicolon at the end of the line.

20 years agoMake 'radiusd -s' not daemonize like the man page says it won't.
mgriego [Tue, 2 Mar 2004 23:43:19 +0000 (23:43 +0000)]
Make 'radiusd -s' not daemonize like the man page says it won't.

20 years ago Print out a warning message for groups which are empty.
aland [Tue, 2 Mar 2004 22:33:55 +0000 (22:33 +0000)]
Print out a warning message for groups which are empty.

20 years ago Re-arrange send_one_packet, based on comments from Nicolas Baradakis
aland [Tue, 2 Mar 2004 18:57:34 +0000 (18:57 +0000)]
Re-arrange send_one_packet, based on comments from Nicolas Baradakis

20 years ago Got rid of radsend_walk function, and moved the code to the
aland [Tue, 2 Mar 2004 18:52:53 +0000 (18:52 +0000)]
Got rid of radsend_walk function, and moved the code to the
main-line

20 years ago Be less annoying about messages.
aland [Tue, 2 Mar 2004 18:52:24 +0000 (18:52 +0000)]
Be less annoying about messages.

If a block is empty, and we didn't pick a particular type to call,
then don't complain.

20 years ago Cisco AP1230B firmware 12.2(13)JA1 has a bug. When given a
aland [Tue, 2 Mar 2004 18:37:16 +0000 (18:37 +0000)]
Cisco AP1230B firmware 12.2(13)JA1 has a bug.  When given a
User-Name attribute in an Access-Accept, it copies one more byte
than it should.

So we work around it by configurably adding an extra zero byte.

Based on a patch from rok.papez

20 years ago When proxying synchronously, if retry_delay * retry_count
aland [Tue, 2 Mar 2004 18:20:11 +0000 (18:20 +0000)]
When proxying synchronously, if retry_delay * retry_count
is exceeded, then mark the realm dead, even if we didn't send
that many retries.

Patch from Chris Brotsos

20 years ago Clean up the code a little more.
aland [Tue, 2 Mar 2004 17:19:44 +0000 (17:19 +0000)]
Clean up the code a little more.

Print out more error messages.

In diameter2vp, check for data_len == length BEFORE padding length,
just like in diamater_verify.  This will fix problems with broken
clients which don't pad.

20 years agoIn log_badlogins add a newline after every sql query so that the resulting file can...
kkalev [Tue, 2 Mar 2004 13:27:35 +0000 (13:27 +0000)]
In log_badlogins add a newline after every sql query so that the resulting file can be editable

20 years agoIf we are passed an empty password log a module failure message not an error message
kkalev [Sun, 29 Feb 2004 13:55:08 +0000 (13:55 +0000)]
If we are passed an empty password log a module failure message not an error message

20 years agoAlso be able to use Crypt-Password attribute.
kkalev [Sun, 29 Feb 2004 13:52:50 +0000 (13:52 +0000)]
Also be able to use Crypt-Password attribute.
If we are passed an empty password create a module failure message and fail
not just log an error message

20 years agoAlso update radiusd.conf
kkalev [Sun, 29 Feb 2004 13:35:16 +0000 (13:35 +0000)]
Also update radiusd.conf

20 years agoAdd a timestamp and a timeout attribute in ippool_info. When we assign an ip we set...
kkalev [Sun, 29 Feb 2004 13:33:17 +0000 (13:33 +0000)]
Add a timestamp and a timeout attribute in ippool_info. When we assign an ip we set timestamp
to request->timestamp and timeout to %{Session-Timeout:-0}. When we search for a free entry
we check if timeout has expired. If it has then we free the entry. We also add a maximum
timeout configuration directive. If it is non zero then we also use that one to free entries.

20 years agoReplace user with username in postauth table. Patch by Guy Fraser
kkalev [Sun, 29 Feb 2004 13:06:57 +0000 (13:06 +0000)]
Replace user with username in postauth table. Patch by Guy Fraser

20 years ago* Add a patch from Neil McCalden to not put spaces in the -p argument to the mysql...
kkalev [Sun, 29 Feb 2004 12:16:17 +0000 (12:16 +0000)]
* Add a patch from Neil McCalden to not put spaces in the -p argument to the mysql binary.
* Fix a bug in conf/config.php3. Patch from Neil McCalden