Re: [mpls-linux-general] Possible Iptables --spec_nh bug
Status: Beta
Brought to you by:
jleu
|
From: Ramon C. <cas...@in...> - 2005-05-02 18:03:05
|
On Mon, 2 May 2005, jrussi wrote: > Leu, > > You see the output from iptables -L below? Shouldn't it be > "set spec_nh 0x8847" instead of "set spec_nh 0x4788"? possibly there is a missing htons in the iptables patch. I'll sync the source code tomorrow Regards, R. > > Please confirm. > Thank you. > Josdeyvi > > [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 > > [root@localhost ~]# iptables -L Chain INPUT (policy ACCEPT) > target prot opt source destination > RH-Firewall-1-INPUT all -- anywhere anywhere > > Chain FORWARD (policy ACCEPT) > target prot opt source destination > RH-Firewall-1-INPUT all -- anywhere anywhere > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > spec_nh all -- anywhere 10.0.1.2 > set spec_nh 0x4788:0x00000002 > > > __________________________________________________________________________ Acabe com aquelas janelinhas que pulam na sua tela. AntiPop-up UOL - =C9 gr=E1tis! http://antipopup.uol.com.br/ > > > > ------------------------------------------------------- > 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 > _______________________________________________ > mpls-linux-general mailing list > mpl...@li... > https://lists.sourceforge.net/lists/listinfo/mpls-linux-general > // ------------------------------------------------------------------- // Ramon Casellas - GET/ENST/INFRES/RHD/A508 - cas...@in... // Tel: +33 (0)1 45 81 75 88 Fax: +33 (0)1 45 81 71 58 // 37/39 rue Dareau 75014 Paris -- http://perso.enst.fr/~casellas |