[lkml]   [2007]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: sockets affected by IPsec always block (2.6.23)
From: Simon Arlott <>
Date: Tue, 04 Dec 2007 18:53:19 +0000

> If I have a IPsec rule like:
> spdadd any -P out ipsec esp/transport//require;
> (i.e. a remote host which will not respond)
> Then any attempt to communicate with will block, even when using non-blocking sockets:

If you don't like this behavior:

echo "1" >/proc/sys/net/core/xfrm_larval_drop

but those initial connection setup packets will be dropped while
waiting for the IPSEC route to be resolved, and in your 8 hour case
the TCP connect will fail.

Anyways, the choice for different behavior is there, select it
to suit your tastes.

 \ /
  Last update: 2007-12-05 07:09    [W:0.103 / U:0.404 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site