]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
8 years agoremove more unused functions
Alan T. DeKok [Tue, 24 Oct 2017 19:26:04 +0000 (15:26 -0400)] 
remove more unused functions

8 years agoremove unused variable
Alan T. DeKok [Tue, 24 Oct 2017 17:50:51 +0000 (13:50 -0400)] 
remove unused variable

8 years agoreset "is_set" on every round through the loop
Alan T. DeKok [Tue, 24 Oct 2017 16:33:54 +0000 (12:33 -0400)] 
reset "is_set" on every round through the loop

8 years agoname2 can be NULL
Alan T. DeKok [Tue, 24 Oct 2017 16:14:31 +0000 (12:14 -0400)] 
name2 can be NULL

8 years agoremove rad_authenticate()
Alan T. DeKok [Tue, 24 Oct 2017 16:07:37 +0000 (12:07 -0400)] 
remove rad_authenticate()

and move auth_name to proto_radius, which is now the only
user of it.

8 years agoremove reference to unused function
Alan T. DeKok [Tue, 24 Oct 2017 16:03:36 +0000 (12:03 -0400)] 
remove reference to unused function

8 years agoremove prototypes for functions that no longer exist
Alan T. DeKok [Tue, 24 Oct 2017 15:59:58 +0000 (11:59 -0400)] 
remove prototypes for functions that no longer exist

8 years agoremove more unused files.
Alan T. DeKok [Tue, 24 Oct 2017 15:58:46 +0000 (11:58 -0400)] 
remove more unused files.

If we need the code, it's in the v3 branch

8 years agono more need for rad_accounting() or acct.c
Alan T. DeKok [Tue, 24 Oct 2017 15:57:11 +0000 (11:57 -0400)] 
no more need for rad_accounting() or acct.c

8 years agoname2 may be NULL
Alan T. DeKok [Tue, 24 Oct 2017 15:55:13 +0000 (11:55 -0400)] 
name2 may be NULL

8 years agofr_event_timer_delete() returns int, not bool
Alan T. DeKok [Tue, 24 Oct 2017 15:43:04 +0000 (11:43 -0400)] 
fr_event_timer_delete() returns int, not bool

8 years agodon't delete on conflicting packets
Alan T. DeKok [Tue, 24 Oct 2017 15:15:52 +0000 (11:15 -0400)] 
don't delete on conflicting packets

8 years agoremove WITH_foo hacks
Alan T. DeKok [Tue, 24 Oct 2017 14:58:42 +0000 (10:58 -0400)] 
remove WITH_foo hacks

the base library should be able to do everything

8 years agoavoid zero-change memcpy()
Alan T. DeKok [Tue, 24 Oct 2017 14:55:39 +0000 (10:55 -0400)] 
avoid zero-change memcpy()

8 years agofix wrong assertion
Alan T. DeKok [Tue, 24 Oct 2017 14:43:16 +0000 (10:43 -0400)] 
fix wrong assertion

8 years agoclean up tracking entry in corner cases
Alan T. DeKok [Tue, 24 Oct 2017 13:49:12 +0000 (09:49 -0400)] 
clean up tracking entry in corner cases

8 years agodump use after free
Alan T. DeKok [Tue, 24 Oct 2017 12:37:57 +0000 (08:37 -0400)] 
dump use after free

8 years agoactive (maybe) only when returning
Alan T. DeKok [Mon, 23 Oct 2017 16:38:14 +0000 (12:38 -0400)] 
active (maybe) only when returning

8 years agofd_active() may free the connection <sigh>
Alan T. DeKok [Mon, 23 Oct 2017 16:33:32 +0000 (12:33 -0400)] 
fd_active() may free the connection <sigh>

e.g. if there's an error activating it.

8 years agomore assertions and cleanups
Alan T. DeKok [Mon, 23 Oct 2017 14:41:34 +0000 (10:41 -0400)] 
more assertions and cleanups

8 years agoit's 4.0
Alan T. DeKok [Mon, 23 Oct 2017 14:41:20 +0000 (10:41 -0400)] 
it's 4.0

8 years agoMerge pull request #2100 from jsynack/virtserver-fix
Arran Cudbard-Bell [Mon, 23 Oct 2017 05:19:38 +0000 (18:19 +1300)] 
Merge pull request #2100 from jsynack/virtserver-fix

