[Openswan dev] Error building klips-ipv6 (missing include?)

Harald Jenny harald at a-little-linux-box.at
Mon Oct 11 15:44:16 EDT 2010


On Mon, Oct 11, 2010 at 02:42:28PM -0400, D. Hugh Redelmeier wrote:
> | From: Paul Wouters <paul at xelerance.com>
> 
> | I have been working a bit on the listen code, and I was considering an
> | option to just listen to ANY. I am not sure what the history was of not
> | listening on all IP's whenever they become available to the system.
> | 
> | Perhaps Hugh or Hugh can sched some light on that?
> 
> Off the top of my head, I can vaguely recollect two issues:
> 
> - we want control of which interfaces are used.  The only way was to
>   control the IP addresses

Hmmmm you mean for NETKEY? Because the interfaces= lines for KLIPS do work?

> 
> - we want to know the inbound IP address on each packet.  recvfrom
>   doesn't give you that, so we nail down which IP by only accepting
>   a specified IP address on each socket.  So we have to know the IP
>   address.

Well if we specify an IP which is not bound yet wouldn't we be able to check
in the main loop of pluto if/when this IP "arrives"?

> 
> Note: there seems to be something newish called recvfromto that is now
> half supported in the code, controlled by HAVE_UDPFROMTO.  But that
> code currently ignores to "to" that recvfromto returns.

I guess with maintaining backward compatibility it won't be easy to use this
feature?

> _______________________________________________
> Dev mailing list
> Dev at openswan.org
> http://lists.openswan.org/mailman/listinfo/dev


More information about the Dev mailing list