Re: conntrack GRE behaves differently in 3.17 / 3.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Eliezer and others,

Zitat von Eliezer Croitoru <eliezer@xxxxxxxxxxxx>:
On 19/01/2015 15:04, Jan Niggemann wrote:
Machine
Lenovo T400, Debian 7.8

As in a desktop?
Can you show the lsmod output?
I am not quite sure how the INPUT should be related directly to the GRE since the origin of the GRE(if I remember right) is from the client side and not the server side.
that's correct. The pptp devs have checked my pptp debug log and told me to check for lost GRE packets. Further testing with tcpdump shows that my pptp client is sending GRE packets TO the server and receiving GRE packets FROM the server. The issue is that using 3.18, the servers' GRE packets are dropped by the aforementioned rule (rule #2 below), while in 3.17 they are not.

Chain INPUT (policy DROP 2 packets, 120 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
8 984 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:22

After manually inserting a rule to explicitly permit GRE (iptables -I INPUT 2 -p gre -j ACCEPT) before rule #2, the VPN connection works, because the pptp client now gets the servers' GRE packets.

I (perhaps wrongly?) assume that if it's the rule "[...] ctstate RELATED,ESTABLISHED" that drops the servers' GRE packets with kernel 3.18, then the connection tracking has somehow changed between 3.17 and 3.18.

Jan
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux