Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kioubit/peertester
Test your DN42 peers
https://github.com/kioubit/peertester
dn42
Last synced: about 2 months ago
JSON representation
Test your DN42 peers
- Host: GitHub
- URL: https://github.com/kioubit/peertester
- Owner: Kioubit
- Created: 2024-07-27T14:31:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T00:13:29.000Z (2 months ago)
- Last Synced: 2024-11-12T01:19:10.251Z (2 months ago)
- Topics: dn42
- Language: Go
- Homepage:
- Size: 333 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PeerTester
Test your DN42 peers by sending packets with the random source IPs ``172.20.0.53`` / ``fd42:d42:d42:54::1`` and your host's IP as destination IP.
Works on layer 3 (tun) interfaces. The application automatically sends test packets on all interfaces by default.This will test:
- Forwarding setup of your peer
- Peer's installation of routes received via BGP
- Misconfigurations of your peer such as NAT
- Unexpected forwarding paths (via TTL measurements)
- State and latency of the tunnel## Important setup notes
- The `dst4` and `dst6` IP addresses should be announced via BGP and *not* be IP addresses used for the peer tunnels.
- If the status of a peering is not shown as `OK` for either IPv4 or IPv6, then the latency values returned are invalid and informational only.## Usage
````
Usage of ./peertester:
-daemon
run as a daemon and accept interface lists via unix socket
-dst4 string
destination IPv4 address (the address this host can be reached from) or CIDR to find address from 'lo'
-dst6 string
destination IPv6 address (the address this host can be reached from) or CIDR to find address from 'lo'
-interface string
optional comma-separated target interface(s). Use '-' to read from stdin. If not specified, packets are sent on all interfaces
-json
output as JSON
````