SagerNet / SagerNet/sing-box

[Feature request]client_subnet添加自动获取选项

Open
#4,408 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
38.1k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

因为国内运营商跨省/网间结算缘故,很多视频/直播等大流量网站dns查询会有针对性优化。希望添加client_subnet能有个auto选项,自动检测出口ip。

最好是能通过tun检测。避免出口是内网ip干扰。

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

No files or tests are named. Start by locating the client_subnet configuration and the tun handling, then trace how the outbound address is determined. Done means an auto option detects the public egress IP without being misled by a private or internal address.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.