summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * debug.c (debugerrno): New function.Linus Nordberg2010-05-283-13/+44
| | | | | (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.conf-example: Add LoopPrevention in a server block.Linus Nordberg2010-05-261-1/+5
|
* * radsecproxy.conf.5.xml: Add addVendorAttribute.Linus Nordberg2010-05-261-5/+19
|
* * radsecproxy.conf.5.xml: s/of the form/on the form/g.Linus Nordberg2010-05-261-7/+7
|
* * radsecproxy.conf-example: Sanitize and verify rewrite examples.Linus Nordberg2010-05-251-2/+7
|
* * 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.
* Fix typo for addAttribute value.linus2010-03-311-1/+2
| | | | | | | Add addVendorAttribute. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@548 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* LoopPrevention, AddVendorAttribute.linus2010-03-311-2/+4
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@547 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* (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
* (tlv2buf): Make TLV const.linus2010-03-312-2/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@545 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add LoopPrevention per server (RADSECPROXY-1).linus2010-03-312-1/+6
| | | | | | | TODO: Documentation and configuration example still missing. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@544 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate.linus2010-03-311-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@542 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Make that `-pthreads', with a trailing `s', for making GCC pre gcc-4.xlinus2010-03-311-1/+1
| | | | | | | happy too. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@541 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate.linus2010-03-311-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@538 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Pass `-pthread' to gcc on Solaris.linus2010-03-311-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@537 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate (again -- missed -Wall in catgconf_CFLAGS)linus2010-03-301-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@536 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Automake (1.11) file.linus2010-03-301-0/+143
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@535 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Autoconf (1.11) file.linus2010-03-291-0/+987
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@534 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Automake (1.11) files.linus2010-03-296-0/+5075
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@533 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate.linus2010-03-251-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@532 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add `-Wall' to CFLAGS.linus2010-03-251-2/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@531 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Emacs local variable for stroustrup style.linus2010-03-2329-0/+116
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@530 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate.linus2010-03-231-10/+10
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@529 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Heading for 1.4 rather than 2.0.linus2010-03-231-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@528 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Regenerate.linus2010-03-231-9/+9
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@527 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Change contact address.linus2010-03-231-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@526 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add Makefile.in and configure (generated by automake and autoconf).linus2010-03-223-21/+5869
| | | | | | | Remove Makefile (will be generated by user running configure) git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@525 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Build radsecproxy.conf.5 (target 'man').linus2010-03-221-2/+9
| | | | | | | | Remove the same file (target 'clean'). Use EXTRA_DIST for all extra going into distribution. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@524 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Set AUTOMAKE_OPTIONS = foreign to make Automake less picky aboutlinus2010-03-221-0/+2
| | | | | | | exactly which files exist or not. git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@523 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Add AC_CANONICAL_TARGET -- AC_CANONICAL_SYSTEM needs it.linus2010-03-171-0/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@521 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Fix regex example using back references. Spotted by Kolbjørn Barmen.linus2010-03-161-2/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@520 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Fix a regex example using back references. Spotted by Kolbjørn Barmen.linus2010-03-161-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@519 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Fix two regex examples using back references. Spotted by Kolbjørn Barmen.linus2010-03-161-2/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@518 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Reindent and remove trailing whitespace.linus2010-03-0815-403/+403
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@517 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Don't pass `-mt' to gcc on Solaris.linus2010-03-022-2/+6
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@515 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
* Oppdatert changelogkolla2009-09-111-0/+2
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@512 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Creditskolla2009-09-113-1/+7
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@511 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Added Stefan's UDP fragmentation fixkolla2009-09-113-0/+29
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@510 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Oppgradert til 1.3.1kolla2009-07-221-1/+1
| | | | git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@508 e88ac4ed-0b26-0410-9574-a7f39faa03bf
* Contribution acknowledgementskolla2009-07-224-1/+15
| | | | 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-223-8/+13
| | | | | | | | | 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