Proftpd: Difference between revisions
Jump to navigation
Jump to search
New page: In order to limit how many directories up people can go add to /etc/proftpd/proftpd.conf: DefaultRoot ~/../../ If you're having problems, set the debuglevel higher: ... |
No edit summary |
||
Line 1: | Line 1: | ||
<pre> | |||
In order to limit how many directories up people can go add to /etc/proftpd/proftpd.conf: | In order to limit how many directories up people can go add to /etc/proftpd/proftpd.conf: | ||
Line 38: | Line 39: | ||
There are two values for ServerType: inetd and standalone. Remember to edit /etc/inetd.conf and restart inetd if you want to go standalone. | There are two values for ServerType: inetd and standalone. Remember to edit /etc/inetd.conf and restart inetd if you want to go standalone. | ||
</pre> |
Revision as of 13:18, 2 March 2007
In order to limit how many directories up people can go add to /etc/proftpd/proftpd.conf: DefaultRoot ~/../../ 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.