linux-2.6.14.3-2.1, smp opteron amd64, zwisy terminala

Paweł Sikora pluto w agmk.net
Pią, 9 Gru 2005, 03:32:31 CET


Dnia wtorek, 6 grudnia 2005 13:07, Przemysław Stanisław Knycz napisał:
> Mariusz Warchał wrote:
> > U mnie rozwiazalem problem puszczajac wszystkie karty sieciowe przez IMQ
> > bo mialem ciagle zwisy a po pewnym czasie w lsmod
>
> Ja miałem problem wymaskować z imq0, ale to chyba dlatego że SNATem
> robię masq.
>
> Narazie wróciłem na sf v20z do 2.6.11.10-6, nie działa mi dummy na
> 2.6.14.3-2.3, wali komunikatami małozrozumiałymi.
>
> tc filter add dev eth0 parent ffff: protocol ip prio 10 u32 \
> match u32 0 0 flowid 1:1 \
> action ipt -j MARK --set-mark 1 \
> action mirred egress redirect dev dummy0
>
> and get:
> tablename: mangle hook: NF_IP_PRE_ROUTING
>         target: MARK set 0x1  index 0
> Action 4 device dummy0 ifindex 5
> RTNETLINK answers: Operation not supported
> We have an error talking to the kernel

zmienilem w konfigach kernela opcje. teraz sa przestawione na:

CONFIG_NET_CLS_ACT=y
CONFIG_NET_ACT_POLICE=m
CONFIG_NET_ACT_GACT=m
# CONFIG_GACT_PROB is not set
CONFIG_NET_ACT_MIRRED=m
CONFIG_NET_ACT_IPT=m
CONFIG_NET_ACT_PEDIT=m
# CONFIG_NET_ACT_SIMP is not set

i twoj przyklad prawie dziala:

# tc filter add dev eth0 parent ffff: protocol ip prio 10 u32 match u32 0 0 \
  flowid 1:1 action ipt -j MARK --set-mark 1 action mirred egress redirect \
  dev dummy0
/usr/local/lib/iptables/libipt_mark.so: cannot open shared object file:
 No such file or directory failed to find target MARK

bad action parsing
parse_action: bad value (11:ipt)!
Illegal "action"

-- 
to_be || !to_be == 1, to_be | ~to_be == -1



Więcej informacji o liście dyskusyjnej pld-devel-pl