├── .editorconfig ├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── README.md ├── Rakefile ├── Vagrantfile ├── cmake ├── config.h.cmake ├── libev.cmake ├── liblwip.cmake └── libyaml.cmake ├── libev ├── Changes ├── LICENSE ├── Makefile.am ├── Makefile.in ├── README ├── Symbols.ev ├── Symbols.event ├── TODO ├── aclocal.m4 ├── autogen.sh ├── compile ├── config.guess ├── config.h.in ├── config.sub ├── configure ├── configure.ac ├── depcomp ├── ev++.h ├── ev.3 ├── ev.c ├── ev.h ├── ev.pod ├── ev_epoll.c ├── ev_kqueue.c ├── ev_poll.c ├── ev_port.c ├── ev_select.c ├── ev_vars.h ├── ev_win32.c ├── ev_wrap.h ├── event.c ├── event.h ├── install-sh ├── libev.m4 ├── ltmain.sh ├── missing └── mkinstalldirs ├── scripts ├── block.conf ├── config.darwin.example.yml ├── config.linux.example.yml ├── custom_domain_server.conf ├── darwin_down_utun.sh ├── darwin_setup_utun.sh ├── linux_down_tuntap.sh ├── linux_setup_tuntap.sh └── route └── src ├── dns ├── dns_parser.c └── dns_parser.h ├── lwipopts.h ├── main.cpp ├── netif ├── socket_util.c ├── socket_util.h ├── tapif.c ├── tapif.h ├── tunif.c └── tunif.h ├── socks5.cpp ├── socks5.h ├── struct.cpp ├── struct.h ├── tcp_raw.cpp ├── tcp_raw.h ├── udp_raw.cpp ├── udp_raw.h ├── util.cpp ├── util.h ├── var.cpp └── var.h /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/Rakefile -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/Vagrantfile -------------------------------------------------------------------------------- /cmake/config.h.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/cmake/config.h.cmake -------------------------------------------------------------------------------- /cmake/libev.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/cmake/libev.cmake -------------------------------------------------------------------------------- /cmake/liblwip.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/cmake/liblwip.cmake -------------------------------------------------------------------------------- /cmake/libyaml.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/cmake/libyaml.cmake -------------------------------------------------------------------------------- /libev/Changes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/Changes -------------------------------------------------------------------------------- /libev/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/LICENSE -------------------------------------------------------------------------------- /libev/Makefile.am: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/Makefile.am -------------------------------------------------------------------------------- /libev/Makefile.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/Makefile.in -------------------------------------------------------------------------------- /libev/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/README -------------------------------------------------------------------------------- /libev/Symbols.ev: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/Symbols.ev -------------------------------------------------------------------------------- /libev/Symbols.event: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/Symbols.event -------------------------------------------------------------------------------- /libev/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/TODO -------------------------------------------------------------------------------- /libev/aclocal.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/aclocal.m4 -------------------------------------------------------------------------------- /libev/autogen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/autogen.sh -------------------------------------------------------------------------------- /libev/compile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/compile -------------------------------------------------------------------------------- /libev/config.guess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/config.guess -------------------------------------------------------------------------------- /libev/config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/config.h.in -------------------------------------------------------------------------------- /libev/config.sub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/config.sub -------------------------------------------------------------------------------- /libev/configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/configure -------------------------------------------------------------------------------- /libev/configure.ac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/configure.ac -------------------------------------------------------------------------------- /libev/depcomp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/depcomp -------------------------------------------------------------------------------- /libev/ev++.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev++.h -------------------------------------------------------------------------------- /libev/ev.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev.3 -------------------------------------------------------------------------------- /libev/ev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev.c -------------------------------------------------------------------------------- /libev/ev.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev.h -------------------------------------------------------------------------------- /libev/ev.pod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev.pod -------------------------------------------------------------------------------- /libev/ev_epoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_epoll.c -------------------------------------------------------------------------------- /libev/ev_kqueue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_kqueue.c -------------------------------------------------------------------------------- /libev/ev_poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_poll.c -------------------------------------------------------------------------------- /libev/ev_port.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_port.c -------------------------------------------------------------------------------- /libev/ev_select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_select.c -------------------------------------------------------------------------------- /libev/ev_vars.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_vars.h -------------------------------------------------------------------------------- /libev/ev_win32.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_win32.c -------------------------------------------------------------------------------- /libev/ev_wrap.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ev_wrap.h -------------------------------------------------------------------------------- /libev/event.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/event.c -------------------------------------------------------------------------------- /libev/event.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/event.h -------------------------------------------------------------------------------- /libev/install-sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/install-sh -------------------------------------------------------------------------------- /libev/libev.m4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/libev.m4 -------------------------------------------------------------------------------- /libev/ltmain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/ltmain.sh -------------------------------------------------------------------------------- /libev/missing: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/missing -------------------------------------------------------------------------------- /libev/mkinstalldirs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/libev/mkinstalldirs -------------------------------------------------------------------------------- /scripts/block.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/block.conf -------------------------------------------------------------------------------- /scripts/config.darwin.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/config.darwin.example.yml -------------------------------------------------------------------------------- /scripts/config.linux.example.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/config.linux.example.yml -------------------------------------------------------------------------------- /scripts/custom_domain_server.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/custom_domain_server.conf -------------------------------------------------------------------------------- /scripts/darwin_down_utun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/darwin_down_utun.sh -------------------------------------------------------------------------------- /scripts/darwin_setup_utun.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/darwin_setup_utun.sh -------------------------------------------------------------------------------- /scripts/linux_down_tuntap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/linux_down_tuntap.sh -------------------------------------------------------------------------------- /scripts/linux_setup_tuntap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/linux_setup_tuntap.sh -------------------------------------------------------------------------------- /scripts/route: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/scripts/route -------------------------------------------------------------------------------- /src/dns/dns_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/dns/dns_parser.c -------------------------------------------------------------------------------- /src/dns/dns_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/dns/dns_parser.h -------------------------------------------------------------------------------- /src/lwipopts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/lwipopts.h -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/main.cpp -------------------------------------------------------------------------------- /src/netif/socket_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/socket_util.c -------------------------------------------------------------------------------- /src/netif/socket_util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/socket_util.h -------------------------------------------------------------------------------- /src/netif/tapif.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/tapif.c -------------------------------------------------------------------------------- /src/netif/tapif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/tapif.h -------------------------------------------------------------------------------- /src/netif/tunif.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/tunif.c -------------------------------------------------------------------------------- /src/netif/tunif.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/netif/tunif.h -------------------------------------------------------------------------------- /src/socks5.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/socks5.cpp -------------------------------------------------------------------------------- /src/socks5.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/socks5.h -------------------------------------------------------------------------------- /src/struct.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/struct.cpp -------------------------------------------------------------------------------- /src/struct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/struct.h -------------------------------------------------------------------------------- /src/tcp_raw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/tcp_raw.cpp -------------------------------------------------------------------------------- /src/tcp_raw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/tcp_raw.h -------------------------------------------------------------------------------- /src/udp_raw.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/udp_raw.cpp -------------------------------------------------------------------------------- /src/udp_raw.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/udp_raw.h -------------------------------------------------------------------------------- /src/util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/util.cpp -------------------------------------------------------------------------------- /src/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/util.h -------------------------------------------------------------------------------- /src/var.cpp: -------------------------------------------------------------------------------- 1 | #include "var.h" 2 | -------------------------------------------------------------------------------- /src/var.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FlowerWrong/ip2socks/HEAD/src/var.h --------------------------------------------------------------------------------