Commit Graph

38 Commits (d76f4f1795f66ab856c52d4d24af2aa3dc6d0dfc)

Author SHA1 Message Date
Mike Liu 582e36aef9 Iptables enhancements (#2789)
* Add the flush parameter.

When specified the flush parameter indicates that this module should remove all
rules from the specified table. If no table parameter is specified then the
default filter table is flushed.

* Add support for setting chain policies.

The module supports setting the policy of a given chain and table to the
following target values, ACCEPT, DROP, QUEUE, and RETURN. This parameter ignores
all other unrelated parameters.

* Fix pep8 issues.

* Fix missing quotation.

* Make 'flush' and 'policy' parameters mutually exclusive.

This combination is not supported by the wrapped iptables command. 'flush' and
'policy' however, can both take the 'chain' argument.
8 years ago
Linus Unnebäck 344dcc95c0 iptables: remove duplicated documentation (#2673)
Fixes #1527
8 years ago
Elena Washington 3ca06bf1c8 iptables: option to configure Source NAT (#2292)
* Clean up trailing whitespace

* Add `--to-source` option to allow Source NAT (fix for #2291)
9 years ago
Daniel Vigueras 735c1b6219 Add insert support to iptables. (#1180)
Add insert support to iptables.
9 years ago
Pavel Samokha a0566037b4 iptables module - icmp-type better doc style 9 years ago
Pavel Samokha 7092118119 fix icmp-type 9 years ago
Pavel Samokha 747f6f6736 iptables module - add icmp_type 9 years ago
Aaron Brady e2138c7e14 Add `to_destination` parameter 9 years ago
David Hocky 031f98e86c fix dscp marking documentation in iptables module 9 years ago
Pavel Sychev eda178a988 Added version restriction for uid_owner and reject_with. 9 years ago
Pavel Sychev c15dcf888b Added docs for reject_with and uid_owner. 9 years ago
Pavel Sychev 12890b14b2 Added reject_with and uid_owner support. 9 years ago
Rene Moser cd3daf5763 iptables: add defaults to docs 9 years ago
David Hocky 404267b064 add version added to new params 9 years ago
David Hocky b89f0f44d0 fix doc issue 9 years ago
David Hocky c9e3c57ee9 add support for setting dscp marks with iptables module 9 years ago
Brian Coca cd64f20034 added missing version_added 9 years ago
Brian Coca ff554a76d7 Merge pull request #1402 from doalitic/iptables-add-limit-burst
Add limit-burst support to iptables module
9 years ago
Daniel Vigueras 16d17d287f iptables: fix param check in append_csv function 9 years ago
Daniel Vigueras ece6872b81 iptables: add --limit-burst option 9 years ago
Brian Coca aae5847064 Merge pull request #1403 from LinusU/linusu-iptables-cleanup
iptables: cleanup
9 years ago
Matt Martz 9342bd7c38 Import module snippets in the correct location 9 years ago
Linus Unnebäck cdf7fa2250 iptables: cleanup 9 years ago
Gordon Fierce b0196edb34 Fix documentation to prevent formatting error where each letter has its own line. 9 years ago
Romain Brucker e0bdd2e7f6 Editing iptable module to use -m state --state instead of -m conntrack --ctstate 9 years ago
Romain Brucker 2b04f0c5cf Fixing limit type from list to string 9 years ago
Romain Brucker dbee2266e1 Adding limit feature to iptables module 9 years ago
Brian Coca 6a87eed586 made ctstate default to [] and evaluation conditional on the list being popoulated 9 years ago
Brian Coca ea2fd78e6a fixed default from None to [] for ctstate 9 years ago
Brian Coca f5ed8d0c6e made ctstate accept lists 9 years ago
Daniel Vigueras b0278c1f6a Add conntrack module ctstate support to iptables 9 years ago
Brian Coca 360734ec09 whitespace fixes 9 years ago
Romain Brucker c648edfbae Adding comment support for iptables module 9 years ago
Alexander 64d5502fbe fix typo error
fix spell error for whether
9 years ago
Toshio Kuratomi 5adc4a2014 Fix docs to build 9 years ago
Linus Unnebäck e5f2931707 iptables: add note about rules 9 years ago
Linus Unnebäck 3c4e6f58b0 iptables: expand rule options 9 years ago
Linus Unnebäck 5cd6b56453 module: system/iptables 9 years ago