From bf4841ff6d263ccc4dd28a4478482a857b18e42a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 21 Jun 2005 16:38:18 +0000 Subject: [PATCH] Remove iplen settings. We're no longer on ipfw any more, toto. --- usr/local/www/firewall_shaper_edit.php | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/usr/local/www/firewall_shaper_edit.php b/usr/local/www/firewall_shaper_edit.php index 49797108ed..2434ca7537 100755 --- a/usr/local/www/firewall_shaper_edit.php +++ b/usr/local/www/firewall_shaper_edit.php @@ -73,7 +73,6 @@ if (isset($id) && $a_shaper[$id]) { $pconfig['direction'] = $a_shaper[$id]['direction']; $pconfig['iptos'] = $a_shaper[$id]['iptos']; - $pconfig['iplen'] = $a_shaper[$id]['iplen']; $pconfig['tcpflags'] = $a_shaper[$id]['tcpflags']; $pconfig['descr'] = $a_shaper[$id]['descr']; $pconfig['disabled'] = isset($a_shaper[$id]['disabled']); @@ -237,10 +236,6 @@ if ($_POST) { $_POST['dstbeginport'] = $tmp; } - if (($_POST['iplen'] && !preg_match("/^(\d+)(-(\d+))?$/", $_POST['iplen']))) { - $input_errors[] = "The IP packet length must be an integer or a range (from-to)."; - } - if (!$input_errors) { $shaperent = array(); $shaperent['interface'] = $_POST['interface']; @@ -259,7 +254,6 @@ if ($_POST) { $_POST['dstbeginport'], $_POST['dstendport']); $shaperent['direction'] = $_POST['direction']; - $shaperent['iplen'] = $_POST['iplen']; $shaperent['iptos'] = $_POST['iptos']; $shaperent['tcpflags'] = $_POST['tcpflags']; $shaperent['descr'] = $_POST['descr']; @@ -653,14 +647,6 @@ function dst_rep_change() { Use this to match packets according to their IP TOS values. - - IP packet length - -
- Setting this makes the rule match packets of a given length - (either a single value or a range in the syntax from-to, - e.g. 0-80). - TCP flags