Policing question
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=yCONFIG_NETLINK_DEV=mCONFIG_IP_NF_MATCH_MARK=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_MARK=mCONFIG_NET_SCHED=yCONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_CSZ=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_INGRESS=mCONFIG_NET_QOS=yCONFIG_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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/