radsecproxy.git
13 years agoAutotoolize.
Linus Nordberg [Tue, 5 Oct 2010 06:36:38 +0000 (08:36 +0200)]
Autotoolize.

13 years agoRemove unused.
Linus Nordberg [Mon, 4 Oct 2010 16:00:29 +0000 (18:00 +0200)]
Remove unused.

13 years agoFormatting (indent -kr).
Linus Nordberg [Mon, 4 Oct 2010 15:42:00 +0000 (17:42 +0200)]
Formatting (indent -kr).

13 years agoRename top level token "realm" --> "config".
Linus Nordberg [Mon, 4 Oct 2010 00:53:18 +0000 (02:53 +0200)]
Rename top level token "realm" --> "config".

13 years agoWIP
Linus Nordberg [Mon, 4 Oct 2010 00:43:54 +0000 (02:43 +0200)]
WIP

13 years agoWIP -- reading configuration.
Linus Nordberg [Sun, 3 Oct 2010 23:31:01 +0000 (01:31 +0200)]
WIP -- reading configuration.

13 years agoWIP
Linus Nordberg [Sun, 3 Oct 2010 21:27:46 +0000 (23:27 +0200)]
WIP

13 years agoWIP
Linus Nordberg [Sun, 3 Oct 2010 20:51:29 +0000 (22:51 +0200)]
WIP

13 years agoRename the error functions.
Linus Nordberg [Sun, 3 Oct 2010 17:23:43 +0000 (19:23 +0200)]
Rename the error functions.

13 years agoWIP -- prepare for request objects.
Linus Nordberg [Sun, 3 Oct 2010 14:24:57 +0000 (16:24 +0200)]
WIP -- prepare for request objects.

13 years agoWIP
Linus Nordberg [Sun, 3 Oct 2010 13:39:08 +0000 (15:39 +0200)]
WIP

13 years agoWIP
Linus Nordberg [Sun, 3 Oct 2010 12:15:09 +0000 (14:15 +0200)]
WIP

13 years agoWIP.
Linus Nordberg [Sat, 2 Oct 2010 19:43:41 +0000 (21:43 +0200)]
WIP.

13 years agoWIP
Linus Nordberg [Sat, 2 Oct 2010 19:31:50 +0000 (21:31 +0200)]
WIP

13 years agoWIP
Linus Nordberg [Fri, 1 Oct 2010 09:29:12 +0000 (11:29 +0200)]
WIP

13 years agoWIP -- example client sending and receiving Access-Request/Accept.
Linus Nordberg [Thu, 30 Sep 2010 22:14:05 +0000 (00:14 +0200)]
WIP -- example client sending and receiving Access-Request/Accept.

13 years agoRefactoring in preparation for handling more cases than client sending one packet.
Linus Nordberg [Wed, 29 Sep 2010 19:53:43 +0000 (21:53 +0200)]
Refactoring in preparation for handling more cases than client sending one packet.

13 years ago* lib/examples/client.c: Use UDP.
Linus Nordberg [Wed, 29 Sep 2010 14:05:40 +0000 (16:05 +0200)]
* lib/examples/client.c: Use UDP.

13 years ago* lib/Makefile: Clean more.
Linus Nordberg [Wed, 29 Sep 2010 14:04:25 +0000 (16:04 +0200)]
* lib/Makefile: Clean more.

13 years agoRemove unused files.
Linus Nordberg [Wed, 29 Sep 2010 14:04:07 +0000 (16:04 +0200)]
Remove unused files.

13 years agoWIP -- connecting and sending a packet using libevent.
Linus Nordberg [Wed, 29 Sep 2010 13:52:39 +0000 (15:52 +0200)]
WIP -- connecting and sending a packet using libevent.

13 years agoWIP -- resolving, crafting packet.
Linus Nordberg [Wed, 29 Sep 2010 08:53:01 +0000 (10:53 +0200)]
WIP -- resolving, crafting packet.

13 years agoWIP
Linus Nordberg [Tue, 28 Sep 2010 21:20:17 +0000 (23:20 +0200)]
WIP

13 years agoWIP.
Linus Nordberg [Tue, 28 Sep 2010 20:27:04 +0000 (22:27 +0200)]
WIP.

13 years agoWIP
Linus Nordberg [Mon, 27 Sep 2010 21:35:08 +0000 (23:35 +0200)]
WIP

13 years agoWIP
Linus Nordberg [Mon, 27 Sep 2010 19:44:18 +0000 (21:44 +0200)]
WIP

