Show
Ignore:
Timestamp:
02/27/01 05:12:18 (8 years ago)
Author:
graham
Message:

Stuff, small changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/doc/README.SOCKS

    r17 r2484  
    11Licq with socks5 support 
    22------------------------------------------------------------------------ 
     3 
     4Download socks5-v1.0r??.tar.gz from www.socks.nec.com via the link "Socks5 
     5reference implementation". Compile and install it manually, don't use any binary 
     6(rpm deb) because you need the header files and not just socks.h. 
     7Download licq-1.0.2.tar.gz 
     8Say you extracted socks5 in /usr/local/src/socks5-v1.0r11 
     9Then configure licq with  
     10./configure --enable-socks5 
     11--with-socks5-inc=/usr/local/src/socks5-v1.0r11/include 
     12The libraries should be found automatically if you did a proper make install on 
     13the socks5 package. 
     14Add the  following to src/main.cpp after line 12 (#define SOCKS) 
     15#define INCLUDE_PROTOTYPES 
     16Copy lines 12 and 13 from this file (so the #defines) to src/socket.cpp in the 
     17beginning. 
     18Also in socket.cpp: 
     19change at lines 293 and 509 "socklen_t" by "int" 
     20Change line 418: 
     21Because of a bug in the socks5 implementation your local ip behind the firewall 
     22doesn't get assigned properly , so either set your IP manually or do a regular 
     23OS call ( youll have to do this if you're on dhcp and get a different ip from 
     24time to time).  
     25I changed it to 
     26m_sLocalAddr.sin_addr.s_addr = 0x1E10430A 
     27Where the number is my local intranet IP reversed, so its 10.67.16.30. 
     28I know this is dirty but it's fast :-) 
     29Check your Makefile in src/ if it includes the -lsocks5 directive. Then do a 
     30make and make install like always. Don't forget to update your 
     31/etc/libsocks5.conf. 
     32 
     33Jeroen Ost 
     34jeroen.ost@ubizen.com 
     35 
     36 
     37 
     38 
     39 
     40Other possibly useful information: 
     41 
    342 
    443I've spent lots of time trying to get Licq working with Linux machine,