radsecproxy.git
15 years agorenamed some stuff, added client state for received rqs etc
venaas [Tue, 16 Sep 2008 09:29:11 +0000 (09:29 +0000)]
renamed some stuff, added client state for received rqs etc

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@379 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agochanging to use a separate client structure for each udp client
venaas [Sun, 14 Sep 2008 17:16:03 +0000 (17:16 +0000)]
changing to use a separate client structure for each udp client

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@378 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agocleaning up code
venaas [Sun, 14 Sep 2008 14:56:38 +0000 (14:56 +0000)]
cleaning up code

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@377 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoallow %hex notation for strings in gconfig
venaas [Sat, 13 Sep 2008 07:30:36 +0000 (07:30 +0000)]
allow %hex notation for strings in gconfig

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@376 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agovarious code improvements
venaas [Thu, 11 Sep 2008 14:42:21 +0000 (14:42 +0000)]
various code improvements

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@375 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agolots of changes to radsrv/reply and use of new radmsg stuff
venaas [Thu, 11 Sep 2008 10:38:51 +0000 (10:38 +0000)]
lots of changes to radsrv/reply and use of new radmsg stuff

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@373 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed problem when rewritten username not in response and cleaned up code
venaas [Tue, 9 Sep 2008 07:57:57 +0000 (07:57 +0000)]
fixed problem when rewritten username not in response and cleaned up code

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@371 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofinished attribute rewrite code, also used for username, testing needed
venaas [Mon, 8 Sep 2008 15:44:56 +0000 (15:44 +0000)]
finished attribute rewrite code, also used for username, testing needed

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@369 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded addattribute support to rewrite
venaas [Mon, 8 Sep 2008 12:23:17 +0000 (12:23 +0000)]
added addattribute support to rewrite

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@368 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agonow performing rewriteOut
venaas [Mon, 8 Sep 2008 08:46:23 +0000 (08:46 +0000)]
now performing rewriteOut

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@367 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoconfiguration of rewriteOut, but so far does nothing
venaas [Mon, 8 Sep 2008 08:18:10 +0000 (08:18 +0000)]
configuration of rewriteOut, but so far does nothing

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@366 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorewriteIn and rewrite are now synonyms, rewrite should be deprecated
venaas [Mon, 8 Sep 2008 08:00:14 +0000 (08:00 +0000)]
rewriteIn and rewrite are now synonyms, rewrite should be deprecated

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@365 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomore variable renaming
venaas [Mon, 8 Sep 2008 07:36:47 +0000 (07:36 +0000)]
more variable renaming

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@364 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agos/rewriteattr.*/rewriteusername.*/
venaas [Mon, 8 Sep 2008 07:02:48 +0000 (07:02 +0000)]
s/rewriteattr.*/rewriteusername.*/

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@363 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomake all regexps extended
venaas [Mon, 8 Sep 2008 06:35:48 +0000 (06:35 +0000)]
make all regexps extended

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@362 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded notimestamp option to debug
venaas [Fri, 29 Aug 2008 07:57:31 +0000 (07:57 +0000)]
added notimestamp option to debug

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@361 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agominor fix in list.c
venaas [Wed, 27 Aug 2008 12:15:49 +0000 (12:15 +0000)]
minor fix in list.c

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@359 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed bug with multiple status server sent, some dtls fixes
venaas [Fri, 22 Aug 2008 14:32:51 +0000 (14:32 +0000)]
fixed bug with multiple status server sent, some dtls fixes

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@358 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomade dtls server do proper certificate matching
venaas [Thu, 21 Aug 2008 14:33:11 +0000 (14:33 +0000)]
made dtls server do proper certificate matching

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@356 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomoved bindtoaddr back to radsecproxy.c
venaas [Thu, 21 Aug 2008 12:18:01 +0000 (12:18 +0000)]
moved bindtoaddr back to radsecproxy.c

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@355 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agominor change for tlsconf
venaas [Thu, 21 Aug 2008 12:01:27 +0000 (12:01 +0000)]
minor change for tlsconf

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@354 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agochanged rewrite configs to hash
venaas [Thu, 21 Aug 2008 11:53:50 +0000 (11:53 +0000)]
changed rewrite configs to hash

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@353 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadding hash type, changed tls configs to hash
venaas [Thu, 21 Aug 2008 11:39:35 +0000 (11:39 +0000)]
adding hash type, changed tls configs to hash

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@352 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorestructuring code
venaas [Thu, 21 Aug 2008 09:55:13 +0000 (09:55 +0000)]
restructuring code

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@351 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseparated udp
venaas [Thu, 21 Aug 2008 08:27:09 +0000 (08:27 +0000)]
separated udp

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@350 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseparated tls
venaas [Thu, 21 Aug 2008 08:04:16 +0000 (08:04 +0000)]
separated tls

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@349 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseparated tcp
venaas [Thu, 21 Aug 2008 07:45:34 +0000 (07:45 +0000)]
separated tcp

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@348 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseparated dtls into a separate file
venaas [Thu, 21 Aug 2008 07:11:59 +0000 (07:11 +0000)]
separated dtls into a separate file

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@347 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseparated dtls code from udp, using same port as radsec
venaas [Wed, 20 Aug 2008 14:13:38 +0000 (14:13 +0000)]
separated dtls code from udp, using same port as radsec

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@346 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofinally basic dtls functionality in place
venaas [Wed, 20 Aug 2008 09:34:56 +0000 (09:34 +0000)]
finally basic dtls functionality in place

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@345 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agosimplified radudpget, dtls server read
venaas [Mon, 18 Aug 2008 06:53:41 +0000 (06:53 +0000)]
simplified radudpget, dtls server read

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@344 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agosimplified radudpget, minor dtls changes
venaas [Fri, 15 Aug 2008 09:21:42 +0000 (09:21 +0000)]
simplified radudpget, minor dtls changes

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@343 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded some skeleton DTLS code and perhaps working client setup and write
venaas [Thu, 14 Aug 2008 14:57:53 +0000 (14:57 +0000)]
added some skeleton DTLS code and perhaps working client setup and write

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@341 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoseems need to use select with MSG_PEEK
venaas [Thu, 14 Aug 2008 12:56:32 +0000 (12:56 +0000)]
seems need to use select with MSG_PEEK

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@340 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixing a minor SSL related issue
venaas [Thu, 14 Aug 2008 12:32:25 +0000 (12:32 +0000)]
fixing a minor SSL related issue

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@339 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoslightly more DTLS code, fixing some minors SSL related issues
venaas [Thu, 14 Aug 2008 12:26:44 +0000 (12:26 +0000)]
slightly more DTLS code, fixing some minors SSL related issues

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@337 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agocode for creating DTLS contect
venaas [Wed, 13 Aug 2008 10:42:48 +0000 (10:42 +0000)]
code for creating DTLS contect

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@336 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoreorganised tlsadd code
venaas [Wed, 13 Aug 2008 09:31:35 +0000 (09:31 +0000)]
reorganised tlsadd code

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@334 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agostarted on dtls support
venaas [Tue, 12 Aug 2008 15:11:36 +0000 (15:11 +0000)]
started on dtls support

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@333 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agonew radudpget code, fixed a bug introduced in prev commit
venaas [Tue, 12 Aug 2008 12:09:39 +0000 (12:09 +0000)]
new radudpget code, fixed a bug introduced in prev commit

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@332 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded radudpget2 that is to replace radudpget
venaas [Thu, 31 Jul 2008 18:02:20 +0000 (18:02 +0000)]
added radudpget2 that is to replace radudpget

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@331 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agouse lastrcv instead of lastsend for status-server
venaas [Thu, 31 Jul 2008 09:55:09 +0000 (09:55 +0000)]
use lastrcv instead of lastsend for status-server

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@330 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoclosing connection from a client if message auth/validation fails
venaas [Thu, 31 Jul 2008 09:04:11 +0000 (09:04 +0000)]
closing connection from a client if message auth/validation fails

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@329 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomaking accounting listener like normal, less code
venaas [Thu, 31 Jul 2008 08:00:05 +0000 (08:00 +0000)]
making accounting listener like normal, less code

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@328 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoremoving harmless compiler warning
venaas [Fri, 25 Jul 2008 11:07:46 +0000 (11:07 +0000)]
removing harmless compiler warning

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@327 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agopreparing for release of 1.1
venaas [Wed, 23 Jul 2008 14:17:53 +0000 (14:17 +0000)]
preparing for release of 1.1

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@326 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agonoting that tcp accounting not supported
venaas [Wed, 23 Jul 2008 12:05:25 +0000 (12:05 +0000)]
noting that tcp accounting not supported

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@325 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoaccept status-server on accounting port
venaas [Wed, 23 Jul 2008 11:57:50 +0000 (11:57 +0000)]
accept status-server on accounting port

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@324 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoupdated man page
venaas [Wed, 23 Jul 2008 11:01:11 +0000 (11:01 +0000)]
updated man page

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@323 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded tcp client support
venaas [Wed, 23 Jul 2008 09:14:16 +0000 (09:14 +0000)]
added tcp client support

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@322 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded tcp server support, improved some log messages, fixed bug when trying to free...
venaas [Wed, 23 Jul 2008 07:09:07 +0000 (07:09 +0000)]
added tcp server support, improved some log messages, fixed bug when trying to free requests for dynamic server template

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@321 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomore generalised transport
venaas [Tue, 22 Jul 2008 13:33:09 +0000 (13:33 +0000)]
more generalised transport

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@320 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoupdated manpage for Listen options
venaas [Tue, 22 Jul 2008 12:41:10 +0000 (12:41 +0000)]
updated manpage for Listen options

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@319 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded configuration of tcp transport
venaas [Tue, 22 Jul 2008 12:36:57 +0000 (12:36 +0000)]
added configuration of tcp transport

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@318 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorenaming delay to interval
venaas [Tue, 22 Jul 2008 10:01:31 +0000 (10:01 +0000)]
renaming delay to interval

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@316 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agostarting to generalise transport support, renamed delay to interval
venaas [Tue, 22 Jul 2008 09:56:09 +0000 (09:56 +0000)]
starting to generalise transport support, renamed delay to interval

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@315 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoRAD_UDP/RAD_TLS instead of U/T
venaas [Mon, 21 Jul 2008 13:56:33 +0000 (13:56 +0000)]
RAD_UDP/RAD_TLS instead of U/T

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@314 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoallowing multiple listener statements and binding to both v4 and v6 if needed
venaas [Mon, 21 Jul 2008 11:43:44 +0000 (11:43 +0000)]
allowing multiple listener statements and binding to both v4 and v6 if needed

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@313 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoremoved some unnecessary casting
venaas [Mon, 21 Jul 2008 09:46:19 +0000 (09:46 +0000)]
removed some unnecessary casting

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@312 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoonly count lost normal rqs when not statusserver, restructured udp code a bit, prepar...
venaas [Mon, 21 Jul 2008 09:38:08 +0000 (09:38 +0000)]
only count lost normal rqs when not statusserver, restructured udp code a bit, preparing for multiple udp listeners

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@311 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agonow accounting appears to work
venaas [Fri, 18 Jul 2008 13:28:43 +0000 (13:28 +0000)]
now accounting appears to work

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@309 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoupdated manpage with crlcheck and retry options
venaas [Thu, 17 Jul 2008 17:42:16 +0000 (17:42 +0000)]
updated manpage with crlcheck and retry options

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@307 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded crlcheck config option, default off
venaas [Thu, 17 Jul 2008 17:17:47 +0000 (17:17 +0000)]
added crlcheck config option, default off

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@305 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofix radtlsget log message
venaas [Thu, 17 Jul 2008 10:46:09 +0000 (10:46 +0000)]
fix radtlsget log message

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@304 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agotrying to enable CRL checking
venaas [Wed, 16 Jul 2008 13:32:50 +0000 (13:32 +0000)]
trying to enable CRL checking

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@303 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoupdated man page with loopdetection and accoutingresponse options
venaas [Wed, 16 Jul 2008 09:10:41 +0000 (09:10 +0000)]
updated man page with loopdetection and accoutingresponse options

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@302 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoUDP accounting replies with correct source port
venaas [Tue, 15 Jul 2008 12:54:53 +0000 (12:54 +0000)]
UDP accounting replies with correct source port

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@301 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoaccountingresponse option for realms for sending accounting response when no accounti...
venaas [Tue, 8 Jul 2008 13:17:24 +0000 (13:17 +0000)]
accountingresponse option for realms for sending accounting response when no accounting server is configured

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@300 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoincluding limits.h
venaas [Tue, 8 Jul 2008 11:52:53 +0000 (11:52 +0000)]
including limits.h

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@299 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agotrying to verify accounting request authenticator, and correctly compute the authenti...
venaas [Tue, 8 Jul 2008 10:34:16 +0000 (10:34 +0000)]
trying to verify accounting request authenticator, and correctly compute the authenticator when sending accounting requests

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@297 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded options for retry delay and count and set defaults to 5s and 2
venaas [Thu, 3 Jul 2008 12:59:09 +0000 (12:59 +0000)]
added options for retry delay and count and set defaults to 5s and 2

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@296 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agochanged to using gconfig lint type for loglevel
venaas [Thu, 3 Jul 2008 11:11:58 +0000 (11:11 +0000)]
changed to using gconfig lint type for loglevel

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@295 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agogconfig support for long int
venaas [Thu, 3 Jul 2008 09:39:31 +0000 (09:39 +0000)]
gconfig support for long int

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@294 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed serious probelm with idle timeout
venaas [Fri, 13 Jun 2008 09:35:26 +0000 (09:35 +0000)]
fixed serious probelm with idle timeout

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@292 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoadded idle timeout for dynamic servers and rewrote radtlsget. testing needed
venaas [Thu, 12 Jun 2008 10:52:00 +0000 (10:52 +0000)]
added idle timeout for dynamic servers and rewrote radtlsget. testing needed

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@291 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed bug when no logdestination specified, and not with -f
venaas [Tue, 10 Jun 2008 11:43:51 +0000 (11:43 +0000)]
fixed bug when no logdestination specified, and not with -f

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@290 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoremoved some harmless compiler warnings
venaas [Tue, 10 Jun 2008 11:11:54 +0000 (11:11 +0000)]
removed some harmless compiler warnings

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@289 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofailover also when not using status server
venaas [Tue, 10 Jun 2008 08:51:19 +0000 (08:51 +0000)]
failover also when not using status server

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@287 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agotrying to remove dynamic server state when tlsconnection goes down
venaas [Thu, 5 Jun 2008 10:47:13 +0000 (10:47 +0000)]
trying to remove dynamic server state when tlsconnection goes down

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@286 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoremoving more state, also had forgotten to detach clientwr thread
venaas [Thu, 5 Jun 2008 09:11:23 +0000 (09:11 +0000)]
removing more state, also had forgotten to detach clientwr thread

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@285 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoremoving clientwr state when finishing
venaas [Wed, 4 Jun 2008 15:28:39 +0000 (15:28 +0000)]
removing clientwr state when finishing

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@284 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed bugs with freeing memory when removing dynamic server, added tlsconnect timeout
venaas [Wed, 4 Jun 2008 14:55:16 +0000 (14:55 +0000)]
fixed bugs with freeing memory when removing dynamic server, added tlsconnect timeout

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@283 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed a bug with freeing memory when dynamicserver fails
venaas [Wed, 4 Jun 2008 12:58:00 +0000 (12:58 +0000)]
fixed a bug with freeing memory when dynamicserver fails

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@282 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agotrying to free memory when dynamicconfig fails
venaas [Wed, 4 Jun 2008 12:34:51 +0000 (12:34 +0000)]
trying to free memory when dynamicconfig fails

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@281 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomade list_removedata() remove all occurences
venaas [Wed, 4 Jun 2008 09:47:10 +0000 (09:47 +0000)]
made list_removedata() remove all occurences

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@280 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agofixed segfault in findserver() when no server configured, and tried to remove a warning
venaas [Wed, 4 Jun 2008 07:11:51 +0000 (07:11 +0000)]
fixed segfault in findserver() when no server configured, and tried to remove a warning

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@279 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoNetBSD-fikser:
kolla [Wed, 4 Jun 2008 00:29:38 +0000 (00:29 +0000)]
NetBSD-fikser:
* Bruker do-patch med sed for å endre default konfigfil fra
  /etc/radsecproxy.conf til /usr/pkg/etc/radsecproxy.conf
