Re: Re : Re : radsniff bug in 2.0.0-pre2?

2007-09-17 Thread Alan DeKok
Geoffroy Arnoud wrote:
> Ok, the first problem comes that there is no call to fflush.

  Fixed, thanks.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re : Re : radsniff bug in 2.0.0-pre2?

2007-09-17 Thread Geoffroy Arnoud
Ok, the first problem comes that there is no call to fflush.

The patch is:

210a211,213
>   /* BEGIN_GAO */
>   fflush(stdout);
>   /* END_GAO */
336a340,342
>   /* BEGIN_GAO */
>   fflush(stdout);
>   /* END_GAO */

Geoff.



  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re : radsniff bug in 2.0.0-pre2?

2007-09-17 Thread Geoffroy Arnoud
Hello

I have 2 more problems (not necessarily bugs) with radsniff.

1- I can't enter a RADIUS attribute filter. I can't gifgure out what's the 
syntax. I tried stuff like -r "User-Name = toto" and other types of operators, 
but I still have the message 
radsniff: Invalid RADIUS filter 

2- I can't redirect the output to a file. I tried >, >>, 2>, 1>, 2>&1 >, tee, 
but at each attempt, my log file is empty. Any hint?

Thank you in advance for your answers

Geoff.



  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: radsniff bug in 2.0.0-pre2?

2007-09-14 Thread Nicolas Baradakis
Geoffroy Arnoud wrote:

> It seems that radsniff crashes when it tries to decode
> packets that are not RADIUS ones (dns requests for
> example).

Thanks for the report. I'll investigate the problem.

> Furthermore, would the community be interested in
> having the date of the packet (in the same format as
> in radius.log) and the packet id?

I think radsniff could print the output similar to a detail file.
This would allow to replay the captured packets with the existing
tools.

-- 
Nicolas Baradakis

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


RE : radsniff bug in 2.0.0-pre2?

2007-09-13 Thread Geoffroy Arnoud

> The request used is a Status-Server request. The
> content of the request is the following :
> 
 I have just tested sniffing a Status-Request
generated by radclient (v2.0.0-pre2), and radsniff
crashes the same way.

Regards,
Geoffroy


  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html