Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 23:32:17 -0500
From:      Hendrik Scholz <hscholz@raisdorf.net>
To:        freebsd-net@freebsd.org
Subject:   remote traceroute and ping for jails
Message-ID:  <1BEABD96-5B82-11D8-A0D4-000A95BAD088@raisdorf.net>

next in thread | raw e-mail | index | archive | help
Hi!

I've just finished a quick hack to allow jails to indirectly execute 
ping
and traceroute by sending commands to the FreeBSD host housing the 
jails.
A small daemon processes the requests and sends the reply back to the 
clients.

Just grab http://www.wormulon.net/files/FreeBSD/rsocket-HEAD.tar.gz
and don't forget to modify defs.h :)

'features':

- should be safe from 'hack' attempts like "traceroute 123.org;id"
- IPv6 ready ... just need to add some lines
- executes ping -c 4 and does not offer any way to modify parameters
- works for me :)

Any comments are welcome!

Thanks, Hendrik

-- 
Hendrik Scholz - hscholz@raisdorf.net - http://www.raisdorf.net/
cell phone: 404-606-5324 (US) 0160-1570-272 (DE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1BEABD96-5B82-11D8-A0D4-000A95BAD088>