13 years agoWIP on libradsec: 94e3f46 Example client crafting simple packet using freeradius...
Linus Nordberg [Mon, 27 Sep 2010 16:47:07 +0000 (18:47 +0200)]
WIP on libradsec: 94e3f46 Example client crafting simple packet using freeradius-libradius.

13 years agoExample client crafting simple packet using freeradius-libradius.
Linus Nordberg [Sat, 25 Sep 2010 22:37:40 +0000 (00:37 +0200)]
Example client crafting simple packet using freeradius-libradius.

13 years agoAdd licencing info.
Linus Nordberg [Wed, 22 Sep 2010 13:59:55 +0000 (15:59 +0200)]
Add licencing info.

13 years agoDocumentation changes.
Linus Nordberg [Wed, 15 Sep 2010 13:55:34 +0000 (15:55 +0200)]
Documentation changes.

13 years agoFormatting changes.
Linus Nordberg [Wed, 15 Sep 2010 12:09:26 +0000 (14:09 +0200)]
Formatting changes.

13 years agoRename rs_config to rs_handle.
Linus Nordberg [Tue, 14 Sep 2010 22:49:54 +0000 (00:49 +0200)]
Rename rs_config to rs_handle.

A configuration will be something else.

13 years agoAdd typedefs to use instead of enum to avoid ABI issues.
Linus Nordberg [Tue, 14 Sep 2010 22:35:56 +0000 (00:35 +0200)]
Add typedefs to use instead of enum to avoid ABI issues.

The size of an enum isn't well defined.

13 years agoAdd a lost comment.
Linus Nordberg [Mon, 13 Sep 2010 16:19:02 +0000 (18:19 +0200)]
Add a lost comment.

13 years agoImprove API docu in libradsec-base.h slightly.
Linus Nordberg [Mon, 13 Sep 2010 16:17:01 +0000 (18:17 +0200)]
Improve API docu in libradsec-base.h slightly.

Still needs work!

13 years agoMake git ignore gcc precompiled headers.
Linus Nordberg [Mon, 13 Sep 2010 16:16:26 +0000 (18:16 +0200)]
Make git ignore gcc precompiled headers.

13 years agoFirst stab at a working blocking example.
Linus Nordberg [Mon, 13 Sep 2010 15:27:40 +0000 (17:27 +0200)]
First stab at a working blocking example.

13 years agoLow level connect and read working, kind of. At least TCP.
Linus Nordberg [Thu, 2 Sep 2010 22:58:55 +0000 (00:58 +0200)]
Low level connect and read working, kind of.  At least TCP.

Next: serializing.

13 years agoRename libradsec-libevent.h --> libradsec-levent.h.
Linus Nordberg [Wed, 1 Sep 2010 23:20:58 +0000 (01:20 +0200)]
Rename libradsec-libevent.h --> libradsec-levent.h.

13 years agoCosmetic changes.
Linus Nordberg [Wed, 1 Sep 2010 23:00:28 +0000 (01:00 +0200)]
Cosmetic changes.

13 years agoChange the order of parameters to rc_connect() -- let those who may
Linus Nordberg [Wed, 1 Sep 2010 22:51:14 +0000 (00:51 +0200)]
Change the order of parameters to rc_connect() -- let those who may
default to 0 or NULL come last.

13 years agoComplete documentation for functions in libradsec-base.h.
Linus Nordberg [Wed, 1 Sep 2010 22:32:38 +0000 (00:32 +0200)]
Complete documentation for functions in libradsec-base.h.

13 years agoSplit libradsec.h in -base.h and -libevent.h.
Linus Nordberg [Wed, 1 Sep 2010 22:20:31 +0000 (00:20 +0200)]
Split libradsec.h in -base.h and -libevent.h.

13 years agoThinking out loud some more.
Linus Nordberg [Fri, 27 Aug 2010 12:33:15 +0000 (14:33 +0200)]
Thinking out loud some more.

13 years agoFix typo.
Linus Nordberg [Fri, 27 Aug 2010 12:04:34 +0000 (14:04 +0200)]
Fix typo.

13 years agoAdd lib/libradsec.h.
Linus Nordberg [Fri, 27 Aug 2010 11:29:47 +0000 (13:29 +0200)]
Add lib/libradsec.h.

First sketch of the API.

13 years ago* ChangeLog: Fix typo.
Linus Nordberg [Sat, 12 Jun 2010 00:11:39 +0000 (02:11 +0200)]
* ChangeLog: Fix typo.

