All of lore.kernel.org
 help / color / mirror / Atom feed
* Conntrack dst= IP Address in /proc/net/conntrack wrong
@ 2004-12-17  6:25 Oliver Jehle
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jehle @ 2004-12-17  6:25 UTC (permalink / raw)
  To: netfilter

2 networks connected with IPSEC / both Linux 2.6.9

neta  - gwa - ipsec tunnel - gwb - netb

neta 192.168.1.0
gwa 192.168.1.254

netb 192.168.2.0
gwb 192.168.2.254

when i open an ssh session from neta to netb it works and the conntrack
entry looks correct like this on gwb:

tcp      6 431015 ESTABLISHED src=192.168.2.2 dst=192.168.1.100
sport=33121 dport=22 packets=347 bytes=27765 src=192.168.1.100
dst=192.168.2.2 sport=22 dport=33121 packets=225 bytes=43197 [ASSURED]
use=1

but when i try from netb to neta, then the entry looks like this on gwb:

tcp      6 118 SYN_SENT src=192.168.1.100 dst=192.168.2.2 sport=54803
dport=22 packets=1 bytes=60 [UNREPLIED] src=192.168.2.2 dst=192.168.1.1
sport=22 dport=54803 packets=0 bytes=0 use=1

the dst= ipaddress has the address of the ipsec gateway instead of the
correct host address.

I've no nat rules for the connection.

Is this a known effect ? 



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Conntrack dst= IP Address in /proc/net/conntrack wrong
@ 2004-12-16 17:12 Oliver Jehle
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Jehle @ 2004-12-16 17:12 UTC (permalink / raw)
  To: netfilter

I've a strange effect.

if 2 networks connected with IPSEC / Linux 2.6.9

neta  - gwa - ipsec tunnel - gwb - netb

neta 192.168.1.0
gwa 192.168.1.254

netb 192.168.2.0
gwb 192.168.2.254

when i open an ssh session from neta to netb it works and the conntrack
entry looks like this on gwb:

tcp      6 431015 ESTABLISHED src=192.168.2.2 dst=192.168.1.100
sport=33121 dport=22 packets=347 bytes=27765 src=192.168.1.100
dst=192.168.2.2 sport=22 dport=33121 packets=225 bytes=43197 [ASSURED]
use=1


but when i try from netb to neta, then the entry looks like this on gwb:

tcp      6 118 SYN_SENT src=192.168.1.100 dst=192.168.2.2 sport=54803
dport=22 packets=1 bytes=60 [UNREPLIED] src=192.168.2.2 dst=192.168.1.1
sport=22 dport=54803 packets=0 bytes=0 use=1

the dst= ipadress has the adress of the ipsec gateway instead of the
correct address.

I've no nat rules for the connection.

Is this a known effect ? 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-12-17  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-17  6:25 Conntrack dst= IP Address in /proc/net/conntrack wrong Oliver Jehle
  -- strict thread matches above, loose matches on Subject: below --
2004-12-16 17:12 Oliver Jehle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.