libradsec.git
11 years agoFormatting changes. licensing
Linus Nordberg [Tue, 25 Sep 2012 11:37:20 +0000 (13:37 +0200)]
Formatting changes.

And, actually, a typo in catgconf.c.

11 years agoRemove the second copyright line, with both UNINETT and NORDUnet.
Linus Nordberg [Mon, 17 Sep 2012 07:56:38 +0000 (09:56 +0200)]
Remove the second copyright line, with both UNINETT and NORDUnet.

The overlap is clearly expressed without it.

11 years agoRemove Stig from first copyright line.
Linus Nordberg [Mon, 17 Sep 2012 07:49:39 +0000 (09:49 +0200)]
Remove Stig from first copyright line.

11 years agoAdd OpenSSL linking exemption to GPL license.
Linus Nordberg [Fri, 14 Sep 2012 09:17:24 +0000 (11:17 +0200)]
Add OpenSSL linking exemption to GPL license.

11 years agoAdd copyright information to LICENSE.
Linus Nordberg [Fri, 14 Sep 2012 09:14:56 +0000 (11:14 +0200)]
Add copyright information to LICENSE.

All source files refer to LICENSE. Without copyright information in
the header of that file it might be possible that it changes without
all the copyright holders permission.

11 years agoUpdate copyright and licensing information.
Linus Nordberg [Fri, 14 Sep 2012 09:11:19 +0000 (11:11 +0200)]
Update copyright and licensing information.

Note that this change makes all files carry the same copyright info,
regardless of when they've been touched. People interested in more
detail will have to consult the commit history.

11 years agoAdd copyright and licensing information.
Linus Nordberg [Fri, 14 Sep 2012 09:07:07 +0000 (11:07 +0200)]
Add copyright and licensing information.

11 years agoMove information in COPYING to LICENSE and remove COPYING.
Linus Nordberg [Fri, 14 Sep 2012 08:32:53 +0000 (10:32 +0200)]
Move information in COPYING to LICENSE and remove COPYING.

Also, rearrange copyright years.

Also also, state NORDUnet as being the provider of the software in the
BSD license.

11 years agoDon't mix up pre- and post-handshake verification of clients.
Linus Nordberg [Thu, 13 Sep 2012 13:19:22 +0000 (15:19 +0200)]
Don't mix up pre- and post-handshake verification of clients.

When verifying clients, don't consider config blocks with CA
settings ('tls') which differ from the one used for verifying the
certificate chain. Reported by Ralf Paffrath.

Reported and analysed by Ralf Paffrath.

Addresses issue RADSECPROXY-43.

11 years agoMake naptr-eduroam.sh check NAPTR type case insensitively.
Linus Nordberg [Mon, 13 Aug 2012 08:07:09 +0000 (10:07 +0200)]
Make naptr-eduroam.sh check NAPTR type case insensitively.

Fix by Adam Osuchowski.

11 years agoFix typo in ChangeLog.
Linus Nordberg [Mon, 13 Aug 2012 07:56:28 +0000 (09:56 +0200)]
Fix typo in ChangeLog.

11 years agoNew versions of generated files from the Autotools.
Linus Nordberg [Fri, 18 May 2012 20:44:32 +0000 (22:44 +0200)]
New versions of generated files from the Autotools.

11 years agoBump version to 1.6.1-dev.
Linus Nordberg [Fri, 18 May 2012 20:44:32 +0000 (22:44 +0200)]
Bump version to 1.6.1-dev.

11 years agomanpage fix: use minus signs instead of hyphens
Faidon Liambotis [Wed, 23 May 2012 06:59:53 +0000 (08:59 +0200)]
manpage fix: use minus signs instead of hyphens

To: radsecproxy@uninett.no
Cc: Faidon Liambotis <paravoid@debian.org>
Date: Wed, 23 May 2012 01:50:26 +0300

groff interprets "-" as hyphens (U+2010) and not as minus signs
(U+002D). Process arguments are clearly being done with minus signs, so
escape them properly and make copy/paste work again.

11 years agoTiny spelling fix on radsecproxy.conf.5.xml
Faidon Liambotis [Wed, 23 May 2012 06:59:37 +0000 (08:59 +0200)]
Tiny spelling fix on radsecproxy.conf.5.xml