Virtual server fixup

8 years agoUpdate the example config file for virtual servers. 2100/head
Jason Ackley [Mon, 23 Oct 2017 04:51:39 +0000 (23:51 -0500)] 
Update the example config file for virtual servers.

1. Remove reference to proxy.conf

2. Modernize the server config settings with namespace/listen/transport information.

3. Include enough configuration for a working virtual server for auth/acct on alternate ports.

8 years agoCorrect typo and expand an error message when the virtual server lacks the namespace...
Jason Ackley [Mon, 23 Oct 2017 04:50:48 +0000 (23:50 -0500)] 
Correct typo and expand an error message when the virtual server lacks the namespace setting

8 years agoMerge pull request #2099 from jsynack/utfscrub
Arran Cudbard-Bell [Mon, 23 Oct 2017 02:42:01 +0000 (15:42 +1300)] 
Merge pull request #2099 from jsynack/utfscrub

UTF Scrub

8 years agoReplace a UTF char with the ASCII version 2099/head
Jason Ackley [Mon, 23 Oct 2017 02:31:28 +0000 (21:31 -0500)] 
Replace a UTF char with the ASCII version

8 years agoUpdate information in RADIUS-LDAP-eDirectory
Jason Ackley [Mon, 23 Oct 2017 02:29:48 +0000 (21:29 -0500)] 
Update information in RADIUS-LDAP-eDirectory

1. Remove the registered trademark blip to make this file ASCII-only

2. Update the documentation URL with current version

8 years agoRemove UTF ZWNJ/ZWSP combo in comments to make the file ASCII-pure
Jason Ackley [Mon, 23 Oct 2017 02:29:15 +0000 (21:29 -0500)] 
Remove UTF ZWNJ/ZWSP combo in comments to make the file ASCII-pure

8 years agoReplace UTF char with ASCII version
Jason Ackley [Mon, 23 Oct 2017 02:25:44 +0000 (21:25 -0500)] 
Replace UTF char with ASCII version

8 years agoReplace UTF-8 spacing with ASCII spacing
Jason Ackley [Mon, 23 Oct 2017 02:24:55 +0000 (21:24 -0500)] 
Replace UTF-8 spacing with ASCII spacing

8 years agoRevert "manually set heap_id = -1"
Alan T. DeKok [Sun, 22 Oct 2017 13:21:48 +0000 (09:21 -0400)] 
Revert "manually set heap_id = -1"

This reverts commit bd5402a53b82e8b46ccb69f2073020da6d8dde65.

no longer necessary now tat we've tracked down the real issue

8 years agouse new definition for Original-Packet-Code
Alan T. DeKok [Sun, 22 Oct 2017 13:16:11 +0000 (09:16 -0400)] 
use new definition for Original-Packet-Code

8 years agoclean up, and allow for (some) extended attributes
Alan T. DeKok [Sun, 22 Oct 2017 13:15:58 +0000 (09:15 -0400)] 
clean up, and allow for (some) extended attributes

8 years agoinclude RFC 7930
Alan T. DeKok [Sun, 22 Oct 2017 13:15:47 +0000 (09:15 -0400)] 
include RFC 7930

8 years agodon't re-insert the connection if we receive multiple packets
Alan T. DeKok [Sun, 22 Oct 2017 13:04:47 +0000 (09:04 -0400)] 
don't re-insert the connection if we receive multiple packets

8 years agoupdate assertions
Alan T. DeKok [Sun, 22 Oct 2017 12:46:01 +0000 (08:46 -0400)] 
update assertions

8 years agominor optimizations for status check
Alan T. DeKok [Sun, 22 Oct 2017 12:43:37 +0000 (08:43 -0400)] 
minor optimizations for status check

8 years agoverifications for heaps
Alan T. DeKok [Sat, 21 Oct 2017 12:38:35 +0000 (08:38 -0400)] 
verifications for heaps

8 years agobetter cleanups for connections
Alan T. DeKok [Sat, 21 Oct 2017 12:38:25 +0000 (08:38 -0400)] 
better cleanups for connections

