• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

L2TP/IPsec and Snort CPU utilization

Scheduled Pinned Locked Moved IDS/IPS
3 Posts 2 Posters 913 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mwp821
    last edited by Apr 13, 2015, 8:12 AM Apr 13, 2015, 7:09 AM

    Snort goes off the charts (e.g. 90% CPU utilization) when I've got a throughput-heavy connection going (e.g. watching a YouTube movie at 720p) through a L2TP/IPsec VPN. I'm assuming it's slamming its head against the heavily-encrypted traffic going through the WAN connection on its way out to the client. Is there a safe/sane way to exclude this traffic from Snort monitoring?

    UPDATE: I thought maybe Snort's default home net wasn't "smart enough" to include the L2TP IP address range. I created a pass list with that subnet and all the other defaults and set it as my home net. Unfortunately, this doesn't seem to have changed the situation.

    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Apr 14, 2015, 10:54 PM

      The CPU utilization problem is more likely caused by the IPsec decryption of that video stream.  Snort can't decrypt that traffic to actually look at it.  Snort puts your WAN interface into promiscuous mode, so it will then see any traffic crossing the interface.  With NAT, I prefer to run Snort on the LAN.  That might help in your case, but it depends on your network and what you are protecting behind the various interfaces.

      When you have this spiking problem, have you tried stopping Snort and seeing what happens to CPU utilization then?

      Bill

      1 Reply Last reply Reply Quote 0
      • M
        mwp821
        last edited by Apr 15, 2015, 7:30 PM

        @bmeeks:

        The CPU utilization problem is more likely caused by the IPsec decryption of that video stream.  Snort can't decrypt that traffic to actually look at it.

        Isn't that what I said? LOL

        @bmeeks:

        Snort puts your WAN interface into promiscuous mode, so it will then see any traffic crossing the interface.  With NAT, I prefer to run Snort on the LAN.  That might help in your case, but it depends on your network and what you are protecting behind the various interfaces.

        Ahh, that makes sense. I might try that.

        @bmeeks:

        When you have this spiking problem, have you tried stopping Snort and seeing what happens to CPU utilization then?

        Sure, the "snort" process in `top' that shows 90% CPU utilization goes away. As one might expect.  :P

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received