recv(fd, NULL, 0, 0) for SOCK_DGRAM sockets. tuexen@ will bring this up on the net@ mailing list.TCP_LOG socket option should be inherited from the listener. jtl@ said that this should be the case, but interaction with the sysctl-variable net.inet.tcp.bb.log_auto_ratio should be taken into account. tuexen@ will look at it and add jtl@ as a reviewer.netstat does not support reading connection information from a core file anymore. tuexen@ will document that in the man-page.kvm_read() has drawbacks as glebius@ pointed out, using a python kgdb script may be an alternative. An alternative is to write a python kgdb script which pumps data into tcplog_dumper. This would allow to minimize code duplication. @glebius will try to work on this soon.09 February 2023 @ 1500 UTC