Author Topic: M-U-T-E M-F-C [Http Proxy for TOR-PRIVOXY] E-D-I-T-I-O-N  (Read 6841 times)

0 Members and 1 Guest are viewing this topic.

Offline crypton

  • Elite
  • *****
  • Posts: 1699
  • Karma: +10/-0
    • View Profile
M-U-T-E M-F-C [Http Proxy for TOR-PRIVOXY] E-D-I-T-I-O-N
« on: July 21, 2006, 01:54:33 PM »
hi

i see now thanks for info tym100  8)
http://aa.vslib.cz/silk/projekty/mute/index.php

i have a modify  mute mfc core source the webclient.cpp

it now works with a http proxy i added there 127.0.0.1:8118
then when you are using tor + privoxy then can be connect anonymous  to webcaches.

only when tor + privoxy is running!
when is not running then uses without proxy.

modifyd code in WebClient.cpp:

Quote
        /* silk-mod-start
      HostAddress *host = new HostAddress(
        stringDuplicate( serverNameCopy ),
        portNumber ); silk-mod-end*/
        HostAddress *host = new HostAddress(
        stringDuplicate( "127.0.0.1" ),
        8118 );
           
    Socket *sock = SocketClient::connectToServer( host );

    char *finalURL = stringDuplicate( inURL );
    char *mimeType = NULL;

    int receivedLength = 0;

   
    if( sock != NULL ) {
        SocketStream *stream = new SocketStream( sock );

        // method and trailing space need to be sent in the same
        // buffer to work around a bug in certain web servers
        char *methodWithSpace = new char[ strlen( inMethod ) + 2 ];
        sprintf( methodWithSpace, "%s ", inMethod );
       
        // send the request
        stream->writeString( methodWithSpace );
        /*silk-mod-start stream->writeString( getPath ); silk-mod-end*/
        stream->writeString( inURL );
        stream->writeString( " HTTP/1.0\r\n" );
        stream->writeString( "Host: " );
        stream->writeString( serverNameCopy );
        stream->writeString( "\r\n\r\n" );




Download win32 MUTE-MFC http proxy Edition :
MFC_MUTE.zip

« Last Edit: July 21, 2006, 02:46:30 PM by crypton »

jcruz0918

  • Guest
Re: M-U-T-E M-F-C [Http Proxy for TOR-PRIVOXY] E-D-I-T-I-O-N
« Reply #1 on: May 05, 2009, 04:21:52 AM »
When they modified it i saw that the edition was in not a good procedure,,but its ok for the code that the nice layout can be made.







« Last Edit: May 05, 2009, 10:24:01 AM by Markus »

Offline Nemo

  • Global Moderator
  • Elite
  • *****
  • Posts: 1303
  • Karma: +27/-0
    • View Profile
Re: M-U-T-E M-F-C [Http Proxy for TOR-PRIVOXY] E-D-I-T-I-O-N
« Reply #2 on: May 05, 2009, 08:15:38 AM »
Hi jcruz0918!

Welcome on Bo(a)rd!

When they modified it i saw that the edition was in not a good procedure,,but its ok for the code that the nice layout can be made.
Huh? I don't understand your posting. Could you explain it further? Did you try to apply the patch for proxied connections to WebCaches? Did it work?

Does MUTE have many users and much content? Last time I tried it I wasn't impressed...  :P


Greetings,
Nemo.