summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-07-15 10:51:53 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-07-15 10:51:53 -0700
commit7cf567cb1538070ea204b64e53135de876c12dd3 (patch)
tree1b37f837ac64be8a9e7237b8d1a9736230546575 /etc
parent1eb6d30dae07ef661966d05b681a623ee02a7dda (diff)
downloadvyatta-cfg-firewall-7cf567cb1538070ea204b64e53135de876c12dd3.tar.gz
vyatta-cfg-firewall-7cf567cb1538070ea204b64e53135de876c12dd3.zip
Fix bug 4629 configuration limit of recent count firewall rule is 20
* raise recent count limit to 255. add syntax check to disallow invalid values
Diffstat (limited to 'etc')
-rw-r--r--etc/modprobe.d/vyatta_xt_recent22
1 files changed, 22 insertions, 0 deletions
diff --git a/etc/modprobe.d/vyatta_xt_recent b/etc/modprobe.d/vyatta_xt_recent
new file mode 100644
index 0000000..d517838
--- /dev/null
+++ b/etc/modprobe.d/vyatta_xt_recent
@@ -0,0 +1,22 @@
+#
+# **** License ****
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License version 2 as
+# published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# This code was originally developed by Vyatta, Inc.
+# Portions created by Vyatta are Copyright (C) 2010 Vyatta, Inc.
+# All Rights Reserved.
+# **** End License ****
+#
+# Author: Mohit Mehta
+# Description: Set number of packets per IP to remember to 255 for recent
+# match condition. Default value was 20 as of July 14, 2010
+#
+
+options xt_recent ip_pkt_list_tot=255