> -----Original Message----- > From: Eljas Alakulppi [mailto:Buzer@xxxxxxxxx] > 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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx > > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html