Re: conntrack GRE behaves differently in 3.17 / 3.18

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

 



Mart Frauenlob a écrit :
> On 24.01.2015 08:44, Jan Niggemann wrote:
>> At least on my system it's sufficient that I load conntrack_pptp. With
>> the following rules I can then create a pptp connection:
>> -P INPUT DROP
>> -P FORWARD DROP
>> -P OUTPUT ACCEPT
>> -A INPUT -i lo -j ACCEPT
>> -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
>> I do not need to explicitly allow any gre traffic for the pptp vpn to work.
> 
> Because it's accepted in the OUTPUT chain by the default policy?

AND because nf_conntrack_pptp classifies incoming GRE packets as RELATED
or ESTABLISHED, so they are accepted by the conntrack rule.
--
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