udp - 压缩通过 socat 发送的数据
问题描述
我正在使用socat命令如下:
socat -T10 UDP4-LISTEN:port,reuseaddr,fork TCP:host:port
在客户端和命令
socat TCP4-LISTEN:port,reuseaddr,fork UDP:host:port
在远程端在源和目标之间双向发送 udp 数据包。是否可以压缩来回发送的数据?
解决方案
我自己一直在研究这个问题。我正在尝试设置 2 个点,一个在 CentOS 中,另一个在使用压缩的 Windows Server 上。我研究了 socat ,唯一的选择似乎是在该连接上使用 SSL 压缩。我也在调查 PPP,但它似乎已经不再使用了。
这在这里有所帮助:https ://www.reddit.com/r/linuxadmin/comments/22262q/tunnel_with_socat_over_compressed_connection/
祝你好运,伙计。
推荐阅读
- swift - 如何在 SwiftUI 中使用具有两个条件的 Navigationlink 更改视图?
- jquery - 检查 div 是否有子级多次点击按钮
- visual-studio - 如何在 Visual Studio 2019 中将 WinMerge 设置为合并工具?
- powershell - Powershell:如何在参数中正确实现模式切换?
- makefile - Windows 下 Make 无法编译 - Cmake、Msys、MinGW
- python - 检查 .json 文件是否为空,然后从 python 的目录中删除它
- c# - “类型 {type} 上不存在属性 {property}” - 但它确实存在。OData 配置问题?
- angular - FormGroup 不是 Angular 中的已知属性不会在新创建的视图上触发
- django - Django: How to update a related model when create an other model
- java - 将 XML Parser 功能传递给 Saxon 以进行样式表解析