FreeBSD Bugzilla – Attachment 86358 Details for
Bug 122773
[pf] pf doesn't log uid or pid when configured to
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
tcpdump-uid.diff
tcpdump-uid.diff (text/plain), 683 bytes, created by
Max Laier
on 2008-04-15 02:01:18 UTC
(
hide
)
Description:
tcpdump-uid.diff
Filename:
MIME Type:
Creator:
Max Laier
Created:
2008-04-15 02:01:18 UTC
Size:
683 bytes
patch
obsolete
>Index: print-pflog.c >=================================================================== >RCS file: /home/ncvs/src/contrib/tcpdump/print-pflog.c,v >retrieving revision 1.1.1.4 >diff -u -r1.1.1.4 print-pflog.c >--- print-pflog.c 16 Oct 2007 02:20:17 -0000 1.1.1.4 >+++ print-pflog.c 15 Apr 2008 00:53:58 -0000 >@@ -106,6 +106,12 @@ > else > printf("rule %u.%s.%u/", rulenr, hdr->ruleset, subrulenr); > >+#ifdef PF_LOG_SOCKET_LOOKUP >+ if (vflag && hdr->uid != UID_MAX) >+ printf("[uid %u, pid %u] ", (unsigned)hdr->uid, >+ (unsigned)hdr->pid); >+#endif >+ > printf("%s: %s %s on %s: ", > tok2str(pf_reasons, "unkn(%u)", hdr->reason), > tok2str(pf_actions, "unkn(%u)", hdr->action),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 122773
: 86358