Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/birkhofflee/netcheck
a self-contained utility for checking internet connectivity
https://github.com/birkhofflee/netcheck
Last synced: about 2 months ago
JSON representation
a self-contained utility for checking internet connectivity
- Host: GitHub
- URL: https://github.com/birkhofflee/netcheck
- Owner: BirkhoffLee
- License: unlicense
- Created: 2023-05-05T07:41:10.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-12T05:30:18.000Z (9 months ago)
- Last Synced: 2024-10-28T06:31:48.100Z (2 months ago)
- Language: Go
- Size: 4.57 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# netcheck
A self-contained utility for checking internet connectivity.
## Usage
```shell
$ go install github.com/BirkhoffLee/netcheck
...
$ netcheck
2023/05/05 15:43:04 Default route: 198.18.0.1 (reachable via ICMP)
2023/05/05 15:43:04 Default nameserver: 100.100.100.100 (ICMP reachable, DNS reachable)
2023/05/05 15:43:05 We're online on tsnet, exit node "clash" via 10.0.1.101:57321
2023/05/05 15:43:05 Remote DNS server 1.1.1.2 is available
2023/05/05 15:43:05 Remote DNS server 8.8.8.8 is available
2023/05/05 15:43:05 Remote DNS server 8.8.4.4 is available
2023/05/05 15:43:05 Remote DNS server 1.1.1.1 is available
2023/05/05 15:43:05 Request to cloudflare.com hit TW edge
```## License
The project is licensed under [the Unlicense](https://unlicense.org/).