summaryrefslogtreecommitdiff
path: root/radsecproxy.c
Commit message (Collapse)AuthorAgeFilesLines
* Copy three missing clsrvconf members when "merging configurations".Linus Nordberg2012-04-101-1/+4
|
* Don't free memory which others are still using.Linus Nordberg2012-04-091-1/+2
| | | | | | In the error case in confserver_cb() where compileserverconfig() we used to go to errexit and have resonf, passed as an argument through ARG, freed. Other parts are still using that conf.
* Fix two error printouts.Linus Nordberg2012-04-081-2/+2
|
* New option for client block - fticksVISINSTMaja Gorecka-Wolniewicz2011-12-211-0/+1
|
* Merge branch 'fticks_syslog2'Linus Nordberg2011-12-121-2/+13
|\
| * Reorder fticks command line options.Linus Nordberg2011-12-121-1/+1
| |
| * Rename DEBUG_LOG and FTICKS_LOG.Linus Nordberg2011-12-121-2/+3
| |
| * cosmeticsLinus Nordberg2011-12-121-6/+8
| |
| * F-Ticks logging changesMaja Gorecka-Wolniewicz2011-12-121-3/+11
| |
* | Use correct capitalisation for defaultClient and defaultServer.Linus Nordberg2011-12-121-4/+12
|/ | | | | | Used in 'tls defaultClient' and 'tls defaultServer' configuration blocks. Reported by Maja Gorecka-Wolniewicz.
* 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