Open xtexChooser opened 1 year ago
It seems that netlink-packet-core/src/message.rs
got the ACK correctly but it got dropped later.
I replaced that line in message.rs
to let the ACK be returned as an error and the error get returned. When I change it to Done or Noop, the message seems to be dropped in some place.
Ops, the ACK is dropped in netlink-proto
: src/connection.rs#L228.
The ACK message is very important for WG operations. I think there should be at least a option to make the ACK forwarded.
https://github.com/rust-netlink/netlink-proto/pull/22 is created for this request. Please check there. Thank you!
strace --trace=%net,%file,%ipc -f
At:
The code is here. After I sent a Wireguard SET_DEVICE, I called
await?
to get response but gotNone
. However, the strace shows the call finished. I tryed some other parameters even got a EINVAL but stillNone
.I tested the example in
netlink-packet-wireguard
, it works.But when I apply this diff, the example failed:
With this patch, if a ACK message is received,
ukn rx
should be printed, but it does not.