All of lore.kernel.org
 help / color / mirror / Atom feed
From: Victor Dario Martinez <vmartine@unicen.edu.ar>
To: lartc@vger.kernel.org
Subject: [LARTC] Filter question...
Date: Fri, 06 Dec 2002 06:10:33 +0000	[thread overview]
Message-ID: <marc-lartc-103917685300923@msgid-missing> (raw)

I have a Linux Mandrake SNF (Single Network Firewall) with 2.2.17-21mdk 
recompiled with full advanced routing options enabled. I implements de 
traffci control to prioriced aplication traficc (informix ports, 
internal aplications ports, incoming DNS queries, etc) over common 
trafic (HTML ,FTP, etc). But don't set commands filters then only use 
ipchains TOS marks with pfifo_fast or qdisc/PRIO. For example:

# tc qdisc add dev eth0 root handle 1: prio
# tc qdisc add dev eth0 parent 1:1 handle 10: sfq
# tc qdisc add dev eth0 parent 1:2 handle 20: tbf rate 20kbit buffer 
1600 limit 3000
# tc qdisc add dev eth0 parent 1:3 handle 30: sfq
# tc qdisc show
qdisc sfq 30: dev eth0 quantum 1514b
qdisc tbf 20: dev eth0 rate 20Kbit burst 1599b lat 667.6ms
qdisc sfq 10: dev eth0 quantum 1514b
qdisc prio 1: dev eth0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
# tc filter add dev eth0 parent 10:0 protocol ip prio 1 u32  match ip 
dst 4.3.2.1/32 flowid 10:1
RTNETLINK answers: Invalid argument
#  

:(.  Any idea ?



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

             reply	other threads:[~2002-12-06  6:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-06  6:10 Victor Dario Martinez [this message]
2002-12-06 16:28 ` [LARTC] Filter question Andrea Rossato
  -- strict thread matches above, loose matches on Subject: below --
2005-01-07 13:29 Andre Correa
2005-01-07 19:50 ` Andy Furniss
2005-01-07 19:59 ` Andy Furniss

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-103917685300923@msgid-missing \
    --to=vmartine@unicen.edu.ar \
    --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.