Skip to content

TCP connection on TUN interface can not be terminated properly #1138

@Keith-amateur

Description

@Keith-amateur

my locals configuraion

"locals": [
		{
			"protocol": "redir",
			"local_address": "127.0.0.1",
			"local_port": 10080,
			"tcp_redir": "redirect",
			"mode": "tcp_only"
		},
		{
			"protocol": "tunnel",
			"local_address": "127.0.0.1",
			"local_port": 5353,
			"forward_address": "8.8.8.8",
			"forward_port": 53,
			"mode": "tcp_and_udp"
		},
		{
			"protocol": "tun",
			"tun_interface_name": "tun0",
			"tun_interface_address": "10.255.0.10/24",
			"mode": "tcp_and_udp"
		}
	]

I'm using the latest version of sslocal(v1.15.3) and my operating system is Arch Linux with kernel 6.2.2.

"curl --interface tun0 ip.gs"

I usually use the above command to check which server is the current outbound. The http response is correct.
However, there are a lot of TCP Retransmissions after the request.
2023-03-12-014559_2363x845_scrot

It seems that the second FIN can't get ack. And sslocal seems to neglect the TCP RST which is sended by br0.(the interface access to the Internet). It doesn't interfere my daliy use. I am just a little curious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions