ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Ложное сообщение о недоступности цели iptables
@ 2009-01-02 22:10 Michael A. Kangin
  2009-01-05 17:14 ` Slava Dubrovskiy
  0 siblings, 1 reply; 3+ messages in thread
From: Michael A. Kangin @ 2009-01-02 22:10 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Добрый день.

2.6.18-ovz-smp-alt26.M40.2
vzctl-3.0.22-alt2

Имеем разрешенный модуль в /etc/vz/vz.conf:
IPTABLES=".... xt_multiport"

При старте сервиса vz модуль подгружается. При входе в VE vzctl хоть и 
ругается, что модуль неизвестный, но функциональность его проявляется:
# cat /proc/net/ip_tables_matches
recent
multiport          <---- почему-то два раза
multiport
mac
...

При этом, при попытке написать правило, использующее -m multiport:
# iptables -A INPUT -p tcp -m multiport --dports 20,21,22,23 -j REJECT
FATAL: Could not load /lib/modules/2.6.18-ovz-smp-alt26.M40.2/modules.dep: No 
such file or directory
# echo $?
0
# iptables -L -nv
Chain INPUT (policy ACCEPT 10 packets, 1776 bytes)
 pkts bytes target     prot opt in     out     source               
destination
FATAL: Could not load /lib/modules/2.6.18-ovz-smp-alt26.M40.2/modules.dep: No 
such file or directory
    2   104 REJECT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           
multiport dports 20,21,22,23 reject-with icmp-port-unreachable

Появляется ссылка использования у модуля в HN:
# lsmod |grep mult
xt_multiport            7552  1

И само правило, собственно, работает.


Вопрос: на кого багу вешать?

-- 
wbr, Michael A. Kangin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-12  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-02 22:10 [Comm] Ложное сообщение о недоступности цели iptables Michael A. Kangin
2009-01-05 17:14 ` Slava Dubrovskiy
2009-02-12  9:36   ` Michael A. Kangin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git