summaryrefslogtreecommitdiff
path: root/radsecproxy.c
Commit message (Collapse)AuthorAgeFilesLines
...
* A DynamicLookupCommand exiting with 10 is treated like an empty server stanza.Linus Nordberg2011-10-081-2/+8
| | | | | | | | | This way a script can signal "not found". The naptr-eduroam.sh and radsec-dynsrv.sh scripts are changed to behave like this. Closes RADSECPROXY-22.
* Add --enable-fticks to configure.Linus Nordberg2011-09-271-0/+12
|
* Prepare for building tests.Linus Nordberg2011-09-271-1/+1
| | | | | Move main() out of radsecproxy.c. Build a static library and link a main.c with it.
* Make radsecproxy.h self-sustaining.Linus Nordberg2011-09-261-1/+0
|
* Formatting changes.Linus Nordberg2011-07-031-4/+2
|
* Don't print a pointer when trying to print a string.Linus Nordberg2011-07-031-1/+1
|
* Add test lost in 480942e6 back.Linus Nordberg2011-04-051-1/+2
|
* Do F-Ticks reporting only for Access-Accept and Access-Reject.Linus Nordberg2011-04-051-3/+3
|
* Move configure_fticks to fticks.c.Linus Nordberg2011-04-041-66/+2
|
* Move F-Ticks logging to fticks.c.Linus Nordberg2011-04-041-73/+2
|
* Add F-Ticks logging support.Linus Nordberg2011-04-041-26/+104
|
* Remove dashes from all options F-Ticks.* for consistency.Linus Nordberg2011-04-041-6/+6
|
* Add configuration of client fticksVISINST.Linus Nordberg2011-04-041-0/+1
|
* Formatting changes.Linus Nordberg2011-04-041-14/+15
|
* Add configuration options for F-Ticks logging.Linus Nordberg2011-04-011-0/+70
|
* Formatting changes.Linus Nordberg2011-04-011-20/+21
|
* Update copyright notices.Linus Nordberg2011-03-311-0/+1
|
* "Thou shalt not follow the NULL pointer, for chaos and madness awaitLinus Nordberg2010-11-151-4/+6
| | | | thee at its end."
* * README: Correct number of debug levels.Linus Nordberg2010-06-021-2/+2
| | | | | | * radsecproxy.c (getmainconfig): Take new log level into account. (getargs): Ditto. Patch by Kolbjørn Barmen.
* Reflect new debug level in man pages and comments in source.Linus Nordberg2010-06-011-2/+2
| | | | | Author: Kolbjørn Barmen <kolbjorn.barmen@uninett.no> Date: Tue Jun 1 09:52:17 2010 +0300
* Added DBG_NOTICE to the access accept/reject and accounting,Linus Nordberg2010-06-011-8/+18
| | | | | | | statisticly interesting information. Author: Kolbjørn Barmen <kolbjorn.barmen@uninett.no> Date: Tue Jun 1 09:41:02 2010 +0300
* * radsecproxy.c (createpidfile): Don't use r uninitialized.radsecproxy-1.4-beta1Linus Nordberg2010-05-281-1/+1
|
* * radsecproxy.c (createpidfile): Treat pid_t as long, avoiding compiler ↵Linus Nordberg2010-05-281-1/+1
| | | | warnings on Solaris.
* Print a better version string than "$Rev$".Linus Nordberg2010-05-281-2/+2
|
* * debug.c (debugerrno): New function.Linus Nordberg2010-05-281-13/+14
| | | | | (debugerrnox): New function. * radsecproxy.c: Use debugerrno() and debugerrnox() when appropriate.
* * radsecproxy.c (extractattr): Add vendor_flag argument and enforceLinus Nordberg2010-05-271-8/+15
| | | | three fields (vendor, name, value) when set.
* * radsecproxy.c (pwdencrypt): Fix bug with User-Password's of a lengthLinus Nordberg2010-05-261-40/+7
| | | | | | | greater than 16 octets. Spotted by Timothy, hunted down by Ralf Paffrath and verified by Stig Venaas. (pwdencrypt, pwddecrypt): Collapse into one new function -- pwdcrypt(). (pwdrecrypt): Use new pwdcrypt().
* * radsecproxy.c (extractattr): Bug! When s is changed, update len. This ↵Linus Nordberg2010-05-251-5/+6
| | | | might actually work now!
* * radsecproxy.c (extractattr): Fix bug where 'name' part was lost (inLinus Nordberg2010-05-251-1/+1
| | | | fact, 'val' was used for name).
* * radsecproxy.c (addrewrite): Add some detail to error printouts.Linus Nordberg2010-05-251-5/+5
|
* * radsecproxy.c (makevendortlv): Free attr when it's been copied.Linus Nordberg2010-05-251-6/+15
| | | | | (addvendorattr): Free attr if makevendortlv() fails. (addttlattr): Don't free attr, now that this is done by makevendortlv().
* * radsecproxy.c: Fix typo introduced in 4779686 making rewrite a nullLinus Nordberg2010-05-241-12/+10
| | | | operation altogether.
* (dorewrite): Do modattrs even if addattrs fails. Do modattrs beforelinus2010-03-311-19/+79
| | | | | | | | | | | | addattrs though. (addvendorattr): New function, doing aobut the same as addvendorattr() did. Used by extractattr() too. (extractattr): Add vendor field too (vendor:name:val). (addrewrite): Handle "addvattrs" too -- AddVendorAttributes. (confrewrite_cb): Add "addVendorAttribute". git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@546 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add LoopPrevention per server (RADSECPROXY-1).linus2010-03-311-1/+5
| | | | | | | TODO: Documentation and configuration example still missing. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@544 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Emacs local variable for stroustrup style.linus2010-03-231-0/+4
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Reindent and remove trailing whitespace.linus2010-03-081-225/+225
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@517 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Missing parantheses bug spotted by Daniel Bertolokolla2010-01-131-9/+10
| | | | | | | Reformatted while loop by Kolbjørn git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@513 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Creditskolla2009-09-111-0/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@511 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Added Stefan's UDP fragmentation fixkolla2009-09-111-0/+3
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Contribution acknowledgementskolla2009-07-221-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@507 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* From: Simon Leinen <simon.leinen@switch.ch>Simon Leinen2009-07-221-4/+4
| | | | | | | | | Message-ID: <19015.29517.446579.671665@switch.ch> Subject: SourceUDP and accounting packets git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@503 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Added contributed patch by Maja Wolniewicz <mgw@umk.pl>kolla2009-04-241-8/+8
| | | | | | | | | It adds the information about the client side to Access-Accept / Access-Reject line in log. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@502 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Shorter way to accomplish the samekolla2009-04-031-8/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@500 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Individual messages per msg typekolla2009-04-031-3/+7
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@499 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Ouptut "replyh: passing reply to client" as WARN (level 2) when reply messagekolla2009-04-021-1/+5
| | | | | | | | is either Access_Accept, Access_Reject or Accounting_Response - usefull for "normal logging" git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@497 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* adjusted some log levels, log level 2 default, preparing for 1.3 releasevenaas2009-03-121-17/+17
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@490 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* added -i option for pid file, HUP for reopening log filevenaas2009-02-131-8/+26
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@471 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* set dynamic timeout to 5venaas2009-02-051-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@468 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* timeout for connectvenaas2009-02-051-1/+0
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@467 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* allowing multiple host statements in client and server blocksvenaas2009-02-031-18/+65
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@466 e88ac4ed-0b26-0410-9574-a7f39faa03bf