Skip to contentSkip to conversation

iptables: "COMMIT"

DISCUSSION woger151 2 participants 2 messages Mar 1, 2007

lore
Share & tools
lore

woger151

author
#0 lore raw

I can't find any documentation on the COMMIT keyword, nor is it mentioned in the Linux firewalls book I have.

What is it? Is it necessary to use in firewall scripts?

TIA

#1 lore raw
Quoted 8 lines · On Thu, Mar 01, 2007 at 07:38:39AM -0500, woger151 wrote:

I can't find any documentation on the COMMIT keyword, nor is it mentioned in the Linux firewalls book I have.

What is it? Is it necessary to use in firewall scripts?

TIA

From the Iptables Tutorial, section iptables-save :

"The COMMIT keyword tells us that at this point we should commit all rules currently in the pipeline to kernel"

You do not need to use it in your script. This one is only used to "commit" rules from the output of the iptables-save command, as you would do with a SQL script.

Signature · 5 lines
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF  9A3C C490 534E 75C0 89FE