Results 12 comments of lanthora

> 可否试试把 wintun.dll 换成这个可不可以 > > https://www.wintun.net/builds/wintun-0.14.1.zip > > 我看网站介绍里说支持 win7 我可以确定这个 dll 是支持 win7 的. candy 最近的 windows cli [版本](https://github.com/lanthora/candy/releases/download/v5.8.1/candy_5.8.1+windows_amd64.zip)刚才测试了一下在 win7 上正常.考虑一下 rust 的问题.如果怀疑是 win7 操作系统差异的话可以试一下上面我这个包. @sbweiwei @KKRainbow

> windows 上的内存占用主要来源于 WinTun Wintun 内存占用多可能是由于 WintunStartSession 启动时给的 Ring Buffer 太大了,可以考虑设置成 WINTUN_MIN_RING_CAPACITY. @KKRainbow

> > rust-tun > > > > https://github.com/meh/rust-tun/blob/master/src/platform/windows/device.rs#L52 > > > > 用的 MAX_RING_CAPACITY ,是写死的 不怎么了解 Rust,不过看到这行代码附近的几行写死的变量人都麻了

The commit that fixes this problem should also solve the problem that the `Poco::Net::ServiceNotFoundException` exception is thrown when creating a `PollSet` with a Chinese username in Windows. ```cpp // TemporaryFile...

@Hedgezzz https://man7.org/linux/man-pages/man3/inet_pton.3.html > inet_pton - convert IPv4 and IPv6 addresses from text to binary form "localhost" is not a valid IP address

尝试使用 Poco 替换直接使用操作系统 API 完成的 UDP 操作 创建支持 IPv6 的 UDP Socket 并获取绑定的端口号 ```cpp this->socket = Poco::Net::DatagramSocket(Poco::Net::SocketAddress(0), true); this->address = socket.address(); ```

@rainpaper-bs 这个功能优先级比较高,在我想到满意的实现方式后会尽快支持的。如果有人感兴趣也可以提供一些实现上的思路

@rainpaper-bs 你是抓的虚拟网卡的包还是物理网卡的包,需要抓物理网卡的包

@rainpaper-bs 首先这东西是 candy, 不是 caddy. 太多人手滑打错了 其次,这不能说明 candy 往外发的 UDP 不是加密的.如果要判断的话,排除掉所有干扰因素,然后抓物理网卡的包. candy 在 P2P 传输的时候是不会发 ICMP 的,目前只会有 UDP.

@rainpaper-bs 如果只是为了调试,可以看 debug 日志,里面会写流量转发的路径,其实发送方自己也是不确定流量怎么到接收方的,只能知道把流量发给哪个中间客户端能最快送达