8 years agobetter cleanups for status check packets
Alan T. DeKok [Sat, 21 Oct 2017 12:38:02 +0000 (08:38 -0400)] 
better cleanups for status check packets

8 years agofree only if it exists
Alan T. DeKok [Sat, 21 Oct 2017 12:37:19 +0000 (08:37 -0400)] 
free only if it exists

8 years agoMerge pull request #2098 from jsynack/radsniff-fixup
Arran Cudbard-Bell [Sat, 21 Oct 2017 01:48:35 +0000 (14:48 +1300)] 
Merge pull request #2098 from jsynack/radsniff-fixup

A few adjustments for radsniff

8 years agoMerge pull request #2097 from jsynack/dictfixups
Arran Cudbard-Bell [Sat, 21 Oct 2017 01:44:34 +0000 (14:44 +1300)] 
Merge pull request #2097 from jsynack/dictfixups

Dictionary Fixups

8 years agoadd const
Alan T. DeKok [Fri, 20 Oct 2017 23:15:03 +0000 (19:15 -0400)] 
add const

8 years agomore assertions to maybe catch corner case
Alan T. DeKok [Fri, 20 Oct 2017 22:56:40 +0000 (18:56 -0400)] 
more assertions to maybe catch corner case

8 years agotransition u before conn
Alan T. DeKok [Fri, 20 Oct 2017 22:53:10 +0000 (18:53 -0400)] 
transition u before conn

8 years agoallow resumable -> finished state, too
Alan T. DeKok [Fri, 20 Oct 2017 22:50:55 +0000 (18:50 -0400)] 
allow resumable -> finished state, too

8 years agomove "delete timer" to state_transition() function
Alan T. DeKok [Fri, 20 Oct 2017 22:48:09 +0000 (18:48 -0400)] 
move "delete timer" to state_transition() function

8 years agouse state_transition() in another place, too
Alan T. DeKok [Fri, 20 Oct 2017 22:46:41 +0000 (18:46 -0400)] 
use state_transition() in another place, too

8 years agouse ERROR before there's an sqlite error
Alan T. DeKok [Fri, 20 Oct 2017 22:19:40 +0000 (18:19 -0400)] 
use ERROR before there's an sqlite error

8 years agoadd const
Alan T. DeKok [Fri, 20 Oct 2017 18:27:54 +0000 (14:27 -0400)] 
add const

8 years agoclose socket on error. CID #1419878
Alan T. DeKok [Fri, 20 Oct 2017 18:12:24 +0000 (14:12 -0400)] 
close socket on error.  CID #1419878

8 years agore-order checks. CID #1419950
Alan T. DeKok [Fri, 20 Oct 2017 18:11:31 +0000 (14:11 -0400)] 
re-order checks.  CID #1419950

8 years agodon't use invalid code. CID #1419949
Alan T. DeKok [Fri, 20 Oct 2017 18:10:50 +0000 (14:10 -0400)] 
don't use invalid code.  CID #1419949

8 years agoit's OK if this option doesn't get set. CID #1419877
Alan T. DeKok [Fri, 20 Oct 2017 18:09:15 +0000 (14:09 -0400)] 
it's OK if this option doesn't get set.  CID #1419877

8 years agoit's OK if this option doesn't get set. CID #1419875
Alan T. DeKok [Fri, 20 Oct 2017 18:08:37 +0000 (14:08 -0400)] 
it's OK if this option doesn't get set.  CID #1419875

8 years agocheck for uint32 overflow. CID #1419874
Alan T. DeKok [Fri, 20 Oct 2017 18:07:55 +0000 (14:07 -0400)] 
check for uint32 overflow.  CID #1419874

8 years agofail connection if we can't set it async. CID #1419873
Alan T. DeKok [Fri, 20 Oct 2017 18:05:22 +0000 (14:05 -0400)] 
fail connection if we can't set it async.  CID #1419873

8 years agoit's OK for the set option to fail. CID #1419869
Alan T. DeKok [Fri, 20 Oct 2017 18:02:08 +0000 (14:02 -0400)] 
it's OK for the set option to fail.  CID #1419869

8 years agocoverity issues. CID #1419867
Alan T. DeKok [Fri, 20 Oct 2017 18:01:11 +0000 (14:01 -0400)] 
coverity issues.  CID #1419867

