OpenVZ Forum


Home » International » Russian » Не работает -m comment в iptables
Не работает -m comment в iptables [message #36919] Thu, 30 July 2009 08:10 Go to previous message
lithium is currently offline  lithium
Messages: 78
Registered: April 2007
Member
Привет всем.
CentOS 5.3, OpenVZ ставил через yum, все обновления.

Попробовал запустить iptables с --comment в контейнере:
iptables v1.3.5: Unknown arg `--comment'
Try `iptables -h' or 'iptables --help' for more information.


Если указать c -m comment:
iptables: Unknown error 4294967295


C помощью locate в HN нашел:
/lib/iptables/libipt_comment.so
/lib/modules/2.6.18-128.1.1.el5.028stab062.3/kernel/net/netfilter/xt_comment.ko
[другие ядра]
/vz/private/200/lib/iptables/libipt_comment.so


Добавляю в /etc/vz/vz.conf к IPTABLES="..." xt_comment, перезагружаю контейнер:
[...]
Warning: Unknown iptable module: xt_comment, skipped
[...]

То же самое для libipt_comment и (на всякий случай) ipt_comment.

Если попробовать отдельно для контейнера:

# vzctl set 200 --iptables xt_comment
Warning: Unknown iptable module: xt_comment, skipped
Warning: Unknown iptable module: xt_comment, skipped
Bad parameter for --iptables: xt_comment



Я что-то не так сделал?

[Updated on: Thu, 30 July 2009 08:14]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: OpenVZ & 3 ip из разных подсетей
Next Topic: openvz в новых дистрибутивах
Goto Forum:
  


Current Time: Thu Sep 04 03:45:28 GMT 2025

Total time taken to generate the page: 0.05610 seconds