13 years ago* configure.ac: Update version. radsecproxy-1.4
Linus Nordberg [Fri, 11 Jun 2010 23:42:29 +0000 (01:42 +0200)]
* configure.ac: Update version.

13 years ago* NEWS: New file, for make dist. Shouldn't be needed since `AUTOMAKE_OPTIONS = forei...
Linus Nordberg [Fri, 11 Jun 2010 23:38:42 +0000 (01:38 +0200)]
* NEWS: New file, for make dist.  Shouldn't be needed since `AUTOMAKE_OPTIONS = foreign' IMO.

13 years ago* README: Add known build issues.
Linus Nordberg [Fri, 11 Jun 2010 23:37:06 +0000 (01:37 +0200)]
* README: Add known build issues.

13 years ago* Makefile.in: Regenerate.
Linus Nordberg [Fri, 11 Jun 2010 23:28:24 +0000 (01:28 +0200)]
* Makefile.in: Regenerate.

13 years ago* Makefile.am: Include THANKS.
Linus Nordberg [Fri, 11 Jun 2010 23:28:16 +0000 (01:28 +0200)]
* Makefile.am: Include THANKS.

13 years ago* ChangeLog: Fix version number and date.
Linus Nordberg [Fri, 11 Jun 2010 22:52:02 +0000 (00:52 +0200)]
* ChangeLog: Fix version number and date.

13 years ago* README: Correct version number and fix date.
Linus Nordberg [Fri, 11 Jun 2010 22:51:45 +0000 (00:51 +0200)]
* README: Correct version number and fix date.

13 years agoRegenerate Auto* files, partly because of changes to configure.ac and
Linus Nordberg [Fri, 11 Jun 2010 22:45:09 +0000 (00:45 +0200)]
Regenerate Auto* files, partly because of changes to configure.ac and
Makefile.am and partly because of newer Auto* suite.

13 years ago* configure.ac: Check for docbook2x-man.
Linus Nordberg [Fri, 11 Jun 2010 22:44:29 +0000 (00:44 +0200)]
* configure.ac: Check for docbook2x-man.
* Makefile.am: Build radsecproxy.conf.5 only if docbook2x-man exists.

13 years agoRemove packaging/{portage,rpm}. They're ancient and don't receive any
Linus Nordberg [Fri, 11 Jun 2010 21:32:24 +0000 (23:32 +0200)]
Remove packaging/{portage,rpm}.  They're ancient and don't receive any
love no more.

13 years ago* README: Improve initial paragraph. Thanks to Stig Venaas.
Linus Nordberg [Fri, 11 Jun 2010 21:10:33 +0000 (23:10 +0200)]
* README: Improve initial paragraph.  Thanks to Stig Venaas.

13 years agoAlphabetize on first name instead.
Linus Nordberg [Fri, 11 Jun 2010 20:50:50 +0000 (22:50 +0200)]
Alphabetize on first name instead.

13 years agoSplit README into README and THANKS.
Linus Nordberg [Fri, 11 Jun 2010 15:30:58 +0000 (17:30 +0200)]
Split README into README and THANKS.
Rewrite AUTHORS.

13 years ago* README: Update version number and date. FIXME: This file should
Linus Nordberg [Thu, 10 Jun 2010 12:54:19 +0000 (14:54 +0200)]
* README: Update version number and date.  FIXME: This file should
probably be rewritten.

13 years ago* develdoc.txt: Language nitpicking fixes.
Linus Nordberg [Thu, 10 Jun 2010 12:49:18 +0000 (14:49 +0200)]
* develdoc.txt: Language nitpicking fixes.

13 years ago* ChangeLog: Restructure and add note about incompatible change in log levels.
Linus Nordberg [Wed, 9 Jun 2010 20:34:16 +0000 (22:34 +0200)]
* ChangeLog: Restructure and add note about incompatible change in log levels.

13 years ago* radsecproxy.conf-example: Fix typo.
Linus Nordberg [Thu, 3 Jun 2010 13:17:03 +0000 (15:17 +0200)]
* radsecproxy.conf-example: Fix typo.

13 years ago* radsecproxy.conf-example: Update for new log level.
Linus Nordberg [Thu, 3 Jun 2010 13:16:36 +0000 (15:16 +0200)]
* radsecproxy.conf-example: Update for new log level.

13 years ago* README: Correct number of debug levels.
Linus Nordberg [Wed, 2 Jun 2010 18:50:26 +0000 (20:50 +0200)]
* README: Correct number of debug levels.
* radsecproxy.c (getmainconfig): Take new log level into account.
(getargs): Ditto.
Patch by Kolbjørn Barmen.