To: radsecproxy@uninett.no
Cc: Faidon Liambotis <paravoid@debian.org>
Date: Wed, 23 May 2012 01:50:27 +0300

s/specifed/specified/

11 years agoradsecproxy-1.6. radsecproxy-1.6
Linus Nordberg [Fri, 27 Apr 2012 12:52:38 +0000 (14:52 +0200)]
radsecproxy-1.6.

11 years agoradsecproxy-1.6-rc2. radsecproxy-1.6-rc2
Linus Nordberg [Fri, 27 Apr 2012 10:58:15 +0000 (12:58 +0200)]
radsecproxy-1.6-rc2.

11 years agoRelease a lock.
Linus Nordberg [Fri, 27 Apr 2012 10:55:59 +0000 (12:55 +0200)]
Release a lock.

Patch from Ralf Paffrath <paffrath@dfn.de>.

11 years agoradsecproxy-1.6-rc1. radsecproxy-1.6-rc1
Linus Nordberg [Thu, 26 Apr 2012 13:46:35 +0000 (15:46 +0200)]
radsecproxy-1.6-rc1.

11 years agoAdd experimental code for dynamic discovery (only if ENABLE_EXPERIMENTAL_DYNDISC).
Linus Nordberg [Thu, 26 Apr 2012 13:16:22 +0000 (15:16 +0200)]
Add experimental code for dynamic discovery (only if ENABLE_EXPERIMENTAL_DYNDISC).

Patch from Ralf Paffrath <paffrath@dfn.de>.

11 years agoAdd configure option --enable-experimental-dyndisc.
Linus Nordberg [Thu, 26 Apr 2012 12:02:06 +0000 (14:02 +0200)]
Add configure option --enable-experimental-dyndisc.

12 years agoReady for radsecproxy-1.6-rc0. radsecproxy-1.6-rc0
Linus Nordberg [Tue, 17 Apr 2012 08:03:36 +0000 (10:03 +0200)]
Ready for radsecproxy-1.6-rc0.

12 years agoDocument the IPv4Only and IPv6Only options.
Linus Nordberg [Tue, 17 Apr 2012 07:49:03 +0000 (09:49 +0200)]
Document the IPv4Only and IPv6Only options.

RADSECPROXY-37.

12 years agoInitialize ipv4only and ipv6only. selectfamily
Linus Nordberg [Mon, 16 Apr 2012 10:22:08 +0000 (12:22 +0200)]
Initialize ipv4only and ipv6only.

12 years agoAdd top-level config options IPv4Only and IPv6Only.
Linus Nordberg [Fri, 13 Apr 2012 16:19:25 +0000 (18:19 +0200)]
Add top-level config options IPv4Only and IPv6Only.

Related to RADSECPROXY-37.

TODO: Add documentation.

12 years agoAdd client and server config options IPv4Only and IPv6Only.
Linus Nordberg [Fri, 13 Apr 2012 11:33:44 +0000 (13:33 +0200)]
Add client and server config options IPv4Only and IPv6Only.

Related to RADSECPROXY-37.

TODO: Add documentation.

12 years agoUse printf(1) instead of 'echo -e' in tools/ scripts.
Linus Nordberg [Mon, 16 Apr 2012 19:29:03 +0000 (21:29 +0200)]
Use printf(1) instead of 'echo -e' in tools/ scripts.

Closes RADSECPROXY-40.

12 years agoUpdate documentation to reflect the change of the default place to look for radsecpro...
Linus Nordberg [Mon, 16 Apr 2012 14:37:35 +0000 (16:37 +0200)]
Update documentation to reflect the change of the default place to look for radsecproxy.conf.

12 years agoAdd a note about the change of default place to look for radsecproxy.conf.
Linus Nordberg [Mon, 16 Apr 2012 14:36:53 +0000 (16:36 +0200)]
Add a note about the change of default place to look for radsecproxy.conf.

12 years agoCorrect changelog entry for RADSECPROXY-33.
Linus Nordberg [Mon, 16 Apr 2012 14:22:08 +0000 (16:22 +0200)]
Correct changelog entry for RADSECPROXY-33.

