Why on high volume of IPsec Host-to-Host connections created using Libreswan curl command tend to fail with "No buffer space available" messages in RHEL?

Solution Verified - Updated -

Issue

  • On host to host ipsec implementation over a shared Ethernet links running a continuous curl request on end host results in following error:
    ~~~~
    "curl: (7) Failed to connect to xx.xx.xx.xx: No buffer space available"
    ~~~~
  • What would cause such messages to appears?
  • How can these message be avoided?

Environment

  • Red Hat Enterprise Linux (RHEL).
  • Libreswan + Strongswan Host-to-Host IPsec .

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content