8 years agocoverity silencer. CID #1419866
Alan T. DeKok [Fri, 20 Oct 2017 17:59:36 +0000 (13:59 -0400)] 
coverity silencer.  CID #1419866

8 years agoremoved dead code. CID #1414422
Alan T. DeKok [Fri, 20 Oct 2017 17:57:36 +0000 (13:57 -0400)] 
removed dead code.  CID #1414422

8 years agoremoved dead code. CID #1414429
Alan T. DeKok [Fri, 20 Oct 2017 17:57:17 +0000 (13:57 -0400)] 
removed dead code.  CID #1414429

8 years agodon't insert into the heap multiple times
Alan T. DeKok [Fri, 20 Oct 2017 17:13:37 +0000 (13:13 -0400)] 
don't insert into the heap multiple times

8 years agodetached requests may be runnable
Alan T. DeKok [Fri, 20 Oct 2017 16:31:17 +0000 (12:31 -0400)] 
detached requests may be runnable

8 years agoConvert UTF8 char to ASCII equiv (in comments). Makes the file a clean ASCII-only 2097/head
Jason Ackley [Fri, 20 Oct 2017 16:21:22 +0000 (11:21 -0500)] 
Convert UTF8 char to ASCII equiv (in comments). Makes the file a clean ASCII-only

8 years agoConvert UTF8 char to ASCII equiv (in comments). Makes the file a clean ASCII-only
Jason Ackley [Fri, 20 Oct 2017 16:21:08 +0000 (11:21 -0500)] 
Convert UTF8 char to ASCII equiv (in comments). Makes the file a clean ASCII-only

8 years agofree children before request
Alan T. DeKok [Fri, 20 Oct 2017 16:20:06 +0000 (12:20 -0400)] 
free children before request

because children may need to poke at the request

8 years agoConvert UTF8 hyphens to ASCII versions
Jason Ackley [Fri, 20 Oct 2017 16:19:40 +0000 (11:19 -0500)] 
Convert UTF8 hyphens to ASCII versions

8 years agorequest_verify() takes const REQUEST
Alan T. DeKok [Fri, 20 Oct 2017 15:43:53 +0000 (11:43 -0400)] 
request_verify() takes const REQUEST

8 years agoifr_pair_list_verify() takes const TALLOC_CTX
Alan T. DeKok [Fri, 20 Oct 2017 15:42:06 +0000 (11:42 -0400)] 
ifr_pair_list_verify() takes const TALLOC_CTX

8 years agologging a report takes 'const'
Alan T. DeKok [Fri, 20 Oct 2017 15:40:02 +0000 (11:40 -0400)] 
logging a report takes 'const'

8 years agocast to double
Alan T. DeKok [Fri, 20 Oct 2017 15:39:50 +0000 (11:39 -0400)] 
cast to double

8 years agorename to packet_verify
Alan T. DeKok [Fri, 20 Oct 2017 15:37:33 +0000 (11:37 -0400)] 
rename to packet_verify

8 years agoA few adjustments for radsniff 2098/head
Jason Ackley [Fri, 20 Oct 2017 14:45:24 +0000 (09:45 -0500)] 
A few adjustments for radsniff