13 years ago* ChangeLog: Mention new log level.
Linus Nordberg [Tue, 1 Jun 2010 15:54:15 +0000 (17:54 +0200)]
* ChangeLog: Mention new log level.

13 years ago* LICENSE: Update years.
Linus Nordberg [Tue, 1 Jun 2010 11:11:25 +0000 (13:11 +0200)]
* LICENSE: Update years.

13 years ago* ChangeLog: Update date and version. Reformulate last entry.
Linus Nordberg [Tue, 1 Jun 2010 10:31:28 +0000 (12:31 +0200)]
* ChangeLog: Update date and version.  Reformulate last entry.

13 years ago* Makefile.in: Regenerate.
Linus Nordberg [Tue, 1 Jun 2010 10:31:02 +0000 (12:31 +0200)]
* Makefile.in: Regenerate.

13 years ago* Makefile.am (EXTRA_DIST): Add LICENSE.
Linus Nordberg [Tue, 1 Jun 2010 10:30:52 +0000 (12:30 +0200)]
* Makefile.am (EXTRA_DIST): Add LICENSE.

13 years ago* Makefile.in: Regenerate.
Linus Nordberg [Tue, 1 Jun 2010 08:38:31 +0000 (10:38 +0200)]
* Makefile.in: Regenerate.

13 years ago* Makefile.am: Put man page files in `dist_man_MANS' and it's built by
Linus Nordberg [Tue, 1 Jun 2010 08:38:22 +0000 (10:38 +0200)]
* Makefile.am: Put man page files in `dist_man_MANS' and it's built by
target 'all' as well as included in 'dist'.

13 years ago* radsecproxy.conf.5: Remove since it's generated from
Linus Nordberg [Tue, 1 Jun 2010 07:58:40 +0000 (09:58 +0200)]
* radsecproxy.conf.5: Remove since it's generated from
radsecproxy.conf.5.xml (make target 'man').

13 years agoReflect new debug level in man pages and comments in source.
Linus Nordberg [Tue, 1 Jun 2010 07:58:13 +0000 (09:58 +0200)]
Reflect new debug level in man pages and comments in source.

Author: Kolbjørn Barmen <kolbjorn.barmen@uninett.no>
Date:   Tue Jun 1 09:52:17 2010 +0300

13 years agoAdded DBG_NOTICE to the access accept/reject and accounting,
Linus Nordberg [Tue, 1 Jun 2010 07:51:32 +0000 (09:51 +0200)]
Added DBG_NOTICE to the access accept/reject and accounting,
statisticly interesting information.

Author: Kolbjørn Barmen <kolbjorn.barmen@uninett.no>
Date:   Tue Jun 1 09:41:02 2010 +0300

13 years agoBump version.
Linus Nordberg [Mon, 31 May 2010 08:52:10 +0000 (10:52 +0200)]
Bump version.

13 years agoAdd log level DBG_NOTICE.
Linus Nordberg [Mon, 31 May 2010 08:43:03 +0000 (10:43 +0200)]
Add log level DBG_NOTICE.

13 years ago* configure: Regenerate.
Linus Nordberg [Mon, 31 May 2010 08:42:39 +0000 (10:42 +0200)]
* configure: Regenerate.

13 years agoReady for 1.4-beta2. radsecproxy-1.4-beta2
Linus Nordberg [Fri, 28 May 2010 14:49:25 +0000 (16:49 +0200)]
Ready for 1.4-beta2.

13 years ago* radsecproxy.c (createpidfile): Don't use r uninitialized. radsecproxy-1.4-beta1
Linus Nordberg [Fri, 28 May 2010 14:10:08 +0000 (16:10 +0200)]
* radsecproxy.c (createpidfile): Don't use r uninitialized.

13 years ago* radsecproxy.c (createpidfile): Treat pid_t as long, avoiding compiler warnings...
Linus Nordberg [Fri, 28 May 2010 14:08:12 +0000 (16:08 +0200)]
* radsecproxy.c (createpidfile): Treat pid_t as long, avoiding compiler warnings on Solaris.

13 years agoPrint a better version string than "$Rev$".
Linus Nordberg [Fri, 28 May 2010 13:54:02 +0000 (15:54 +0200)]
Print a better version string than "$Rev$".

13 years ago* Makefile.am: Compile with -fno-strict-aliasing to avoid the warnings
Linus Nordberg [Fri, 28 May 2010 13:43:01 +0000 (15:43 +0200)]
* Makefile.am: Compile with -fno-strict-aliasing to avoid the warnings
for the casts (RADSECPROXY-8).
* Makefile.in: Regenerate.

