Skip to content

v7.8.0

Choose a tag to compare

@github-actions github-actions released this 19 May 16:10
· 103 commits to main since this release

What's Changed

Major changes:

  • add apply_wifi_bypass(), dynamically manage net_bypass chain
  • hot switch inserts/deletes key chain rules directly, no service restart or touch disable needed
  • introduce double debounce lock: timestamp check + lock file, prevents repeated triggers and concurrency during network fluctuations
  • optimize state machine logic: accurately distinguish disabled / bypassed / proxying / enabled states
  • refactor rules_add(): batch collect local ipv4/ipv6 addresses and apply rules at once, reducing iptables calls
  • improve ssid and ip change detection, clearer logging

1. Network switch mechanism deep refactor (iptables hot switch)

  • switch method upgraded from module start stop to iptables hot switch, greatly improving response speed and stability

2. Transparent proxy rules optimization

  • clean up leftover rules, enhance rule robustness
  • fix asymmetry in tproxy rule cleanup
  • optimize ipv6 leftover rule cleanup logic
  • refactor dns hijacking and redirect logic, improve reliability
  • enhance overall logging for easier troubleshooting

3. Startup and service optimization

  • optimize boot sequence
  • improve system firewall unblock logic
  • inotifyd startup detection more reliable
  • optimize hosts dynamic mounting process

Other updates

  • config update: config.yaml add hosts rules, update ipv4 array, etc

Tips

deep refactor around network and stability:

  • faster and smoother network switch response
  • improve ipv4/ipv6 dual stack compatibility
  • reduce rule leftovers, concurrency conflicts, and unnecessary service restarts
  • network filtering no longer relies on hard module service start stop