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:	Mon, 13 Feb 2012 00:49:56 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	jbenc@...hat.com
Cc:	netdev@...r.kernel.org
Subject: Re: [PATCH 2/2 net-next] net: implement IP_RECVTOS for
 IP_PKTOPTIONS

From: Jiri Benc <jbenc@...hat.com>
Date: Thu, 9 Feb 2012 20:35:49 +0100

> Currently, it is not easily possible to get TOS/DSCP value of packets from
> an incoming TCP stream. The mechanism is there, IP_PKTOPTIONS getsockopt
> with IP_RECVTOS set, the same way as incoming TTL can be queried. This is
> not actually implemented for TOS, though.
> 
> This patch adds this functionality, both for IPv4 (IP_PKTOPTIONS) and IPv6
> (IPV6_2292PKTOPTIONS). For IPv4, like in the IP_RECVTTL case, the value of
> the TOS field is stored from the other party's ACK.
> 
> This is needed for proxies which require DSCP transparency. One such example
> is at http://zph.bratcheda.org/.
> 
> Signed-off-by: Jiri Benc <jbenc@...hat.com>

All new features should be submitted against the net-next tree, and this
patch didn't apply there cleanly.

I fixed up the problems, but now that you've been warned I won't do so
for you next time.
--
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