<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Transparent socks proxy</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I'm running Wine 0.9.10 on a Fedora Core 5 at work.</FONT>

<BR><FONT SIZE=2 FACE="Arial">I'd like to use the Socks5 proxy we've got with application run under Wine.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The application I'm using in Wine works fine using direct connection to the internet but this application has no settings I can change to inform it of the socks proxy.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">So I'm using Sockscap32 2.38 from </FONT><A HREF="file://www.permeo.com"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">www.permeo.com</FONT></U></A><FONT SIZE=2 FACE="Arial"> . It works fine under windows on the same computer.</FONT>

<BR><FONT SIZE=2 FACE="Arial">When I launch it under wine, it starts, it let you configure and when I start the application from it I receive a wine message on an unsupported function :</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Err:virtual:NtAllocateVirtualMemory Unsupported on other process</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">This seems to come from dlls/ntdll/virtual.c where a simple test checks if it is the current process or not. Is this just a security feature or is there technical issue behind this test ?</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">1258&nbsp;&nbsp;&nbsp;&nbsp; if (!</FONT><A HREF="http://source.winehq.org/ident?i=is_current_process"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">is_current_process</FONT></U></A><FONT SIZE=2 FACE="Courier New">(</FONT> <A HREF="http://source.winehq.org/ident?i=process"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">process</FONT></U></A><FONT SIZE=2 FACE="Courier New"> ))<BR>
1259&nbsp;&nbsp;&nbsp;&nbsp; {<BR>
1260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT> <A HREF="http://source.winehq.org/ident?i=ERR"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">ERR</FONT></U></A><FONT SIZE=2 FACE="Courier New">(<I>&quot;Unsupported on other process\n&quot;</I>);<BR>
1261&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return</FONT> <A HREF="http://source.winehq.org/ident?i=STATUS_ACCESS_DENIED"><U></U><U><FONT COLOR="#0000FF" SIZE=2 FACE="Courier New">STATUS_ACCESS_DENIED</FONT></U></A><FONT SIZE=2 FACE="Courier New">;<BR>
1262&nbsp;&nbsp;&nbsp;&nbsp; }</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">So I've tried the tsocks Linux application </FONT><A HREF="http://tsocks.sourceforge.net/"><U><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">http://tsocks.sourceforge.net/</FONT></U></A><FONT SIZE=2 FACE="Arial"> to try to make the proxy transparent for Wine but here again : no success as the application does not seems to inherit / use tsocks settings.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Any ideas on how to use socks proxy under wine for applications unaware of proxies ?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Arnaud Atoch</FONT>

<BR><FONT SIZE=2 FACE="Arial">OECD</FONT>

<BR><FONT SIZE=2 FACE="Arial">Paris </FONT>

<BR><FONT SIZE=2 FACE="Arial">France.</FONT>
</P>

</BODY>
</HTML>