Project

General

Profile

Actions

Bug #1778

closed

af_packet: IPS and defrag

Added by Eric Leblond over 8 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

defrag is not compatible with IPS mode as reconstructed packets will be too big when sent over the wire. So we need to warn the user about that. But when defrag is disabled, the cluster_flow load balancing will not work correctly so we need to propose an alternative configuration to improve things.


Related issues 2 (0 open2 closed)

Related to Suricata - Support #2997: IPS AF_Packet mode and decoder invalidClosedCommunity TicketActions
Related to Suricata - Feature #3011: Add new 'cluster_peer' runmode to allow for load balancing by IP header (src<->dst) onlyClosedEric LeblondActions
Actions #1

Updated by Victor Julien over 8 years ago

I think currently safe scenarios are:

workers mode with 1 thread per interface, af-packet defrag disabled
autofp mode with 1 thread per interface, af-packet defrag disabled

If the network is guaranteed to be free of fragmentation (e.g. firewall policy blocks it), multiple threads per interface can be used.

Actions #2

Updated by Victor Julien over 8 years ago

  • Status changed from New to Assigned
  • Priority changed from Normal to High
  • Target version set to 70
Actions #3

Updated by Victor Julien over 8 years ago

Of the current cluster modes, could there be something that helps? E.g. cluster_cpu with some additional configs outside of suri?

Actions #4

Updated by Victor Julien almost 8 years ago

  • Subject changed from af_packet IPS and defrag to af_packet: IPS and defrag
  • Description updated (diff)
Actions #5

Updated by Eric Leblond over 6 years ago

Cluster ebpf with ippair implementation should fix that. XDP CPU redirect will do too.

Actions #6

Updated by Victor Julien over 5 years ago

  • Related to Support #2997: IPS AF_Packet mode and decoder invalid added
Actions #7

Updated by Victor Julien about 5 years ago

  • Related to Feature #3011: Add new 'cluster_peer' runmode to allow for load balancing by IP header (src<->dst) only added
Actions #8

Updated by Victor Julien about 5 years ago

Eric, now that #3011 is closed, do you think this one can be closed as well?

Actions #9

Updated by Eric Leblond about 5 years ago

I would say so. Maybe we need a check of documentation to really do so.

Actions #10

Updated by Victor Julien about 5 years ago

  • Status changed from Assigned to Closed
  • Priority changed from High to Normal
  • Target version changed from 70 to 5.0.0
Actions

Also available in: Atom PDF