summaryrefslogtreecommitdiff
path: root/radsecproxy.c
Commit message (Collapse)AuthorAge
* Clean up top dir.Linus Nordberg2013-01-22
|
* * README: Correct number of debug levels.Linus Nordberg2010-06-02
| | | | | | * 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-01
| | | | | 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-01
| | | | | | | 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.Linus Nordberg2010-05-28
|
* * radsecproxy.c (createpidfile): Treat pid_t as long, avoiding compiler ↵Linus Nordberg2010-05-28
| | | | warnings on Solaris.
* Print a better version string than "$Rev$".Linus Nordberg2010-05-28
|
* * debug.c (debugerrno): New function.Linus Nordberg2010-05-28
| | | | | (debugerrnox): New function. * radsecproxy.c: Use debugerrno() and debugerrnox() when appropriate.
* * radsecproxy.c (extractattr): Add vendor_flag argument and enforceLinus Nordberg2010-05-27
| | | | three fields (vendor, name, value) when set.
* * radsecproxy.c (pwdencrypt): Fix bug with User-Password's of a lengthLinus Nordberg2010-05-26
| | | | | | | 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-25
| | | | might actually work now!
* * radsecproxy.c (extractattr): Fix bug where 'name' part was lost (inLinus Nordberg2010-05-25
| | | | fact, 'val' was used for name).
* * radsecproxy.c (addrewrite): Add some detail to error printouts.Linus Nordberg2010-05-25
|
* * radsecproxy.c (makevendortlv): Free attr when it's been copied.Linus Nordberg2010-05-25
| | | | | (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-24
| | | | operation altogether.
* (dorewrite): Do modattrs even if addattrs fails. Do modattrs beforelinus2010-03-31
| | | | | | | | | | | | 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-31
| | | | | | | 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-23
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Reindent and remove trailing whitespace.linus2010-03-08
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@517 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Missing parantheses bug spotted by Daniel Bertolokolla2010-01-13
| | | | | | | Reformatted while loop by Kolbjørn git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@513 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Creditskolla2009-09-11
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@511 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Added Stefan's UDP fragmentation fixkolla2009-09-11
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Contribution acknowledgementskolla2009-07-22
| | | | 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-22
| | | | | | | | | 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-24
| | | | | | | | | 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-03
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@500 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Individual messages per msg typekolla2009-04-03
| | | | 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-02
| | | | | | | | 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-12
| | | | 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-13
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@471 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* set dynamic timeout to 5venaas2009-02-05
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@468 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* timeout for connectvenaas2009-02-05
| | | | 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-03
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@466 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* minor fixes to hostport stuffvenaas2009-01-29
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@464 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* rewriting code for hosts,ports,resolving,currently does not buildvenaas2009-01-27
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@461 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* delay for retrying dynamic after various other failuresvenaas2009-01-13
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@458 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* made it so it works with mix of dynamic and static servers for a realmvenaas2009-01-13
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@457 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* don't exit just because of bad dynamic configvenaas2009-01-12
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@456 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* fixed bug with dynamicserver and default secretvenaas2009-01-08
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@454 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* renamed struct queue to gqueue due to solaris defining queuevenaas2009-01-07
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@452 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* reverting makefile, emovign some includesvenaas2008-12-22
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@449 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* adding configure options for various transports, and -v output which ↵venaas2008-12-22
| | | | | | transports are enabled git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@448 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* moved more code to tlscommon, fixed a couple of minor lint warningsvenaas2008-12-22
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@447 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* split out code that is needed only when tls or dtls is usedvenaas2008-12-22
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@445 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* allowing build with only specific transportsvenaas2008-12-19
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@444 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* cleaning up codevenaas2008-12-19
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@443 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* cleaning up codevenaas2008-12-19
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@442 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* cleaning up codevenaas2008-12-18
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@441 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* removing some lint warningsvenaas2008-12-18
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@440 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* now freeing buffer of outgoing request as soon as we give up sending ↵venaas2008-12-18
| | | | | | request, rather than waiting until new request with same id git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@439 e88ac4ed-0b26-0410-9574-a7f39faa03bf