]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
14 years agoradsniff: decoding encrypted attributes 18/head
Bjørn Mork [Fri, 16 Sep 2011 17:50:07 +0000 (19:50 +0200)] 
radsniff: decoding encrypted attributes

Save authentication requests and use them to properly decode
entrypted attributes in matching replies.

Also decode encrypted attributes in CoA requests. Some VSAs
can be encrypted in CoA requests using a null vector.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoNote which Auth-Type we're creating
Alan T. DeKok [Wed, 14 Sep 2011 10:11:07 +0000 (12:11 +0200)] 
Note which Auth-Type we're creating

14 years agoMade more coherent
Alan T. DeKok [Wed, 14 Sep 2011 15:33:46 +0000 (17:33 +0200)] 
Made more coherent

14 years agoMake warning message more coherent
Alan T. DeKok [Wed, 14 Sep 2011 09:57:04 +0000 (11:57 +0200)] 
Make warning message more coherent

14 years agoWARNING on potential proxy loop
Alan T. DeKok [Wed, 14 Sep 2011 09:56:24 +0000 (11:56 +0200)] 
WARNING on potential proxy loop

14 years agoFixed long-standing typos
Alan T. DeKok [Mon, 12 Sep 2011 21:41:23 +0000 (23:41 +0200)] 
Fixed long-standing typos

I guess no one ever used this...

14 years agoRemove values for Auth-Type, these values were only defined for legacy reasons
Arran Cudbard-Bell [Mon, 12 Sep 2011 14:04:28 +0000 (16:04 +0200)] 
Remove values for Auth-Type, these values were only defined for legacy reasons

14 years agoFixed typo in huntgroup name addition
Alan T. DeKok [Sat, 10 Sep 2011 18:32:08 +0000 (20:32 +0200)] 
Fixed typo in huntgroup name addition

14 years agoDocument max_queue_size
Alan T. DeKok [Sat, 10 Sep 2011 18:12:01 +0000 (20:12 +0200)] 
Document max_queue_size

14 years agoTwigged blocked messages && logic
Alan T. DeKok [Sat, 10 Sep 2011 18:27:58 +0000 (20:27 +0200)] 
Twigged blocked messages && logic

14 years agoNo one uses this
Alan T. DeKok [Sat, 10 Sep 2011 17:33:37 +0000 (19:33 +0200)] 
No one uses this

14 years agoFixed typo
Alan T. DeKok [Wed, 7 Sep 2011 15:34:49 +0000 (17:34 +0200)] 
Fixed typo

14 years agoDocument keepalive
Alan T. DeKok [Wed, 7 Sep 2011 10:59:21 +0000 (12:59 +0200)] 
Document keepalive

14 years agoUpdated copyright year
Alan T. DeKok [Mon, 5 Sep 2011 15:39:53 +0000 (11:39 -0400)] 
Updated copyright year

14 years agoNULL out fields after they've been free'd
Alan T. DeKok [Wed, 7 Sep 2011 09:31:09 +0000 (11:31 +0200)] 
NULL out fields after they've been free'd

14 years agoComplain if password is !UTF-8
Alan T. DeKok [Mon, 5 Sep 2011 14:05:21 +0000 (10:05 -0400)] 
Complain if password is !UTF-8

for the "shared secret is incorrect" check.  The old code
checked for "printable" characters.  Changing it to a check for
!UTF-8 is more general, and likely more robust with fewer false
positives

14 years agoIgnore more files
Alan T. DeKok [Sat, 3 Sep 2011 13:49:09 +0000 (09:49 -0400)] 
Ignore more files

14 years agoAllow entry if UID or GID match
Alan T. DeKok [Sat, 3 Sep 2011 13:01:21 +0000 (09:01 -0400)] 
Allow entry if UID or GID match

14 years agoAdded %{rand:...} to generate uniformly distributed random numbers
Alan T. DeKok [Fri, 2 Sep 2011 21:38:00 +0000 (17:38 -0400)] 
Added %{rand:...} to generate uniformly distributed random numbers

14 years agoAdded "integer64" for 64-bit integer VSAs
Alan T. DeKok [Fri, 2 Sep 2011 03:48:22 +0000 (23:48 -0400)] 
Added "integer64" for 64-bit integer VSAs

14 years agoFix strict aliasing complaint
Alan T. DeKok [Thu, 1 Sep 2011 12:13:41 +0000 (08:13 -0400)] 
Fix strict aliasing complaint

