116 Commits
Author SHA1 Message Date
yisier b7aee56575 修复:某些场景下丢包导致服务端意外退出
优化:新增隧道时,不指定服务端口时,将自动生成端口号
优化:API返回ID, /client/add/, /index/addhost/,/index/add/
优化:域名解析、隧道页面,增加[唯一验证密钥],方便搜查
2022-12-19 17:39:29 +08:00
dotdotdot 8a2a142ddb Update socks5.go
修复:开启socks5多用户,个别sockes5客户端使用空用户名或空密码可以连接成功
2022-11-09 11:47:25 +08:00
yisier 3808aa38db http 连接释放优化 2022-11-08 14:55:27 +08:00
yisier 8c5c0a8737 docker test 2022-11-04 15:25:45 +08:00
yisier f7d86c524d 修改http协议无法响应bug 2022-11-04 14:53:34 +08:00
yisier 91d5a35981 add black ip 2022-10-29 23:59:53 +08:00
yisier 7b1774308f IP 黑名单 2022-10-28 18:01:21 +08:00
yisier d0a958426f 判断connection 是否为http协议 2022-10-28 13:35:59 +08:00
陈东方 5a16772d13 Merge pull request #1 from yisier/master
merge yisier nps
2022-10-26 18:09:29 +08:00
yiser b0611fc007 web socket TODO 2022-10-24 16:34:01 +08:00
yiser dea5b3d558 web socket TODO 2022-10-21 18:01:37 +08:00
yiser 329d8dd44d HTTP 流量控制 2022-10-21 14:33:55 +08:00
yiser 1c58c6f131 修复:TCP协议下实时统计流量,能够精准的限制住流量(出入流量对等)
优化:删除TCP隧道时,客户端已用流量不再清空
2022-10-19 17:46:42 +08:00
Jireh 7aaa831589 add server stop log detail info 2021-10-15 10:52:16 +08:00
ffdfgdfg bebb6e989b update psutil 2021-04-07 20:02:47 +08:00
ffdfgdfg 720f842d4b fix http cache panic, fix #626, fix #509 2020-10-06 00:57:10 +08:00
ffdfgdfg f459acdfb4 add custom client disconnect timeout option, close #485 2020-05-07 23:29:45 +08:00
snowie2000 16be6d1b55 Revert http reverse proxy changes 2020-04-29 20:49:02 +08:00
snowie2000 89e2a4c2eb removed unnecessary host fetch in revereproxy.Director 2020-04-15 11:08:05 +08:00
snowie2000 a732febf3b fixed typo in test.go
replaced self-made http reverseproxy with a more robust and versatile one.
dynamically generate cert for client-server tls encryption
2020-04-15 10:59:48 +08:00
cnlh 8dabf5af1d fix:#433 2020-03-03 14:33:32 +08:00
cnlh 05c27b9365 fix:udp buf 2020-02-17 02:30:34 +08:00
cnlh 26f48aa7f1 close client connection when tcp lost connection in socks5 2020-02-16 20:42:36 +08:00
ffdfgdfg b4f72d295e change server global value to concurrency safety, fix #315 2020-01-18 16:53:52 +08:00
cnlh f7412501e7 Merge branch 'dev' of https://github.com/cnlh/nps into dev 2020-01-16 15:17:45 +08:00
cnlh 5bf52e9e24 fixes #367 2020-01-16 15:17:21 +08:00
cnlh b5a0daa69d close tunnel when finish udp data 2020-01-15 22:32:41 +08:00
cnlh 13d90df9ef merge 2020-01-15 21:59:33 +08:00
cnlh f72e3565e5 fixes #370 #368 2020-01-15 21:58:31 +08:00
cnlh 0af9943540 fixes #353 2020-01-13 18:31:03 +08:00
ffdfgdfg 5fedde1475 migrate mux to nps-mux 2020-01-09 22:59:24 +08:00
ffdfgdfg 6c7ac59626 change package path 2020-01-08 21:57:14 +08:00
刘河 90e78bf413 add web https 2019-12-14 17:39:46 +08:00
刘河 883dd07d86 fix the number of client bug 2019-12-06 23:42:37 +08:00
刘河 2dc902fba1 fix: p2p and secret add bug 2019-12-06 16:20:00 +08:00
刘河 627ea612e6 fix nil pointer 2019-12-04 04:04:05 +08:00
刘河 08f7c1844a fix udp nil && add version display on web 2019-12-04 01:28:26 +08:00
刘河 f1cb45146f update socks5 udp 2019-12-03 00:46:30 +08:00
unknown 2e5b1bd1e3 remove tcp keep-alive and update socks5 udp 2019-12-02 14:27:50 +08:00
刘河 91c1ffc6ce adjust external ip 2019-12-02 02:15:13 +08:00
刘河 927038fd4c socks5 udp support 2019-12-02 01:47:22 +08:00
ffdfgdfg 674a178506 Merge pull request #284 from cnlh/master
pr merge to dev
2019-12-01 23:32:11 +08:00
Callan Taylor 88dcea59ec Stop tickers to free up resources (#263) 2019-12-01 23:29:36 +08:00
ffdfgdfg 9abe5874b7 Merge branch 'dev' into new_dev 2019-12-01 22:41:59 +08:00
ffdfgdfg fadfc24e52 Merge pull request #276 from cnlh/dev
Dev 0.24.0 merge
2019-11-28 20:19:14 +08:00
ffdfgdfg 0de2c95934 Merge remote-tracking branch 'remotes/origin/master' into mux_test
# Conflicts:
#	lib/common/util.go
#	lib/conn/conn.go
#	lib/conn/snappy.go
#	lib/mux/conn.go
#	lib/mux/mux.go
#	lib/mux/mux_test.go
#	lib/mux/queue.go
#	lib/pool/pool.go
#	server/proxy/p2p.go
#	server/proxy/udp.go
2019-09-24 21:57:40 +08:00
zhangwei 11d185ad59 new feature multi user auth with socks5 2019-09-12 22:54:53 +08:00
zhangwei a05995fba5 new feature multi user auth with socks5 2019-09-12 08:22:12 +08:00
zhangwei fce53fa308 new feature multi user auth with socks5 2019-09-10 23:14:05 +08:00
ffdfgdfg bb2cffe10a Change pool, change mux connection close ,change copy buffer 2019-08-30 20:05:09 +08:00