Re: Duplicate SAD entries lead to ESP tunnel malfunction



Hello,

VANHULLEBUS Yvan <vanhu_bsd@xxxxxxxxxx> wrote:

> net.key.prefered_oldsa, or net.key.preferred_oldsa (changed since
> 4.X).

> It is 1 by default, and it should be set to 0 to help better
> interoperability with lots of peers.....

This seems quite like correct solution. I analyzed behavior of the
interface and saw upcoming ping requests (obviously) AND outgoing ping
echoes, but remote host didn't get them. Obviously incoming packets
were decrypted using one of SAs (the new one) but outgoing packets
were encrypted using old SA which is not present on remote host due to
some problems (like forced reboot, connection problems etc).

Normally in this case remote host must report of unknown spi, but
rather it lacks this function or it just ignores these packets. As it
is a hardware router I am unaware of its behavior.

I will test this solution for some time but I am sure this will help.

Thanx for really great help - all these troubles are on my production
box and every minute of malfunction returns to me with #not good#
words of my boss :/

--
Best regards,
Oleg Tarasov mailto:subscriber@xxxxxxxxxx

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Duplicate SAD entries lead to ESP tunnel malfunction
    ... interface and saw upcoming ping requests AND outgoing ping ... but remote host didn't get them. ... Obviously incoming packets ...
    (freebsd-net)
  • Re: Should I block Fragmented IP Packets?
    ... >> settings is to block fragmented IP packets. ... >> cause connection problems. ... >> Also, should I filter multicast? ... > More important is to make sure to use proper security between all the ...
    (comp.security.firewalls)
  • Re: TCP connection fail
    ... a lot of connection problems with buggy McAfee for example. ... The Ack packets in the receiver point to a previous received packets ...
    (microsoft.public.win32.programmer.networks)
  • Noob question
    ... Now I can see that Sygate is constantly blocking packets, and yes, ... are incoming traffic, coming from remote host "0.0.0.0", port 0 to ... local host "0.0.0.0", port 0. ...
    (comp.security.firewalls)
  • Re: [Fedora] Re: iptables: drop or reject?
    ... If you drop all packets then the remote host thinks that either your ... If its spam, drop the packets. ...
    (Fedora)