[X] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
[X] I have searched on the issue tracker for a related issue.
Version
tun2socks-2.5.2 linux/amd64, go1.20.11, 2b494a7
What OS are you seeing the problem on?
Linux
Description
v2ray is used to connect to internet (outof china), tun2socks is used to proxy whole requests of networking. while i do testing for connecting, the curl report errors of 'curl: (35) error:0A000126:SSL routines::unexpected eof while reading', the tun2socks output logs , that contain of contents of '
Verify steps
Version
tun2socks-2.5.2 linux/amd64, go1.20.11, 2b494a7
What OS are you seeing the problem on?
Linux
Description
v2ray is used to connect to internet (outof china), tun2socks is used to proxy whole requests of networking. while i do testing for connecting, the curl report errors of 'curl: (35) error:0A000126:SSL routines::unexpected eof while reading', the tun2socks output logs , that contain of contents of '
time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43678 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43694 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43704 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43710 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43720 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43728 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43734 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43754 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43750 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43758 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43756 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43768 <-> 183.240.220.249:29011" time="2024-03-12T06:59:52Z" level=info msg="[TCP] 198.18.0.1:43770 <-> 183.240.220.249:29011" '
CLI or Config
tun0 set up
sudo ip tuntap add mode tun dev tun0 sudo ip addr add 198.18.0.1/15 dev tun0 sudo ip link set dev tun0 up
service v2ray start
sudo ip route del default sudo tun2socks -device tun0 -proxy socks5://127.0.0.1:9600 -interface enp3s0 >> /dev/null & sudo ip route add default via 198.18.0.1 dev tun0 metric 1
Logs
How to Reproduce
No response