Hi Alan, I'm back with my bug reports:) In latest cvs head:
When sending following packet: `cat ./admin_reset_acct.txt`: NAS-Port = 5282 NAS-IP-Address = <IP_IN_NAS_TABLE> Acct-Status-Type = Accounting-On Acct-Terminate-Cause = Admin-Reset ... but it looks like it behaves the same for all accounting packets! I'm getting segmentation fault: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 18106)] 0x08052d67 in acct_socket_recv (listener=0x815be70, pfun=0xbfffe9fc, prequest=0xbfffea00) at listen.c:500 500 switch(packet->code) { (gdb) (gdb) (gdb) bt #0 0x08052d67 in acct_socket_recv (listener=0x815be70, pfun=0xbfffe9fc, prequest=0xbfffea00) at listen.c:500 #1 0x0805923f in main (argc=2, argv=0xbffffb94) at radiusd.c:643 (gdb) list 495 } 496 497 /* 498 * Some sanity checks, based on the packet code. 499 */ 500 switch(packet->code) { 501 case PW_ACCOUNTING_REQUEST: 502 RAD_SNMP_CLIENT_INC(listener, client, requests); 503 fun = rad_accounting; 504 break; (gdb) print packet->code Cannot access memory at address 0x1016e67 (gdb) print packet $1 = (RADIUS_PACKET *) 0x1016e33 gdb) print packet->src_ipaddr Cannot access memory at address 0x1016e37 (gdb) print packet->src_port Cannot access memory at address 0x1016e5f (gdb) print packet->id Cannot access memory at address 0x1016e63 (gdb) print packet->sockfd Cannot access memory at address 0x1016e33 (gdb) print packet->timestamp Cannot access memory at address 0x1016e7f Milan Holub holub (at) thenet (dot) ch -------------------------------------- TheNet-Internet Services AG, im Bernertechnopark, Morgenstr. 129 CH-3018, Bern, Switzerland 031 998 4333, Fax 031 998 4330 http://www.thenet.ch http://wlan.thenet.ch -------------------------------------- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html