libradsec.git
12 years agoDon't cry and die on a configured server (!) which doesn't resolve (DNS). Just cry... postpone-resolving
Linus Nordberg [Wed, 11 Apr 2012 11:30:30 +0000 (13:30 +0200)]
Don't cry and die on a configured server (!) which doesn't resolve (DNS).  Just cry some.

Part of fixing RADSECPROXY-30.

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.

12 years agoUpdate copyright info. radsecproxy-1.5
Linus Nordberg [Thu, 29 Sep 2011 18:58:17 +0000 (20:58 +0200)]
Update copyright info.

12 years agoRemove unused code.
Linus Nordberg [Thu, 29 Sep 2011 13:48:17 +0000 (15:48 +0200)]
Remove unused code.

12 years agoAlways distribute radsecproxy-hash.1.
Linus Nordberg [Thu, 29 Sep 2011 11:30:02 +0000 (13:30 +0200)]
Always distribute radsecproxy-hash.1.

12 years agofticks_hashmac has moved.
Linus Nordberg [Thu, 29 Sep 2011 11:25:36 +0000 (13:25 +0200)]
fticks_hashmac has moved.

12 years agoAdd radsecproxy-hash.c.
Linus Nordberg [Thu, 29 Sep 2011 11:22:38 +0000 (13:22 +0200)]
Add radsecproxy-hash.c.

12 years agoTest hashing some more in t_fticks.
Linus Nordberg [Thu, 29 Sep 2011 09:23:06 +0000 (11:23 +0200)]
Test hashing some more in t_fticks.

12 years agocatgconf has changed name.
Linus Nordberg [Thu, 29 Sep 2011 09:22:54 +0000 (11:22 +0200)]
catgconf has changed name.

12 years agoBuild radsecproxy-hash.
Linus Nordberg [Thu, 29 Sep 2011 09:22:43 +0000 (11:22 +0200)]
Build radsecproxy-hash.

Reorganize Makefile.am and make specific CFLAGS general (AM_CFLAGS).

12 years agoAdd binary radsecproxy-hash.
Linus Nordberg [Thu, 29 Sep 2011 09:21:30 +0000 (11:21 +0200)]
Add binary radsecproxy-hash.

Split up fticks.c in order not to have to drag in too much of
radsecproxy in order to just hash a MAC.

12 years agoUpdate date in radsecproxy.1.
Linus Nordberg [Wed, 28 Sep 2011 17:33:00 +0000 (19:33 +0200)]
Update date in radsecproxy.1.

12 years agoEnable F-Ticks support in distcheck.
Linus Nordberg [Wed, 28 Sep 2011 17:01:06 +0000 (19:01 +0200)]
Enable F-Ticks support in distcheck.

12 years agoDon't test F-Ticks if we're not configured for supporting it.
Linus Nordberg [Wed, 28 Sep 2011 16:57:47 +0000 (18:57 +0200)]
Don't test F-Ticks if we're not configured for supporting it.

12 years agoPut two Autoconf files back since they're not installed by autoreconf -i.
Linus Nordberg [Wed, 28 Sep 2011 16:50:23 +0000 (18:50 +0200)]
Put two Autoconf files back since they're not installed by autoreconf -i.

Hmm, I wonder if it makes sense to have compile, config.{guess,sub},
install-sh, missing and depcomp under source control too?  It's not
that they're changing that often.

12 years agoDon't have generated file under source control.
Linus Nordberg [Wed, 28 Sep 2011 16:42:54 +0000 (18:42 +0200)]
Don't have generated file under source control.

12 years agoCosmetic.
Linus Nordberg [Wed, 28 Sep 2011 16:32:17 +0000 (18:32 +0200)]
Cosmetic.

12 years agoCorrect compiler and linker flags.
Linus Nordberg [Wed, 28 Sep 2011 16:31:46 +0000 (18:31 +0200)]
Correct compiler and linker flags.

We don't need LDFLAGS when building librsp sources.
s/catgconf/radsecproxy_conf/.

12 years agoPoint to ChangeLog in NEWS.
Linus Nordberg [Wed, 28 Sep 2011 12:35:03 +0000 (14:35 +0200)]
Point to ChangeLog in NEWS.

12 years agoReorganise EXTRA_DIST.
Linus Nordberg [Wed, 28 Sep 2011 12:34:48 +0000 (14:34 +0200)]
Reorganise EXTRA_DIST.

12 years agoFix last merge which broke configure.ac.
Linus Nordberg [Wed, 28 Sep 2011 12:22:46 +0000 (14:22 +0200)]
Fix last merge which broke configure.ac.

Also, remove generated configure.

12 years agoMerge with master. Conflicts:
Linus Nordberg [Wed, 28 Sep 2011 11:10:12 +0000 (13:10 +0200)]
Merge with master.  Conflicts:
  ChangeLog
  README
  config.guess
  config.sub
  configure
  configure.ac

12 years agoRename binary catgconf --> radsecproxy-conf.
Linus Nordberg [Wed, 28 Sep 2011 10:56:09 +0000 (12:56 +0200)]
Rename binary catgconf --> radsecproxy-conf.

12 years agoAdd 1.5-dev notes and reverse the order of the entries in the file.
Linus Nordberg [Wed, 28 Sep 2011 10:53:58 +0000 (12:53 +0200)]
Add 1.5-dev notes and reverse the order of the entries in the file.

