summaryrefslogtreecommitdiff
path: root/radsecproxy.c
Commit message (Collapse)AuthorAgeFilesLines
* When CHAP-Password, copy Request Authenticator to CHAP-Challenge.Linus Nordberg2015-01-161-0/+22
| | | | | Conflicts: radmsg.h
* Have rewriteIn for servers use the correct config section.Linus Nordberg2015-01-141-2/+3
| | | | | Conflicts: ChangeLog
* Keep Proxy-State attributes in all replies to clients.Linus Nordberg2013-09-051-5/+13
| | | | Closes RADSECPROXY-52.
* Improve warning message when failing to resolve a dynamic server config.Linus Nordberg2013-09-021-2/+2
|
* Don't free struct clsrvconf members rewritein and rewriteout.Linus Nordberg2013-09-021-2/+2
| | | | | | | They are pointers into static struct hash *rewriteconfs and should live forever. Patch by Fabian Mauchle.
* Purge the duplication cache once per received packet.Linus Nordberg2013-09-021-0/+17
|
* Return free memory more aggressively.Linus Nordberg2013-09-021-0/+7
| | | | | | | | | | Have free(3) call sbrk(2) when there's 4 MB to free (default on Linux seems to be 128). Patch by Fabian Mauchle. Conflicts: configure.ac
* Create threads with a 32 KB stack rather than what happens to be the default.Linus Nordberg2013-09-021-5/+10
| | | | | | On Linux, the default stack size is typically 8 MB. Patch by Fabian Mauchle.
* Honour escaped slashes in regular expressions.Linus Nordberg2013-09-021-1/+3
| | | | Closes RADSECPROXY-51.
* Release a lock.Linus Nordberg2012-04-271-0/+1
| | | | Patch from Ralf Paffrath <paffrath@dfn.de>.
* Add experimental code for dynamic discovery (only if ↵Linus Nordberg2012-04-261-4/+41
| | | | | | ENABLE_EXPERIMENTAL_DYNDISC). Patch from Ralf Paffrath <paffrath@dfn.de>.
* Initialize ipv4only and ipv6only.selectfamilyLinus Nordberg2012-04-171-2/+2
|
* Add top-level config options IPv4Only and IPv6Only.Linus Nordberg2012-04-171-3/+17
| | | | | | Related to RADSECPROXY-37. TODO: Add documentation.
* Add client and server config options IPv4Only and IPv6Only.Linus Nordberg2012-04-171-4/+32
| | | | | | Related to RADSECPROXY-37. TODO: Add documentation.
* Block a dynamic server for 15 minutes if it's not working.Linus Nordberg2012-04-161-1/+1
| | | | This is the old number. We used 1 minute during testing.
* Don't treat exit 10 from dynamic scripts differently from any other non-zero ↵Linus Nordberg2012-04-121-8/+3
| | | | | | | | | | | code. clientwr() should treat the dynamic lookup as a failure and will not be any happier to know that the exact error was that it didn't resolv. The script can do whatever logging is wanted. That said, this commit also makes the scripts exit with 10 in order to signal failure.
* Keep track of a failing dynamic server and don't use it while failing.Linus Nordberg2012-04-121-8/+35
| | | | | | | | | | Also, sleep less than 15 minutes (900s), mainly for testing. This number will change. Also, die hard and explicitly if freeing an already freed config in freeclsrvconf(). This is part of fixing RADSECPROXY-33.
* Add/update copyright years.Linus Nordberg2012-04-121-1/+1
|
* Add config option PidFile.Linus Nordberg2012-04-111-0/+3
| | | | | | Note that `-i' on the command line overrides this config option. This closes RADSECPROXY-32.
* 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