Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2019 23:37:11 +0200
From:      Sami Halabi <sodynet1@gmail.com>
To:        Christer Edwards <christer.edwards@gmail.com>
Cc:        "Michael W. Lucas" <mwlucas@michaelwlucas.com>, jail@freebsd.org
Subject:   9 netstat in a jail, 12 vs 13
Message-ID:  <CAEW%2BogZknQUTGRc8QJCtRiDNGe_3LT6hG-wdeyH0s1=VEzDYCA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Compile static binary of netstat and copy it to the jail may solve your
problem.
Sami

=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=94=D7=B3, 31 =
=D7=91=D7=99=D7=A0=D7=95=D7=B3 2019, 20:09, =D7=9E=D7=90=D7=AA Christer Edw=
ards <
christer.edwards@gmail.com>:

> On Thu, Jan 31, 2019 at 9:29 AM Michael W. Lucas <
> mwlucas@michaelwlucas.com>
> wrote:
>
> >
> > 12.0 jail on -current host:
> >
> > root@loghost:~ # sockstat -4
> > sockstat: struct xinpgen size mismatch
> > root@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogZknQUTGRc8QJCtRiDNGe_3LT6hG-wdeyH0s1=VEzDYCA>