[Feature Request] Ability to modify connection TTL
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.1k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
Sometimes ISPs enforce restriction on the Internet service based on the operating system which is being used by the customer. For example, if the Mobile network operator detects that the customer is using Windows operating system via tethering, instead of Android, to establish Internet connection, it enforces some limitations on the service.
One way that is used to detect is checking connection TTL. In order to bypass this restriction, something like the following IPTABLES rule can be used:
iptables -t mangle -I POSTROUTING -o wan -j TTL --ttl-set 65
It would be great if this could be done natively by Sing-box. An argument like this is suggested:
{
"action": "route-options",
"override_ttl": ""
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the route-options action and an iptables POSTROUTING TTL rule, but no repository files or tests. Start by locating route-options configuration handling and the platform-specific networking path; done means a configured TTL can be applied to the relevant traffic and its behavior is covered by the project's available checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100