Re: [IPSEC] Use 32-bit reqid's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 21, 2003 at 03:30:52AM -0700, David S. Miller wrote:
>
> > No we mustn't change those functions to use 32-bit values as the PFKEY
> > user will have to read it out again and then feed it back in SADB_ADD.
> 
> Won't a simple recompile of things like racoon deal with
> such an issue?

Geez you were the one telling me that the interface musn't change :)

As it is, racoon gets the reqid back from spdadd which it then feeds
into pfkey_add.  Now spdadd can only return 16-bit values unless you
change struct sadb_x_ipsecrequest.

Incidentally sadb_x_sa2 which is where pfkey_add get its reqid from
already has a 32-bit reqid.
-- 
Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux