nettools
nettools
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# archlinux desktop
# socat netcat配合使用,简单测试ip port连通性
# socat
# socat TCP-LISTEN:8080,fork EXEC:"cat"
pacman -S socat
# netcat
# nc 127.0.0.1 8080
pacman -S netcat
# dns调试工具
# dig
# dig @8.8.8.8 www.baidu.com
# 反向查询
# dig @127.0.0.1 -p 8600 +noall +answer -x 10.0.0.4
pacman -S bind
# nslookup
# 查看对应dns服务器
# nslookup -type=ns www.baidu.com
# grpcurl
# gRPC 命令行工具,类似 curl
# 列出服务
# grpcurl -plaintext localhost:50051 list
# 调用方法
# grpcurl -plaintext -d '{"name": "World"}' localhost:50051 helloworld.Greeter/SayHello
pacman -S grpcurl
This post is licensed under CC BY 4.0 by the author.