Re: [mpls-linux-general] Possible Iptables --spec_nh bug
Status: Beta
Brought to you by:
jleu
|
From: James R. L. <jl...@mi...> - 2005-05-09 18:57:28
|
On Mon, May 02, 2005 at 09:34:34AM -0300, jrussi wrote: > Leu, >=20 > You see the output from iptables -L below? Shouldn't it be > "set spec_nh 0x8847" instead of "set spec_nh 0x4788"? Yes. I must have missed a ntohs somewhere. You will have to check the kernel code and the userland code. Let me know if you find it. Otherwise I will put it on my todo list. > Please confirm.=20 > Thank you. > Josdeyvi >=20 > [root@localhost ~]# mpls nhlfe add key 0 > [root@localhost ~]# mpls nhlfe change key 0x2 instructions > push gen 10000 nexthop eth0 ipv4 10.0.1.2 > [root@localhost ~]# iptables -A OUTPUT -d 10.0.1.2 -j > spec_nh --spec_nh 0x8847:0x2 >=20 > [root@localhost ~]# iptables -L Chain INPUT (policy ACCEPT) > target prot opt source destination > RH-Firewall-1-INPUT all -- anywhere anywhere >=20 > Chain FORWARD (policy ACCEPT) > target prot opt source destination > RH-Firewall-1-INPUT all -- anywhere anywhere >=20 > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > spec_nh all -- anywhere 10.0.1.2 =20 > set spec_nh 0x4788:0x00000002 >=20 >=20 >=20 > =20 > __________________________________________________________________________ > Acabe com aquelas janelinhas que pulam na sua tela. > AntiPop-up UOL - ? gr?tis! > http://antipopup.uol.com.br/ >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general --=20 James R. Leu jl...@mi... |