Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: FB <register@flintz.de>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: layer 7 netfilter not working
Date: Fri, 09 Jul 2004 23:12:31 +0000	[thread overview]
Message-ID: <40EF265F.4000304@flintz.de> (raw)

> I wouldn't bet the layer7 match works in table filter. You could try
> 
> $IPTABLES -t mangle -A POSTROUTING -m layer7 --l7dir /etc/l7-protocols
> --l7proto ftp -j LOG --log-prefix 'marked: '
> 
> and watch your logs. Um, and /etc/l7-protocols does contain your pattern
> definitions, right?

Yes there are my definition. And your idea with the logging was great, I 
did it and guess what, the packets showed up in /var/log/syslog, so I 
guess the layer7 classifier is working, but now I wonder why it still 
doesn't shape (and remember DROP didn't work either, but there I am not 
sure if it wasn't a configure mistake by me).

I changed the line back to:

$IPTABLES -t mangle -A POSTROUTING -m layer7 --l7dir /etc/l7-protocols 
--l7proto ftp -j MARK --set-mark 322

But the shaping still doesn't work. I didn't want to terrorize you all 
by posting my whole shapingskript here, so I uploaded it here:

http://www.flintz.de/shaping.txt

Would be really nice if someone could search the script for any mistakes!

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

                 reply	other threads:[~2004-07-09 23:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=40EF265F.4000304@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox