All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Wright <paua@quicksilver.net.nz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Layer 7 application blocking via tc/iptables?
Date: Fri, 29 Aug 2003 19:49:14 +0000	[thread overview]
Message-ID: <marc-lartc-106218692008981@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106201614032501@msgid-missing>

On Sat, 2003-08-30 at 03:34, Derek wrote:
> Hmm, I don't think I was clear enough in what I was asking (but thank
> you for the responses, still very informative).
> 
> I have a router/firewall running debian with a 2.5.75 kernel and the
> layer7 patch. Basically, I was wondering if someone could give me an
> example of blocking packets using the tc/ip/iptables commands based on
> the protocols in the layer7 patch. Something like
> 
> 
> Client sends AOL IM login request.
> It gets to the firewall and gets dropped because the layer7 patch
> recognized it as an AOL packet.

I think you were clear, but perhaps no-one here is familiar with this
layer7 patch.  I received many blank stares (I imagine) with my
questions about iproute2 to begin with.

The u32 filter will do the job, but you will need to spend some time
reading the docs, and pulling packets apart with ethereal.

u32 basically is a bit-filter.  It will filter on any byte sequence that
you specify, allowing great flexibility, while requiring a complete
understanding of u32 /and/ the protocol you are acting on...
unfortunately..  8-)


/steve




_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

  parent reply	other threads:[~2003-08-29 19:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-27 20:25 [LARTC] Layer 7 application blocking via tc/iptables? Derek
2003-08-28 17:54 ` Stef Coene
2003-08-29  7:37 ` Julien Gateaud
2003-08-29  8:38 ` S Mohan
2003-08-29  8:47 ` Stef Coene
2003-08-29  9:09 ` Julien Gateaud
2003-08-29 15:34 ` Derek
2003-08-29 19:49 ` Steve Wright [this message]
2003-08-29 20:07 ` Derek
2003-08-29 20:28 ` Steve Wright
2003-08-29 20:43 ` Jasper Spaans
2003-08-29 20:58 ` Nicolas Orlando Nappe
2003-08-29 23:24 ` Martin A. Brown
2003-08-29 23:55 ` Steve Wright
2003-08-30  0:19 ` Martin A. Brown
2003-08-30 21:05 ` Oskar Andreasson

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=marc-lartc-106218692008981@msgid-missing \
    --to=paua@quicksilver.net.nz \
    --cc=lartc@vger.kernel.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 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.