Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Michael Gale <michael.gale@utilitran.com>
To: Deepak Seshadri <dseshadri@broadbandmaritime.com>,
	netfilter@lists.netfilter.org
Subject: Re: Logging only the first 20 packets of a new connection
Date: Fri, 07 Jan 2005 12:46:22 -0700	[thread overview]
Message-ID: <41DEE70E.8050807@utilitran.com> (raw)
In-Reply-To: <200501071829.j07ITSXH082515@jkcpub.iserver.net>

Hello,

	I think you could use mark and limit to come up with something ... but 
why on the first 20 packets ??

I have a rule that logs all SYN packets coming from a certain end point 
that SNAT's ... so we can later track with PC made the connection if needed.

Michael.



Deepak Seshadri wrote:
> Hello everybody,
> 
> Could someone suggest how would I log only the first 15 or 20 packets of any
> new connection?
> 
> Thanks in advance,
> 
> Deepak Seshadri
> 
> 
> 

-- 
Michael Gale
Lan Administrator
Utilitran Corp.

I make better friends with those who think for them selves


  reply	other threads:[~2005-01-07 19:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07 18:29 Logging only the first 20 packets of a new connection Deepak Seshadri
2005-01-07 19:46 ` Michael Gale [this message]
2005-02-01 14:27 ` Harald Welte

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=41DEE70E.8050807@utilitran.com \
    --to=michael.gale@utilitran.com \
    --cc=dseshadri@broadbandmaritime.com \
    --cc=netfilter@lists.netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox