Skip to content

Keepalive option not working on client #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Taknok opened this issue Nov 27, 2021 · 0 comments
Closed

Keepalive option not working on client #314

Taknok opened this issue Nov 27, 2021 · 0 comments

Comments

@Taknok
Copy link
Contributor

Taknok commented Nov 27, 2021

Hi,

The tunnel created in the client never receive the configuration of the client for the keepalive parameter. This can be verified by setting a print in the function keepAliveLoop as done on this branch. Running the client with this command:

go build && ./chisel client --keepalive 1s -v --auth XXX https://server.com socks

Give this output:

2021/11/27 13:15:36 client: Connecting to wss://server.com:443
2021/11/27 13:15:36 client: tun: proxy#127.0.0.1:1080=>socks: Listening
2021/11/27 13:15:36 client: tun: Bound proxies
2021/11/27 13:15:37 client: Handshaking...
2021/11/27 13:15:37 client: Sending config
2021/11/27 13:15:37 client: Connected (Latency 49.781634ms)
2021/11/27 13:15:37 client: tun: SSH connected

Thank you for this amazing tool !

@Taknok Taknok mentioned this issue Nov 27, 2021
@Taknok Taknok closed this as completed Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant