On Wed, Jul 15, 2015 at 07:10:29PM +0200, Jan Engelhardt wrote: > > On Wednesday 2015-07-15 18:55, Pablo Neira Ayuso wrote: > >> >> +-p esp -m esp;-p esp -m esp --espspi 0;FAIL > >> >> -p esp -m esp;=;OK > >> > > > > >Given that this is changing the behaviour again, I would suggest that > >-p esp -m esp displays -p -m esp --espspi 0:4294967295 via > >iptables-save. > > The printing via iptables -S was not the problem. > The patch is about that no AH/ESP packets were matched when using > just "-m esp" because of the implied --espspi 0:0. Without your patch: iptables -A INPUT -p ah # iptables-save ... -A INPUT -p ah -m ah --ahspi 0 With your patch: iptables -A INPUT -p ah iptables -A INPUT -p ah --ahspi 0:4294967295 # iptables-save ... -A INPUT -p ah -m ah -A INPUT -p ah -m ah what I'm suggesting is that this prints what it indeed does: # iptables-save ... -A INPUT -p ah --ahspi 0:4294967295 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html