*** ../test/vpnclient/interceptor.c 2002-10-22 05:47:21.000000000 +0200 --- interceptor.c 2003-03-04 13:39:42.000000000 +0100 *************** static int handle_vpnup() *** 315,320 **** --- 315,332 ---- if (strcmp(LINUX_VPN_IFNAME, dp->name) == 0) { continue; } + + if ((strcmp("eth1", dp->name) == 0) || + (strcmp("eth2", dp->name) == 0) || + (strcmp("ppp0", dp->name) == 0) || + (strcmp("ppp1", dp->name) == 0) || + (strcmp("ipsec0", dp->name) == 0) || + (strcmp("ipsec1", dp->name) == 0) || + (strcmp("ipsec2", dp->name) == 0)) { + continue; + } + + if (strcmp("lo", dp->name) == 0) { /*bind to loopback so we can inject UDP packets *for IPC, but don't change the xmit function *************** static int recv_ip_packet_handler(struct *** 509,514 **** --- 521,540 ---- struct ethhdr ppp_dummy_buf; + + if ((strcmp("eth1", dev->name) == 0) || + (strcmp("eth2", dev->name) == 0) || + (strcmp("ppp0", dev->name) == 0) || + (strcmp("ppp1", dev->name) == 0) || + (strcmp("ipsec0", dev->name) == 0) || + (strcmp("ipsec1", dev->name) == 0) || + (strcmp("ipsec2", dev->name) == 0)) + { + rc2 = original_ip_handler.orig_handler_func(skb, dev, type); + goto exit_gracefully; + } + + if (strcmp("lo", dev->name) == 0) { /* grab the routing entry for loopback packets, in case we need * to send some later*/