KenKnight
6th October 2006, 21:11
Hi all,
A few weeks ago I moved everything to a new server. Same setup, different box.
Sadly proftpd is acting up again. When I try to use passive mode I get all folders and all files showing up in the root directory of my ftp listing. This is happening with smartFTP and my main web editing package, so it's not just a smartftp problem.
Here's my conf files;
ServerName "Debian"
ServerType standalone
DeferWelcome off
DefaultAddress 192.168.10.10
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
User nobody
Group nogroup
Umask 022 022
AllowOverwrite on
IdentLookups off
ServerIdent on "FTP Server ready."
Include /etc/proftpd_ispconfig.conf
####### ispconfig file ###################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.10.10>
DefaultRoot ~
AllowOverwrite on
Umask 002
MasqueradeAddress helpconsulting.net
PassivePorts 40000 40100
</VirtualHost>
-----------------------------------------------------------
Adding the masquerade and passive statements corrected the problems I was having outside the firewall, but I'm not sure what will correct the duplicate listings. I thought that DefaultRoot was supposed to handle that.
Thanks for any input.
Cheers!
Ken
A few weeks ago I moved everything to a new server. Same setup, different box.
Sadly proftpd is acting up again. When I try to use passive mode I get all folders and all files showing up in the root directory of my ftp listing. This is happening with smartFTP and my main web editing package, so it's not just a smartftp problem.
Here's my conf files;
ServerName "Debian"
ServerType standalone
DeferWelcome off
DefaultAddress 192.168.10.10
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
TimeoutNoTransfer 600
TimeoutStalled 600
TimeoutIdle 1200
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-l"
DenyFilter \*.*/
Port 21
MaxInstances 30
User nobody
Group nogroup
Umask 022 022
AllowOverwrite on
IdentLookups off
ServerIdent on "FTP Server ready."
Include /etc/proftpd_ispconfig.conf
####### ispconfig file ###################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.10.10>
DefaultRoot ~
AllowOverwrite on
Umask 002
MasqueradeAddress helpconsulting.net
PassivePorts 40000 40100
</VirtualHost>
-----------------------------------------------------------
Adding the masquerade and passive statements corrected the problems I was having outside the firewall, but I'm not sure what will correct the duplicate listings. I thought that DefaultRoot was supposed to handle that.
Thanks for any input.
Cheers!
Ken