12 years agoBlock a dynamic server for 15 minutes if it's not working.
Linus Nordberg [Mon, 16 Apr 2012 14:04:24 +0000 (16:04 +0200)]
Block a dynamic server for 15 minutes if it's not working.

This is the old number.  We used 1 minute during testing.

12 years agoDocument the DynamicLookupCommand option. dynconf2
Linus Nordberg [Thu, 12 Apr 2012 18:23:14 +0000 (20:23 +0200)]
Document the DynamicLookupCommand option.

Closes RADSECPROXY-36.

12 years agoMerge branch 'master' into dynconf2
Linus Nordberg [Thu, 12 Apr 2012 18:20:38 +0000 (20:20 +0200)]
Merge branch 'master' into dynconf2

12 years agoRevert "Document the DynamicLookupCommand option."
Linus Nordberg [Thu, 12 Apr 2012 18:12:33 +0000 (20:12 +0200)]
Revert "Document the DynamicLookupCommand option."

This goes in branch dynconf2.

This reverts commit dbcc997716f5bec3316c74371eb8077884d6672d.

12 years agoAdd a blurb on dynamic lookup in ChangeLog.
Linus Nordberg [Wed, 11 Apr 2012 09:03:11 +0000 (11:03 +0200)]
Add a blurb on dynamic lookup in ChangeLog.

12 years agoAdd dynamic config updates to ChangeLog.
Linus Nordberg [Tue, 10 Apr 2012 14:14:43 +0000 (16:14 +0200)]
Add dynamic config updates to ChangeLog.

12 years agoAssert that the conf has at least one host in addserverextraudp().
Linus Nordberg [Tue, 10 Apr 2012 14:03:44 +0000 (16:03 +0200)]
Assert that the conf has at least one host in addserverextraudp().

Dynamic servers has clearly never been run on UDP servers.
We should probably do something less evil than crashing here.
Closes RADSECPROXY-26.

12 years agoDon't treat exit 10 from dynamic scripts differently from any other non-zero code.
Linus Nordberg [Tue, 10 Apr 2012 13:55:57 +0000 (15:55 +0200)]
Don't treat exit 10 from dynamic scripts differently from any other non-zero 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.

12 years agoKeep track of a failing dynamic server and don't use it while failing.
Linus Nordberg [Tue, 3 Apr 2012 14:56:23 +0000 (16:56 +0200)]
Keep track of a failing dynamic server and don't use it while failing.

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.

12 years agoUse /bin/sh rather than /bin/bash in scripts.
Linus Nordberg [Thu, 12 Apr 2012 15:12:45 +0000 (17:12 +0200)]
Use /bin/sh rather than /bin/bash in scripts.

Using /bin/bash isn't portable.

12 years agoUse built-in echo rather than /bin/echo.
Linus Nordberg [Thu, 12 Apr 2012 15:10:48 +0000 (17:10 +0200)]
Use built-in echo rather than /bin/echo.

`-e' to /bin/echo isn't portable.  The BSD's lacks it for instance.

12 years agoMake dynamic-resolve scripts in tools/ sort numerically.
Linus Nordberg [Thu, 12 Apr 2012 15:09:05 +0000 (17:09 +0200)]
Make dynamic-resolve scripts in tools/ sort numerically.

Spotted by Paul Dekkers.  Closes RADSECPROXY-39.

12 years agoDocument the DynamicLookupCommand option.
Linus Nordberg [Thu, 12 Apr 2012 14:43:12 +0000 (16:43 +0200)]
Document the DynamicLookupCommand option.

This closes RADSECPROXY-36.

12 years agoAdd/update copyright years.
Linus Nordberg [Thu, 12 Apr 2012 13:20:57 +0000 (15:20 +0200)]
Add/update copyright years.

12 years agoMinor ChangeLog changes.
Linus Nordberg [Thu, 12 Apr 2012 13:20:09 +0000 (15:20 +0200)]
Minor ChangeLog changes.

12 years agoUpdate ChangeLog.
Linus Nordberg [Wed, 11 Apr 2012 17:57:37 +0000 (19:57 +0200)]
Update ChangeLog.

12 years agoUpdate date in radsecproxy.conf.5.
Linus Nordberg [Wed, 11 Apr 2012 17:57:28 +0000 (19:57 +0200)]
Update date in radsecproxy.conf.5.

12 years agoAdd config option PidFile.
Linus Nordberg [Wed, 11 Apr 2012 15:08:42 +0000 (17:08 +0200)]
Add config option PidFile.

Note that `-i' on the command line overrides this config option.

