Skip to contentSkip to conversation

openvpn question

Openvpn-devel Raj Kumar 2 participants 3 messages May 10, 2012

lore
Share & tools
lore

Raj Kumar

author
#0 lore raw

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 ?


Regards
Raj Kumar

#1 lore raw

Hi Raj,

Quoted 5 lines · Raj Kumar

Hi all,

I am new to openvpn. I am using openvpn on my linux machine.

Quoted 9 lines

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

author
#2 lore raw

Hi JJK,

Thanks a lot for quick responds.  your answer really helped me.

Regards
Raj

________________________________
From: Jan Just Keijser <[email protected]...>
To: Raj Kumar <[email protected]...>
Cc: "[email protected]" <[email protected]>
Sent: Thursday, May 10, 2012 2:17 PM
Subject: Re: [Openvpn-devel] openvpn question

Hi Raj,

Quoted 5 lines · Raj Kumar

Hi all,

I am new to openvpn. I am using openvpn on my  linux machine.

Quoted 8 lines

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