kite Posted July 7, 2021 Posted July 7, 2021 фильтр ограничивает входящие pppoe PADI пакеты до 3 в секунду # tc qdisc add dev $IFACE handle ffff: ingress # tc filter add dev $IFACE parent ffff: pref 100 protocol 0x8863 u32 match u16 0x1109 0xffff at 0 police rate 1200 buffer 300b drop flowid :1 на debian 7-9 всё работает как надо. на debian 10: # tc -s filter ls dev $IFACE parent ffff: pref 100 hit остаётся по нулям (rule hit 0 success 0) что может быть не так? Вставить ник Quote
kite Posted August 24, 2021 Author Posted August 24, 2021 отвечу сам себе на 10м debian можно правило изменить таким образом: # tc qdisc add dev $IFACE handle ffff: ingress # tc filter add dev $IFACE parent ffff: pref 100 protocol all u32 match u16 0x8863 0xffff at -2 match u16 0x1109 0xffff at 0 police rate 1200 buffer 300b drop flowid :1 Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.