#595101 dns2tcp: Fails with differing versions

Package:
dns2tcp
Source:
dns2tcp
Description:
TCP-over-DNS tunnel server and client
Submitter:
Marian Sigler
Date:
2025-08-25 22:33:02 UTC
Severity:
important
#595101#5
Date:
2010-09-01 02:15:13 UTC
From:
To:
I'm running dns2tcp 0.5.2-1 locally, but 0.4.dfsg-1 on the server.
However I cannot connect to the server.

Server output:
    02:04:19 : Debug main.c:97	Chroot to /var/lib/dns2tcpd
    02:04:44 : Debug main.c:107	Change to user dns2tcpd
    Debug queue.c:421	Received [60462] data_len 0
    Debug queue.c:422	Data of packet [60462] is AAAAAOwuAA=auth
    Debug queue.c:459	Not a client 0x0Debug queue.c:421	Received [59175]
data_len 0
    Debug queue.c:422	Data of packet [59175] is AAAAAOcnAA=auth
    Debug queue.c:459	Not a client 0x0

Client output (xxxx is the dns server, xxx.xxxx is the domain used):
    debug level 3
    Debug socket.c:233	Create socket for dns : 'xxxx'
    Debug session.c:46	Request challenge
    Debug requests.c:146	Sending dns id = 0x2d38
    Debug requests.c:95	Query is AAAAAOcnAA.=auth.xxx.xxxx len 28
Then alternating one of those:
    No response from DNS xxxx
    Error requests.c:202 Auth error = Name error

When I copy the dns2tcpc binary from the server and use this, it works
(Same when I connect from the server)

#595101#10
Date:
2025-08-25 22:30:52 UTC
From:
To:
Not relevant anymore since 0.5.2 is in all supported Debian releases.