Re: Segfault in radrelay on FR 1.0.1

2004-09-26 Thread Kevin Bonner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 24 September 2004 14:33, Alan DeKok wrote:
 Kevin Bonner [EMAIL PROTECTED] wrote:
  I sent radrelay a TERM and saw that there were a few records left in the
  detail file that needed to be pushed.  Installed version 1.0.1, and
  radrelay kept segfaulting when trying to start.  Running through gdb, I
  tracked it down to an invalid entry in the radrelay detail file.

   What part of radrelay failed?  Is there a patch to fix the problem?

(gdb) bt
#0  0x0804a0b9 in read_one (fp=0x8868aa0, r_req=0x8064760) at radrelay.c:287
#1  0x0804aaa8 in loop (r_args=0xfef58df0) at radrelay.c:605
#2  0x0804b9bd in main (argc=2, argv=0xfef593e0) at radrelay.c:1003

Haven't attempted a patch to fix this yet, but I'll setup a test environment 
tomorrow and come up with something.

Kevin Bonner
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBVyim/9i/ml3OBYMRAvzrAJ9jMo1ODbSO/c4finWynOP4Eh7MMwCdGhRt
pnops2QTuwS77vN41Ozlu8o=
=OJJ6
-END PGP SIGNATURE-

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


Re: Segfault in radrelay on FR 1.0.1

2004-09-24 Thread Alan DeKok
Kevin Bonner [EMAIL PROTECTED] wrote:
 I sent radrelay a TERM and saw that there were a few records left in the
 detail file that needed to be pushed.  Installed version 1.0.1, and radrelay
 kept segfaulting when trying to start.  Running through gdb, I tracked it
 down to an invalid entry in the radrelay detail file.

  What part of radrelay failed?  Is there a patch to fix the problem?

  The entry it died onD
 was:
 
  Framed-Protocol =3D MP
 
 Looks like version 1.0.1 changed some of the Framed-Protocol values in=20
 dictionary.ascend.  MP changed to Ascend-MP.

  Yes.  There were multiple conflicting attributes  values, which
were cleaned up.

  Alan DeKok.

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


Segfault in radrelay on FR 1.0.1

2004-09-23 Thread Kevin Bonner
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I sent radrelay a TERM and saw that there were a few records left in the 
detail file that needed to be pushed.  Installed version 1.0.1, and radrelay 
kept segfaulting when trying to start.  Running through gdb, I tracked it 
down to an invalid entry in the radrelay detail file.  The entry it died on 
was:

 Framed-Protocol = MP

Looks like version 1.0.1 changed some of the Framed-Protocol values in 
dictionary.ascend.  MP changed to Ascend-MP.  There are other changes, but 
this is the one that was causing me trouble.  Changing all instances of MP to 
Ascend-MP allowed radrelay to run again without a problem.

Just thought I'd mention it for those people upgrading to version 1.0.1.

Kevin Bonner
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBUxJ7/9i/ml3OBYMRAiSAAJ9qU7H8dQFJmO4IaNvPJPZnIb1V4ACeN5hu
QWHoVDKoeZpg/9Twz3k4QM0=
=pnXC
-END PGP SIGNATURE-

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