Does anyone have socks 5 working in 7.1.1?
I tried to move from SOCKS4 (that works for me) to SOCKS5 and it looks like it is BROKEN. Here is what I got from wireshark communication:
/ip/socks/set auth-method=password
C->S 05 02 00 02 // Client proposes auth methods: 0-none 2-user/pass
S->C 05 02 // Server chooses 2-user/pass auth method
C->S 05 02 64 6d 01 31 // Client provide credentials: user:dm pass:1
S->C 01 01 // What is it??? At least VER==05 is expected as first byte, 2nd is status 01=general SOCKS server failure
/ip/socks/set auth-method=none
C->S 05 01 00 // Client proposes auth methods: 0-none
S->C 05 00 // Server chooses 0-none auth method
C->S 05 01 00 03 1864656269616e2e696e662e74752d6472657364656e2e6465 // Client issues CONNECT(01) with DOMAINNAME(03) of 0x18 bytes
S->C 05 00 00 01 c0 a8 64 fa b2 6c // Server reports success(00) with IPv4 192.168.100.250 port 0xb26c
C->S <270 bytes of GET request>
S->C ACK and 3ms later RST // WHY???
The GET request is following:
GET /debian-cd/11.2.0/i386/iso-cd/debian-edu-11.2.0-i386-netinst.iso HTTP/1.0
User-Agent: Download Master
Accept: */*
Referer: http://debian.inf.tu-dresden.de/debian-cd/11.2.0/i386/iso-cd/
Pragma: no-cache
Cache-Control: no-cache
Host: debian.inf.tu-dresden.de
Through SOCKS4 I can download this file (of course after reconfiguration of Mikrotik and Download Master to use SOCKS4).
To decoding I used SOCKS5 specification SOCKS Protocol Version 5 and Username/Password Authentication for SOCKS V5
I have not tried more advanced SOCKS5 features like BIND, UDPASSOC and IPV6, this will be next step of investigation after CONNECT will start to work.