On Friday 05 May 2006 18:02, Mattia Dongili wrote: > On Fri, May 05, 2006 at 11:11:51AM +0200, Stephane Bortzmeyer wrote: > > On Tue, May 02, 2006 at 08:39:54AM -0700, > > Brock, Anthony - NET <[EMAIL PROTECTED]> wrote > > a message of 25 lines which said: > > [...] > > > [42949384.150000] * bash -c echo 0 > > > /proc/sys/net/ipv4/conf/tap0/proxy_arp [42949384.150000] * arp -i eth0 -d > > 192.134.4.79 pub > > [42949384.150000] * route add -host 192.134.4.79 dev tap0 > > [42949384.150000] * bash -c echo 1 > > > /proc/sys/net/ipv4/conf/tap0/proxy_arp [42949384.150000] * arp -Ds > > 192.134.4.79 eth0 pub > > > > [ ok ] Most of these (modifying the routes, playing with the ARP cache, > > enabling forwarding) require to be root and I do not think that access to > > the TAP device is enough? > > Indeed, the last part of the trick is installing um-net suid root. > > # ls -l /usr/lib/uml/uml_net > -rwsr-x--- 1 root uml-net 19648 2006-04-14 19:58 /usr/lib/uml/uml_net
Note that this binary, normally, resides in /usr/bin (in the future and on Debian it's in that position instead). And that the _default_ installation of uml_utilities has uml_net installed as root. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user