Skip to content

Commit

Permalink
push v2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
L-codes committed Feb 8, 2021
1 parent 34a795f commit a051595
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 11 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG-en.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

### v2.6.0
Client: Add the `--write-interval` parameter to adjust the FORWARD request interval
Client: Readjust `--read-interval` default value is 300
Clinet: Add `--target` parameter to realize port forwarding function

### v2.5.1
Client: When the Session expires, automatically append cookies to continue running
Server: Fix jsp(x) find java.nio.ByteBuffer.clear() method problem in some low jdk versions
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

### v2.6.0
Client: 增加 `--write-interval` 参数,可调整 FORWARD 请求间隔
Client: 重新调整 `--read-interval` 默认值为 300
Clinet: 增加 `--target` 参数,实现端口转发功能

### v2.5.1
Client: 当 Session 过期时,自动追加 Cookie 继续运行
Server: 修复 jsp(x) 在部分 jdk 低版本中找不到 java.nio.ByteBuffer.clear() 方法问题
Expand Down
20 changes: 15 additions & 5 deletions README-en.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Neo-reGeorg
Version
----

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


Features
Expand Down Expand Up @@ -107,6 +107,11 @@ $ python neoreg.py -k <you_password> -u <url_1> -u <url_2> -u <url_3> ...
$ python neoreg.py -k <you_password> -u <url> -r <redirect_url>
```

6. Use the port forwarding function, do not start the socks5 service ( 127.0.0.1:1080 -> ip:port )
```ruby
$ python neoreg.py -k <you_password> -u <url> -t <ip:port>
```

* For more information on performance and stability parameters, refer to -h help information
```ruby
# Generate server-side scripts
Expand All @@ -127,9 +132,10 @@ $ python neoreg.py generate -h

# Connection server
$ python neoreg.py -h
usage: neoreg.py [-h] -u URI [-r URL] -k KEY [-l IP] [-p PORT] [-s] [-H LINE]
[-c LINE] [-x LINE] [--local-dns] [--read-buff Bytes]
[--read-interval MS] [--max-threads N] [-v]
usage: neoreg.py [-h] -u URI [-r URL] [-t IP:PORT] -k KEY [-l IP] [-p PORT]
[-s] [-H LINE] [-c LINE] [-x LINE] [--local-dns]
[--read-buff Bytes] [--read-interval MS]
[--write-interval MS] [--max-threads N] [-v]

Socks server for Neoreg HTTP(s) tunneller. DEBUG MODE: -k
(debug_all|debug_base64|debug_headers_key|debug_headers_values)
Expand All @@ -140,6 +146,9 @@ $ python neoreg.py -h
-r URL, --redirect-url URL
Intranet forwarding the designated server (only
jsp(x))
-t IP:PORT, --target IP:PORT
Network forwarding Target, After setting this
parameter, port forwarding will be enabled
-k KEY, --key KEY Specify connection key
-l IP, --listen-on IP
The default listening address.(default: 127.0.0.1)
Expand All @@ -155,7 +164,8 @@ $ python neoreg.py -h
--local-dns Use local resolution DNS
--read-buff Bytes Local read buffer, max data to be sent per
POST.(default: 2048 max: 2600)
--read-interval MS Read data interval in milliseconds.(default: 500)
--read-interval MS Read data interval in milliseconds.(default: 300)
--write-interval MS Write data interval in milliseconds.(default: 200)
--max-threads N Proxy max threads.(default: 1000)
-v Increase verbosity level (use -vv or more for greater
effect)
Expand Down
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Neo-reGeorg
Version
----

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



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

6. 使用端口转发功能,非启动 socks5 服务 ( 127.0.0.1:1080 -> ip:port )
```ruby
$ python neoreg.py -k <you_password> -u <url> -t <ip:port>
```

* 更多关于性能和稳定性的参数设置参考 -h 帮助信息
```ruby
# 生成服务端脚本
Expand All @@ -127,9 +132,10 @@ $ python neoreg.py generate -h

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

Socks server for Neoreg HTTP(s) tunneller. DEBUG MODE: -k
(debug_all|debug_base64|debug_headers_key|debug_headers_values)
Expand All @@ -140,6 +146,9 @@ $ python neoreg.py -h
-r URL, --redirect-url URL
Intranet forwarding the designated server (only
jsp(x))
-t IP:PORT, --target IP:PORT
Network forwarding Target, After setting this
parameter, port forwarding will be enabled
-k KEY, --key KEY Specify connection key
-l IP, --listen-on IP
The default listening address.(default: 127.0.0.1)
Expand All @@ -155,7 +164,8 @@ $ python neoreg.py -h
--local-dns Use local resolution DNS
--read-buff Bytes Local read buffer, max data to be sent per
POST.(default: 2048 max: 2600)
--read-interval MS Read data interval in milliseconds.(default: 500)
--read-interval MS Read data interval in milliseconds.(default: 300)
--write-interval MS Write data interval in milliseconds.(default: 200)
--max-threads N Proxy max threads.(default: 1000)
-v Increase verbosity level (use -vv or more for greater
effect)
Expand Down
2 changes: 1 addition & 1 deletion neoreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-

__author__ = 'L'
__version__ = '2.5.1'
__version__ = '2.6.0'

import sys
import os
Expand Down

0 comments on commit a051595

Please sign in to comment.