Thread (5 messages) 5 messages, 2 authors, 2004-09-20

Re: Minor IPSec bug + solution

flat view

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-09-16 21:19:41
Also in: lkml

Martin Bouzek [off-list ref] wrote:
I was setting up an VPN via IPSec in kernel 2.6.x on IPv4 and found the
following bug. It is not possible to set up an IPComp/ESP tunnel with
IPComp set as mandatory. The following setup works fine for me:
You can never set IPComp as mandatory because ipcomp_output() will not
compress anything that is incompressible.
function. For tunnels it returns 

tmpl->optional && !xfrm_state_addr_cmp(tmpl, x, family);
The check is correct as it is.  Internal states must never match any
required transform.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help