Jump to content
Калькуляторы

[Решено] Iptables TOS не работает

Привет всем!

Не могу разобраться, понадобилось установить TOS в исходящих пакетах.

Система на базе buildroot, встроенная.

iptables -j TOS говорит 

Quote

iptables v1.8.6 (legacy): Couldn't load target `TOS':No such file or directory

Файл /usr/lib/xtables/libxt_TOS.so есть.

 

В  /proc/net/ip_tables_targets TOS нету и не появляется. 

 

Подозреваю отсутствие какого-то ядерного модуля или опции.

Но никакой информации по этому поводу найти не могу...

Edited by capt
Решение найдено

Share this post


Link to post
Share on other sites

Сам нашел, может кому понадобится

 

"DSCP" and "TOS" target support

modulename: xt_DSCP.ko
configname: CONFIG_NETFILTER_XT_TARGET_DSCP

Linux Kernel Configuration
└─> Networking support
└─> Networking options
└─> Network packet filtering framework (Netfilter)
└─> Core Netfilter Configuration
└─> "DSCP" and "TOS" target support

 

This option adds a `DSCP' target, which allows you to manipulate
the IPv4/IPv6 header DSCP field (differentiated services codepoint).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.