summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-21 04:06:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-21 04:06:13 +0000
commit907c5461e1872e80ccffda3762fa6c0b9b4109fe (patch)
tree0b5c4fda2977df83ec5c08e4b550175dd8f9cbb6 /etc/inc
parent013095991cfffe3a3e5caa54041f0203a2fd3983 (diff)
downloadpfsense-907c5461e1872e80ccffda3762fa6c0b9b4109fe.zip
pfsense-907c5461e1872e80ccffda3762fa6c0b9b4109fe.tar.gz
Switch over to pftpx.
Why? 1) it handles all ftp modes: PORT, PASV, EPRT, EPSV 2) it handles ipv6 3) it should scale: one process handles all sessions using libevent 4) it works with "strict" ftp clients (clients that want data connections to the same IP as the control connection)
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/config.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index d4492eb..f3f9d39 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -976,8 +976,8 @@ function system_start_ftp_helpers() {
if($config['system']['disableftpproxy'] <> "") return;
$wanif = get_real_wan_interface();
mwexec("/usr/sbin/inetd -wW -C 60");
- mwexec("/usr/bin/killall ftpsesame 2>/dev/null");
- mwexec("/usr/local/sbin/ftpsesame -i {$wanif} -q ftpproxy");
+ mwexec("/usr/bin/killall pftpx 2>/dev/null");
+ mwexec("/usr/local/sbin/pftpx -i {$wanif} -g 8021 -q ftpproxy");
}
function cleanup_backupcache($revisions = "all") {
OpenPOWER on IntegriCloud