MUTP: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
(Новая: =Борьма с мелкими пакетами mUTP= правило для dgs-3426+pptp: <PRE> create access_profile profile_id 1 packet_content_mask offset_chunk_1 7 0x00FF0000 off...)
 
Строка 6: Строка 6:
 
create access_profile profile_id 1 packet_content_mask offset_chunk_1 7 0x00FF0000 offset_chunk_2 15 0x0000FF00 offset_chunk_3 23 0x00FFFFFF offset_chunk_4 24 0xFFFF0000
 
create access_profile profile_id 1 packet_content_mask offset_chunk_1 7 0x00FF0000 offset_chunk_2 15 0x0000FF00 offset_chunk_3 23 0x00FFFFFF offset_chunk_4 24 0xFFFF0000
 
config access_profile profile_id 1 add access_id auto_assign packet_content offset_chunk_1 0x2F000000 offset_chunk_2 0x11000000 offset_chunk_3 0x007FFFFF offset_chunk_4 0x00FFAB00 port 1-24 deny
 
config access_profile profile_id 1 add access_id auto_assign packet_content offset_chunk_1 0x2F000000 offset_chunk_2 0x11000000 offset_chunk_3 0x007FFFFF offset_chunk_4 0x00FFAB00 port 1-24 deny
  +
</PRE>
  +
  +
Linux
  +
<PRE>
  +
-A FORWARD -m udp -p udp -m string --hex-string "|7F FF FF FF AB|" --algo kmp --from 40 --to 44 -m statistic --mode random --probability 0.90 -j DROP
 
</PRE>
 
</PRE>

Версия 16:36, 1 марта 2010

Борьма с мелкими пакетами mUTP

правило для dgs-3426+pptp:

create access_profile profile_id 1 packet_content_mask offset_chunk_1 7 0x00FF0000 offset_chunk_2 15 0x0000FF00 offset_chunk_3 23 0x00FFFFFF offset_chunk_4 24 0xFFFF0000
config access_profile profile_id 1 add access_id auto_assign packet_content offset_chunk_1 0x2F000000 offset_chunk_2 0x11000000  offset_chunk_3 0x007FFFFF offset_chunk_4 0x00FFAB00 port 1-24 deny

Linux

-A FORWARD -m udp -p udp -m string --hex-string "|7F FF FF FF AB|" --algo kmp --from 40 --to 44 -m statistic --mode random --probability 0.90 -j DROP