Skip to content

Commit a051595

Browse files
committed
push v2.6.0
1 parent 34a795f commit a051595

File tree

5 files changed

+41
-11
lines changed

5 files changed

+41
-11
lines changed

CHANGELOG-en.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
### v2.6.0
4+
Client: Add the `--write-interval` parameter to adjust the FORWARD request interval
5+
Client: Readjust `--read-interval` default value is 300
6+
Clinet: Add `--target` parameter to realize port forwarding function
7+
38
### v2.5.1
49
Client: When the Session expires, automatically append cookies to continue running
510
Server: Fix jsp(x) find java.nio.ByteBuffer.clear() method problem in some low jdk versions

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
### v2.6.0
4+
Client: 增加 `--write-interval` 参数,可调整 FORWARD 请求间隔
5+
Client: 重新调整 `--read-interval` 默认值为 300
6+
Clinet: 增加 `--target` 参数,实现端口转发功能
7+
38
### v2.5.1
49
Client: 当 Session 过期时,自动追加 Cookie 继续运行
510
Server: 修复 jsp(x) 在部分 jdk 低版本中找不到 java.nio.ByteBuffer.clear() 方法问题

README-en.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Neo-reGeorg
1515
Version
1616
----
1717

18-
2.5.1 - [Change Log](CHANGELOG-en.md)
18+
2.6.0 - [Change Log](CHANGELOG-en.md)
1919

2020

2121
Features
@@ -107,6 +107,11 @@ $ python neoreg.py -k <you_password> -u <url_1> -u <url_2> -u <url_3> ...
107107
$ python neoreg.py -k <you_password> -u <url> -r <redirect_url>
108108
```
109109

110+
6. Use the port forwarding function, do not start the socks5 service ( 127.0.0.1:1080 -> ip:port )
111+
```ruby
112+
$ python neoreg.py -k <you_password> -u <url> -t <ip:port>
113+
```
114+
110115
* For more information on performance and stability parameters, refer to -h help information
111116
```ruby
112117
# Generate server-side scripts
@@ -127,9 +132,10 @@ $ python neoreg.py generate -h
127132

128133
# Connection server
129134
$ python neoreg.py -h
130-
usage: neoreg.py [-h] -u URI [-r URL] -k KEY [-l IP] [-p PORT] [-s] [-H LINE]
131-
[-c LINE] [-x LINE] [--local-dns] [--read-buff Bytes]
132-
[--read-interval MS] [--max-threads N] [-v]
135+
usage: neoreg.py [-h] -u URI [-r URL] [-t IP:PORT] -k KEY [-l IP] [-p PORT]
136+
[-s] [-H LINE] [-c LINE] [-x LINE] [--local-dns]
137+
[--read-buff Bytes] [--read-interval MS]
138+
[--write-interval MS] [--max-threads N] [-v]
133139

134140
Socks server for Neoreg HTTP(s) tunneller. DEBUG MODE: -k
135141
(debug_all|debug_base64|debug_headers_key|debug_headers_values)
@@ -140,6 +146,9 @@ $ python neoreg.py -h
140146
-r URL, --redirect-url URL
141147
Intranet forwarding the designated server (only
142148
jsp(x))
149+
-t IP:PORT, --target IP:PORT
150+
Network forwarding Target, After setting this
151+
parameter, port forwarding will be enabled
143152
-k KEY, --key KEY Specify connection key
144153
-l IP, --listen-on IP
145154
The default listening address.(default: 127.0.0.1)
@@ -155,7 +164,8 @@ $ python neoreg.py -h
155164
--local-dns Use local resolution DNS
156165
--read-buff Bytes Local read buffer, max data to be sent per
157166
POST.(default: 2048 max: 2600)
158-
--read-interval MS Read data interval in milliseconds.(default: 500)
167+
--read-interval MS Read data interval in milliseconds.(default: 300)
168+
--write-interval MS Write data interval in milliseconds.(default: 200)
159169
--max-threads N Proxy max threads.(default: 1000)
160170
-v Increase verbosity level (use -vv or more for greater
161171
effect)

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Neo-reGeorg
1515
Version
1616
----
1717

18-
2.5.1 - [版本修改日志](CHANGELOG.md)
18+
2.6.0 - [版本修改日志](CHANGELOG.md)
1919

2020

2121

@@ -108,6 +108,11 @@ $ python neoreg.py -k <you_password> -u <url_1> -u <url_2> -u <url_3> ...
108108
$ python neoreg.py -k <you_password> -u <url> -r <redirect_url>
109109
```
110110

111+
6. 使用端口转发功能,非启动 socks5 服务 ( 127.0.0.1:1080 -> ip:port )
112+
```ruby
113+
$ python neoreg.py -k <you_password> -u <url> -t <ip:port>
114+
```
115+
111116
* 更多关于性能和稳定性的参数设置参考 -h 帮助信息
112117
```ruby
113118
# 生成服务端脚本
@@ -127,9 +132,10 @@ $ python neoreg.py generate -h
127132

128133
# 连接服务端
129134
$ python neoreg.py -h
130-
usage: neoreg.py [-h] -u URI [-r URL] -k KEY [-l IP] [-p PORT] [-s] [-H LINE]
131-
[-c LINE] [-x LINE] [--local-dns] [--read-buff Bytes]
132-
[--read-interval MS] [--max-threads N] [-v]
135+
usage: neoreg.py [-h] -u URI [-r URL] [-t IP:PORT] -k KEY [-l IP] [-p PORT]
136+
[-s] [-H LINE] [-c LINE] [-x LINE] [--local-dns]
137+
[--read-buff Bytes] [--read-interval MS]
138+
[--write-interval MS] [--max-threads N] [-v]
133139

134140
Socks server for Neoreg HTTP(s) tunneller. DEBUG MODE: -k
135141
(debug_all|debug_base64|debug_headers_key|debug_headers_values)
@@ -140,6 +146,9 @@ $ python neoreg.py -h
140146
-r URL, --redirect-url URL
141147
Intranet forwarding the designated server (only
142148
jsp(x))
149+
-t IP:PORT, --target IP:PORT
150+
Network forwarding Target, After setting this
151+
parameter, port forwarding will be enabled
143152
-k KEY, --key KEY Specify connection key
144153
-l IP, --listen-on IP
145154
The default listening address.(default: 127.0.0.1)
@@ -155,7 +164,8 @@ $ python neoreg.py -h
155164
--local-dns Use local resolution DNS
156165
--read-buff Bytes Local read buffer, max data to be sent per
157166
POST.(default: 2048 max: 2600)
158-
--read-interval MS Read data interval in milliseconds.(default: 500)
167+
--read-interval MS Read data interval in milliseconds.(default: 300)
168+
--write-interval MS Write data interval in milliseconds.(default: 200)
159169
--max-threads N Proxy max threads.(default: 1000)
160170
-v Increase verbosity level (use -vv or more for greater
161171
effect)

neoreg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
__author__ = 'L'
5-
__version__ = '2.5.1'
5+
__version__ = '2.6.0'
66

77
import sys
88
import os

0 commit comments

Comments
 (0)