13 years agoCreate tools/ directory and move shell scripts there.
Linus Nordberg [Fri, 28 May 2010 13:32:31 +0000 (15:32 +0200)]
Create tools/ directory and move shell scripts there.

13 years ago* Makefile.am: Build HTML version of radsecproxy.conf.5.
Linus Nordberg [Fri, 28 May 2010 13:21:45 +0000 (15:21 +0200)]
* Makefile.am: Build HTML version of radsecproxy.conf.5.
* Makefile.in: Regenerate.

13 years ago* debug.c (debugerrno): New function.
Linus Nordberg [Fri, 28 May 2010 12:58:08 +0000 (14:58 +0200)]
* debug.c (debugerrno): New function.
(debugerrnox): New function.
* radsecproxy.c: Use debugerrno() and debugerrnox() when appropriate.

13 years ago* radsecproxy.c (extractattr): Add vendor_flag argument and enforce look-mom-no-warnings
Linus Nordberg [Thu, 27 May 2010 10:50:15 +0000 (12:50 +0200)]
* radsecproxy.c (extractattr): Add vendor_flag argument and enforce
three fields (vendor, name, value) when set.

13 years ago* radsecproxy.c (pwdencrypt): Fix bug with User-Password's of a length
Linus Nordberg [Wed, 26 May 2010 19:57:58 +0000 (21:57 +0200)]
* radsecproxy.c (pwdencrypt): Fix bug with User-Password's of a length
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().

13 years ago* radsecproxy.conf-example: Add LoopPrevention in a server block.
Linus Nordberg [Wed, 26 May 2010 07:11:34 +0000 (09:11 +0200)]
* radsecproxy.conf-example: Add LoopPrevention in a server block.

13 years ago* radsecproxy.conf.5.xml: Add addVendorAttribute.
Linus Nordberg [Wed, 26 May 2010 07:10:09 +0000 (09:10 +0200)]
* radsecproxy.conf.5.xml: Add addVendorAttribute.

13 years ago* radsecproxy.conf.5.xml: s/of the form/on the form/g.
Linus Nordberg [Wed, 26 May 2010 07:00:56 +0000 (09:00 +0200)]
* radsecproxy.conf.5.xml: s/of the form/on the form/g.

13 years ago* radsecproxy.conf-example: Sanitize and verify rewrite examples.
Linus Nordberg [Tue, 25 May 2010 21:05:51 +0000 (23:05 +0200)]
* radsecproxy.conf-example: Sanitize and verify rewrite examples.

13 years ago* radsecproxy.c (extractattr): Bug! When s is changed, update len. This might actua...
Linus Nordberg [Tue, 25 May 2010 20:55:04 +0000 (22:55 +0200)]
* radsecproxy.c (extractattr): Bug!  When s is changed, update len.  This might actually work now!

13 years ago* radsecproxy.c (extractattr): Fix bug where 'name' part was lost (in
Linus Nordberg [Tue, 25 May 2010 20:35:18 +0000 (22:35 +0200)]
* radsecproxy.c (extractattr): Fix bug where 'name' part was lost (in
fact, 'val' was used for name).

13 years ago* radsecproxy.c (addrewrite): Add some detail to error printouts.
Linus Nordberg [Tue, 25 May 2010 20:24:45 +0000 (22:24 +0200)]
* radsecproxy.c (addrewrite): Add some detail to error printouts.

13 years ago* radsecproxy.c (makevendortlv): Free attr when it's been copied.
Linus Nordberg [Tue, 25 May 2010 11:28:06 +0000 (13:28 +0200)]
* radsecproxy.c (makevendortlv): Free attr when it's been copied.
(addvendorattr): Free attr if makevendortlv() fails.
(addttlattr): Don't free attr, now that this is done by makevendortlv().

13 years ago* radsecproxy.c: Fix typo introduced in 4779686 making rewrite a null
Linus Nordberg [Mon, 24 May 2010 21:34:58 +0000 (23:34 +0200)]
* radsecproxy.c: Fix typo introduced in 4779686 making rewrite a null
operation altogether.

14 years agoFix typo for addAttribute value.
linus [Wed, 31 Mar 2010 13:44:13 +0000 (13:44 +0000)]
Fix typo for addAttribute value.
Add addVendorAttribute.

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

14 years agoLoopPrevention, AddVendorAttribute.
linus [Wed, 31 Mar 2010 13:43:31 +0000 (13:43 +0000)]
LoopPrevention, AddVendorAttribute.

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