User Details
- User Since
- Feb 4 2016, 4:45 PM (539 w, 5 d)
Sun, Jun 7
Sat, Jun 6
I run elog -o dir=. -f tcp -c tcp in my home directory and a client, which uses the IPPROTO_TCP-level socket option TP_EVENTLOG to enable logging. The resulting file has the name:
tuexen@freebsd16:~ % file *.elog \245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245_42405_\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245\245_42405.elog: data
Is that intended?
Fri, Jun 5
This does not compile for me on a GENERIC kernel. I noted the issues inline.
Wed, Jun 3
Mon, Jun 1
rrs is currently traveling and has no access to phabricator Therefore he asked me to forward some questions:
Sun, May 31
As Mark suggested.
Fri, May 29
Thu, May 28
Wed, May 27
This was committed (by accident) in[[ https://cgit.FreeBSD.org/src/commit/?id=1bfd392b9e4dcddef3d80efaa517fafa648cd0b1 | 1bfd392b9e4d ]].
Fri, May 22
Address Marks comment.
Thu, May 21
I actually used and extended it. For example, syzkaller is dumping the information for all locked tcpcbs when panicing. This gives at least some information in a situation where you cannot access a core. This was good enough for me to fix some bugs.
Wed, May 20
A second proposed solution integrating Patrick's proposal. Now ipopts is handled like cred.
Tue, May 19
Mon, May 18
Sun, May 17
Please note that the support of RFC 6191 has been MFC'ed to stable/14 and stable/15. I did not use a sysctl variable, since I don't see a need for adding the configuration complexity for this feature. Why would you want to not use it?
Tue, May 12
Mon, May 11
Apr 30 2026
Be more explicit in the comment as suggested my markj@ and rscheff@.
Use bpf instead of bpf* as suggested by markj@.
I can understand that.
There are two ways to solve:
- Change permissions on /dev/bpf and do privileges checking inside the device code. Allow BIOCGETIFLIST for unprivileged user.
- In libpcap fallback to getifaddrs(3)+/dev/usb guessing if opening /dev/bpf failed.
Your opinions?
I would tend to 2. I guess most people run at least wireshark with 0660 on bpf devices, since this is what it recommended when the port is installed, they would get the new code with higher quality output. The rest gets what it was getting earlier.
Use 0640 as markj@ suggested.
