From: Russell Morris Date: Tue, 26 Jul 2011 18:03:23 -0500 Message-id: <1311721403985112500@...1315...> In-reply-to: <4E2E3AC5.2030005@...1299...> References: <1311649077083710500@...1315...> <4E2E3AC5.2030005@...1299...> MIME-version: 1.0 Content-type: multipart/alternative; boundary="===axigen=1380009752418712912922309638767780531129=axigen===" Subject: Re: [Openvpn-devel] Windows Auto-Proxy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Haar Cc: openvpn-devel@lists.sourceforge.net This is a MIME message. You may need a MIME compliant mail user agent. --===axigen=1380009752418712912922309638767780531129=axigen=== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, =20 I admit, I didn't know about that option - guess I missed that ... :-(. =20 When you mentioned it though, I was very happy to see it - so I decided to = give it a try. It doesn't seem to work for me though (perhaps because of pr= oxy PAC files?). Is there a way to see what proxy OpenVPN detected (to try = to debug this)? =20 Thanks, ... Russell =20 On Mon, 07/25/2011 10:55 PM, Jason Haar wrote: >=20 On 26/07/11 14:57, Russell Morris wrote:=20 >=20 >=20 *=20 *=20 *=20 I use OpenVPN with a Windows client, and I tend to be on one network one mi= nute, another the next. One time with a proxy, the next time without =E2=80= =A6 so I really want OpenVPN to automatically detect the proxy (if there is= one), and apply it =E2=80=A6 for every connection restart, client open, et= c. My thinking is to add a new option, say something like =E2=80=9Cauto-pro= xy=E2=80=9D (so this won=E2=80=99t break anything that is already working!)= . The idea being that if this option is enabled, then on every connection /= reconnection attempt OpenVPN will first check the proxy, and then apply it= for the actual connection back to the server. Hopefully this makes sense s= o far =E2=80=A6 J. ...isn't that already done by "--auto-proxy"? Been part of openvpn since 2.= 1(ish?) BTW: I totally agree this is a big deal. For openvpn to be truly brilliant,= it needs 1. one config to handle both udp and tcp-based "" profiles [sor= ta supported] 2. "fragment", "mss-fix" and proxy support within profiles [not currently = supported - which effectively makes "1." never work in practice] 3. dynamically figure out if a proxy is available and use that for TCP-base= d profiles [I thought that was supported by "--auto-proxy"] With such features and a properly ordered config, you'd have a VPN client t= hat would tunnel out over UDP if it can, TCP if it can't, and TCP-via-proxy= if it has to. Basically, you'd be guaranteed a working VPN session on any = network that you're meant to be able to do such things on (with one config). --=20 Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ---------------------------------------------------------------------------= --- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ __________________________= _____________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel --===axigen=1380009752418712912922309638767780531129=axigen=== Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi,

 

I admit, I didn't know about that option - guess I missed that ... :-(.<= /P>

 

When you mentioned it though, I was very happy to see it - so I decided = to give it a try. It doesn't seem to work for me though (perhaps because of= proxy PAC files?). Is there a way to see what proxy OpenVPN detected (to t= ry to debug this)?

 

Thanks,

... Russell

 



On Mon, 07/25/2011 10:55 PM, Jason Haar <Jason.Haar= @...1299...> wrote:

On 26/07/11 14:57, Russell Morris wrote:=20

I use OpenVPN with a Windows client, and I tend to be = on one network one minute, another the next. One time with a proxy, the nex= t time without =E2=80=A6 so I really want OpenVPN to automatically detect t= he proxy (if there is one), and apply it =E2=80=A6 for every connection res= tart, client open, etc. My thinking is to add a new option, say something l= ike =E2=80=9Cauto-proxy=E2=80=9D (so this won=E2=80=99t break anything that= is already working!). The idea being that if this option is enabled, then = on every connection / reconnection attempt OpenVPN will first check the pro= xy, and then apply it for the actual connection back to the server. Hopeful= ly this makes sense so far =E2=80=A6 J.


..= .isn't that already done by "--auto-proxy"? Been part of openvpn since 2.1(= ish?)

BTW: I totally agree this is a big deal. For openvpn to be tru= ly brilliant, it needs

1. one config to handle both udp and tcp-base= d "<connection>" profiles [sorta supported]
2. "fragment", "mss-fi= x" and proxy support within profiles  [not currently supported - which= effectively makes "1." never work in practice]
3. dynamically figure ou= t if a proxy is available and use that for TCP-based profiles [I thought th= at was supported by "--auto-proxy"]

With such features and a properl= y ordered config, you'd have a VPN client that would tunnel out over UDP if= it can, TCP if it can't, and TCP-via-proxy if it has to. Basically, you'd = be guaranteed a working VPN session on any network that you're meant to be = able to do such things on (with one config).


--=20
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
---------------------------------------------------------------------= ---------
Magic Quadrant for Content-Aware Data Loss Prevention
Resea= rch study explores the data loss prevention market. Includes in-depth
an= alysis on the changes within the DLP market, and the criteria used to
ev= aluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.co= m/jaw/sfnl/114/51385063/ ______________________________________________= _
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
<= A href=3D"http://server.home:8080/redir.hsp?url=3D%68%74%74%70%73%3A%2F%2F%= 6C%69%73%74%73%2E%73%6F%75%72%63%65%66%6F%72%67%65%2E%6E%65%74%2F%6C%69%73%= 74%73%2F%6C%69%73%74%69%6E%66%6F%2F%6F%70%65%6E%76%70%6E%2D%64%65%76%65%6C"= target=3D_blank>https://lists.sourceforge.net/lists/listinfo/openvpn-devel=
= --===axigen=1380009752418712912922309638767780531129=axigen===--