Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Sergey Matveychuk
24.09.2012 19:20, Gert Doering wrote: Hi, On Mon, Sep 24, 2012 at 02:56:50AM -0700, ehsan enayati wrote: thanks for your quick reply, I know that openvpn is single threaded but it supports multiple user connection simultaneously, I wanted to know how this is done although it just have one thr

Re: [Openvpn-devel] [PATCH] fix sending udp datagrams from wrong ip address

2012-09-24 Thread Krzysztof Witek
On 09/24/2012 07:30 PM, Krzysztof Witek wrote: On 09/24/2012 07:28 PM, Davide Brini wrote: On Mon, 24 Sep 2012 19:20:18 +0200, Krzysztof Witek wrote: From: Krzysztof Witek If multiple ip addresses of the same subnet are configured on an interface, openvpn may not send udp datagrams to the p

Re: [Openvpn-devel] [PATCH] fix sending udp datagrams from wrong ip address

2012-09-24 Thread Krzysztof Witek
On 09/24/2012 07:28 PM, Davide Brini wrote: On Mon, 24 Sep 2012 19:20:18 +0200, Krzysztof Witek wrote: From: Krzysztof Witek If multiple ip addresses of the same subnet are configured on an interface, openvpn may not send udp datagrams to the peer using the correct source ip address. If a h

Re: [Openvpn-devel] [PATCH] fix sending udp datagrams from wrong ip address

2012-09-24 Thread Davide Brini
On Mon, 24 Sep 2012 19:20:18 +0200, Krzysztof Witek wrote: > From: Krzysztof Witek > > If multiple ip addresses of the same subnet are configured on an > interface, openvpn may not send udp datagrams to the peer > using the correct source ip address. > > If a host sends the udp datagrams to th

[Openvpn-devel] [PATCH] fix sending udp datagrams from wrong ip address

2012-09-24 Thread Krzysztof Witek
From: Krzysztof Witek If multiple ip addresses of the same subnet are configured on an interface, openvpn may not send udp datagrams to the peer using the correct source ip address. If a host sends the udp datagrams to the ip address A, then it should receive the answer from A even if the its p

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Gert Doering
Hi, On Mon, Sep 24, 2012 at 02:56:50AM -0700, ehsan enayati wrote: > thanks for your quick reply, I know that openvpn is single threaded but it > supports multiple user connection simultaneously, I wanted to know how this > is done although it just have one thread. "by sufficiently advanced mag

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread ehsan enayati
thanks for your quick reply, I know that openvpn is single threaded but it supports multiple user connection simultaneously, I wanted to know how this is done although it just have one thread. thanks   - From: Gert Doering To: ehsan enayati Cc: "openvpn-de

Re: [Openvpn-devel] multi threading support

2012-09-24 Thread Gert Doering
Hi, On Mon, Sep 24, 2012 at 02:00:46AM -0700, ehsan enayati wrote: > Hi, i wanna know how does openvpn server handles multiple requests? > for example if there is an active connection with a client on 1194 > port and another requests from some other client comes in what will > happen? Is this task

[Openvpn-devel] multi threading support

2012-09-24 Thread ehsan enayati
Hi, i wanna know how does openvpn server handles multiple requests? for example if there is an active connection with a client on 1194 port and another requests from some other client comes in what will happen? Is this task managed in operating system or by openvpn itself? Thanks