Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Iptables trouble
- Date: Sat, 13 Jan 2018 10:42:30 +0100
- From: Kalin KOZHUHAROV <me.kalin@example.com>
- Subject: Re: [tlug] Iptables trouble
- References: <1515641488.1593636.1231426376.22933952@webmail.messagingengine.com> <409f93ba-418e-53b3-db48-46078730185e@dcook.org> <1515819260.3076076.1233913104.0A49B843@webmail.messagingengine.com>
On Sat, Jan 13, 2018 at 5:54 AM, David J Iannucci <jlinux@example.com> wrote: >> > :INPUT DROP [150:10296] >> > :FORWARD DROP [0:0] >> > :OUTPUT ACCEPT [42178:3090645] >> >> What do the numbers in square brackets mean? I can't recall ever >> having set them. > > Darren, I believe those are counters of the number of packets processed > by those rules (this is output by iptables-save), > Aha, I remembered! That is correct and another example of mixing state data with configuration data in one file :-D (Technically state data should go to /var/lib, while settings in /etc; well, in this case file is often in /var/lib and one can argue that it is only a state, though there are no settings per se). > although when I tried > to confirm that once by sending some packets through, the counters > didn't get incremented as I expected, but... whatever :=) > I guess you need to do `iptables-save` or something, before the file on disk gets updated. Cheers, Kalin.
- References:
- [tlug] Iptables trouble
- From: David J Iannucci
- Re: [tlug] Iptables trouble
- From: Darren Cook
- Re: [tlug] Iptables trouble
- From: David J Iannucci
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Iptables trouble
- Next by Date: Re: [tlug] Modern IME
- Previous by thread: Re: [tlug] Iptables trouble
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links