aland [Tue, 15 Jul 2003 17:56:21 +0000 (17:56 +0000)]
-pre3 (sigh)
aland [Tue, 15 Jul 2003 16:29:10 +0000 (16:29 +0000)]
Added note about fixes after -pre1
aland [Tue, 15 Jul 2003 14:19:25 +0000 (14:19 +0000)]
Account for ID, too
aland [Tue, 15 Jul 2003 12:35:34 +0000 (12:35 +0000)]
re-built with autoconf 2.13 (i.e. the one that almost works)
pnixon [Tue, 15 Jul 2003 12:08:06 +0000 (12:08 +0000)]
Missing backslash
pnixon [Tue, 15 Jul 2003 12:03:27 +0000 (12:03 +0000)]
change "AcctSession-Time = 0" to "AcctSession-Time = IS NULL" due to schema change
pnixon [Tue, 15 Jul 2003 11:43:08 +0000 (11:43 +0000)]
Reformat the entire file so that the queries are multiline
pnixon [Tue, 15 Jul 2003 11:15:43 +0000 (11:15 +0000)]
Query update to take care of field type change
pnixon [Tue, 15 Jul 2003 11:03:06 +0000 (11:03 +0000)]
Fixed two more typos
pnixon [Tue, 15 Jul 2003 10:50:32 +0000 (10:50 +0000)]
'%{Acct-Delay-Time}' should be quoted since AcctDelayTime is now of type "interval", not "integer"
pnixon [Mon, 14 Jul 2003 22:07:45 +0000 (22:07 +0000)]
Delete single extra ' that should not have been there
aland [Mon, 14 Jul 2003 17:31:48 +0000 (17:31 +0000)]
pull the patch from the head
aland [Mon, 14 Jul 2003 17:29:28 +0000 (17:29 +0000)]
check & memset
pnixon [Mon, 14 Jul 2003 13:25:04 +0000 (13:25 +0000)]
Major reformatting
pnixon [Mon, 14 Jul 2003 11:52:28 +0000 (11:52 +0000)]
Added Acct-Output-Gigawords support and ( xxx - 'AcctStopDelay'::interval) to all time fields
pnixon [Mon, 14 Jul 2003 11:31:37 +0000 (11:31 +0000)]
Revert field type of AcctTerminateCause
pnixon [Mon, 14 Jul 2003 11:19:53 +0000 (11:19 +0000)]
Simultaneous Use Checking Queries added
pnixon [Mon, 14 Jul 2003 01:23:01 +0000 (01:23 +0000)]
Some cleanups
pnixon [Mon, 14 Jul 2003 00:27:59 +0000 (00:27 +0000)]
Optomise ALOT of field types
pnixon [Sun, 13 Jul 2003 23:45:13 +0000 (23:45 +0000)]
Add 2 more NULLIF('%{Framed-IP-Address}', '')::inet
pnixon [Sun, 13 Jul 2003 23:33:04 +0000 (23:33 +0000)]
Fix bracket typo
pnixon [Sun, 13 Jul 2003 23:27:34 +0000 (23:27 +0000)]
Major rewrite. Among other things got rid of several unneeded CASE statements
pnixon [Sun, 13 Jul 2003 22:40:48 +0000 (22:40 +0000)]
Change default username/pass to postgres default and comment.
pnixon [Sun, 13 Jul 2003 21:49:01 +0000 (21:49 +0000)]
Remove unnecessay ID field from NAS table. Make ipaddr primary key.
pnixon [Sun, 13 Jul 2003 21:46:37 +0000 (21:46 +0000)]
Comment update
pnixon [Sun, 13 Jul 2003 21:21:39 +0000 (21:21 +0000)]
Update queries to use now() instead of %S as it includes local timezone
pnixon [Sun, 13 Jul 2003 21:20:16 +0000 (21:20 +0000)]
Remove a stupid NOT NULL and change some field types.
since '%S' returns *local* time (src/main/xlat.c, line 533:
TM = localtime_r(&request->timestamp, &s_TM);), acctStartTime and
acctStopTime should be "timestamp with time zone", not without.
Otherwise there will be problems with DST. However, problems will be in
any case (e.g. ambiguity in '2003-10-26 02:30:00' for Europe/Moscow TZ).
Hence queries shoud use now() instead of '%S'.
pnixon [Sun, 13 Jul 2003 02:07:52 +0000 (02:07 +0000)]
Stupid Stupid. Repeat after me: C Style Comments... C Style Comments...
pnixon [Sun, 13 Jul 2003 02:01:50 +0000 (02:01 +0000)]
Major reformatting of entire file. Also some minor field and index changes.
pnixon [Sat, 12 Jul 2003 13:53:12 +0000 (13:53 +0000)]
Minor schema changes to oracle and Postgres
pnixon [Sat, 12 Jul 2003 13:44:23 +0000 (13:44 +0000)]
Remove dictionary tables from Oracle and Postgres.
Add naslocation fiel to nas table in oracle
pnixon [Sat, 12 Jul 2003 13:32:15 +0000 (13:32 +0000)]
Updated nas table. This is not currently used but FreeRADIUS but is usefull for reporting anyway.
aland [Fri, 11 Jul 2003 19:51:34 +0000 (19:51 +0000)]
check & memset
aland [Fri, 11 Jul 2003 18:58:53 +0000 (18:58 +0000)]
Don't free sqlsocket
aland [Fri, 11 Jul 2003 17:13:53 +0000 (17:13 +0000)]
comment out call to dlclose, until such time as it appears to work...
aland [Fri, 11 Jul 2003 16:01:57 +0000 (16:01 +0000)]
Memory leak fixes from the head
aland [Fri, 11 Jul 2003 14:12:44 +0000 (14:12 +0000)]
patch from the head
aland [Fri, 11 Jul 2003 14:01:01 +0000 (14:01 +0000)]
Added a 'provides' line, from Steve G
pnixon [Fri, 11 Jul 2003 14:00:47 +0000 (14:00 +0000)]
Increase Called/Calling StationID to fit international numbers
aland [Fri, 11 Jul 2003 13:51:14 +0000 (13:51 +0000)]
Merged patch from the HEAD.
cvs update -jHEAD
actually works sometimes...
pnixon [Fri, 11 Jul 2003 12:02:21 +0000 (12:02 +0000)]
Bring the DB schema kicking and screaming into the 21st century...
wichert [Thu, 10 Jul 2003 21:34:15 +0000 (21:34 +0000)]
Test for gdbm_compat as well
wichert [Thu, 10 Jul 2003 20:42:42 +0000 (20:42 +0000)]
Update build-depends for current unstable
aland [Wed, 9 Jul 2003 20:46:02 +0000 (20:46 +0000)]
Don't free memory we didn't allocate.
aland [Wed, 9 Jul 2003 20:41:52 +0000 (20:41 +0000)]
export top_builddir, too.
aland [Wed, 9 Jul 2003 19:53:10 +0000 (19:53 +0000)]
set pointer to NULL after we don't need it any more.
aland [Wed, 9 Jul 2003 16:05:13 +0000 (16:05 +0000)]
Call 'destroy socket', if it exists.
This helps avoid memory leaks.
aland [Wed, 9 Jul 2003 15:55:22 +0000 (15:55 +0000)]
Always free string pointers in the configuration. This will
cause the server to die if the module didn't initialize the
memory it's using.
This is a Good Thing, because it allows bugs to be found earlier,
rather than later.
aland [Wed, 9 Jul 2003 15:19:53 +0000 (15:19 +0000)]
removed unnecessary copy
phampson [Wed, 9 Jul 2003 08:00:20 +0000 (08:00 +0000)]
Renamed so that dh_installdocs can actually find and install the Debian README
phampson [Wed, 9 Jul 2003 05:37:01 +0000 (05:37 +0000)]
Change the removal of the freeradius-generated documentation directory to
match what's actually being generated.
phampson [Wed, 9 Jul 2003 04:39:01 +0000 (04:39 +0000)]
Updated version to 0.9.0~pre2-1, this time before the tarball's released.
Moved openssl changelog entry to the 'New Upstream Release' section.
aland [Tue, 8 Jul 2003 18:01:05 +0000 (18:01 +0000)]
update for 0.9.0
aland [Tue, 8 Jul 2003 18:00:51 +0000 (18:00 +0000)]
Ready for 0.9.0-pre2
Don't use 'find', as it isn't necessary
phampson [Tue, 8 Jul 2003 16:46:09 +0000 (16:46 +0000)]
Attach pre-release version number.
phampson [Tue, 8 Jul 2003 15:12:15 +0000 (15:12 +0000)]
Final notes regarding 0.9 VS older Debian(ised) (and non-Debian) versions
pnixon [Mon, 7 Jul 2003 20:59:33 +0000 (20:59 +0000)]
update spec files for release
pnixon [Mon, 7 Jul 2003 20:39:07 +0000 (20:39 +0000)]
release version
pnixon [Mon, 7 Jul 2003 20:33:51 +0000 (20:33 +0000)]
release version
aland [Mon, 7 Jul 2003 19:28:31 +0000 (19:28 +0000)]
Added note that playing with the dictionaries is bad.
aland [Mon, 7 Jul 2003 19:21:28 +0000 (19:21 +0000)]
added notes about what to fix next
aland [Mon, 7 Jul 2003 19:11:45 +0000 (19:11 +0000)]
check & memset
aland [Mon, 7 Jul 2003 19:06:26 +0000 (19:06 +0000)]
check & memset
aland [Mon, 7 Jul 2003 19:05:14 +0000 (19:05 +0000)]
check for malloc failed & memset
aland [Mon, 7 Jul 2003 19:04:05 +0000 (19:04 +0000)]
error check & memset to zero
aland [Mon, 7 Jul 2003 19:02:48 +0000 (19:02 +0000)]
die if failed allocating memory.
memset() data to 0.
aland [Mon, 7 Jul 2003 18:36:26 +0000 (18:36 +0000)]
extend permissions for some files so that group members may read
them, too.
aland [Mon, 7 Jul 2003 15:47:54 +0000 (15:47 +0000)]
getenv can return NULL
Patch from Steve G
aland [Mon, 7 Jul 2003 15:30:08 +0000 (15:30 +0000)]
Apparently RedHat 9 doesn't like the use of 'signal', and prefers
'sigaction' (sigh)
Patch from Steve G
aland [Mon, 7 Jul 2003 15:20:42 +0000 (15:20 +0000)]
If the EAP NAK says that the client can do LEAP, then do that.
Also print out a little more in the way of debugging information
aland [Sat, 5 Jul 2003 15:33:40 +0000 (15:33 +0000)]
More check pointers before dereferencing them.
aland [Sat, 5 Jul 2003 15:26:59 +0000 (15:26 +0000)]
Check pointer before de-referencing it.
aland [Fri, 4 Jul 2003 21:08:03 +0000 (21:08 +0000)]
After allocating memory, ensure it's all zero before we use it
aland [Fri, 4 Jul 2003 21:04:54 +0000 (21:04 +0000)]
Clear out field after we've freed it.
Bug noted by Steve G
aland [Fri, 4 Jul 2003 21:01:29 +0000 (21:01 +0000)]
last set of changes before 0.9
aland [Fri, 4 Jul 2003 20:49:18 +0000 (20:49 +0000)]
Don't de-reference 'cur' after we've free'd it.
aland [Fri, 4 Jul 2003 20:10:08 +0000 (20:10 +0000)]
Don't call printf... it's dumb.
aland [Fri, 4 Jul 2003 20:02:44 +0000 (20:02 +0000)]
We should really clean this up...
aland [Fri, 4 Jul 2003 19:16:12 +0000 (19:16 +0000)]
Don't copy more data than exists
aland [Fri, 4 Jul 2003 19:13:55 +0000 (19:13 +0000)]
moved pthread include, so that it will be included.
Noted by Steve G
Hmm... most of the includes should probably be fixed here...
aland [Fri, 4 Jul 2003 19:11:07 +0000 (19:11 +0000)]
Minor cleanups from Steve G
aland [Fri, 4 Jul 2003 15:22:55 +0000 (15:22 +0000)]
Added attributes from
http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide_chapter09186a00800b5dc5.html
Patch by Tamas Jalsovszky
kkalev [Wed, 2 Jul 2003 13:48:51 +0000 (13:48 +0000)]
On retransmissions free the previous radius packet id since we are going to forget
about it completely
aland [Mon, 30 Jun 2003 15:23:15 +0000 (15:23 +0000)]
corrected typo
aland [Mon, 30 Jun 2003 15:22:45 +0000 (15:22 +0000)]
Use the 'canonical user name' for Unix group lookups, not the
User-Name attribute.
Patch from James J. William
kkalev [Sat, 28 Jun 2003 15:42:08 +0000 (15:42 +0000)]
Sleep 140msec between calls to do_send not only 25msec
Do n=0 before sending out accounting packets
aland [Fri, 27 Jun 2003 20:49:30 +0000 (20:49 +0000)]
Don't create config.h, as no one uses it
aland [Fri, 27 Jun 2003 20:13:10 +0000 (20:13 +0000)]
EAP TLS document
aland [Fri, 27 Jun 2003 18:15:38 +0000 (18:15 +0000)]
Stupid sem_wait implementation: you should return -1 on signal,
not zero!
aland [Fri, 27 Jun 2003 17:56:05 +0000 (17:56 +0000)]
Build experimental modules, too.
Noted by Alexander M. Pravking
aland [Fri, 27 Jun 2003 15:17:52 +0000 (15:17 +0000)]
Use the correct variable to check the status
Patch from Dan Carver
aland [Fri, 27 Jun 2003 15:04:15 +0000 (15:04 +0000)]
The dictionaries should be publiuc accessible.
Patch from Jonathan Ruano
3APA3A [Fri, 27 Jun 2003 10:48:41 +0000 (10:48 +0000)]
! LINFO changed to L_DBG than adding new valuepair
kkalev [Thu, 26 Jun 2003 20:46:40 +0000 (20:46 +0000)]
On retransmissions:
free(req->data) since we 've changed the radius packet id. That way rad_send
will recreate the radius packet and don't use the existing one.
keep a mapping of radius ids which are in use so that we don't use them
aland [Thu, 26 Jun 2003 20:19:09 +0000 (20:19 +0000)]
added note about the changed location of the dictionary files
aland [Thu, 26 Jun 2003 20:06:25 +0000 (20:06 +0000)]
The unique ID we generate is based on the client IP address,
NOT on the NAS-IP-Address, or NAS-Identifier. The packet MAY
have been proxied, and the contents of the packet MAY be lying
to us.
In addition, the old code did not properly deal with string/ipaddr
sizes in the attributes it used.
aland [Thu, 26 Jun 2003 19:53:08 +0000 (19:53 +0000)]
Select the OP column, too.
Input from Dmitriy Milashenk
aland [Thu, 26 Jun 2003 19:40:56 +0000 (19:40 +0000)]
If we have Auth-Type := Reject, then don't proxy it.
Hack from Chris Brotsos
aland [Thu, 26 Jun 2003 19:33:57 +0000 (19:33 +0000)]
Added weird & wild flag to build on RH9, as per todays post
to -users from Michael Griego
aland [Thu, 26 Jun 2003 15:21:33 +0000 (15:21 +0000)]
the VENDOR macro operates on signed quantities, which is
annoying. So when it's shifted right, it carries the sign with it.
The solution is to keep only the lower 16 bits, so that vendor
codes higher than 32768 can work.
Bug noted by Jacob S. Barrett