From: "Frank Renwick" Date: Fri, 4 May 2012 14:26:51 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0062_01CD2A01.F3637D90" Message-ID: Subject: [Openvpn-devel] using --passtos in conjunction with --fragment in OpenVPN 2.2.1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. ------=_NextPart_000_0062_01CD2A01.F3637D90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I hope this question is appropriate for this list. I tried the openvpn-users list and did not get a response. We use openvpn for router-to-router tunneling in a hub-and-spoke VPN deployment. We utilize the --fragment option to avoid IP-layer fragmentation. Recently we encountered a use case in which it became desirable to pass the ToS Byte from the inner IP payload to the OpenVPN IP header (we wish the outer IP header to inheret the ToS byte of the payload datagram). OpenVPN provides the --passtos option for this purpose, and when used without also implementing the --fragment option it works as advertised in our test lab. However, when we implement --passtos and --fragment together, the ToS byte of the inner payload datagram is not copied directly to the OpenVPN IP header. For example, if 0xB8 is the ToS byte value in the original payload, then the OpenVPN IP header is 0xC0. I suspect that this issue is related to the 4-byte reservation incurred by exercising the --fragment option. Is there anything we can do to enable us to use both options in conjunction? Thanks, frank ------=_NextPart_000_0062_01CD2A01.F3637D90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello,
 
I hope this question is appropriate for this=20 list.  I tried the openvpn-users list and did not get a=20 response.
 
We use op= envpn for=20 router-to-router tunneling in a hub-and-spoke VPN=20 deployment.
 
We utiliz= e the=20 --fragment option to avoid IP-layer fragmentation.
 
Recently = we=20 encountered a use case in which it became desirable to pass the ToS Byte fr= om=20 the inner IP payload to the OpenVPN IP header  (we wish the outer= IP=20 header to inheret the ToS byte of the payload datagram).
 
OpenVPN p= rovides the=20 --passtos option for this purpose, and when used without also implementing = the=20 --fragment option it works as advertised in our test lab.  However, wh= en we=20 implement --passtos and --fragment together, the ToS byte of the inner payl= oad=20 datagram is not copied directly to the OpenVPN IP header.  For example= , if=20 0xB8 is the ToS byte value in the original payload, then the OpenVPN IP hea= der=20 is 0xC0.
 
I suspect= that this=20 issue is related to the 4-byte reservation incurred by exercising the --fra= gment=20 option.  Is there anything we can do to enable us to use both options = in=20 conjunction?
 
Thanks,
 
frank
 
------=_NextPart_000_0062_01CD2A01.F3637D90--