Jett Chen
b008762a5b
Implement Wireguard
...
Implements Wireguard
2023-12-23 11:26:05 -08:00
Sam Poder
c8df4b860d
Set/get broadcast address in TunInterface
...
Modelled after TunInterface's IPV4 logic.
Uses SIOCGIFBRDADDR & SIOCSIFBRDADDR.
View https://man7.org/linux/man-pages/man7/netdevice.7.html .
2023-08-26 10:00:18 -07:00
Conrad Kramer
cc30fcd34c
✨ Create set_ipv6_addr
...
This adds a new method for setting an ipv6 address on an interface
2023-06-03 13:14:47 -04:00
Cara Salter
6ea4b596c2
tun: Initial work on getting/setting netmask
...
Seems to run into an issue with setting netmasks like 255.0.0.0 with an
"AddressNotAvailable" error
2023-04-29 20:14:18 -04:00
Cara Salter
a13b2243e6
tun: Enable setting/getting of MTU
...
Works similarly to getting and setting IP addresses, can pretty much be
copy-pasted for the rest of the settings.
2023-04-29 19:07:29 -04:00
Conrad Kramer
1378eb7eb3
Implement IPv4 address configuration on Linux
...
This involved refactoring the crate structure to share code between
macOS and Linux. The new methods have not yet been implemented on
macOS, but they have todo!() placeholders.
2023-04-22 14:28:42 -04:00