Project

General

Profile

Actions

Bug #2502

closed

suricata.c ConfigGetCaptureValue - PCAP/AFP fallthrough to strip_trailing_plus

Added by Jacob Masen-Smith over 6 years ago. Updated about 6 years ago.

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

Description

https://github.com/OISF/suricata/blob/26b61bad90970d6a0a8347a7d3238ce6d4379b73/src/suricata.c#L2412-L2419

This appears to be a bug, as strip_trailing_plus seems to be a tool for NETMAP only. I assume the correct behavior would be to set the NETMAP case first and then follow it with PCAP/AFP.


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #2830: suricata.c ConfigGetCaptureValue - PCAP/AFP fallthrough to strip_trailing_plus (4.0.x)ClosedVictor JulienActions
Actions #1

Updated by Andreas Herz over 6 years ago

  • Assignee set to OISF Dev
  • Target version set to TBD
Actions #2

Updated by Victor Julien over 6 years ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Eric Leblond
  • Target version changed from TBD to 70

Eric, I think Jacob is correct. Can you confirm?

Actions #3

Updated by Eric Leblond over 6 years ago

Yes, correct, there is no special meaning of + in pcap or AFP. Proposed solution seems to be correct.

Actions #4

Updated by Victor Julien about 6 years ago

  • Assignee changed from Eric Leblond to Victor Julien
  • Target version changed from 70 to 4.1.1
Actions #5

Updated by Victor Julien about 6 years ago

  • Status changed from Assigned to Closed
Actions #6

Updated by Victor Julien almost 6 years ago

  • Copied to Bug #2830: suricata.c ConfigGetCaptureValue - PCAP/AFP fallthrough to strip_trailing_plus (4.0.x) added
Actions

Also available in: Atom PDF