Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

INTEROP: Bug report on deleteing eroutes & spi's

From: Hugh Daniel <hugh(at)road.toad.com>
Date: Wed Mar 04 1998 - 22:29:46 EST


  I just ran into a problem of trying to delete three SPI's and having the kernel complain about it (and not remove them). It is interesting to note that the matching eroute del'ete command did not complain but did not remove the eroute I wanted gone.   The kernel 'protection' report at the end here happend due to the attempt to remove the eroute, but running the nc_radgaurd.sh del script again did not provoke the 'protection' report.

		||ugh Daniel
		hugh@toad.com
		System Testing & mis-Management
		The Linux FreeS/WAN Project
		
http://www.xs4all.nl/~freeswan


-------  Offending Command:  ---------------------------------------
root@road > sh nc_radgaurd.sh del
open: Device or resource busy
open: Device or resource busy
open: Device or resource busy

-------  IPSEC Networking (before):  --------------------------------
IP Routing:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.26.217.8    0.0.0.0         255.255.255.248 U      1500 0          0 eth0
172.16.217.8    0.0.0.0         255.255.255.248 U      1500 0          0 eth1
1.1.1.0         172.26.217.21   255.255.255.0   UG        0 0          0 ipsec0
127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
0.0.0.0         172.26.217.9    0.0.0.0         UG     1500 0          0 eth0

IPSEC eroutes:
(172.16.217.8/255.255.255.248 -> 1.1.1.0/255.255.255.0) => (172.26.217.21, 0x00000070)

IPSEC SPI bindings:
(172.26.217.10, 20001403, 11: iv = 00 00 00 00 00 00 00 00 seq = 0x00000001, bit = 00000000, win = 1 flags = 7 <CONSTIV,MANUAL,INITIATOR>)
(172.26.217.21, 00000071, 11: iv = 00 00 00 00 00 00 00 00 seq = 0x00000001, bit = 00000000, win = 1 flags = 7 <CONSTIV,MANUAL,INITIATOR>)
(172.26.217.21, 00000070, 1: [172.26.217.10 -> 172.26.217.21])

  • /var/log/messages: ---------------------------------------------- Mar 4 19:14:53 road kernel: general protection: 0000 Mar 4 19:14:53 road kernel: CPU: 0 Mar 4 19:14:53 road kernel: EIP: 0010:[<0483f5f4>] Mar 4 19:14:53 road kernel: EFLAGS: 00010282 Mar 4 19:14:53 road kernel: eax: 87f000fe ebx: 023e8f28 ecx: 00000000 edx: 00000000 Mar 4 19:14:53 road kernel: esi: 00000000 edi: 87f000fe ebp: 00510298 esp: 025c1ef0 Mar 4 19:14:53 road kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018 Mar 4 19:14:53 road kernel: Process eroute (pid: 11102, process nr: 78, stackpage=025c1000) Mar 4 19:14:53 road kernel: Stack: 0000000a bffff740 024d7e18 024d7de0 87f000fe 024d7df4 023e8f28 00510298 Mar 4 19:14:53 road kernel: 00000000 0483e704 024d7de8 024d7df4 023e8edc 01e64400 0483e441 024d7de8 Mar 4 19:14:53 road kernel: 024d7df4 0000000a bffff740 024d7e18 00000038 01e64434 02e72044 00000038 Mar 4 19:14:53 road kernel: Call Trace: [<0483e704>] [<0483e441>] [netlink_write+170/184] [sys_write+331/388] [error_code+64/72] [system_call+85/124] Mar 4 19:14:53 road kernel: Code: 8b 47 20 39 e8 74 08 89 44 24 10 85 c0 75 ed 83 7c 24 10 00
Received on Wed Mar 4 22:47:16 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:27 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library