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-next>] [day] [month] [year] [list]
Message-ID: <53F51880.5060704@candelatech.com>
Date:	Wed, 20 Aug 2014 14:52:00 -0700
From:	Ben Greear <greearb@...delatech.com>
To:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: pktgen and tos

Here's a half-arsed bug report, in case someone is bored.

At least in my hacked up pktgen, you cannot set a one-digit tos,
because the parser fails if length is not 2 digits.

echo tos 4 > /proc/net/pktgen/rddVR2 && cat /proc/net/pktgen/rddVR2

...
Result: ERROR: tos must be 00-ff

If you use '04' instead, it works.  In my case, it will be easier to hack user-space
to deal with this than fix pktgen, but I thought someone might want to fix it proper.

Also, could be that upstream code doesn't have this limitation...

Thanks,
Ben

-- 
Ben Greear <greearb@...delatech.com>
Candela Technologies Inc  http://www.candelatech.com
--
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