All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick McHardy <kaber@trash.net>
To: Simon <simon.xhz@gmail.com>
Cc: Fabrice Rafart <fabrice.rafart@efs.sante.fr>,
	netfilter-devel@lists.netfilter.org
Subject: Re: Follow packets in rules
Date: Mon, 18 Jun 2007 18:14:30 +0200	[thread overview]
Message-ID: <4676AF66.3020408@trash.net> (raw)
In-Reply-To: <f7de5e030706180912x1233c6e8rfbdfb2459cb8b7de@mail.gmail.com>

Simon wrote:
>> I know this possibility and I use it for log some packets but I can't
>> double
>> all my rules (almost 200) by a log rule.
> 
> 
> Hi Fabrice,
>  I don't log everything too.  I usually choose some types of
> information to log, and some IP's to log from.  For example, a friend
> connected to my pc and logged in to a secure website, at that moment,
> i stop logging this guy, the website logs in its own way.  Somebody
> that is still trying stuff and has not yet connected for X minutes
> will then get flagged as a suspect and different logging takes place
> (to avoid DoS, and others).
> 
>  One last detail, is if your rules are done well, you don't need to
> log much.  Logging more would be for "debuging" or "development" in my
> opinion.  So when I was suggesting to have a log identify each rules
> passed by each packets it wasn't for a production environment.  But
> then again, if you asked this kind of question, i hope it wasn't for a
> prod system!
> 
>  As for testing the rules, I think the best way is to craft packets
> and send them to the interface.  There are some hacking tools that
> permit to make raw ethernet frames and provide "easy" way of modifying
> packets at the ip or tcp level and they work like scripts that you
> execute.


Just FYI, Jozsef sent a patch to merge TRACE into mainline today, I'll
most likely send it upstream for 2.6.23.

  reply	other threads:[~2007-06-18 16:14 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 18:08 Follow packets in rules Fabrice Rafart
2007-06-12 21:41 ` Simon
2007-06-13  7:31   ` Fabrice Rafart
2007-06-18 16:12     ` Simon
2007-06-18 16:14       ` Patrick McHardy [this message]
2007-06-13  8:57 ` Pablo Neira Ayuso
2007-06-13 15:43   ` Juan León
2007-06-13 16:28     ` Samuel Jean
2007-06-13 16:53       ` Patrick McHardy
2007-06-13 19:43         ` Jozsef Kadlecsik
2007-06-14  7:55           ` Fabrice Rafart
2007-06-14 13:13           ` Patrick McHardy
2007-06-14 14:18             ` Jozsef Kadlecsik
2007-06-14 14:23               ` Patrick McHardy
2007-06-18 10:16                 ` Jozsef Kadlecsik
2007-06-18 12:49                   ` Patrick McHardy
2007-06-18 13:05                     ` Jozsef Kadlecsik
2007-06-18 13:08                       ` Patrick McHardy
2007-06-22 14:20                   ` Patrick McHardy
2007-06-23 16:45                     ` Jozsef Kadlecsik
2007-06-24 14:48                       ` Patrick McHardy
2007-06-25 12:19                         ` Patrick McHardy
2007-06-25 12:49                           ` Jan Engelhardt
2007-06-25 12:52                             ` Patrick McHardy
2007-06-25 13:00                             ` Patrick McHardy
2007-06-25 13:52                               ` Jan Engelhardt
2007-06-25 13:55                                 ` Patrick McHardy
2007-07-03 15:07 ` Fabrice Rafart

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=4676AF66.3020408@trash.net \
    --to=kaber@trash.net \
    --cc=fabrice.rafart@efs.sante.fr \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=simon.xhz@gmail.com \
    /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.