tap_int
An implementation of freertr's tapInt in Rust using the
libc and nix crates.
Improvements to the original:
- clearer CLI arguments
- the ability to add multiple IP addresses easily
- full IPv6 support
- clearer error messages
- support for daemonizing
- support for resolving hostnames
- optional support for encryption (using the XChaCha20Poly1305 algorithm) using the orion crate.
Usage:
--iface_name <str> Name of the interface
--laddr <socket addr> Listen address
--raddr <socket addr> Remote address
--addr <ip addr> Address to add to the interface (in CIDR format)
--daemonize Run as a daemon
--addr can be used multiple times to add multiple addresses to the interface
```
### Features
- `crypto`: encryption using XChaCha20Poly1305. The key must be 32 bits long, and should be the same on both sides of the tunnel.
directory listing of src.freertr.org/misc/famfo_tapint/ at nop3.nop.hu:
extension | count | bytes | smallest | biggest | oldest | newest |
.dirs. | 1 | 0 | 0 | 0 | 2023-05-04 16:43:10 | 2023-05-04 16:43:10 |
.files. | 2 | 1337 | 281 | 1056 | 2023-05-04 16:43:10 | 2023-05-04 16:43:10 |
.empty. | 1 | 0 | 0 | 0 | 2023-05-04 16:43:10 | 2023-05-04 16:43:10 |
md | 1 | 1056 | 1056 | 1056 | 2023-05-04 16:43:10 | 2023-05-04 16:43:10 |
toml | 1 | 281 | 281 | 281 | 2023-05-04 16:43:10 | 2023-05-04 16:43:10 |
generated by freeRouter v24.4.30-cur.