On Sun, Dec 11, 2016 at 03:19:24PM +0300, Andrey V. Elsukov wrote:

> On 11.12.2016 15:15, Slawa Olhovchenkov wrote:
> >> IPsec is a set of protocol handlers - ESP/AH/IPcomp. Inbound packets are
> >> handled by security association with given destination address and SPI.
> >> If returned packets aren't destined to your address, protocol handlers
> >> will not handle them.
> > 
> > SA can't contains not may address? Surpised to me.
> > Or I missunderstund you.
> 
> You can specify what you want, but this just will not work as you
> expect. A router usually must not handle all TCP sessions that it

You mean forward to IPSec system only packets with DST_IP = my_ip?
I that case, why you talk only about not handled returned packets?
Originated packets also don't address to me.

> forwards. It routes IP packets, but it doesn't invoke tcp_input() for
> each TCP packet that it sees.

IPSec designed as router ignorance in all network devices I know.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to