View Full Version : proftpd questions, serverIdent
TheRudy
20th July 2006, 11:17
Hey
Just saw today that when i login to ftp, i can see name of the ftp server(proftpd), linux distro (debian) and server IP
Response: 220 ProFTPD 1.2.10 Server (Debian) [192.168.168.100]
Now the funny thing is, i haven't changed a bit in ftp config file since installation of the server where i set Ident to something else and then it work.. I think this changed when i upgraded ISPConfig, don't know why.. Or maybe when i fixed that warning message that proftpd is already in use..
any ideas of what's going on? I tried changing settings below, restarting ftp and still the same..
config file, always the same..
DefaultRoot ~
RootLogin off
IdentLookups off
ServerIdent on "FTP Server ready."
UseReverseDNS off
falko
21st July 2006, 14:01
ISPConfig doesn't change the ServerIdent directive.
Can you post your full /etc/proftpd.conf here?
TheRudy
21st July 2006, 14:06
sure thing:
proftpd.conf
ServerName "Debian"
ServerType standalone
DeferWelcome off
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
DefaultRoot ~
RootLogin off
IdentLookups off
ServerIdent on "FTP Server ready."
UseReverseDNS off
Include /etc/proftpd_ispconfig.conf
proftpd_ispconfig.conf
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.168.100>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
Like i said, i haven't changed anything from the time when i installed server ,well, i did change IdentLookups to off cause i had slow commands problem. Think till helped me there..
falko
22nd July 2006, 16:33
And this is the configuration from 192.168.168.100? Did you restart Proftpd?
TheRudy
22nd July 2006, 16:42
It is configuration from that IP and yes, i restarted ftp multiple times.. No change.. Weird or what? It's like it doesn't register ServerIdent on "FTP Server ready." or it overwrites it somewhere..
TheRudy
22nd July 2006, 17:02
You know what's the problem?
DefaultAddress 127.0.0.1 in proftpd_ispconfig.conf file
Chenged ip to 192.168.168.100 doesn't help..
Commenting it out it and the message i get when i login to FTP is:
Response: 220 FTP Server ready.
Of course now i get that ugly warning that its already been in use by "Debian" when i restart FTP server..
TheRudy
22nd July 2006, 17:06
ups, mistake.. 127.0.0.1 as DefaultAddress doesn't give any error on restart while it outputs the default info of the FTP server..
Commented out (127.0.0.1) or with 192.168.168.100 ip as defaultAddress it does give me an warning on ftp restart but it displays serverident correctly..
TheRudy
22nd July 2006, 17:17
Right, i think i got it solved now!
I switched IP's!
Before, default file:
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<VirtualHost 192.168.168.100>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
Changed file:
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 192.168.168.100
<VirtualHost 127.0.0.1>
DefaultRoot ~
AllowOverwrite on
Umask 002
</VirtualHost>
On restart it doesn't give me any warnings like before.. ServerIdent works!
falko
24th July 2006, 00:07
I'll check that.
But switching IPs will result in using the global umask 022 instead of the 002 from the vhost, because the namespace for umask 002 is only for the vhost on IP 127.0.0.1
So if that works with switching IPs it seems that the global IdentLookups and ReverseDNS stuff won't affect the vhost options, so inserting both in the vhost should help?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.