14 years agoAdd support for NAS implementing standard IEEE802.1X mib (Tested against ProCurve...
Arran Cudbard-Bell [Wed, 31 Aug 2011 16:17:26 +0000 (18:17 +0200)] 
Add support for NAS implementing standard IEEE802.1X mib (Tested against ProCurve 3500)

Fix regular expressions to work with recent versions of snmp_get (should still be backwards compatible)

14 years agoPings don't have request->packet, and are never CoA or Disconnect
Alan T. DeKok [Mon, 29 Aug 2011 14:18:46 +0000 (10:18 -0400)] 
Pings don't have request->packet, and are never CoA or Disconnect

14 years agoNote policy for filtering user names
Alan T. DeKok [Mon, 29 Aug 2011 14:03:11 +0000 (10:03 -0400)] 
Note policy for filtering user names

14 years agoEnable possibility for ecdh by default
Alan T. DeKok [Sun, 28 Aug 2011 15:01:50 +0000 (11:01 -0400)] 
Enable possibility for ecdh by default

14 years agoEnable elliptical curve cryptography
Alan T. DeKok [Sun, 28 Aug 2011 20:08:25 +0000 (16:08 -0400)] 
Enable elliptical curve cryptography

Manual commit of 1bca962

14 years agoMore/better documentation
Alan T. DeKok [Fri, 26 Aug 2011 11:09:05 +0000 (07:09 -0400)] 
More/better documentation

14 years agoIgnore more files
Alan T. DeKok [Tue, 23 Aug 2011 12:58:17 +0000 (08:58 -0400)] 
Ignore more files

14 years agoSpelling corrections
Alan T. DeKok [Tue, 23 Aug 2011 12:53:20 +0000 (08:53 -0400)] 
Spelling corrections

14 years agoFix for libfreeradius3
Alan T. DeKok [Tue, 23 Aug 2011 12:50:36 +0000 (08:50 -0400)] 
Fix for libfreeradius3

14 years agoUse 3.0 API
Alan T. DeKok [Tue, 23 Aug 2011 12:45:52 +0000 (08:45 -0400)] 
Use 3.0 API

14 years agoStatus-Server isn't enabled for TLS yet
Alan T. DeKok [Sat, 20 Aug 2011 13:34:46 +0000 (09:34 -0400)] 
Status-Server isn't enabled for TLS yet

14 years agoMerge pull request #17 from bmork/del-client-fix2
Arran Cudbard-Bell [Wed, 24 Aug 2011 11:21:39 +0000 (04:21 -0700)] 
Merge pull request #17 from bmork/del-client-fix2

radmin: fixup error message when attemting to delete non-dynamic client

14 years agoradmin: fixup error message when attemting to delete non-dynamic client 17/head
Bjørn Mork [Wed, 24 Aug 2011 10:33:13 +0000 (12:33 +0200)] 
radmin: fixup error message when attemting to delete non-dynamic client

commit b9e5dd2c changed the command syntax in line with docs, but failed
to update the error message accordingly.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoMerge pull request #16 from bmork/del-client-fix
Arran Cudbard-Bell [Tue, 23 Aug 2011 09:18:44 +0000 (02:18 -0700)] 
Merge pull request #16 from bmork/del-client-fix

radmin: make "del client ipaddr" command behave as documented

14 years agoradmin: make "del client ipaddr" command behave as documented 16/head
Bjørn Mork [Tue, 23 Aug 2011 09:07:39 +0000 (11:07 +0200)] 
radmin: make "del client ipaddr" command behave as documented

Fixes this error:

 radmin> del client ipaddr 192.168.168.111
 ERROR: Must specify <ipaddr>

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoUse confdir instead of raddbdir
Alan T. DeKok [Sat, 20 Aug 2011 01:08:41 +0000 (21:08 -0400)] 
Use confdir instead of raddbdir

14 years agoAdd mkdir, based on patch from Oliver Schroder
Alan T. DeKok [Thu, 18 Aug 2011 01:23:50 +0000 (21:23 -0400)] 
Add mkdir, based on patch from Oliver Schroder

This lets the module put logs into automagically created subdirs

14 years agoAdd support for "signed", just like integer64
Alan T. DeKok [Tue, 16 Aug 2011 12:14:46 +0000 (08:14 -0400)] 
Add support for "signed", just like integer64

14 years agoShould use 8th capture group for Called-Station-ID rewrite
Arran Cudbard-Bell [Fri, 19 Aug 2011 14:58:01 +0000 (16:58 +0200)] 
Should use 8th capture group for Called-Station-ID rewrite

14 years agoMore log message clenups
Alan T. DeKok [Tue, 16 Aug 2011 00:36:00 +0000 (20:36 -0400)] 
More log message clenups

14 years agoUse more radlog_request() for proxy messages
Alan T. DeKok [Tue, 16 Aug 2011 00:24:04 +0000 (20:24 -0400)] 
Use more radlog_request() for proxy messages

14 years agoFix compiler warnings
Alan T. DeKok [Tue, 16 Aug 2011 00:16:00 +0000 (20:16 -0400)] 
Fix compiler warnings

14 years agoCatch sub-realms && example.net, too
Alan T. DeKok [Mon, 15 Aug 2011 13:20:45 +0000 (09:20 -0400)] 
Catch sub-realms && example.net, too

14 years agoClean up debug message
Alan T. DeKok [Mon, 15 Aug 2011 13:01:54 +0000 (09:01 -0400)] 
Clean up debug message

14 years agoPull integer64 fixes over from dictionary.starent
Alan T. DeKok [Mon, 15 Aug 2011 12:57:55 +0000 (08:57 -0400)] 
Pull integer64 fixes over from dictionary.starent

14 years agoAllow empty strings to mean NULL
Alan T. DeKok [Sat, 13 Aug 2011 14:56:28 +0000 (10:56 -0400)] 
Allow empty strings to mean NULL

this lets us specify the default (i.e. NULL) virtual server

14 years ago3.0 supports "integer64" data types
Alan T. DeKok [Fri, 12 Aug 2011 14:34:52 +0000 (10:34 -0400)] 
3.0 supports "integer64" data types

14 years agoAdd conflicting starent dictionary from bug #159
Alan T. DeKok [Fri, 12 Aug 2011 14:25:47 +0000 (10:25 -0400)] 
Add conflicting starent dictionary from bug #159

14 years agoUpdated with edits from bug #159
Alan T. DeKok [Fri, 12 Aug 2011 14:20:03 +0000 (10:20 -0400)] 
Updated with edits from bug #159

14 years agoAdded siemens dictionary
Alan T. DeKok [Fri, 12 Aug 2011 11:51:00 +0000 (07:51 -0400)] 
Added siemens dictionary

14 years agoNote integer64 data type
Alan T. DeKok [Fri, 12 Aug 2011 14:32:55 +0000 (10:32 -0400)] 
Note integer64 data type

14 years agoAdd support for encoding/decode 64-bit integers inside of TTLS
Alan T. DeKok [Wed, 10 Aug 2011 14:47:33 +0000 (10:47 -0400)] 
Add support for encoding/decode 64-bit integers inside of TTLS

14 years agoAllow integer64 in filtering "update" lists
Alan T. DeKok [Tue, 9 Aug 2011 14:20:45 +0000 (10:20 -0400)] 
Allow integer64 in filtering "update" lists

14 years agoAdd integer64 to xlat
Alan T. DeKok [Tue, 9 Aug 2011 14:15:58 +0000 (10:15 -0400)] 
Add integer64 to xlat

14 years agoAllow comparisons for integer64 data type
Alan T. DeKok [Tue, 9 Aug 2011 14:06:53 +0000 (10:06 -0400)] 
Allow comparisons for integer64 data type

14 years agoInitial support for integer64 data type
Alan T. DeKok [Tue, 9 Aug 2011 13:36:50 +0000 (09:36 -0400)] 
Initial support for integer64 data type

Can print/parse encode/decode them, and read them from dictionaries

The rest of the code (unlang, eval, etc) needs to be audited to
support the new data type

14 years agoAdded FreeDHCP dictionary
Alan T. DeKok [Mon, 8 Aug 2011 14:00:50 +0000 (10:00 -0400)] 
Added FreeDHCP dictionary

14 years agoRemoved DOS line endings
Alan T. DeKok [Mon, 8 Aug 2011 03:24:55 +0000 (23:24 -0400)] 
Removed DOS line endings

14 years agoMerge pull request #13 from bmork/dictionary-updates
Arran Cudbard-Bell [Tue, 2 Aug 2011 11:33:08 +0000 (04:33 -0700)] 
Merge pull request #13 from bmork/dictionary-updates

Adding new attributes to the ERX dictionary

14 years agoAdding new attributes to the ERX dictionary 13/head
Bjørn Mork [Mon, 1 Aug 2011 08:57:55 +0000 (10:57 +0200)] 
Adding new attributes to the ERX dictionary

This should make it compatible with JUNOSe version 12.1.1
and JUNOS version 11.2.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
14 years agoDo record_minus to reset buffer, instead of just memcpy
Alan T. DeKok [Fri, 29 Jul 2011 12:05:56 +0000 (08:05 -0400)] 
Do record_minus to reset buffer, instead of just memcpy

14 years agoManual merge of f74583d2483d0a5f764c452788dcfc33de2bbb4b
Alan T. DeKok [Thu, 28 Jul 2011 14:25:23 +0000 (10:25 -0400)] 
Manual merge of f74583d2483d0a5f764c452788dcfc33de2bbb4b

Check cert validity

In the process of checking the OCSP response there are only checks for the
correct signed OCSP answer in the function ocsp_check()
(src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c:349).

The problem is that the current code does not check the status of the certificate.
For example if a certificate is revoked. Thus, a user with a revoked certificate
is able to bypass the verification.

14 years agoAdded HUP on log rotate
Alan T. DeKok [Fri, 22 Jul 2011 12:32:00 +0000 (14:32 +0200)] 
Added HUP on log rotate

14 years agoNote URL on how to create various passwords
Alan T. DeKok [Sat, 16 Jul 2011 12:01:30 +0000 (08:01 -0400)] 
Note URL on how to create various passwords

14 years agosupport for PCRE
Phil Mayers [Mon, 25 Jul 2011 14:18:12 +0000 (15:18 +0100)] 
support for PCRE

14 years agoMore fixes for DHCP relaying
Alan T. DeKok [Wed, 13 Jul 2011 12:50:41 +0000 (14:50 +0200)] 
More fixes for DHCP relaying

14 years agoAllow it to send offers
Alan T. DeKok [Wed, 13 Jul 2011 12:50:26 +0000 (14:50 +0200)] 
Allow it to send offers

14 years agoWhen in debugging mode, print out VPs from header
Alan T. DeKok [Wed, 13 Jul 2011 12:50:08 +0000 (14:50 +0200)] 
When in debugging mode, print out VPs from header

14 years agoConfigurable file permissions in rlm_linelog
Dmitry Borodaenko [Tue, 5 Jul 2011 13:23:06 +0000 (16:23 +0300)] 
Configurable file permissions in rlm_linelog

14 years agoAdd connection pool API
Alan T. DeKok [Sun, 10 Jul 2011 15:30:54 +0000 (17:30 +0200)] 
Add connection pool API

Currently unused, but it should be nice...

14 years agoReplace stale version of oracle configure script with one generated from current...
Arran Cudbard-Bell [Thu, 28 Jul 2011 14:35:30 +0000 (16:35 +0200)] 
Replace stale version of oracle configure script with one generated from current version of configure.in (now supports library versions 9, 10, 11 instead of just 10

14 years agoAdd NAI policy for use in post-proxy
Arran Cudbard-Bell [Mon, 11 Jul 2011 10:34:39 +0000 (12:34 +0200)] 
Add NAI policy for use in post-proxy

14 years agoRemove the last of the spaces, re-align query column lists, Change post-auth query...
Arran Cudbard-Bell [Mon, 11 Jul 2011 08:33:40 +0000 (10:33 +0200)] 
Remove the last of the spaces, re-align query column lists, Change post-auth query to use SQL-User-Name

14 years agoUse config value expansion instead of xlat expansion
Arran Cudbard-Bell [Sat, 9 Jul 2011 21:07:28 +0000 (23:07 +0200)] 
Use config value expansion instead of xlat expansion

14 years agoAllow config sections "name2" to be expanded at load time
Alan T. DeKok [Sat, 9 Jul 2011 14:18:32 +0000 (16:18 +0200)] 
Allow config sections "name2" to be expanded at load time

14 years agoReplace 8 spaces by tabs
Alan T. DeKok [Sat, 9 Jul 2011 14:03:25 +0000 (16:03 +0200)] 
Replace 8 spaces by tabs

14 years agoIncrease size of log buffer
Alan T. DeKok [Sat, 9 Jul 2011 14:00:07 +0000 (16:00 +0200)] 
Increase size of log buffer

14 years agoGet rid of some absurd warnings
Stephen R. van den Berg [Sat, 9 Jul 2011 10:42:09 +0000 (12:42 +0200)] 
Get rid of some absurd warnings

14 years agoUpdate debian packaging for v3
Stephen R. van den Berg [Sat, 9 Jul 2011 10:38:32 +0000 (12:38 +0200)] 
Update debian packaging for v3

14 years agoFixes for v3 API
Alan T. DeKok [Sat, 9 Jul 2011 11:46:24 +0000 (13:46 +0200)] 
Fixes for v3 API

14 years agoMake UDPfromto code build
Alan T. DeKok [Sat, 9 Jul 2011 11:45:59 +0000 (13:45 +0200)] 
Make UDPfromto code build

14 years agoDHCP compile fixes
Stephen R. van den Berg [Sat, 9 Jul 2011 10:40:27 +0000 (12:40 +0200)] 
DHCP compile fixes

14 years agoreset timer on receiving reply from home server
Alan T. DeKok [Fri, 8 Jul 2011 12:38:54 +0000 (14:38 +0200)] 
reset timer on receiving reply from home server

This lets the reject_delay = 1 code work.
Otherwise, the timer for the request will be left at "wait for
reply from home server", which is wrong.

There is likely still a race condition, which will be fixed when
the "request->proxy" pointer is an actual request.

14 years agosave all attributes in the Access-Accept when proxying EAP-MSCHAPv2 as plain MSCHAP...
Phil Mayers [Thu, 7 Jul 2011 15:39:11 +0000 (16:39 +0100)] 
save all attributes in the Access-Accept when proxying EAP-MSCHAPv2 as plain MSCHAP, and restore on the final Access-Accept

14 years agoDon't enable Class by default
Alan T. DeKok [Fri, 8 Jul 2011 08:52:58 +0000 (10:52 +0200)] 
Don't enable Class by default

14 years agoFix xlat expansion of values assigned in rlm_attr_filter
Arran Cudbard-Bell [Thu, 7 Jul 2011 11:33:48 +0000 (13:33 +0200)] 
Fix xlat expansion of values assigned in rlm_attr_filter

Remove comparison that was generating compiler warning

14 years agoInitialize answer variable
Alan T. DeKok [Thu, 7 Jul 2011 10:51:07 +0000 (12:51 +0200)] 
Initialize answer variable

14 years agochown if uid or gid is set
Alan T. DeKok [Tue, 5 Jul 2011 15:54:59 +0000 (17:54 +0200)] 
chown if uid or gid is set

14 years agoAllow idle_timeout to be zero
Alan T. DeKok [Tue, 5 Jul 2011 13:28:06 +0000 (15:28 +0200)] 
Allow idle_timeout to be zero

And abstract jitter command

14 years agoFix debugging to use initialized buffer
Alan T. DeKok [Tue, 5 Jul 2011 13:26:57 +0000 (15:26 +0200)] 
Fix debugging to use initialized buffer

14 years agoDon't need original packet when proxying
Alan T. DeKok [Tue, 5 Jul 2011 10:42:19 +0000 (12:42 +0200)] 
Don't need original packet when proxying

14 years agoGet peer id on new socket, not old one
Alan T. DeKok [Mon, 4 Jul 2011 17:08:12 +0000 (19:08 +0200)] 
Get peer id on new socket, not old one

14 years agoSet ownership of domain socket when starting
Alan T. DeKok [Mon, 4 Jul 2011 16:09:00 +0000 (18:09 +0200)] 
Set ownership of domain socket when starting

14 years agoAllow root to connect to control socket
Alan T. DeKok [Mon, 4 Jul 2011 16:02:54 +0000 (18:02 +0200)] 
Allow root to connect to control socket

Even if the configured "allowed UID" has a different value.
They're root, so they can do anything.  We might as well be polite.

14 years agoServer closing connection returns 0
Alan T. DeKok [Mon, 4 Jul 2011 15:59:31 +0000 (17:59 +0200)] 
Server closing connection returns 0

We should close our end and complain in that case.
Bug found by Brian Candler

14 years agoUse correct length
Alan T. DeKok [Mon, 4 Jul 2011 16:13:16 +0000 (18:13 +0200)] 
Use correct length

14 years agoAdd relax-filter check item to override the relaxed config item on a filter by filter...
Arran Cudbard-Bell [Mon, 4 Jul 2011 08:47:04 +0000 (10:47 +0200)] 
Add relax-filter check item to override the relaxed config item on a filter by filter basis

14 years agoAdd 'relaxed' option to rlm_attr_filter, when 'yes' attributes which do not explicitl...
Arran Cudbard-Bell [Sun, 3 Jul 2011 17:10:59 +0000 (19:10 +0200)] 
Add 'relaxed' option to rlm_attr_filter, when 'yes' attributes which do not explicitly match any filter rules are still copied.

14 years agoConvert Class to string before attempting to do a pattern match
Arran Cudbard-Bell [Sun, 3 Jul 2011 10:01:34 +0000 (12:01 +0200)] 
Convert Class to string before attempting to do a pattern match