]> git.ipfire.org Git - thirdparty/freeradius-server.git/log
thirdparty/freeradius-server.git
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

8 years agowe don't care if write() fails here. CID #1414420
Alan T. DeKok [Thu, 19 Oct 2017 19:45:04 +0000 (15:45 -0400)] 
we don't care if write() fails here.  CID #1414420

8 years agouse correct number of arguments. CID #1419884
Alan T. DeKok [Thu, 19 Oct 2017 19:43:44 +0000 (15:43 -0400)] 
use correct number of arguments.  CID #1419884

8 years agocheck both workers... CID #1419881
Alan T. DeKok [Thu, 19 Oct 2017 19:41:51 +0000 (15:41 -0400)] 
check both workers... CID #1419881

8 years agohandle dup() failure. CID #1419880
Alan T. DeKok [Thu, 19 Oct 2017 19:41:07 +0000 (15:41 -0400)] 
handle dup() failure.  CID #1419880

8 years agoapp_io must be set. CID #1419879
Alan T. DeKok [Thu, 19 Oct 2017 19:37:48 +0000 (15:37 -0400)] 
app_io must be set.  CID #1419879

8 years agofix args to printf. CID #1419885
Alan T. DeKok [Thu, 19 Oct 2017 19:36:14 +0000 (15:36 -0400)] 
fix args to printf.  CID #1419885

8 years agocheck correct values. CID #1419876
Alan T. DeKok [Thu, 19 Oct 2017 19:34:56 +0000 (15:34 -0400)] 
check correct values.  CID #1419876

This might explain why some events are odd..

8 years agochannel recv_time cannot be NULL. CID #1419871
Alan T. DeKok [Thu, 19 Oct 2017 19:33:43 +0000 (15:33 -0400)] 
channel recv_time cannot be NULL.  CID #1419871

8 years agofix assertion. CID #1419870
Alan T. DeKok [Thu, 19 Oct 2017 19:29:16 +0000 (15:29 -0400)] 
fix assertion. CID #1419870

8 years agoset time to now. CID #1419868
Alan T. DeKok [Thu, 19 Oct 2017 19:28:24 +0000 (15:28 -0400)] 
set time to now.  CID #1419868

8 years agocheck before dreference. CID #1414436
Alan T. DeKok [Thu, 19 Oct 2017 19:26:57 +0000 (15:26 -0400)] 
check before dreference.  CID #1414436

8 years agofr_scoket_client_tcp() can fail. CID #1414430
Alan T. DeKok [Thu, 19 Oct 2017 19:25:36 +0000 (15:25 -0400)] 
fr_scoket_client_tcp() can fail.  CID #1414430

8 years agodriver_inst is already checked, and can't be NULL
Alan T. DeKok [Thu, 19 Oct 2017 19:24:01 +0000 (15:24 -0400)] 
driver_inst is already checked, and can't be NULL

8 years agodelete lock after using it. CID #141442
Alan T. DeKok [Thu, 19 Oct 2017 19:22:54 +0000 (15:22 -0400)] 
delete lock after using it.  CID #141442

8 years agouse success / fail instead of empty sections
Alan T. DeKok [Thu, 19 Oct 2017 19:19:43 +0000 (15:19 -0400)] 
use success / fail instead of empty sections

8 years agodocument new detail file reader
Alan T. DeKok [Thu, 19 Oct 2017 19:19:30 +0000 (15:19 -0400)] 
document new detail file reader

8 years agoadd "send fail"
Alan T. DeKok [Thu, 19 Oct 2017 19:05:38 +0000 (15:05 -0400)] 
add "send fail"

8 years agonotes on retransmissions for failure
Alan T. DeKok [Thu, 19 Oct 2017 19:01:21 +0000 (15:01 -0400)] 
notes on retransmissions for failure

8 years agoclean up and double-check
Alan T. DeKok [Thu, 19 Oct 2017 18:59:00 +0000 (14:59 -0400)] 
clean up and double-check

if there's a good reply, run send { ... }

if there's a bad reply, run send Do-Not-Respond { ... }

8 years agoadd synonym
Alan T. DeKok [Thu, 19 Oct 2017 18:58:48 +0000 (14:58 -0400)] 
add synonym

