About this list Date view Thread view Subject view Author view Attachment view

From: Luc Van Hoeylandt (luc_at_e-magic.be)
Date: Thu 26 Feb 2004 - 10:32:05 GMT


Hi,

I'm installing vserver on one of my machines and came across some
strange problems when i wanted
to use proftpd 1.2.9. It would refuse to start (or stop when somebody
tried to connect) from the
chrooted server because it wanted to bind to the first eth interface
which doesn't belong to this vserver.

I think i found a small bug which causes proftpd to bind to the first ip
even if DefaultServer directive is
 off in the configfile and no vhosts use the ip of the first interface

Open up bindings.c in the proftpd src dir and goto line 829 and change

  if (main_server->ServerPort || is_default) {

to

  if (main_server->ServerPort && is_default) {

Although it seems from the list archive that only a few people had
problems running proftpd, only this seems to fix my problems.
Disclaimer: this is just a quick hack i don't know if this is 100 %
correct but it works for me.

Feedback welcome,

Luc

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Feb 2004 - 10:30:09 GMT by hypermail 2.1.3