Proftpd: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
DefaultRoot ~/../../ | DefaultRoot ~/../../ | ||
Fot awstats to be able to read the xferlog logfile | |||
# For AWStats | |||
LogFormat awstats "%t %h %u %m %f %s %b" | |||
ExtendedLog /var/log/proftpd/xferlog read,write awstats | |||
TransferLog none | |||
SystemLog /var/log/proftpd/proftpd.log | |||
If you're having problems, set the debuglevel higher: | If you're having problems, set the debuglevel higher: |
Latest revision as of 13:34, 15 September 2009
In order to limit how many directories up people can go add to /etc/proftpd/proftpd.conf: DefaultRoot ~/../../ Fot awstats to be able to read the xferlog logfile # For AWStats LogFormat awstats "%t %h %u %m %f %s %b" ExtendedLog /var/log/proftpd/xferlog read,write awstats TransferLog none SystemLog /var/log/proftpd/proftpd.log If you're having problems, set the debuglevel higher: DebugLevel 3 If it's showing shit about IPv6 in syslog you can either put this in proftpd.conf UseIPv6 off and/or add the following to /etc/hosts ::1 ip6-localhost ip6-loopback localhost fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts If you're getting the following in syslog when you're trying to connect to localhost: Jan 3 12:50:33 localhost proftpd[29974]: localhost (localhost[127.0.0.1]) - ProFTPD terminating (signal 11) Jan 3 12:50:33 localhost proftpd[29974]: localhost (localhost[127.0.0.1]) - FTP session closed. or Jan 3 12:49:27 localhost proftpd[29944]: localhost (localhost[::ffff:127.0.0.1]) - ProFTPD terminating (signal 11) Jan 3 12:49:27 localhost proftpd[29944]: localhost (localhost[::ffff:127.0.0.1]) - FTP session closed. and the terminal immediately disconnects with a service terminated message a possible solution is to set DelayEngine off (didn't work for me) or check /etc/proftpd/modules.conf and turn off some modules. For me #LoadModule mod_sql.c was doing it. There are two values for ServerType: inetd and standalone. Remember to edit /etc/inetd.conf and restart inetd if you want to go standalone.