This closes RADSECPROXY-32.

12 years agoHonour configure option --sysconfdir.
Linus Nordberg [Wed, 11 Apr 2012 14:50:08 +0000 (16:50 +0200)]
Honour configure option --sysconfdir.

This closes RADSECPROXY-31.

12 years agoUpdate date in ChangeLog.
Linus Nordberg [Wed, 11 Apr 2012 10:24:17 +0000 (12:24 +0200)]
Update date in ChangeLog.

12 years agoRephrase the FTicksSyslogFacility examples slightly.
Linus Nordberg [Wed, 11 Apr 2012 10:23:36 +0000 (12:23 +0200)]
Rephrase the FTicksSyslogFacility examples slightly.

Much like what 1c05812c did for radsecproxy.conf-example.

12 years agoChange default shared secret for TLS and DTLS.
Linus Nordberg [Wed, 11 Apr 2012 09:20:37 +0000 (11:20 +0200)]
Change default shared secret for TLS and DTLS.

We change from "mysecret" to "radsec" as per
draft-ietf-radext-radsec-12.txt section 2.3 (4).

12 years agoAdd a todo item to the develdoc file.
Linus Nordberg [Wed, 11 Apr 2012 09:05:28 +0000 (11:05 +0200)]
Add a todo item to the develdoc file.

12 years agoCopy three missing clsrvconf members when "merging configurations".
Linus Nordberg [Tue, 10 Apr 2012 14:24:30 +0000 (16:24 +0200)]
Copy three missing clsrvconf members when "merging configurations".

12 years agoDon't free memory which others are still using.
Linus Nordberg [Tue, 3 Apr 2012 14:56:23 +0000 (16:56 +0200)]
Don't free memory which others are still using.

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.

12 years agoFix two error printouts.
Linus Nordberg [Tue, 3 Apr 2012 14:56:23 +0000 (16:56 +0200)]
Fix two error printouts.

12 years agoOpenSSL uses long long. We use -pedantic. Add -Wno-long-long.
Linus Nordberg [Tue, 3 Apr 2012 14:56:23 +0000 (16:56 +0200)]
OpenSSL uses long long.  We use -pedantic.  Add -Wno-long-long.

Closes RADSECPROXY-34.

12 years agoStop resolver scripts from signalling "not found".
Linus Nordberg [Sat, 18 Feb 2012 19:13:46 +0000 (11:13 -0800)]
Stop resolver scripts from signalling "not found".

This triggers a bug in radsecproxy.  Don't use it for now.

12 years agoRemove documentation on dynamic lookup since it doesn't work.
Linus Nordberg [Sat, 18 Feb 2012 19:12:13 +0000 (11:12 -0800)]
Remove documentation on dynamic lookup since it doesn't work.

Also, add some notes about dynamic lookup esp. wrt. freeing of resources to develdoc.txt.

12 years agoMake radsecproxy-conf exit with !0 if it finds syntax errors in config file.
Linus Nordberg [Mon, 23 Jan 2012 12:06:09 +0000 (13:06 +0100)]
Make radsecproxy-conf exit with !0 if it finds syntax errors in config file.

Note that this is a syntax check only.  Passing this test doesn't mean
that the config file is good for running radsecproxy!

12 years agoProtect IPv6 addresses in square brackets to avoid misinterpretation.
Linus Nordberg [Mon, 23 Jan 2012 11:49:52 +0000 (12:49 +0100)]
Protect IPv6 addresses in square brackets to avoid misinterpretation.

12 years agoAdd F-Ticks improvements to ChangeLog.
Linus Nordberg [Thu, 22 Dec 2011 09:31:47 +0000 (10:31 +0100)]
Add F-Ticks improvements to ChangeLog.

