mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 14:33:00 +02:00
Drop reserved ports from the web GUI.
Recently, TCP/UDP ports 222 and 444 among others could not be forwareded (DNAT) to another machine on the network. This is unneccessary and now removed.
This commit is contained in:
@@ -3,6 +3,7 @@ var/ipfire/langs/
|
||||
etc/rc.d/init.d/console
|
||||
usr/local/sbin/setup
|
||||
var/ipfire/graphs.pl
|
||||
srv/web/ipfire/cgi-bin/portfw.cgi
|
||||
srv/web/ipfire/cgi-bin/logs.cgi/log.dat
|
||||
usr/local/share/GeoIP/GeoIP.dat
|
||||
usr/share/hwdata/pci.ids
|
||||
|
||||
@@ -1038,7 +1038,7 @@ sub disallowreserved
|
||||
{
|
||||
# port 67 and 68 same for tcp and udp, don't bother putting in an array
|
||||
my $msg = "";
|
||||
my @tcp_reserved = (81,222,444);
|
||||
my @tcp_reserved = ();
|
||||
my $prt = $_[0]; # the port or range
|
||||
my $ryn = $_[1]; # tells us whether or not it is a port range
|
||||
my $prot = $_[2]; # protocol
|
||||
|
||||
Reference in New Issue
Block a user