[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

icq и socks5, люди ну как?



Привет всем!

    Этот вопрос я уже задавал, но так и ничего не выходит.
Скажите как настроить эту сладкую парочку:

Исходные данные:

ICQ99B под Виндами
socks5r10 от NEC под Linux 2.0.38 Debian Slink

Как заставить эту долбаную ICQ работать через
socks5?

Мой конфиг:

set SOCKS5_BINDPORT 195.222.130.226:1080
set SOCKS5_NOREVERSEMAP
set SOCKS5_NOSERVICENAME
set SOCKS5_UDPPORTRANGE 1024-10000
set SOCKS5_TIMEOUT 10
set SOCKS5_PWDFILE=/etc/socks5/socks5.passwd
set SOCKS5_USER socks5

auth - - -
interface 192.168.10. - 192.168.10.1
interface - - 195.222.130.226

noproxy - -
permit - - 192.168.10. - - -


Ессно, что в ICQ включена настройка на socks5

Вот что при попытке сделать "Connect"
Лог:
27395: Socks5 starting at Thu Jun  8 14:30:57 2000 in normal mode
27395: Config: Reading config file: /etc/socks5/socks5.config
27395: Interface Query: if0 addr/mask is 0100007f:000000ff
27395: Interface Query: if0 is lo(1) with 1 IPs
27395: Interface Query: if1 addr/mask is 420aa8c0:00ffffff
27395: Interface Query: if1 is tunl0(1) with 1 IPs
27395: Interface Query: if2 addr/mask is 010aa8c0:00ffffff
27395: Interface Query: if2 is eth0(1) with 1 IPs
27395: Interface Query: if3 addr/mask is e282dec3:fcffffff
27395: Interface Query: if3 is eth1(1) with 1 IPs
27395: Config: Config file read
27395: Socks5 attempting to run on interface 0.0.0.0:1080
27395: Accept: Waiting on accept or a signal
27395: Parent: 1 child
27395: Accept: Waiting on accept or a signal
27396: Child: Starting
27396: Check: Checking host address (000aa8c0 == 000aa8c0)?
27396: Check: Checking port range   (0 <= 1235 <= 65535)?
27396: Route: Line 11: Matched
27396: Checking Authentication
27396: Check: Checking port range   (0 <= 1235 <= 65535)?
27396: Auth: Line 10: Matched
27396: Socks5: Told client to do authentication method #0
27396: Socks5: Read initial protocol
27396: Socks5: Read address part of protocol
27396: Proxy: vers:5 cmnd:3 addr:0.0.0.0 port:1236 user:
27396: UDP Proxy Request: (192.168.10.88:1235) for user
27396: Checking Authorization
27396: Check: Checking commands: Anything is ok
27396: Check: Checking auths: Anything is ok
27396: Check: Checking host address (000aa8c0 == 000aa8c0)?
27396: Check: Checking port range   (0 <= 1236 <= 65535)?
27396: Perm: Line 14:matched
27396: lsSendResponse: reply is (192.168.10.1:1024)
27396: lsSendResponse: response sent
27396: UDP Proxy Established: (192.168.10.88:1236) for user
27396: UDP Receive: Selecting on outer sockets...
27396: UDP Receive: Selecting on inner socket...
27396: UDP Receive: Selecting...
27396: UDP Receive: received a message from 192.168.10.88:1236
27396: Resolve Names: Starting
27396: Resolve names: Unresolved host name: icq.mirabilis.com
27396: Resolve Names: host name: icq.mirabilis.com is 205.188.153.116
27396: Resolve Names: Looking up service name
27396: Resolve Names: Looking up next proxy
27396: Check: Checking port range   (0 <= 4000 <= 65535)?
27396: Proxy: Line 13: Matched
27396: Resolve Names: No Next Proxy
27396: CheckCache: The dst (205.188.153.116:4000) is not cached
27396: Checking Authorization
27396: Check: Checking commands: Anything is ok
27396: Check: Checking auths: Anything is ok
27396: Check: Checking host address (000aa8c0 == 000aa8c0)?
27396: Check: Checking port range   (0 <= 1236 <= 65535)?
27396: Check: Checking port range   (0 <= 4000 <= 65535)?
27396: Check: Checking username,  is in -
27396: Perm: Line 14:matched
27396: UDP Client Receive: Received valid message of length 125
27396: Check: Checking host address (0099bccd == 000aa8c0)?
27396: Route: Line 10: Destination host didn't match
27396: Check: Checking port range   (0 <= 4000 <= 65535)?
27396: Route: Line 11: Matched
27396: UDP Out interface: 195.222.130.226:1236
27396: UDP Send: Sending to 205.188.153.116:4000
27396: UDP Send: Sending a message of length 125
27396: UDP Send: Client Sent Message to 205.188.153.116:4000
27396: UDP Receive: Selecting on outer sockets...
27396: UDP Receive: Selecting on inner socket...
27396: UDP Receive: Selecting...
27396: UDP Receive: received a message from 205.188.153.116:4000
27396: Check: Checking host address (0099bccd == 000aa8c0)?
27396: Route: Line 10: Destination host didn't match
27396: Check: Checking port range   (0 <= 4000 <= 65535)?
27396: Route: Line 11: Matched
27396: UDP Server Receive: Received valid message of length 21
27396: UDP Send: Sending to 192.168.10.88:1236
27396: UDP Send: Sending a message of length 31
27396: UDP Send: Client Recveived Message from 205.188.153.116:4000
7396: UDP Receive: Selecting on outer sockets...
27396: UDP Receive: Selecting on inner socket...
27396: UDP Receive: Selecting...

после этого пауза где-то в одну минуту

27396: S5IOCheck: Checking socket status
27396: S5IOCheck: ok
27396: UDP Receive: client closed connection
27396: Proxy: cleaning command context
27396: UDP Proxy Termination: (192.168.10.88:1236) for user ; 173 bytes out
21 bytes in
27396: Proxy: done cleaning up
27395: Accept: Waiting on accept or a signal


Может мой firewall виноват, но где я тоже не вижу:
ipfwadm -I -l

acc   all  server.maxima.ru     server.maxima.ru     n/a
acc   all  server.tvmaxima.perm.ru server.maxima.ru     n/a
acc   tcp  mail.ccl.ru          server.maxima.ru     any -> smtp
acc   tcp  mail.ccl.ru          server.maxima.ru     any -> auth
acc   tcp  anywhere           server.maxima.ru     any -> socks
acc   udp  anywhere          server.maxima.ru     any -> socks
rej   tcp  anywhere             server.maxima.ru     any -> 0:1024


Люди! Не дайте погибнуть!

Виктор




Reply to: