All of lore.kernel.org
 help / color / mirror / Atom feed
* Log with log amount
@ 2004-10-28 10:27 thaian
  2004-10-28 10:39 ` George Alexandru Dragoi
  2004-10-28 11:59 ` Alexey Toptygin
  0 siblings, 2 replies; 3+ messages in thread
From: thaian @ 2004-10-28 10:27 UTC (permalink / raw)
  To: netfilter

Hi All

In FreeBSD, ipfw uitiliy can log with amount of packet:
        ipfw add 1200 deny log tcp from any to any log-amount 100

But with netfilter, I do not see any option for setting amount of packet I want to  log
        iptables -A INPUT -j LOG ...................????

Thai An


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Log with log amount
  2004-10-28 10:27 Log with log amount thaian
@ 2004-10-28 10:39 ` George Alexandru Dragoi
  2004-10-28 11:59 ` Alexey Toptygin
  1 sibling, 0 replies; 3+ messages in thread
From: George Alexandru Dragoi @ 2004-10-28 10:39 UTC (permalink / raw)
  To: netfilter

Hi,

I am not sure, but i think the ULOG target can do this with
--ulog-cprange parameter. I may be wrong, i never tested ULOG. Fot
ULOG you need a deamon called ulogd.


On Thu, 28 Oct 2004 17:27:17 +0700, thaian <thaian@6wind.com> wrote:
> Hi All
> 
> In FreeBSD, ipfw uitiliy can log with amount of packet:
>         ipfw add 1200 deny log tcp from any to any log-amount 100
> 
> But with netfilter, I do not see any option for setting amount of packet I want to  log
>         iptables -A INPUT -j LOG ...................????
> 
> Thai An
> 
> 


-- 
Bla bla


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Log with log amount
  2004-10-28 10:27 Log with log amount thaian
  2004-10-28 10:39 ` George Alexandru Dragoi
@ 2004-10-28 11:59 ` Alexey Toptygin
  1 sibling, 0 replies; 3+ messages in thread
From: Alexey Toptygin @ 2004-10-28 11:59 UTC (permalink / raw)
  To: thaian; +Cc: netfilter

On Thu, 28 Oct 2004, thaian wrote:

> Hi All
>
> In FreeBSD, ipfw uitiliy can log with amount of packet: ipfw add 1200 
> deny log tcp from any to any log-amount 100
>
> But with netfilter, I do not see any option for setting amount of packet 
> I want to log iptables -A INPUT -j LOG ...................????

Umm, is

iptables -A INPUT -m limit --limit 100/day -j LOG

what you want? Or are you trying to limit to 100 packets ever?

 			Alexey


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-28 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 10:27 Log with log amount thaian
2004-10-28 10:39 ` George Alexandru Dragoi
2004-10-28 11:59 ` Alexey Toptygin

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.