Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148908903
D3222.id7395.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
709 B
Referenced Files
None
Subscribers
None
D3222.id7395.diff
View Options
Index: sys/netpfil/pf/pf.c
===================================================================
--- sys/netpfil/pf/pf.c
+++ sys/netpfil/pf/pf.c
@@ -5895,7 +5895,8 @@
!((s && s->state_flags & PFSTATE_ALLOWOPTS) || r->allow_opts)) {
action = PF_DROP;
REASON_SET(&reason, PFRES_IPOPTIONS);
- log = 1;
+ if (r->log)
+ log = 1;
DPFPRINTF(PF_DEBUG_MISC,
("pf: dropping packet with ip options\n"));
}
@@ -6329,7 +6330,8 @@
!((s && s->state_flags & PFSTATE_ALLOWOPTS) || r->allow_opts)) {
action = PF_DROP;
REASON_SET(&reason, PFRES_IPOPTIONS);
- log = 1;
+ if (r->log)
+ log = 1;
DPFPRINTF(PF_DEBUG_MISC,
("pf: dropping packet with dangerous v6 headers\n"));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 10:40 PM (9 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30095052
Default Alt Text
D3222.id7395.diff (709 B)
Attached To
Mode
D3222: Only log dropped packets with IP options if log is enabled on rule
Attached
Detach File
Event Timeline
Log In to Comment