Re: SOLVED?! ( was Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-07 Thread Paul Sijben
Ah, I see what you mean. Ok that will work as well ;-) Paul Kostas Kalevras wrote: > On Sun, 7 Dec 2003, Alan DeKok wrote: > > >>Paul Sijben <[EMAIL PROTECTED]> wrote: >> >>>I found now WHY a change in attr_rewrite when used in pre-Proxy does not >>>work. It operates on request->packet rather

Re: SOLVED?! ( was Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-07 Thread Paul Sijben
Alan DeKok wrote: > Paul Sijben <[EMAIL PROTECTED]> wrote: > >>I found now WHY a change in attr_rewrite when used in pre-Proxy does not >>work. It operates on request->packet rather than request->proxy. > > > That should be fixed. > > >>Now the question is which ought to be fixed; the call

Re: SOLVED?! ( was Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-07 Thread Kostas Kalevras
On Sun, 7 Dec 2003, Alan DeKok wrote: > Paul Sijben <[EMAIL PROTECTED]> wrote: > > I found now WHY a change in attr_rewrite when used in pre-Proxy does not > > work. It operates on request->packet rather than request->proxy. > > That should be fixed. > > > Now the question is which ought to be f

Re: SOLVED?! ( was Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-07 Thread Alan DeKok
Paul Sijben <[EMAIL PROTECTED]> wrote: > I found now WHY a change in attr_rewrite when used in pre-Proxy does not > work. It operates on request->packet rather than request->proxy. That should be fixed. > Now the question is which ought to be fixed; the call to pre-proxy in > procy.c Absolu

SOLVED?! ( was Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-07 Thread Paul Sijben
I found now WHY a change in attr_rewrite when used in pre-Proxy does not work. It operates on request->packet rather than request->proxy. Now the question is which ought to be fixed; the call to pre-proxy in procy.c or the pre-proxy chain that uses standard calls to operate on the request? I am n

Re: BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-01 Thread Alan DeKok
> I am happy to help fix it as I need this to work soon. However I would > appreciate some pointers where to look. src/lib/valuepair.c, function paircreate() Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

BUG?! (was Re: date type attribute not added to accounting request using attr_rewrite)

2003-12-01 Thread Paul Sijben
James, this looks like the same thing I am seeing in both attr_rewrite and with rlm_perl. I am afraid this is a bug. I am happy to help fix it as I need this to work soon. However I would appreciate some pointers where to look. Paul James Nedila wrote: > freeradius-0.9.3 > > First, my rewrite

date type attribute not added to accounting request using attr_rewrite

2003-11-29 Thread James Nedila
freeradius-0.9.3 First, my rewrite config: attr_rewrite addEventTimestamp attribute = Event-Timestamp searchfor = NULL searchin = packet replacewith = "%l" new_attribute = yes max_

Re: accounting request

2002-12-29 Thread Thomas Krantz
There are two session-id attributes. If you are referring to "Acct-Session-Id" they are not unique. If you don't have any "Acct-Unique-Session-Id" attribute, add the rlm_acct_unique before the details module. These values are unique. / Thomas On Fri, 27 Dec 2002, m&m's wrote: > Hi > In my detail

accounting request

2002-12-26 Thread
Hi In my detail file any information about start or stop the same session exists 3 times or more. Can anybody tell me why? freeradius 0.8 , NAS -cisco router regards Mariusz Bozewicz - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Freeradius 0.7.0 -- Accounting-Request packet with invalidsignature

2002-09-26 Thread Kostas Kalevras
the > following error in /var/log/radius/radius.log: > > . . . > Thu Sep 26 09:45:54 2002 : Error: Received Accounting-Request packet from > 10.96.2.11 with invalid signature! > . . . > > Freeradius also dies mysteriously (with no exit status) and I suspect it > may be relate

Re: Freeradius 0.7.0 -- Accounting-Request packet with invalid signature

2002-09-26 Thread NetNITCO Systems Administration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Thu Sep 26 09:45:54 2002 : Error: Received Accounting-Request packet from > 10.96.2.11 with invalid signature! > We had the same problem with "invalid signature" in accounting from a few of our 3Com Access Router Cards o

Freeradius 0.7.0 -- Accounting-Request packet with invalid signature

2002-09-26 Thread Jeremy Hasty
eived Accounting-Request packet from 10.96.2.11 with invalid signature! . . . Freeradius also dies mysteriously (with no exit status) and I suspect it may be related to this error. I'm building a new RPM from the latest release, freeradius-0.7.1 in an effort to correct this problem. Con

Re: Accounting request

2002-07-25 Thread Alan DeKok
Shauli Lehavi <[EMAIL PROTECTED]> wrote: > I'm sending an accounting request using the sample code in the radclient.c > and my request is silently discarded. ... > I'm building the following accounting packet: > > lrad_attr_add_int(request, PW_ACCT_STATUS_TYPE, P

Re: Accounting request

2002-07-25 Thread CheongMeng
t; > <[EMAIL PROTECTED]> > Subject: Accounting request > > Hello all, > I need help on accounting packets. > I'm sending an accounting request using the sample code in the radclient.c > and my request is silently discarded. > The reason is due to invalid shared secre

Accounting request

2002-07-25 Thread Shauli Lehavi
Hello all, I need help on accounting packets. I'm sending an accounting request using the sample code in the radclient.c and my request is silently discarded. The reason is due to invalid shared secret (from the server log) Could anyone tell me what am I doing wrong here ? Thanks Shauli L

Accounting Request from ... with invalid signature!

2002-04-02 Thread Steven Premeau
I just installed FreeRadius 0.5.. Authentication is working find. However, I am receiving a "Error: Received Accounting-Request packet from 131.210.x.1 with invalid signature!" This is a USR Hiper ARC running 5.3.2. The secret is correct, as I can authenticate users with out any d

Re: Accounting Request through Proxy

2002-01-14 Thread aland
"Bartschies, Thomas" <[EMAIL PROTECTED]> wrote: > I'm running a newly configured freeradius-0.4 here. The only client > is a cisco 4000 with IOS 12.1. On every PPP logout I get this message > Error: Accounting: logout: login entry for NAS CVK_NAS port 20003 not found > but before that there is als

Accounting Request through Proxy

2002-01-14 Thread Bartschies, Thomas
owing happens: The client address for the login request is taken from the request packet itself. Obviously this is the original Router IP Address. The client address for the accounting request is the IP source address. This is the FW interface address. I've got Evidence for this behaviour fro

Re: Accounting-Request packet with invalid signature

2002-01-08 Thread Chris Parker
At 10:56 AM 1/8/2002 +0800, Rubby wrote: >I use freeRadius + Oracle, >once I dial to NAS, the authorize and authenticate passed,and then radiusd >-X printf >information below: >rad_recv: Accounting-Request packet from host 192.168.0.111:2001, id=4, >length=102 >Receiv

Accounting-Request packet with invalid signature

2002-01-07 Thread Rubby
I use freeRadius + Oracle, once I dial to NAS, the authorize and authenticate passed,and then radiusd -X printf information below: rad_recv: Accounting-Request packet from host 192.168.0.111:2001, id=4, length=102 Received Accounting-Request packet from 192.168.0.111 with invalid signature

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-09 Thread Nathan Miller
At 07:44 AM 11/9/2001 -0600, you wrote: >Right. You'll probably want to use 'acct_users'. > >-Chris >-- Good call guys. I am up and working! =) Everyone have a nice weekend! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-09 Thread aland
Nathan Miller <[EMAIL PROTECTED]> wrote: > My users file looks like this for the start and stop: > > DEFAULT Acct-Status-Type := Start > Exec-Program-Wait = "/etc/raddb/test.sh START", > Fall-Through = 1 'man users' Use: DEFAULT Acct-Status

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-09 Thread Chris Parker
At 05:30 PM 11/8/2001 -0800, Nathan Miller wrote: >At 06:56 PM 11/8/2001 -0500, you wrote: > > >> I'd say there's a serious problem on your system somewhere. Have >>you installed the server multiple times, from multiple versions? If >>so, then the rlm_FOO may access data structures which no lo

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Anthony J. Breeds-Taurima
On Thu, 8 Nov 2001, Nathan Miller wrote: > I did just this on 2 different systems. It worked on the second system, so > as your and in Chris's email suggest I removed all files, and reinstalled > fresh and new. I am no longer receiving segfaults. =) Thanks guys. > > On to the next issue. I

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Nathan Miller
Additionally on my previous email regarding the stop script not working, the STOP accounting packet is arriving and logging properly. Just hope that narrows it down perhaps. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Nathan Miller
At 06:56 PM 11/8/2001 -0500, you wrote: > I'd say there's a serious problem on your system somewhere. Have >you installed the server multiple times, from multiple versions? If >so, then the rlm_FOO may access data structures which no longer >exists. > > Delete all binaries, and re-install.

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Chris Parker
At 06:56 PM 11/8/2001 -0500, [EMAIL PROTECTED] wrote: >Nathan Miller <[EMAIL PROTECTED]> wrote: > > (gdb) print *request > > Cannot access memory at address 0xdeadbeef > > That's the official 'this memory doesn't exist' address. > > I'd say there's a serious problem on your system somewhere.

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread aland
Nathan Miller <[EMAIL PROTECTED]> wrote: > I can't honestly say I have had any experience with gdb; however, running > the following commands after it seg-faults gives me the following > output. Hope it is helpful. > > Also, is there a repository of old CVS releases? I would like to try this

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Nathan Miller
At 04:52 PM 11/8/2001 -0500, you wrote: >Nathan Miller <[EMAIL PROTECTED]> wrote: > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 1026 (LWP 1032)] > > 0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70) > > at rlm_preprocess.c:154 > > 154

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread aland
Nathan Miller <[EMAIL PROTECTED]> wrote: > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 1026 (LWP 1032)] > 0x401edef0 in rad_mangle (data=0x80ba640, request=0x80c1d70) > at rlm_preprocess.c:154 > 154 request_pairs = request->packet->vps; > (gdb) bt >

Re: Exec-Program[-Wait] for Accounting-Request

2001-11-08 Thread Nathan Miller
At 02:11 PM 11/8/2001 -0600, you wrote: >Uh oh. > >Run the server with GDB: > >gdb radiusd >.. >(gdb) set args -x -x >(gdb) run > >Now run your requests, then when it crashes: > >(gbd) bt > >And email the results to the list. > >-Chris For testing purposes, I have tried this using both Auth-T

Re: Accounting-Request packet with invalid signature!

2001-10-26 Thread jason
> > "jason" <[EMAIL PROTECTED]> wrote: > > > Hmm, I think I'm seeing something different occur.. my authentication > works > > > fine ( as long as the server is able to stay up ) but I'm getting and > > > accounting request error,

Accounting-Request packet with invalid signature!

2001-10-26 Thread jason
> "jason" <[EMAIL PROTECTED]> wrote: > > Hmm, I think I'm seeing something different occur.. my authentication works > > fine ( as long as the server is able to stay up ) but I'm getting and > > accounting request error, but not an error from auth

Re: BUG REMAIN [was Exec-Program[-Wait] for Accounting-Request]

2001-08-22 Thread aland
Michael Chernyakhovsky <[EMAIL PROTECTED]> wrote: > > That's definitely a bug. Just a second, and I'll go poke at the > > code. > It's all right in follow code from src/main/acct.c. BUT! > where is second calling of radius_exec_program() for PW_EXEC_PROGRAM > (Exec-Program)? > in this case we

BUG REMAIN [was Exec-Program[-Wait] for Accounting-Request]

2001-08-22 Thread Michael Chernyakhovsky
> Michael Chernyakhovsky <[EMAIL PROTECTED]> wrote: >> How I can to execute some external program on Accounting-Request? >> >> adding lines like > ... >> to raddb/acct_users does not work. >> >> There is no radius_exec_program() call after PW

Re[4]: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Michael Chernyakhovsky
> Grab the nightly CVS snapshot from ftp.freeradius.org. > See the 'download' section of the wbe page for more information. Good! Thanks Michael. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re[2]: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Chris Parker
At 01:02 AM 8/17/2001 +0600, you wrote: > >> How I can to execute some external program on Accounting-Request? > >> > >> adding lines like > > ... > >> to raddb/acct_users does not work. > >> > >> There is no radius_exec_program() cal

Re: Re[2]: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread aland
Michael Chernyakhovsky <[EMAIL PROTECTED]> wrote: > When I can download patched sources? Grab the nightly CVS snapshot from ftp.freeradius.org. See the 'download' section of the wbe page for more information. Alan DeJij. - List info/subscribe/unsubscribe? See http://www.freeradius.org/l

Re[2]: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Michael Chernyakhovsky
>> How I can to execute some external program on Accounting-Request? >> >> adding lines like > ... >> to raddb/acct_users does not work. >> >> There is no radius_exec_program() call after PW_ACCOUNTING_REQUEST >> received in sources. Only after PW_A

Re: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Chris Parker
At 11:07 AM 8/16/2001 -0400, you wrote: >Chris Parker <[EMAIL PROTECTED]> wrote: > > Submit this as a bug type 'wishlist' to package 'core'. I can see that > > being usefull, so it'll probably be added. > > Don't bother. I've just commited the fix. Hey, definitely can't complain about the res

Re: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Chris Parker
At 06:26 PM 8/16/2001 +0600, you wrote: >How I can to execute some external program on Accounting-Request? > >adding lines like > > DEFAULT Acct-Status-Type = Start > Exec-Program-Wait = "/path/to/start-program" > > DEFAULT Acct-Status-Type =

Re: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread aland
Chris Parker <[EMAIL PROTECTED]> wrote: > Submit this as a bug type 'wishlist' to package 'core'. I can see that > being usefull, so it'll probably be added. Don't bother. I've just commited the fix. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.

Re: Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread aland
Michael Chernyakhovsky <[EMAIL PROTECTED]> wrote: > How I can to execute some external program on Accounting-Request? > > adding lines like ... > to raddb/acct_users does not work. > > There is no radius_exec_program() call after PW_ACCOUNTING_REQUEST > rece

Exec-Program[-Wait] for Accounting-Request

2001-08-16 Thread Michael Chernyakhovsky
How I can to execute some external program on Accounting-Request? adding lines like DEFAULT Acct-Status-Type = Start Exec-Program-Wait = "/path/to/start-program" DEFAULT Acct-Status-Type = Stop Exec-Program-Wait = "/path/to/stop-program" to raddb