From aa21adfe18f0be22465e255ff8de5e74c8aa4cda Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 28 Apr 2016 08:40:26 +0200 Subject: [PATCH] firewall: mark deprecated ICMP types; closes #912 Taken from: http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml --- src/www/firewall_rules.php | 28 ++++++++++++++-------------- src/www/firewall_rules_edit.php | 28 ++++++++++++++-------------- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/www/firewall_rules.php b/src/www/firewall_rules.php index f878d481c..49da2c7c5 100644 --- a/src/www/firewall_rules.php +++ b/src/www/firewall_rules.php @@ -501,22 +501,22 @@ $( document ).ready(function() { gettext("any"), - "echoreq" => gettext("Echo request"), - "echorep" => gettext("Echo reply"), - "unreach" => gettext("Destination unreachable"), - "squench" => gettext("Source quench"), + "echoreq" => gettext("Echo Request"), + "echorep" => gettext("Echo Reply"), + "unreach" => gettext("Destination Unreachable"), + "squench" => gettext("Source Quench (Deprecated)"), "redir" => gettext("Redirect"), - "althost" => gettext("Alternate Host"), - "routeradv" => gettext("Router advertisement"), - "routersol" => gettext("Router solicitation"), - "timex" => gettext("Time exceeded"), - "paramprob" => gettext("Invalid IP header"), + "althost" => gettext("Alternate Host Address (Deprecated)"), + "routeradv" => gettext("Router Advertisement"), + "routersol" => gettext("Router Solicitation"), + "timex" => gettext("Time Exceeded"), + "paramprob" => gettext("Parameter Problem"), "timereq" => gettext("Timestamp"), - "timerep" => gettext("Timestamp reply"), - "inforeq" => gettext("Information request"), - "inforep" => gettext("Information reply"), - "maskreq" => gettext("Address mask request"), - "maskrep" => gettext("Address mask reply") + "timerep" => gettext("Timestamp Reply"), + "inforeq" => gettext("Information Request (Deprecated)"), + "inforep" => gettext("Information Reply (Deprecated)"), + "maskreq" => gettext("Address Mask Request (Deprecated)"), + "maskrep" => gettext("Address Mask Reply (Deprecated)") ); if (isset($filterent['protocol']) && $filterent['protocol'] == "icmp" && !empty($filterent['icmptype'])): ?> diff --git a/src/www/firewall_rules_edit.php b/src/www/firewall_rules_edit.php index 32c791691..c02c302d0 100644 --- a/src/www/firewall_rules_edit.php +++ b/src/www/firewall_rules_edit.php @@ -856,22 +856,22 @@ include("head.inc"); gettext("any"), - "echoreq" => gettext("Echo request"), - "echorep" => gettext("Echo reply"), - "unreach" => gettext("Destination unreachable"), - "squench" => gettext("Source quench"), + "echoreq" => gettext("Echo Request"), + "echorep" => gettext("Echo Reply"), + "unreach" => gettext("Destination Unreachable"), + "squench" => gettext("Source Quench (Deprecated)"), "redir" => gettext("Redirect"), - "althost" => gettext("Alternate Host"), - "routeradv" => gettext("Router advertisement"), - "routersol" => gettext("Router solicitation"), - "timex" => gettext("Time exceeded"), - "paramprob" => gettext("Invalid IP header"), + "althost" => gettext("Alternate Host Address (Deprecated)"), + "routeradv" => gettext("Router Advertisement"), + "routersol" => gettext("Router Solicitation"), + "timex" => gettext("Time Exceeded"), + "paramprob" => gettext("Parameter Problem"), "timereq" => gettext("Timestamp"), - "timerep" => gettext("Timestamp reply"), - "inforeq" => gettext("Information request"), - "inforep" => gettext("Information reply"), - "maskreq" => gettext("Address mask request"), - "maskrep" => gettext("Address mask reply") + "timerep" => gettext("Timestamp Reply"), + "inforeq" => gettext("Information Request (Deprecated)"), + "inforep" => gettext("Information Reply (Deprecated)"), + "maskreq" => gettext("Address Mask Request (Deprecated)"), + "maskrep" => gettext("Address Mask Reply (Deprecated)") ); foreach ($icmptypes as $icmptype => $descr): ?>