Jake McGinty
e04bd26743
wireguard-control: correct the target genl payload length
2022-01-11 01:04:14 -06:00
Jake McGinty
9fbc0c5f1b
netlink-request: print out packet that was oversized for debugging
2022-01-11 00:25:19 -06:00
Jake McGinty
a21928c30c
wireguard-control: add more checks on peer/NLA sizes
2022-01-10 20:29:41 -06:00
Jake McGinty
68d3b09f3a
wireguard-control: cargo fmt
2022-01-09 22:58:21 -06:00
Jake McGinty
92b60f535d
wireguard-control: break up large updates into multiple netlink messages
2022-01-09 22:56:39 -06:00
Jake McGinty
4784a695ad
netlink-request: add length check for serliazed netlink buffer
2022-01-08 13:33:39 -06:00
Jake McGinty
09e68c2c01
(linux) wireguard-control: migrate from `wireguard-control-sys` to `netlink` crates ( #177 )
...
also introduces a new `netlink-request` crate to help modularize the netlink code. this currently depends on a fork of the `netlink` project, but we should be able to use the official version soon.
2022-01-07 18:35:21 +09:00