shadowsocks / shadowsocks/shadowsocks-rust
Feature request: lifecycle hooks for sslocal
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 10.9k
- Forks
- 1.5k
- Avg merge
- 4d 15h
- Merged PRs (30d)
- 5
Description
Hey guys, may i request small feature. In a vein of openvpn or wireguard, will it be possible to have:
PreStart, PostStart, PreExit, PostExit hooks (may be others) for sslocal ?
Just arbitrary shell commands to execute before/after establishing/terminating connection to remote ssserver.
Will make routing tables setup so much simpler for local-tun feature.
Will greatly appreciate.
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
Start by locating sslocal's connection lifecycle and the local-tun routing setup. Define the required hook points around establishing and terminating the remote ssserver connection, then verify that the requested pre- and post-commands run at the expected stages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, shell
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100