Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 26 Nov 2001 18:11:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 26 Nov 2001 18:11:17 -0500 Received: from vti01.vertis.nl ([145.66.4.26]:11780 "EHLO vti01.vertis.nl") by vger.kernel.org with ESMTP id ; Mon, 26 Nov 2001 18:11:09 -0500 Date: Tue, 27 Nov 2001 00:10:27 +0100 From: Rolf Fokkens Message-Id: <200111262310.AAA02873@linux06.vertis.nl> To: linux-kernel@vger.kernel.org Subject: [BUG] 2.4.15 iptables/REDIRECT kernel oops Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! This is a repost of a previous message, with some new info: the oops is related to iptables/REDIRECT: iptables -t nat -I PREROUTING -p tcp --dst 145.66.1.1 \ --dport 1080 -j REDIRECT --to 80 > /dev/null 2>&1 iptables -t nat -I OUTPUT -p tcp --dst 145.66.1.1 \ --dport 1080 -j REDIRECT --to 80 > /dev/null 2>&1 This redirects connects to the machine itself (145.66.1.1) port 1080 to port 80, which is where apache listens. Connecting to http://145.66.1.1:1080/ seems to result in the reported oops, as reported before. It's very reproducable here, on several machines. So enjoy! * Both with standard iptables and iptables-1.2.4 have this problem. * Based on a previous response I upgraded ksymoops. Didn't change the output * Using the PREROUTING chain results in the oops. The OUTPUT chain just freezes the system. * It's reproducable here, so try for yourself. * I think it's a bug Rolf [fokkensr@iasdev fokkensr]$ ksymoops -k ksyms-2.4.15-pre8 -o /lib/modules/2.4.15-pre8-fks/ -m /boot/System.map-2.4.15-pre8-fks oops-2.4.15-pre8.txt ksymoops 0.7c on i686 2.4.8-clk. Options used -V (default) -k ksyms-2.4.15-pre8 (specified) -l /proc/modules (default) -o /lib/modules/2.4.15-pre8-fks/ (specified) -m /boot/System.map-2.4.15-pre8-fks (specified) Error (expand_objects): cannot stat(/lib/cpqarray.o) for cpqarray ksymoops: No such file or directory Error (expand_objects): cannot stat(/lib/aic7xxx.o) for aic7xxx ksymoops: No such file or directory /usr/bin/find: /lib/modules/2.4.15-pre8-fks/build/include/sound/isapnp.h: No such file or directory Error (pclose_local): find_objects pclose failed 0x100 Warning (compare_ksyms_lsmod): module e1000 is in lsmod but not in ksyms, probably no symbols exported Error (compare_ksyms_lsmod): module nfsd is in ksyms but not in lsmod Error (compare_ksyms_lsmod): module lockd is in ksyms but not in lsmod Error (compare_ksyms_lsmod): module sunrpc is in ksyms but not in lsmod Warning (map_ksym_to_module): cannot match loaded module cpqarray to a unique module object. Trace may not be reliable. Oops: 0000 CPU: 0 EIP: 0010:[] Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010246 eax: 000005dc ebx: edbea7e8 ecx: edca8800 edx: 00000000 esi: ee91c0ac edi: 00000000 ebp: ec6147a4 esp: f0d4bd84 ds: 0010 es: 0018 ss: 0018 Stack: 00000001 f0d4a000 00000003 00000000 edca8800 c01f043d edbea7e8 ec2468ac ed63c6d4 f77f0084 ee2468c0 f0d4bdc4 c034fed8 c01fef56 00000002 00000003 edbea7e8 00000000 edca8800 c0200024 00000045 ec63c6d4 f77f0084 ee2468c0 Call Trace: Code: 8a 87 4c 03 00 00 3c 02 74 0a 3c 01 75 0b f6 45 20 04 75 05 >>EIP; c02000c5 <===== Trace; c01f043d Trace; c01fef56 Trace; c0200024 Trace; c01163cc Trace; c0215589 Trace; c020f648 Trace; c020fc02 Trace; c0130521 <__lock_page+91/9c> Trace; c02106df Trace; c0205a2b Trace; c0222edc Trace; c0222f16 Trace; c01e056d Trace; c0222edc Trace; c01e078b Trace; c014329e Trace; c01076a3 Code; c02000c5 00000000 <_EIP>: Code; c02000c5 <===== 0: 8a 87 4c 03 00 00 mov 0x34c(%edi),%al <===== Code; c02000cb 6: 3c 02 cmp $0x2,%al Code; c02000cd 8: 74 0a je 14 <_EIP+0x14> c02000d9 Code; c02000cf a: 3c 01 cmp $0x1,%al Code; c02000d1 c: 75 0b jne 19 <_EIP+0x19> c02000de Code; c02000d3 e: f6 45 20 04 testb $0x4,0x20(%ebp) Code; c02000d7 12: 75 05 jne 19 <_EIP+0x19> c02000de 2 warnings and 6 errors issued. Results may not be reliable. [fokkensr@iasdev fokkensr]$ rpm -q -i kernel-2.4.15-pre8-freeswan-1.91-1fks-7redhat Name : kernel-2.4.15-pre8-freeswan-1.91 Relocations: (not relocateable) Version : 1fks Vendor: (none) Release : 7redhat Build Date: Wed 21 Nov 2001 02:39:43 PM CET Install date: Wed 21 Nov 2001 03:07:58 PM CET Build Host: iasdev Group : System Environment/Kernel Source RPM: kernel-2.4.15-pre8-freeswan-1.91-1fks-7redhat.src.rpm Size : 26095803 License: GPL URL : http://www.kernel.org/ Summary : A kernel with FreeS/WAN included Description : Linux kernel 2.4.15-pre8 * FreeS/WAN 1.91 * X.509 Certificate Support 0.8.5 * 3Dfx module * Alsa 0.5.12 * QLogic Fibre Channel Driver for QLA2x00 4.25 * VLAN packet size support for 3c59x NICs * HZ is 2048 instead of 100 * iptables 1.2.4 * lm_sensors 2.6.1 * Intel e1000 3.1.23 and more in the future. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/