Message-ID: <4FAB80BA.9070500@...1147...> Date: Thu, 10 May 2012 10:47:54 +0200 From: Jan Just Keijser MIME-Version: 1.0 References: <1336639383.83791.YahooMailNeo@...1721...> In-Reply-To: <1336639383.83791.YahooMailNeo@...1721...> Subject: Re: [Openvpn-devel] openvpn question List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: Raj Kumar Cc: "openvpn-devel@lists.sourceforge.net" Hi Raj, Raj Kumar wrote: > > Hi all, > > I am new to openvpn. I am using openvpn on my linux machine. > > I have a basic question about openvpn. > > How openvpn process the incoming packets ? > > Is it processing incoming packets one by one, means receive one packet > from the kernel, decrypt it and send it back to the kernel then next > packet ? > or > whenever a packet comes, openvpn receives and queues it while doing > decryption of already received packet ? > > openvpn processes the incoming packets one by one , both from the VPN side (the encrypted packets) , and the packets coming in via the tun/tap interface. This is one of the main reasons why openvpn speeds top off at around ~ 300 Mbps. HTH, JJK