2000-12-28 03:42:42

by John Buswell

[permalink] [raw]
Subject: PROBLEM: netfilter + 2.4.0-test10 causes connect:invalid argument

1. running 2.4.0-test10 with netfilter/iptables 1.1.2 ping/telnet gives
you invalid argument when connecting to ports on local interfaces.

2. when connecting to local interfaces (and/or local aliased
interfaces) from the local machine, ping/telnet (to any port) gives you a
connect: invalid argument. the connection works fine from remote systems
(eg. telnet remote 80 works, but telnet localhost 80 gives
connect: invalid). noticed same problem on a box in 2.4.0-test4.

3. networking

4. Linux version 2.4.0-test11 ([email protected]) (gcc
version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #3 Sat Dec 2
12:10:42 EST 2000

5. no ooops

6. [avatar@avatar linux]$ telnet 10.37.87.53 80
Trying 10.37.87.53...
telnet: Unable to connect to remote host: Invalid argument

7. redhat 6.2

processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 6
model name : Celeron (Mendocino)
stepping : 5
cpu MHz : 534.000556
cache size : 128 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
features : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr
bogomips : 1064.96

[avatar@avatar linux]$ cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
0cf8-0cff : PCI conf1
c000-cfff : PCI Bus #01
dc00-dcff : Lite-On Communications Inc LNE100TX
dc00-dcff : eth1
de00-deff : Lite-On Communications Inc LNE100TX (#2)
de00-deff : eth0
ffa0-ffaf : Acer Laboratories Inc. [ALi] M5229 IDE

[avatar@avatar linux]$ cat /proc/iomem
00000000-0009fbff : System RAM
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-17ffffff : System RAM
00100000-0025f38f : Kernel code
0025f390-00274dc3 : Kernel data
deb00000-debfffff : PCI Bus #01
ded00000-dfdfffff : PCI Bus #01
df400000-df7fffff : Trident Microsystems 3DIm`age 975
df800000-dfbfffff : Trident Microsystems 3DIm`age 975
dfde0000-dfdfffff : Trident Microsystems 3DIm`age 975
dffffe00-dffffeff : Lite-On Communications Inc LNE100TX
dffffe00-dffffeff : eth1
dfffff00-dfffffff : Lite-On Communications Inc LNE100TX (#2)
dfffff00-dfffffff : eth0
e0000000-e3ffffff : Acer Laboratories Inc. [ALi] M1621
fffe0000-ffffffff : reserved

named gives an invalid argument error (and is how i originally noticed the
problem) :)

thanks

--
John Buswell




2000-12-31 18:56:13

by Harald Welte

[permalink] [raw]
Subject: Re: PROBLEM: netfilter + 2.4.0-test10 causes connect:invalid argument

On Wed, Dec 27, 2000 at 11:12:18PM -0500, John Buswell wrote:
> 1. running 2.4.0-test10 with netfilter/iptables 1.1.2 ping/telnet gives
> you invalid argument when connecting to ports on local interfaces.

This is a _very_ strange problem. Nobody has erver reported this behaviour
to us (the netfilter developers).

I've never heared about it and never encountered it by myself. Sounds like
it is a configuration issue.

could you please send me the output of

lsmod
iptables -t filter -L -v -n
iptables -t nat -L -v -n
iptables -t mangle -L -v -n


btw: the netfilter mailinglist is probably the more apropriate place
for discussion of netfilter related stuff. See http://netfilter.samba.org
for subscription instructions.

> John Buswell

--
Live long and prosper
- Harald Welte / [email protected] http://www.gnumonks.org
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M-
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)

2000-12-31 23:05:21

by Justin

[permalink] [raw]
Subject: Re: PROBLEM: netfilter + 2.4.0-test10 causes connect:invalid argument

On Sun, 31 Dec 2000, Harald Welte wrote:

> On Wed, Dec 27, 2000 at 11:12:18PM -0500, John Buswell wrote:
> > 1. running 2.4.0-test10 with netfilter/iptables 1.1.2 ping/telnet gives
> > you invalid argument when connecting to ports on local interfaces.
>
> This is a _very_ strange problem. Nobody has erver reported this behaviour
> to us (the netfilter developers).
>
> I've never heared about it and never encountered it by myself. Sounds like
> it is a configuration issue.

Are you sure lo is up and configured (and that there's a route to
127.0.0.1 in your routing table that goes through lo)? I think this can
cause such a problem.


justin
--
I see dead people.

2001-01-01 00:42:37

by David Ford

[permalink] [raw]
Subject: Re: PROBLEM: netfilter + 2.4.0-test10 causes connect:invalid argument

Harald Welte wrote:

> On Wed, Dec 27, 2000 at 11:12:18PM -0500, John Buswell wrote:
> > 1. running 2.4.0-test10 with netfilter/iptables 1.1.2 ping/telnet gives
> > you invalid argument when connecting to ports on local interfaces.
>
> This is a _very_ strange problem. Nobody has erver reported this behaviour
> to us (the netfilter developers).
>
> I've never heared about it and never encountered it by myself. Sounds like
> it is a configuration issue.

Is dev lo up and running?

-d


Attachments:
david.vcf (274.00 B)
Card for David Ford