* Endret i rc.d-script til å droppe "-c /usr/pkg/etc/radsecproxy.conf"
  siden det nå er default.
* Kompilér og installér catgconf som radsecproxy-catgconf,
  catgconf høres ut som det har noe med GNOME gconf å gjøre
* distinfo for trunk er meningsløs likevel, man får heller kjøre
  "make makesum" manuelt

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@278 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorenamed rpf to loopprevention
venaas [Tue, 3 Jun 2008 15:24:34 +0000 (15:24 +0000)]
renamed rpf to loopprevention

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@277 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoKosmetiske endringer:
kolla [Tue, 3 Jun 2008 11:54:42 +0000 (11:54 +0000)]
Kosmetiske endringer:
* "#! /bin/sh" i stedet for "#!/bin/sh" jamfør "4 byte"-regelen
* Konsekvent bruk av ${var} i stedet for $var

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@276 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agoBare restart dersom -p exiter 0
kolla [Tue, 3 Jun 2008 11:45:17 +0000 (11:45 +0000)]
Bare restart dersom -p exiter 0

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@275 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agologging stationid, converting username and stationid to ascii when logging
venaas [Tue, 3 Jun 2008 11:36:34 +0000 (11:36 +0000)]
logging stationid, converting username and stationid to ascii when logging

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@274 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorpf feature added
venaas [Tue, 3 Jun 2008 08:46:28 +0000 (08:46 +0000)]
rpf feature added

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@273 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agochecking exit code from dynsrvlookup
venaas [Mon, 2 Jun 2008 13:56:29 +0000 (13:56 +0000)]
checking exit code from dynsrvlookup

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@272 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agorestricting characters in dynamic realms to valid DNS...
venaas [Mon, 2 Jun 2008 13:34:39 +0000 (13:34 +0000)]
restricting characters in dynamic realms to valid DNS...

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@271 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agocleaned up the initial dynamic server discovery code a bit
venaas [Mon, 2 Jun 2008 13:28:19 +0000 (13:28 +0000)]
cleaned up the initial dynamic server discovery code a bit

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@270 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agocleaned up the initial dynamic server discovery code a bit
venaas [Mon, 2 Jun 2008 13:11:11 +0000 (13:11 +0000)]
cleaned up the initial dynamic server discovery code a bit

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@269 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomade example dynamic server srv record script also use port number
venaas [Fri, 30 May 2008 14:28:45 +0000 (14:28 +0000)]
made example dynamic server srv record script also use port number

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@268 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agogconfig cbs now return int. almost finished receiving all dynamic server config,...
venaas [Fri, 30 May 2008 14:17:52 +0000 (14:17 +0000)]
gconfig cbs now return int. almost finished receiving all dynamic server config, just need to handle failing stringcopy

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@267 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agosome gconfig improvements, made proxy accept server config from external program
venaas [Fri, 30 May 2008 12:52:40 +0000 (12:52 +0000)]
some gconfig improvements, made proxy accept server config from external program

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@266 e88ac4ed-0b26-0410-9574-a7f39faa03bf

15 years agomade gconfig support input from string
venaas [Thu, 29 May 2008 12:55:10 +0000 (12:55 +0000)]
made gconfig support input from string

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@265 e88ac4ed-0b26-0410-9574-a7f39faa03bf