Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Openswan & buffer
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
GreedyIvan
n00b
n00b


Joined: 04 Dec 2013
Posts: 4

PostPosted: Mon Dec 23, 2013 10:08 pm    Post subject: [SOLVED] Openswan & buffer Reply with quote

When a lot of traffic go through ipsec tunnel it stops transmitting for a while. No errors are shown.

If I try to ping a destination in that moment I receive:
Code:
connect: No buffer space available.

Using
Code:
ip xfrm state flush
make openswan continue transmitting immediately.

Is there any way to increase xfrm stack size or make openswan flush it automatically?

Linux Openswan U2.6.39/K3.10.17-gentoo (netkey)


Last edited by GreedyIvan on Mon Dec 30, 2013 12:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
GreedyIvan
n00b
n00b


Joined: 04 Dec 2013
Posts: 4

PostPosted: Mon Dec 30, 2013 12:48 pm    Post subject: Reply with quote

It was becouse of
Code:
net.ipv4.xfrm4_gc_thresh = 1024


I increased it to 32768 and tunnel works fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum