From: FB <register@flintz.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Layer 7 packet classifier doesn't recognize packets sent
Date: Mon, 24 Jan 2005 18:45:52 +0000 [thread overview]
Message-ID: <41F54260.9010601@flintz.de> (raw)
In-Reply-To: <41F2BE8C.9050101@flintz.de>
Thanks!
Now it works :)
But I have another little problem: I need 2(3) different chains (one for
traffic only from the router (done by this chain), one for the complete
traffic generatet from router AND computers behind the router and one
for connections only established from computers behind the router).
Any ideas how to accomplish that?
-FB
George Alexandru Dragoi wrote:
> Try this
> iptables -t mangle -N local
>
> iptablts -t mangle -A INPUT -i $INET_IFACE -j local
> iptables -t mangle -A OUTPUT -o $INET_IFACE -j local
>
> iptables -t mangle -A local -p tcp -m layer7 --l7proto http -j DROP
>
> I only think it may work, i say this because local packets are passing
> INPUT and OUTPUT, while routed packets will always pass POSTROUTING
> (and l7-filter need to make a match both ways: incoming and outgoing
> packets)
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2005-01-24 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-22 20:58 [LARTC] Layer 7 packet classifier doesn't recognize packets sent by the router FB
2005-01-23 8:31 ` [LARTC] Layer 7 packet classifier doesn't recognize packets sent by the router itself George Alexandru Dragoi
2005-01-24 18:45 ` FB [this message]
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=41F54260.9010601@flintz.de \
--to=register@flintz.de \
--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.