Linux command
lft 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Traceroute to host
lft [hostname]
Use specific port
lft -d [80] [hostname]
TCP mode
lft -T [hostname]
UDP mode
lft -U [hostname]
Show ASN info
lft -A [hostname]
Set max TTL
lft -m [30] [hostname]
说明
lft is Layer Four Traceroute. It traces routes using TCP, UDP, or ICMP at layer 4. The tool bypasses many firewalls that block ICMP. It shows AS numbers for network analysis.
参数
- -d _PORT_
- Destination port.
- -T
- TCP mode.
- -U
- UDP mode.
- -A
- Show AS numbers.
- -m _TTL_
- Maximum TTL.
- -n
- No DNS resolution.
- --help
- Display help information.
FAQ
What is the lft command used for?
lft is Layer Four Traceroute. It traces routes using TCP, UDP, or ICMP at layer 4. The tool bypasses many firewalls that block ICMP. It shows AS numbers for network analysis.
How do I run a basic lft example?
Run `lft [hostname]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -d _PORT_ do in lft?
Destination port.