jpillora / jpillora/chisel

--hostname option not working with https and custom ip adress

Open
#127 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
16.6k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

When i try to connect my server via --hostname option and custom ip adress in http everything is work well but when i try to connect via https, client doesnt connect server.

#Example start  commad
chisel client --max-retry-interval 1s --hostname www.example.com --pid https://8.8.8.8/ 8080';

But when I add hostname to hosts file and replace ip adress with hostname everything is fine.

İ think this program tries to ip adress as certificate domain and dont use the --hostname variable

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the supplied chisel client command with --hostname, an HTTPS URL using a custom IP address, and compare it with the hosts-file hostname case. Trace the client entry point for --hostname during HTTPS connection setup; done when the custom-IP command connects while using the hostname for certificate handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.