From: Darko Koruga <darko.koruga@hermes.si>
To: lartc@vger.kernel.org
Subject: [LARTC] Policing question
Date: Fri, 01 Feb 2002 11:59:11 +0000 [thread overview]
Message-ID: <marc-lartc-101256480824355@msgid-missing> (raw)
Hi,
the Advanced routing HOWTO says: "Configuration is achieved using 'tc
filter police' commands." in section 14.4. However in section 15.2
"Protecting your host from SYN floods" the sample script calls tc
filter add. I get the following error when using the sample
script:/sbin/tc filter add dev eth0 parent ffff: protocol ip prio 50
handle 1 fw police rate 1kbit burst 40 mtu 9k drop flowid :1
RTNETLINK answers: Invalid argument
Here are my kernel settings:
CONFIG_NETFILTER=y
CONFIG_NETLINK_DEV=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
Can someone shed a light why the sample script won't work please ?
It'd be greatly appreciated.
Cheers,
Darko
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
reply other threads:[~2002-02-01 11:59 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=marc-lartc-101256480824355@msgid-missing \
--to=darko.koruga@hermes.si \
--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