12 years agoContribute Paweł Gołaszewski.
Linus Nordberg [Thu, 22 Dec 2011 09:27:04 +0000 (10:27 +0100)]
Contribute Paweł Gołaszewski.

12 years agoFix indentation from 2c705843.
Linus Nordberg [Thu, 22 Dec 2011 09:09:42 +0000 (10:09 +0100)]
Fix indentation from 2c705843.

12 years agoMerge remote-tracking branch 'maja/master'
Linus Nordberg [Thu, 22 Dec 2011 09:04:24 +0000 (10:04 +0100)]
Merge remote-tracking branch 'maja/master'

12 years agoNew option for client block - fticksVISINST
Maja Gorecka-Wolniewicz [Wed, 21 Dec 2011 09:10:33 +0000 (10:10 +0100)]
New option for client block - fticksVISINST

12 years agoUpdate copyright years.
Linus Nordberg [Tue, 13 Dec 2011 09:33:32 +0000 (10:33 +0100)]
Update copyright years.

12 years agoMerge branch 'fticks_syslog2'
Linus Nordberg [Mon, 12 Dec 2011 14:42:50 +0000 (15:42 +0100)]
Merge branch 'fticks_syslog2'

12 years agoUse correct capitalisation for defaultClient and defaultServer.
Linus Nordberg [Mon, 12 Dec 2011 14:19:26 +0000 (15:19 +0100)]
Use correct capitalisation for defaultClient and defaultServer.

Used in 'tls defaultClient' and 'tls defaultServer' configuration blocks.

Reported by Maja Gorecka-Wolniewicz.

12 years agoFix missing renaming of FTICKS_LOG. fticks_syslog2
Linus Nordberg [Mon, 12 Dec 2011 13:42:36 +0000 (14:42 +0100)]
Fix missing renaming of FTICKS_LOG.

Found by Maja Wolniewicz.

12 years agoMerge branch 'master' into fticks_syslog2
Linus Nordberg [Mon, 12 Dec 2011 13:40:18 +0000 (14:40 +0100)]
Merge branch 'master' into fticks_syslog2

12 years agoRemove offending (and seemingly unused) AM_LDFLAGS from Makefile.am.
Linus Nordberg [Mon, 12 Dec 2011 13:36:08 +0000 (14:36 +0100)]
Remove offending (and seemingly unused) AM_LDFLAGS from Makefile.am.

12 years agoAutoconf: Don't use deprecated AM_PROG_CC_C_O.
Linus Nordberg [Mon, 12 Dec 2011 13:28:53 +0000 (14:28 +0100)]
Autoconf: Don't use deprecated AM_PROG_CC_C_O.

12 years agoMake the autoconfery slightly less miserable. Also, bump version.
Linus Nordberg [Mon, 12 Dec 2011 13:28:22 +0000 (14:28 +0100)]
Make the autoconfery slightly less miserable.  Also, bump version.

Get rid of warnings about defining variables conditionally and unconditionally.
Don't redefine EXTRA_DIST with a spurious space in it.

12 years agoRephrase the FTicksSyslogFacility documentation slightly.
Linus Nordberg [Mon, 12 Dec 2011 13:16:47 +0000 (14:16 +0100)]
Rephrase the FTicksSyslogFacility documentation slightly.

12 years agoReorder fticks command line options.
Linus Nordberg [Mon, 12 Dec 2011 13:07:48 +0000 (14:07 +0100)]
Reorder fticks command line options.

12 years agoRename DEBUG_LOG and FTICKS_LOG.
Linus Nordberg [Mon, 12 Dec 2011 13:07:26 +0000 (14:07 +0100)]
Rename DEBUG_LOG and FTICKS_LOG.

12 years agoMatch function prototypes with definitions.
Linus Nordberg [Mon, 12 Dec 2011 13:06:22 +0000 (14:06 +0100)]
Match function prototypes with definitions.

12 years agoClean up ac5c1024.
Linus Nordberg [Mon, 12 Dec 2011 12:44:17 +0000 (13:44 +0100)]
Clean up ac5c1024.

