From a15a15e7dc503d4b83cfb30db0f37122c7085ee7 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 10 Jan 2005 22:38:13 +0000 Subject: Enable ftp-proxy --- etc/inc/filter.inc | 3 +++ etc/inetd.conf | 1 + etc/rc | 3 +++ usr/local/www/pkg_mgr.php | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 etc/inetd.conf diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 72d2024..d5a5e75 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -513,6 +513,9 @@ function filter_rules_generate() { pass in quick on lo0 all pass out quick on lo0 all +# enable ftp-proxy +rdr on $lanif proto tcp from any to any port 21 -> 127.0.0.1 port 8021 + # allow access to DHCP server on LAN pass in quick on $lanif proto udp from any port = 68 to 255.255.255.255 port = 67 pass in quick on $lanif proto udp from any port = 68 to $lanip port = 67 diff --git a/etc/inetd.conf b/etc/inetd.conf new file mode 100644 index 0000000..79ce987 --- /dev/null +++ b/etc/inetd.conf @@ -0,0 +1 @@ +127.0.0.1:8021 stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -n \ No newline at end of file diff --git a/etc/rc b/etc/rc index 6aabaff..1bfedf7 100755 --- a/etc/rc +++ b/etc/rc @@ -73,6 +73,9 @@ cd /var/run && cp /dev/null utmp && chmod 644 utmp echo Starting Secure Shell Services ... /etc/sshd +echo Starting INETD for FTP-PROXY... +/usr/sbin/inetd -wW -C 60 + /usr/sbin/cron 2>/dev/null exit 0 diff --git a/usr/local/www/pkg_mgr.php b/usr/local/www/pkg_mgr.php index ccd1095..1fe0cfa 100755 --- a/usr/local/www/pkg_mgr.php +++ b/usr/local/www/pkg_mgr.php @@ -104,7 +104,7 @@ if(!$pkg_config['packages']) { - + -- cgit v1.1
Package NamePackage Name Category Status Description