lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 10 Jun 2009 01:26:53 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	robert@...ur.slu.se
Cc:	netdev@...r.kernel.org, davem@...emloft.net, Matheos.Worku@....COM,
	Jens.Laas@....uu.se
Subject: Re: SUN Neptune byte order bug in TCAM filter/ethtool

From: Robert Olsson <robert@...ur.slu.se>
Date: Wed, 6 May 2009 18:16:07 +0200

> # This rule makes the TCAM drop pkts with IP-src 10.10.10.1 
> # Note the reversed byte-order. Machine is Opteron little Endian.
> 
> ethtool -N  eth0  rx-class-rule-add ip4 udp sip 1.10.10.10 drop  
> 
> # The rule listed
> 
> ethtool  -n eth0  rx-class-rule-all 
> Total 1 rules
> 
>       IPv4 Rule:   ID[84] Target[Discard]
>       IP src addr[1.10.10.10] mask[255.255.255.255]
>       IP dst addr[0.0.0.0] mask[0.0.0.0]
>       L4 proto[UDP]
>       L4 src port[0] mask[0x0]
>       L4 dst port[0] mask[0x0]
>       IP TOS[0x0] mask[0x0]

I suspect that ethtool is probably to blame, the kernel seems
sane and treats the IP addresses, ports, etc. as big-endian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