iptables chain rule specifation

This is a discussion on iptables chain rule specifation within the Linux Programming forums, part of the Platform Specific Boards category; friends, In one of the script i observerd following line. Code: $iptables -A inwan_level_input_filter -p icmp -j logInboundPermitted do these ...

  1. #1
    Registered User
    Join Date
    Mar 2008
    Location
    India
    Posts
    108

    iptables chain rule specifation

    friends,

    In one of the script i observerd following line.

    Code:
    $iptables -A inwan_level_input_filter -p icmp -j logInboundPermitted
    do these "inwan_level_input_filter" and "logInboundPermitted" can be a group of chain rules or any label .

    If it is a group of chain rules , how can it be created.


    thanks

  2. #2
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,249
    The group of rules is called a chain, and they can be created with the -N option.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Misra Rule 11.2
    By hammer1234 in forum C Programming
    Replies: 1
    Last Post: 04-06-2006, 07:28 AM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. chain of objects within pop framework help needed
    By Davey in forum C++ Programming
    Replies: 0
    Last Post: 04-15-2004, 10:01 AM
  4. Rule of 72
    By sonict in forum C++ Programming
    Replies: 12
    Last Post: 01-23-2003, 07:31 PM
  5. Who should rule the world?
    By CoderBob in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 02-07-2002, 06:01 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21