All of lore.kernel.org
 help / color / mirror / Atom feed
* "random" syn packets dropped
@ 2016-11-07 19:45 Bjørnar Ness
  0 siblings, 0 replies; 9+ messages in thread
From: Bjørnar Ness @ 2016-11-07 19:45 UTC (permalink / raw)
  To: netfilter

I am not sure if this is nftables related, but I post this issue here,
and see if any of you can
come up with a clue to what might be going on.

Problem description:

When I create multiple tcp connections from the same client to
multiple dst hosts at the same
time, the n'th syn packet seems to be just discarded by "something".
If I reorder the list of dst
hosts, a different dst host will hang in SYN_SENT.

What I am seeing on the firewall running kernel 4.8.1 is the following:

* the syn packet enters through the eth1.700 interface
* the packet does _not_ exit through eth1.300 interface as supposed to.
* nft trace monitoring shows the packet beeing accepted on eth1.300 in
postrouting.
* rp_filter etc should not be kicking in here, (and also, "random"
hosts are dropped)
* conntrack table is not full
* this issue seem to suddenly appeared, is this a known bug?

-- 
Bj(/)rnar

^ permalink raw reply	[flat|nested] 9+ messages in thread
* "random" syn packets dropped
@ 2016-11-08 10:35 Bjørnar Ness
  2016-11-08 14:08 ` Florian Westphal
  0 siblings, 1 reply; 9+ messages in thread
From: Bjørnar Ness @ 2016-11-08 10:35 UTC (permalink / raw)
  To: netfilter-devel

Reposted from netfilter:

I am not sure if this is nftables related, but I post this issue here,
and see if any of you can come up with a clue to what might be
going on here.

Problem description:

When I create multiple tcp connections from the same client to
multiple dst hosts at the same time, the n'th syn packet is just
discarded by "something" in the kernel.

If I reorder the list of dst hosts, a different dst host will hang in SYN_SENT
on the client. This setup has been running for about a month, and we have
no changed that can explain this behavior.

What I am seeing on the firewall running kernel 4.8.1 is the following:

* the syn packet enters through the eth1.700 interface (tcdump)
* nft trace monitoring shows the packet beeing accepted on eth1.300 in
postrouting.
* tcpdump on the eth1.300 interface does not show the packet.
* rp_filter etc should not be kicking in here, (and also, "random"
hosts are dropped)
* conntrack table is not full
* this issue seem to suddenly appeared, is this a known bug?
* hint? All connections from the client is established from the same
source port.

-- 
Bj(/)rnar

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

end of thread, other threads:[~2016-11-24 18:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-07 19:45 "random" syn packets dropped Bjørnar Ness
2016-11-08 10:35 Bjørnar Ness
2016-11-08 14:08 ` Florian Westphal
2016-11-08 19:26   ` Bjørnar Ness
     [not found]     ` <CAJO99T=MK=kPe9NVXPtaHBcurtc6KYnat=YCOtBRsTH-uh-ZLQ@mail.gmail.com>
2016-11-21 10:19       ` Bjørnar Ness
2016-11-21 10:39         ` Florian Westphal
2016-11-24 13:37           ` Bjørnar Ness
2016-11-24 13:56             ` Pablo Neira Ayuso
2016-11-24 18:36               ` Bjørnar Ness

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.