1. minor grammar (were / we're, a/an)
2. update the usage text to show proper use of -C <checksum_type>
3. Make use of FR_AUTH_UDP_PORT and FR_COA_UDP_PORT where it makes sense

8 years agoupdate with some vendor buyout history and a URL
Jason Ackley [Fri, 20 Oct 2017 14:06:40 +0000 (09:06 -0500)] 
update with some vendor buyout history and a URL

8 years agomark a link as dead
Jason Ackley [Fri, 20 Oct 2017 14:00:53 +0000 (09:00 -0500)] 
mark a link as dead

8 years agofix typo (USE -> USR)
Jason Ackley [Fri, 20 Oct 2017 13:59:34 +0000 (08:59 -0500)] 
fix typo (USE -> USR)

8 years agoupdate some history (name change) and URL ref
Jason Ackley [Fri, 20 Oct 2017 13:58:50 +0000 (08:58 -0500)] 
update some history (name change) and URL ref

8 years agoupdate with a URL which lacks the type. better than nothing?
Jason Ackley [Fri, 20 Oct 2017 13:58:00 +0000 (08:58 -0500)] 
update with a URL which lacks the type. better than nothing?

8 years agoupdate some history and URL to a working reference
Jason Ackley [Fri, 20 Oct 2017 13:57:05 +0000 (08:57 -0500)] 
update some history and URL to a working reference

8 years agocheck request->magic, too
Alan T. DeKok [Fri, 20 Oct 2017 13:56:12 +0000 (09:56 -0400)] 
check request->magic, too

8 years agoImprove mikrotik dictionary
Jason Ackley [Fri, 20 Oct 2017 13:55:17 +0000 (08:55 -0500)] 
Improve mikrotik dictionary

1. remove outdated warning about old (and bad) dictionary

2. Update URL to current / valid dictionary

3. Add some values for Mikrotik-Wireless-VLANID-Type

8 years agoremove dead link and add some history of vendor buyouts
Jason Ackley [Fri, 20 Oct 2017 13:54:38 +0000 (08:54 -0500)] 
remove dead link and add some history of vendor buyouts

8 years agotag a link as dead
Jason Ackley [Fri, 20 Oct 2017 13:46:37 +0000 (08:46 -0500)] 
tag a link as dead

8 years agoupdate URL to new vendor
Jason Ackley [Fri, 20 Oct 2017 13:45:48 +0000 (08:45 -0500)] 
update URL to new vendor

8 years agoAdd in a URL ref.
Jason Ackley [Fri, 20 Oct 2017 13:44:00 +0000 (08:44 -0500)] 
Add in a URL ref.

Add in some missing VSAs while here.

8 years agoAdd URL ref
Jason Ackley [Fri, 20 Oct 2017 13:43:08 +0000 (08:43 -0500)] 
Add URL ref

8 years agoAdd URL reference
Jason Ackley [Fri, 20 Oct 2017 13:42:35 +0000 (08:42 -0500)] 
Add URL reference

8 years agoFix typo in home page URL
Jason Ackley [Fri, 20 Oct 2017 13:40:54 +0000 (08:40 -0500)] 
Fix typo in home page URL

Also add a URL reference for the manual as it appears to be locked
behind a support-wall from the vendor. While there are other locations
it has appeared on the Web - the FCC filing is probably the 'safest'.

8 years agomanually set heap_id = -1
Alan T. DeKok [Fri, 20 Oct 2017 13:38:54 +0000 (09:38 -0400)] 
manually set heap_id = -1

because apparently on Linux, heap.c doesn't do that?

This hack is faster than tracking down the real problem

8 years agoupdate URL to working reference
Jason Ackley [Fri, 20 Oct 2017 13:32:13 +0000 (08:32 -0500)] 
update URL to working reference

8 years agotag URL as dead
Jason Ackley [Fri, 20 Oct 2017 13:31:16 +0000 (08:31 -0500)] 
tag URL as dead

8 years agoAdd URL for reference
Jason Ackley [Fri, 20 Oct 2017 13:28:52 +0000 (08:28 -0500)] 
Add URL for reference

8 years agoupdate URL reference to working URLs
Jason Ackley [Fri, 20 Oct 2017 13:28:05 +0000 (08:28 -0500)] 
update URL reference to working URLs

8 years agoupdate URLs to working versions
Jason Ackley [Fri, 20 Oct 2017 13:27:14 +0000 (08:27 -0500)] 
update URLs to working versions

8 years agoupdate URL
Jason Ackley [Fri, 20 Oct 2017 13:26:49 +0000 (08:26 -0500)] 
update URL

8 years agoSome historical info and URL reference
Jason Ackley [Fri, 20 Oct 2017 13:25:18 +0000 (08:25 -0500)] 
Some historical info and URL reference

8 years agodriver_inst can't be NULL here. CID #1414433
Alan T. DeKok [Thu, 19 Oct 2017 19:53:59 +0000 (15:53 -0400)] 
driver_inst can't be NULL here.  CID #1414433

8 years agoclose socket on error. CID #1419878
Alan T. DeKok [Thu, 19 Oct 2017 19:52:11 +0000 (15:52 -0400)] 
close socket on error.  CID #1419878