12 years agoList catgconf header files too.
Linus Nordberg [Wed, 28 Sep 2011 10:37:49 +0000 (12:37 +0200)]
List catgconf header files too.

12 years agoUndo cc56affa -- header files should go into SOURCES.
Linus Nordberg [Wed, 28 Sep 2011 10:34:54 +0000 (12:34 +0200)]
Undo cc56affa -- header files should go into SOURCES.

If not for anything else but to get distributed.

12 years agoPass necessary compiler and linker flags.
Linus Nordberg [Tue, 27 Sep 2011 17:50:13 +0000 (19:50 +0200)]
Pass necessary compiler and linker flags.

All the source files compiled into the library needs all flags too.

12 years agoHandle configuration with F-Ticks enabled but w/o FTicksMac.
Linus Nordberg [Tue, 27 Sep 2011 17:48:52 +0000 (19:48 +0200)]
Handle configuration with F-Ticks enabled but w/o FTicksMac.

12 years agoAdd F-Ticks documentation to radsecproxy.conf.5.
Linus Nordberg [Tue, 27 Sep 2011 17:48:12 +0000 (19:48 +0200)]
Add F-Ticks documentation to radsecproxy.conf.5.

12 years agoUpdate example config to correctly reflect default values for F-Ticks config.
Linus Nordberg [Tue, 27 Sep 2011 17:44:25 +0000 (19:44 +0200)]
Update example config to correctly reflect default values for F-Ticks config.

12 years agoCast to avoid warning.
Linus Nordberg [Tue, 27 Sep 2011 17:43:59 +0000 (19:43 +0200)]
Cast to avoid warning.

12 years agoSanitise MAC address before hashing it.
Linus Nordberg [Tue, 27 Sep 2011 16:03:12 +0000 (18:03 +0200)]
Sanitise MAC address before hashing it.

Almost closes RADSECPROXY-16.

12 years agoAdd --enable-fticks to configure.
Linus Nordberg [Tue, 27 Sep 2011 15:04:49 +0000 (17:04 +0200)]
Add --enable-fticks to configure.

12 years agoFormatting.
Linus Nordberg [Tue, 27 Sep 2011 13:02:40 +0000 (15:02 +0200)]
Formatting.

12 years agoDon't list header files in _SOURCES.
Linus Nordberg [Tue, 27 Sep 2011 13:02:24 +0000 (15:02 +0200)]
Don't list header files in _SOURCES.

Dependencies will work anyway.

12 years agoAdd support for 'make check' and a dummy test.
Linus Nordberg [Tue, 27 Sep 2011 08:18:21 +0000 (10:18 +0200)]
Add support for 'make check' and a dummy test.

12 years agoMakefile.am formatting and removal of spurious variable.
Linus Nordberg [Tue, 27 Sep 2011 08:13:37 +0000 (10:13 +0200)]
Makefile.am formatting and removal of spurious variable.

12 years agoPrepare for building tests.
Linus Nordberg [Tue, 27 Sep 2011 08:11:35 +0000 (10:11 +0200)]
Prepare for building tests.

Move main() out of radsecproxy.c.
Build a static library and link a main.c with it.

12 years agoStop keeping generated files under source control.
Linus Nordberg [Tue, 27 Sep 2011 08:03:00 +0000 (10:03 +0200)]
Stop keeping generated files under source control.

12 years agoCosmetics.
Linus Nordberg [Mon, 26 Sep 2011 14:57:01 +0000 (16:57 +0200)]
Cosmetics.

12 years agoMake radsecproxy.h self-sustaining.
Linus Nordberg [Mon, 26 Sep 2011 14:55:11 +0000 (16:55 +0200)]
Make radsecproxy.h self-sustaining.

12 years agoPrepend static functions with underscore.
Linus Nordberg [Mon, 26 Sep 2011 14:03:58 +0000 (16:03 +0200)]
Prepend static functions with underscore.

12 years agoNew config.guess, config.sub.
Linus Nordberg [Mon, 26 Sep 2011 14:03:19 +0000 (16:03 +0200)]
New config.guess, config.sub.

12 years agoCompile with -Werror.
Linus Nordberg [Mon, 26 Sep 2011 14:00:10 +0000 (16:00 +0200)]
Compile with -Werror.

12 years agoReady for radsecproxy-1.4.3. radsecproxy-1.4.3
Linus Nordberg [Fri, 22 Jul 2011 11:29:41 +0000 (13:29 +0200)]
Ready for radsecproxy-1.4.3.

12 years agoRegenerate auto* stuff.
Linus Nordberg [Thu, 21 Jul 2011 11:09:47 +0000 (13:09 +0200)]
Regenerate auto* stuff.

12 years agoradsecproxy-1.4.3-rc0.
Linus Nordberg [Thu, 21 Jul 2011 11:08:01 +0000 (13:08 +0200)]
radsecproxy-1.4.3-rc0.

12 years agoDocument the default value used for the 'secret' option.
Linus Nordberg [Tue, 19 Jul 2011 13:21:14 +0000 (15:21 +0200)]
Document the default value used for the 'secret' option.

And mention that it's going to change.

12 years agoAdd a bit more info to README about building for BSD's.
Linus Nordberg [Tue, 19 Jul 2011 12:57:18 +0000 (14:57 +0200)]
Add a bit more info to README about building for BSD's.

12 years agoAdd changelog entry for b2d6.
Linus Nordberg [Sun, 3 Jul 2011 11:15:21 +0000 (13:15 +0200)]
Add changelog entry for b2d6.