12 years agoformatting and skipping openlog call for FTOCKS_LOG
Maja Gorecka-Wolniewicz [Mon, 12 Dec 2011 11:43:24 +0000 (12:43 +0100)]
formatting and skipping openlog call for FTOCKS_LOG

12 years agocosmetics
Linus Nordberg [Mon, 12 Dec 2011 11:21:17 +0000 (12:21 +0100)]
cosmetics

12 years agoF-Ticks logging changes
Maja Gorecka-Wolniewicz [Tue, 22 Nov 2011 08:52:53 +0000 (09:52 +0100)]
F-Ticks logging changes

12 years agoF-Ticks logging amendments
Maja Gorecka-Wolniewicz [Sat, 10 Dec 2011 08:54:29 +0000 (09:54 +0100)]
F-Ticks logging amendments

12 years agodebug.c
Maja Gorecka-Wolniewicz [Wed, 30 Nov 2011 14:01:06 +0000 (15:01 +0100)]
debug.c

12 years agoFTicks docs changes
Maja Gorecka-Wolniewicz [Thu, 24 Nov 2011 13:06:21 +0000 (14:06 +0100)]
FTicks docs changes

12 years agoFTicks loging changes
Maja Gorecka-Wolniewicz [Wed, 23 Nov 2011 10:37:29 +0000 (11:37 +0100)]
FTicks loging changes

12 years agoF-Ticks logging changes
Maja Gorecka-Wolniewicz [Tue, 22 Nov 2011 08:52:53 +0000 (09:52 +0100)]
F-Ticks logging changes

12 years agoAdd .gitignore. radsecproxy-1.5
Linus Nordberg [Sat, 8 Oct 2011 14:15:01 +0000 (16:15 +0200)]
Add .gitignore.

12 years agoReady for radsecproxy-1.5, this time configure.ac is ready too.
Linus Nordberg [Sat, 8 Oct 2011 14:08:49 +0000 (16:08 +0200)]
Ready for radsecproxy-1.5, this time configure.ac is ready too.

12 years agoReady for radsecproxy-1.5.
Linus Nordberg [Sat, 8 Oct 2011 14:01:27 +0000 (16:01 +0200)]
Ready for radsecproxy-1.5.

12 years agoUpdate ChangeLog.
Linus Nordberg [Sat, 8 Oct 2011 13:57:31 +0000 (15:57 +0200)]
Update ChangeLog.

12 years agoA DynamicLookupCommand exiting with 10 is treated like an empty server stanza.
Linus Nordberg [Sat, 8 Oct 2011 13:54:33 +0000 (15:54 +0200)]
A DynamicLookupCommand exiting with 10 is treated like an empty server stanza.

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.

12 years agoUpdate date.
Linus Nordberg [Sat, 8 Oct 2011 13:33:38 +0000 (15:33 +0200)]
Update date.

12 years agoModify ChangeLog.
Linus Nordberg [Sat, 8 Oct 2011 13:33:16 +0000 (15:33 +0200)]
Modify ChangeLog.

12 years agoChange the default value for config option FTicksMac.
Linus Nordberg [Sat, 8 Oct 2011 13:24:07 +0000 (15:24 +0200)]
Change the default value for config option FTicksMac.

12 years agoMention default 'secret' value in radsecproxy.conf.5.
Linus Nordberg [Sat, 1 Oct 2011 08:56:40 +0000 (10:56 +0200)]
Mention default 'secret' value in radsecproxy.conf.5.

12 years agoAdd almost-static Auto* files back.
Linus Nordberg [Sat, 1 Oct 2011 08:15:37 +0000 (10:15 +0200)]
Add almost-static Auto* files back.

12 years agoradsecproxy.conf.5 formatting.
Linus Nordberg [Sat, 1 Oct 2011 08:10:46 +0000 (10:10 +0200)]
radsecproxy.conf.5 formatting.

12 years agoUpdate date in radsecproxy.conf.5.
Linus Nordberg [Fri, 30 Sep 2011 12:49:57 +0000 (14:49 +0200)]
Update date in radsecproxy.conf.5.

12 years agoIndentation.
Linus Nordberg [Fri, 30 Sep 2011 12:48:57 +0000 (14:48 +0200)]
Indentation.