K.G. Wang
K.G. Wang
hi,我正在开发一个基于kcp的应用,使用rsock做隧道,发现rsock会塞一段“不是我发送的字节”到udp包中。 客户端macos,服务端linux,版本均为20180613_03 tcpdump抓包发现,偶尔会有一段我没有发送的字节掺杂到报文中: 每一行是一次抓到的多余报文,特征很明显: ``` f268b10bd0083eed1700b6bc82180c30f129d9000000b6db1a370000000000 f268b10bd0083eed1700b6bc82180c30f129e400000045e318370000000000 f268b10bd0083eed1700b6bc82180c30f129f200000083e517370000000000 f268b10bd0083eed1700b6bc82180c30f1290101000019e719370000000000 f268b10bd0083eed170089aac51cc4d6d8a510000000a5e9895e0000000000 ``` 你们看下是否需要我提供tcpdump文件?或者说这段报文是有什么特殊用途的,需要我应用层单独处理?
目前的定时任务是通过PriorityQueue维护的,考虑换成时间轮。 由于常见的TCP超时时间是15分钟(例如LVS),而UDP则更短,一般认为不会出现超过15分钟的定时任务 使用4层时间轮,每层32个元素。可以表示`32^4=1048576 ms > 15 minutes`。使用链表维护同一毫秒的定时任务列表。使用32是因为`%`操作可以优化为`&`操作 不需要考虑并发,时间事件的访问总是在eventloop里面进行的。 对于超过`1048576ms`的定时任务,放在PriorityQueue中排序,当时间低于`1048576 ms`时从队列中挪出来放进时间轮里。 需要实现的接口:[TimeQueue.java](https://github.com/wkgcass/vproxy/blob/dev/base/src/main/java/vproxybase/util/time/TimeQueue.java)和[TimeEvent.java](https://github.com/wkgcass/vproxy/blob/dev/base/src/main/java/vproxybase/util/time/TimeElem.java)
# What and why? Provide the ability to skip the injection for host network pods. Some sidecars will run `ip rule`, `ip route` and `iptables` to manipulate traffic to/from the...
## Abstract Symlinks to directories are placed in the wrong locations. For example, I have a directory named `a`, and a symlink pointing to it named `b` (`b -> a`),...
This is the default behavior since the very beginning of `slf4j`, including the latest `slf4j-api:2.0.9`: When there's no provider available, slf4j prints an error message to stderr when the library...
such as ``` file("~").cd("Desktop").ls(); ```
**Feature request** **Is your feature request related to a problem? Please describe.** I am using Panama FFI to call the DPDK library. Normally the compilation result of dpdk is a...
api
This issue is created only for the program to retrieve dynamic infomation. The program will call github http api to get data inside this issue.
To keep a clean comments list, all questions in issue #1 will be answered here and the original comments will be deleted.
It seems that `Linker.Option.critical(true)` is not supported by native-image, at least on `macOS x86_64`. I made a small project to reproduce this issue: [a.tar.gz](https://github.com/user-attachments/files/15849481/a.tar.gz) You will need to modify `JAVA_HOME`...