Re: inetd and freebsd service jail



Hi!

I have a jail for pureftpd service,
it is possible that inetd from the main system launch FTP server
inside the jail?

No, it's not possible.

The reason:

When your client connects to the IP of the jail,
inetd.conf running on the main system can start some

jexec <jail-id> /usr/libexec/ftpd ...

But: The <jail-id> depends on the IP the client is connecting to,
and inetd has no lookup-hook to find the <jail-id> from the IP adress.

It might not be too difficult to add this feature to inetd,
but right now, it's not available.

If not so, i don't uderstand advantage of to have an inetd service
listening inside each jail...

Jails are to virtualize systems, so if you have your own instance
of inetd running in your jail, you can decide for yourself which
services will served by your inetd instance. Just edit the inetd.conf
inside the jail and restart inetd in your own virtual server.

--
pi@xxxxxxxx +49 171 3101372 12 years to go !
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: inetd and freebsd service jail
    ... Let me explain, I have a jail for pureftpd service, it is possible that inetd from the main system launch FTP server inside the jail? ...
    (freebsd-stable)
  • inetd and freebsd service jail
    ... Let me explain, I have a jail for pureftpd service, it is possible that inetd from the main system launch FTP server inside the jail? ... Let me explain, I have a cage for pureftpd service, it is possible that inetd from the main system lance FTP server inside the cage? ...
    (freebsd-stable)
  • Re: jail and inetd help
    ... Im in confuse on setting up the inetd where to listen.. ... Since only the jail is starting the service it should, ...
    (comp.unix.bsd.freebsd.misc)
  • Re: inetd and freebsd service jail
    ... it is possible that inetd from the main system launch FTP server ... When your client connects to the IP of the jail, ... It might not be too difficult to add this feature to inetd, ...
    (freebsd-stable)