LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 545|回复: 3

这两个是啥服务?

[复制链接]
发表于 2010-7-11 21:47:02 | 显示全部楼层 |阅读模式
   
  在iptables中看到的几行,不知道是啥服务。 
  
 ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:domain
ACCEPT     udp  --  anywhere             anywhere            udp dpt:bootps
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:bootps 
 
 
我猜测domain的tcp是tcp53端口,服务器间dns通信端口, domain udp的是一般电脑解析dns的端口,不知道对不对?  

另外那个bootps是什么呢?网上也没有查到。
 楼主| 发表于 2010-7-11 21:48:43 | 显示全部楼层
记得/etc下有一个关于某个端口是什么服务的配置文件,也找不着了,有知道的请分享一下,谢谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-11 21:50:24 | 显示全部楼层
找到了 cat /etc/services  ,在这里看到什么端口是什么服务。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-7-11 21:51:14 | 显示全部楼层
bootps          67/tcp                          # BOOTP server
bootps          67/udp
bootpc          68/tcp          dhcpc           # BOOTP client
bootpc          68/udp          dhcpc
  
原来是dhcp 的通信端口
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表