From: Christoph N. <cn...@ma...> - 2006-01-04 10:43:10
|
Hello, I'm currently implementing user-land NAT-T (i.e. ESP encapsulation in a user process using divert sockets, mainly for MacOS X which does not yet have proper kernel support). While doing so, i found a small inconsistency in the functions pk_sendupdate() and pk_sendadd() in src/racoon/pfkey.c (pk_sendadd resets the port numbers to 0 if ESP encapsulation is not used, pk_sendupdate doesn't). I attached the small changes (against HEAD), please apply them at your convenience. I can make the user-land NAT-T code available once it's finished, if someone is interested. Cheers, Christoph |