All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Joey" <Joey@Web56.net>
To: IPTables <netfilter@vger.kernel.org>
Subject: RE: iptables-save ?
Date: Wed, 22 Oct 2008 09:56:02 -0400	[thread overview]
Message-ID: <003401c9344d$eba9f500$c2fddf00$@net> (raw)
In-Reply-To: <op.ujfhknzmrtqp7s@chiyo.azt>

> -----Original Message-----
> From: Eljas Alakulppi [mailto:Buzer@buzer.net]
> Sent: Wednesday, October 22, 2008 9:40 AM
> To: Joey; IPTables
> Subject: Re: iptables-save ?
> 
> First is the packets matched by this rule, second is bytes matched by this
> rule. In user-defined chains counters are always zero (of course, if the
> packet is matched by some of the rules, that rule's counter is updated).
> 
> -Eljas Alakulppi
> 

Hi Eljas,

So since I am generating this file through my own code should I put 
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]



> On Wed, 22 Oct 2008 16:26:37 +0300, Joey <Joey@web56.net> wrote:
> 
> > What significance do the numbers between the brackets have?
> >
> > print ":INPUT ACCEPT [6180932:1244590784]\n";
> > print ":OUTPUT ACCEPT [6574901:1313953477]\n";
> >
> > I got those from executing a iptables-save so I can see what format I
> > needed
> > to match in generating my own save file from our IP DB.
> >
> >
> > Thanks!
> >
> > Joey
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe netfilter" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


      reply	other threads:[~2008-10-22 13:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22  8:35 iptables-save ? Joey
2008-10-22  8:42 ` Eljas Alakulppi
2008-10-22 13:26 ` Joey
2008-10-22 13:39   ` Eljas Alakulppi
2008-10-22 13:56     ` Joey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003401c9344d$eba9f500$c2fddf00$@net' \
    --to=joey@web56.net \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.