Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jul 2018 18:27:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 229968] jail can see other interfaces in linprocfs
Message-ID:  <bug-229968-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229968

            Bug ID: 229968
           Summary: jail can see other interfaces in linprocfs
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jasonmader@gmail.com

I hope I'm not missing something, but in a jail using Linux compatibility,=
=20

jail {
  interface =3D ix1;
  linux =3D new;
  mount.fstab =3D /var/jail/etc/fstab;
}

/var/jail/etc/fstab:
linprocfs /var/jail/compat/linux/proc linprocfs rw 0 0

It appears that the jail can see the ix0 interface on the host. I would have
thought it would see ix1 mapped as eth0 only.

 NAMI  "/compat/linux/proc/net/dev"
 GIO   fd 4 read 571 bytes
       "Inter-|                                                   Receive|=
=20
Transmit
          face|bytes    packets errs drop fifo frame compressed multicast|=
=20
bytes    packets errs drop fifo colls carrier compressed
          eth0:  400275    5236    0    0    0     0          0         1=
=20=20
668562    4589    0    0    0     0       0          0
          eth1:       0       0    0    0    0     0          0         0=
=20=20=20=20=20=20
 0       0    0    0    0     0       0          0
           lo0:  208242    1115    0    0    0     0          0         0=
=20=20
208242    1115    0    0    0     0       0          0
       "

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229968-227>