Subject: Re: [Openvpn-devel] QoS From: Craig Knox In-Reply-To: References: Mime-Version: 1.0 Message-Id: Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Date: Tue Oct 29 03:55:03 2002 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: Aaron Sethman Cc: openvpn-devel@lists.sourceforge.net Hi, > One of the problems I can see with this is that you give some information > away about the payload, mind you not much, but you are regardless. That is true - but for me its either give away TOS or have things become unresponsive. > I > guess if you really wanted to do this, one could modify openvpn to look at > the IP headers directly inside of openvpn and get the TOS off of the > packet and then use setsockopt() to set it for the outgoing packet. It > might not seem pretty, but it'll work. Let me know if you want me to hack > up a patch for you to do this. Cheers - Think I've manage to make the changes by getting the TOS field of the incoming packet and setting it on the udp packet - in that it seems to work.