9 netstat in a jail, 12 vs 13

Sami Halabi sodynet1 at gmail.com
Thu Jan 31 21:37:26 UTC 2019


Compile static binary of netstat and copy it to the jail may solve your
problem.
Sami

בתאריך יום ה׳, 31 בינו׳ 2019, 20:09, מאת Christer Edwards <
christer.edwards at gmail.com>:

> On Thu, Jan 31, 2019 at 9:29 AM Michael W. Lucas <
> mwlucas at michaelwlucas.com>
> wrote:
>
> >
> > 12.0 jail on -current host:
> >
> > root at loghost:~ # sockstat -4
> > sockstat: struct xinpgen size mismatch
> > root at loghost:~ # netstat -na -f inet
> > netstat: kvm not available: /dev/mem: No such file or directory
> > Some tcp sockets may have been deleted.
> > Some udp sockets may have been deleted.
>
>
> I have seen this happen anytime I have run a jail where the version does
> not exactly match the host. sockstat always fails with 'sockstat: struct
> xinpgen size mismatch'
>
> Very interested in a solution / patch / workaround myself.
>
> Christer
> _______________________________________________
> freebsd-jail at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe at freebsd.org"
>


More information about the freebsd-jail mailing list