Project

General

Profile

Actions

Bug #2502

closed
JM VJ

suricata.c ConfigGetCaptureValue - PCAP/AFP fallthrough to strip_trailing_plus

Bug #2502: suricata.c ConfigGetCaptureValue - PCAP/AFP fallthrough to strip_trailing_plus

Added by Jacob Masen-Smith almost 8 years ago. Updated over 7 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

AH Updated by Andreas Herz almost 8 years ago Actions #1

  • Assignee set to OISF Dev
  • Target version set to TBD

VJ Updated by Victor Julien over 7 years ago Actions #2

  • 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?

EL Updated by Eric Leblond over 7 years ago Actions #3

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

VJ Updated by Victor Julien over 7 years ago Actions #4

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

VJ Updated by Victor Julien over 7 years ago Actions #5

  • Status changed from Assigned to Closed

VJ Updated by Victor Julien about 7 years ago Actions #6

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

Also available in: PDF Atom