summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-10 22:38:13 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-10 22:38:13 +0000
commita15a15e7dc503d4b83cfb30db0f37122c7085ee7 (patch)
treecdeed747f0ce644c435a9fd7b50d8ae62144193f
parent6484d9e0a1785a1d4afa1584becc260cb4a987b6 (diff)
downloadpfsense-a15a15e7dc503d4b83cfb30db0f37122c7085ee7.zip
pfsense-a15a15e7dc503d4b83cfb30db0f37122c7085ee7.tar.gz
Enable ftp-proxy
-rw-r--r--etc/inc/filter.inc3
-rw-r--r--etc/inetd.conf1
-rwxr-xr-xetc/rc3
-rwxr-xr-xusr/local/www/pkg_mgr.php2
4 files changed, 8 insertions, 1 deletions
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']) {
<td class="tabcont">
<table width="100%" border="0" cellpadding="6" cellspacing="0">
<tr>
- <td width="25%" class="listhdrr">Package Name</td>
+ <td width="10%" class="listhdrr">Package Name</td>
<td width="25%" class="listhdrr">Category</td>
<td width="5%" class="listhdrr">Status</td>
<td width="50%" class="listhdr">Description</td>
OpenPOWER on IntegriCloud