remote traceroute and ping for jails

Hendrik Scholz hscholz at raisdorf.net
Mon Feb 9 20:32:58 PST 2004


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 at raisdorf.net - http://www.raisdorf.net/
cell phone: 404-606-5324 (US) 0160-1570-272 (DE)



More information about the freebsd-net mailing list