简单透明的代理库。
Go to file
2024-07-04 13:18:26 +08:00
.github Update workflow 2024-06-09 10:03:37 +08:00
internal Remove dependency on comshim 2024-04-06 22:38:48 +08:00
.gitignore Update .gitignore 2024-02-26 13:22:15 +08:00
.golangci.yml Fix linter 2024-06-09 13:41:05 +08:00
go.mod Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
go.sum Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
LICENSE Init commit 2022-07-11 17:15:22 +08:00
Makefile Update gci usage 2023-06-10 08:50:20 +08:00
monitor_android.go Improve ipv6 route 2022-09-07 12:38:55 +08:00
monitor_darwin.go auto-redirect: Add route address set support for nftables 2024-06-16 15:37:27 +08:00
monitor_linux_default.go Add mixed stack 2023-08-12 19:38:06 +08:00
monitor_linux.go avoid netlink dos networkUpdateMonitor 2024-04-06 22:23:48 +08:00
monitor_other.go Add mixed stack 2023-08-12 19:38:06 +08:00
monitor_shared.go Do not submit EventNoRoute repeatedly 2024-06-06 22:29:41 +08:00
monitor_windows.go Fix monitor 2023-08-07 20:31:52 +08:00
monitor.go Add DefaultInterface func 2023-10-26 14:08:21 +08:00
network_name.go Add route support 2023-03-22 01:28:18 +08:00
packages_android.go Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
packages_stub.go Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
packages.go Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
README.md Fix system stack for ios 2023-04-17 20:02:10 +08:00
redirect_iptables.go auto-redirect: Fix iptables rules 2024-07-04 00:25:07 +08:00
redirect_linux.go auto-redirect: Fix nftables available check 2024-07-04 13:18:26 +08:00
redirect_nftables_exprs.go Using netipx.IPSet safely 2024-06-22 13:01:06 +08:00
redirect_nftables_rules_openwrt.go auto-redirect: Add route address set support for nftables 2024-06-16 15:37:27 +08:00
redirect_nftables_rules.go Avoid hijack DNS requests send to loopback 2024-06-24 19:36:41 +08:00
redirect_nftables.go Skip generate nftables output chain if lo in excluded interface list 2024-06-17 13:29:56 +08:00
redirect_server.go Fix missing address unwrap in redirect server 2024-06-09 10:03:38 +08:00
redirect_stub.go Add auto-redirect 2024-06-07 15:48:43 +08:00
redirect.go auto-redirect: Add route address set support for nftables 2024-06-16 15:37:27 +08:00
stack_gvisor_err.go Add handshake interface support for gVisor UDP 2023-08-07 20:32:32 +08:00
stack_gvisor_filter.go Update gVisor to 20240212.0-65-g71212d503 2024-05-07 19:52:59 +08:00
stack_gvisor_log.go Add handshake interface support for gVisor UDP 2023-08-07 20:32:32 +08:00
stack_gvisor_stub.go Add mixed stack 2023-08-12 19:38:06 +08:00
stack_gvisor_udp.go Make DNS hijack optional 2024-06-07 15:49:16 +08:00
stack_gvisor.go Update gVisor to 20240206.0 2024-05-07 19:52:59 +08:00
stack_mixed.go Update gVisor to 20240206.0 2024-05-07 19:52:59 +08:00
stack_system_nat.go Add handshake interface support for gVisor UDP 2023-08-07 20:32:32 +08:00
stack_system_nonwindows.go Add handshake interface support for gVisor UDP 2023-08-07 20:32:32 +08:00
stack_system_windows.go Add handshake interface support for gVisor UDP 2023-08-07 20:32:32 +08:00
stack_system.go system-stack: Fix EADDRNOTAVAIL on new Android systems 2024-07-04 13:18:26 +08:00
stack.go Add StackOptions.IncludeAllNetworks 2024-05-07 20:20:44 +08:00
tun_darwin_gvisor.go Update gVisor to 20240212.0-65-g71212d503 2024-05-07 19:52:59 +08:00
tun_darwin.go auto-redirect: Add route address set support for nftables 2024-06-16 15:37:27 +08:00
tun_linux_flags.go Add GSO support 2023-12-21 16:51:06 +08:00
tun_linux_gvisor.go Add GSO support 2023-12-21 16:51:06 +08:00
tun_linux_offload_errors.go Add GSO support 2023-12-21 16:51:06 +08:00
tun_linux_offload.go Add GSO support 2023-12-21 16:51:06 +08:00
tun_linux.go Use new fswatcher to udpate android packages 2024-06-26 11:02:47 +08:00
tun_nondarwin.go Add system stack 2022-09-08 18:11:26 +08:00
tun_nonlinux.go Add GSO support 2023-12-21 16:51:06 +08:00
tun_other.go Add create tun from file descriptor 2023-02-26 17:11:24 +08:00
tun_rules.go Fix "Fix darwin routes" 2024-06-06 22:29:38 +08:00
tun_windows_gvisor.go Update gVisor to 20240212.0-65-g71212d503 2024-05-07 19:52:59 +08:00
tun_windows.go Fix linter 2024-06-09 13:41:05 +08:00
tun.go auto-redirect: Add route address set support for nftables 2024-06-16 15:37:27 +08:00

sing-tun

Simple transparent proxy library.

For Linux, Windows, macOS and iOS.

License

Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.