forked from opnsense/ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opnsenses/filterlog: avoid extracting IPv6 options that are never par…
…sed (opnsense#131) Basically this deletes a lot of esoteric code that was copied from tcpdump when filterlog was created. The options format is confusing and not supported by any parser we know of. Instead just jump through all options to see if we have something that looks like the right protocol (TCP, UDP or CARP/VRRP). PR: opnsense/core#5016
- Loading branch information
Showing
10 changed files
with
75 additions
and
722 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
PROG= filterlog | ||
BINDIR= ${PREFIX}/sbin | ||
|
||
SRCS= print-ip.c print-ip6.c print-ip6opts.c print-tcp.c \ | ||
print-mobility.c filterlog.c | ||
SRCS= print-ip.c print-ip6.c print-tcp.c filterlog.c | ||
MAN= | ||
|
||
WARNS= 3 | ||
|
||
LDADD+= -lsbuf -lpcap | ||
|
||
.include <bsd.prog.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.