Skip to content

Keepalive option not working on client #314

@Taknok

Description

@Taknok

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 !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions