Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有一个服务在某个端口上运行,比如说端口 80,我是否能够使用该端口作为源端口来启动与不同服务的连接?鉴于我对计算机具有完全访问权限,即 root、低级驱动程序等。是否有可能这样做或 tcp 规范是否会阻止类似的事情发生?
有可能,我的计算机上运行了一个 ssh 服务器,我尝试从端口 22 进行 nmap 扫描,没有问题并且扫描成功。
须藤 nmap -sS xxx.xx.xx.0/24 -g 22 -p 80
我也与一些专家讨论过,TCP 规范中没有任何内容可以阻止这种情况的发生。唯一的问题可能发生在实施级别。