8 years agoremove notes about v2
Alan T. DeKok [Thu, 19 Oct 2017 18:38:14 +0000 (14:38 -0400)] 
remove notes about v2

8 years agoifdef out variables for assertions
Alan T. DeKok [Thu, 19 Oct 2017 18:29:26 +0000 (14:29 -0400)] 
ifdef out variables for assertions

8 years agoset the backlog from the parent who has it
Alan T. DeKok [Thu, 19 Oct 2017 18:16:52 +0000 (14:16 -0400)] 
set the backlog from the parent who has it

8 years agozero out memory so the event handler doesn't get excited
Alan T. DeKok [Thu, 19 Oct 2017 18:13:26 +0000 (14:13 -0400)] 
zero out memory so the event handler doesn't get excited

over garbage memory

8 years agomore sanity checks in unlang_resumable()
Alan T. DeKok [Thu, 19 Oct 2017 17:56:56 +0000 (13:56 -0400)] 
more sanity checks in unlang_resumable()

8 years agobacklog can be NULL if the request wasn't detached
Alan T. DeKok [Thu, 19 Oct 2017 17:56:30 +0000 (13:56 -0400)] 
backlog can be NULL if the request wasn't detached

8 years agodetach before freeing child
Alan T. DeKok [Thu, 19 Oct 2017 17:55:06 +0000 (13:55 -0400)] 
detach before freeing child

8 years agochild requests are never in the runnable queue
Alan T. DeKok [Thu, 19 Oct 2017 17:43:35 +0000 (13:43 -0400)] 
child requests are never in the runnable queue

8 years agoclean up unlang_resumable()
Alan T. DeKok [Thu, 19 Oct 2017 17:40:06 +0000 (13:40 -0400)] 
clean up unlang_resumable()

8 years agoone more assertion
Alan T. DeKok [Thu, 19 Oct 2017 15:53:47 +0000 (11:53 -0400)] 
one more assertion

8 years agocheck for thing before freeing it
Alan T. DeKok [Thu, 19 Oct 2017 15:37:44 +0000 (11:37 -0400)] 
check for thing before freeing it

8 years agomore assertions and checks
Alan T. DeKok [Thu, 19 Oct 2017 15:24:31 +0000 (11:24 -0400)] 
more assertions and checks

8 years agoassert that the request isn't in the runnable queue
Alan T. DeKok [Thu, 19 Oct 2017 15:22:40 +0000 (11:22 -0400)] 
assert that the request isn't in the runnable queue

8 years agomore assertions
Alan T. DeKok [Thu, 19 Oct 2017 15:00:30 +0000 (11:00 -0400)] 
more assertions

8 years agoremove "runnable" requests from the runnable queue
Alan T. DeKok [Thu, 19 Oct 2017 14:57:24 +0000 (10:57 -0400)] 
remove "runnable" requests from the runnable queue

8 years agoset default for "track" and "poll_interval"
Alan T. DeKok [Thu, 19 Oct 2017 14:51:41 +0000 (10:51 -0400)] 
set default for "track" and "poll_interval"

8 years agoclarify how thngs work
Alan T. DeKok [Thu, 19 Oct 2017 14:33:12 +0000 (10:33 -0400)] 
clarify how thngs work

8 years agochild created detachable is always detachable
Alan T. DeKok [Thu, 19 Oct 2017 14:29:35 +0000 (10:29 -0400)] 
child created detachable is always detachable

8 years agoclean up children immediately on "return"
Alan T. DeKok [Thu, 19 Oct 2017 13:30:07 +0000 (09:30 -0400)] 
clean up children immediately on "return"

8 years agoadd configurable poll_interval
Alan T. DeKok [Thu, 19 Oct 2017 12:36:45 +0000 (08:36 -0400)] 
add configurable poll_interval

8 years agocast usec to int, too
Alan T. DeKok [Wed, 18 Oct 2017 19:15:06 +0000 (15:15 -0400)] 
cast usec to int, too

8 years agouse state transition function for u, too
Alan T. DeKok [Wed, 18 Oct 2017 19:13:50 +0000 (15:13 -0400)] 
use state transition function for u, too

8 years agodo polling for detail files
Alan T. DeKok [Wed, 18 Oct 2017 18:08:53 +0000 (14:08 -0400)] 
do polling for detail files