baichal
|
e7f1ab4487
|
Update socat.sh
更新开启/关闭加速部分
|
2025-07-25 11:12:02 +08:00 |
baichal
|
cee9ba5df2
|
Update socat.sh
|
2025-07-24 23:45:35 +08:00 |
baichal
|
6ef09729c3
|
Update socat.sh
1.配置文件格式改为json数组
2.优化删除逻辑
3.修复bug若干
|
2025-07-24 18:37:32 +08:00 |
baichal
|
02b43e5b6f
|
Update socat.sh
1.修复脚本运行重复执行restore_forwards
2.添加,开启,关闭,重启,卸载选项
|
2025-07-23 16:30:19 +08:00 |
baichal
|
7a5ee77416
|
Update README.md
|
2025-07-23 10:14:49 +08:00 |
baichal
|
cec38212f3
|
Merge pull request #2 from GeorgeXie2333/main
新增对域名转发的支持
|
2025-07-23 10:09:25 +08:00 |
George Tse
|
c0372df40f
|
添加对域名的端口转发支持
|
2025-03-23 00:43:00 +08:00 |
George Tse
|
bf3fe47657
|
Update README.md
|
2025-03-23 00:41:02 +08:00 |
George Tse
|
bdf1918524
|
Update README.md
|
2025-03-22 22:00:43 +08:00 |
George Tse
|
27e1e0a509
|
Update socat.sh
|
2025-03-22 22:00:26 +08:00 |
baichal
|
a8b23a16f1
|
Update socat.sh
解决脚本后无法使用
|
2024-08-24 21:11:12 +08:00 |
baichal
|
63eb0b15c6
|
Update socat.sh
更新
|
2024-08-24 19:38:05 +08:00 |
baichal
|
ed76e609be
|
Update socat.sh
优化配置目录输出
删除重复代码
|
2024-08-19 04:15:34 +08:00 |
baichal
|
03e84cb46d
|
Update socat.sh
|
2024-08-19 03:53:23 +08:00 |
baichal
|
2fe43cda93
|
Delete LICENSE
|
2024-08-18 15:09:20 +08:00 |
baichal
|
e681f8f93c
|
Update README.md
|
2024-08-18 14:54:24 +08:00 |
baichal
|
67623c44b5
|
Update socat.sh
简单优化
|
2024-08-16 06:39:04 +08:00 |
baichal
|
aa4637fd88
|
Update socat.sh
修复bug
|
2024-08-15 20:01:28 +08:00 |
baichal
|
1e11c4dce8
|
Update socat.sh
增加ipv6转发
增加防火墙检测
|
2024-08-15 19:34:16 +08:00 |
baichal
|
e26fd94760
|
Update socat.sh
添加端口占用检测
|
2024-08-15 08:54:15 +08:00 |
baichal
|
cd0218d5b5
|
Update socat.sh
1.添加两个新函数
2.整TCP缓冲区大小,允许更多数据在内存中处理。
3.启用TCP Fast Open,减少TCP连接的延迟。
4.使用BBR拥塞控制算法,提高网络吞吐量。
5.优化TCP连接的各种参数,如超时时间、保活时间等。
6.在Socat命令中添加keepalive和nodelay选项,减少延迟并保持连接活跃。
|
2024-08-15 05:27:47 +08:00 |
baichal
|
721cca630d
|
Update socat.sh
1.引入了配置文件 /etc/socat_forwards.conf 来存储转发信息。
2.新增 init_config、add_to_config 和 remove_from_config 函数来管理配置文件。
3.修改了 start_socat 函数,在成功启动后将信息添加到配置文件。
4.重写了 view_delete_forward 函数,现在它直接从配置文件读取信息,而不是从进程列表。
5.更新了 kill_all_socat 函数,现在它会清空配置文件。
6.将配置文件路径改为当前目录:CONFIG_FILE="./socat_forwards.conf"
7.修改了 start_socat 函数中的日志文件路径为当前目录:>> ./socat.log 2>&1 &
8.在 add_to_startup 函数中,使用 $(pwd) 获取当前目录的绝对路径,确保开机自启动时能找到正确的日志文件位置
|
2024-08-14 18:13:37 +08:00 |
baichal
|
f6657a1b23
|
Update README.md
|
2024-08-14 18:01:56 +08:00 |
baichal
|
8ffeee93f3
|
Update README.md
|
2024-08-14 18:01:06 +08:00 |
baichal
|
e0fe8ab8be
|
Create README.md
|
2024-08-14 18:00:44 +08:00 |
baichal
|
5fa9a45f7c
|
Rename Socat to socat.sh
|
2024-08-14 17:59:54 +08:00 |
baichal
|
5f59066c5d
|
Create Socat
|
2024-08-14 17:58:22 +08:00 |
baichal
|
c64669496c
|
Initial commit
|
2024-08-14 17:57:50 +08:00 |