![如何才能知道某个服务器正在运行什么 IRC 守护进程?](https://linux22.com/image/1288377/%E5%A6%82%E4%BD%95%E6%89%8D%E8%83%BD%E7%9F%A5%E9%81%93%E6%9F%90%E4%B8%AA%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%AD%A3%E5%9C%A8%E8%BF%90%E8%A1%8C%E4%BB%80%E4%B9%88%20IRC%20%E5%AE%88%E6%8A%A4%E8%BF%9B%E7%A8%8B%EF%BC%9F.png)
为了对 IRC 有一个大致的了解,我想找出某个服务器上运行着什么类型的 IRC 服务器软件/守护进程(比如 unrealircd)。
有可能获得这些信息吗?
答案1
在大多数客户端中,您可以输入“/quote version”或仅输入“/version”,它将查询服务器,大多数 IRCds 默认会响应以下信息,例如:
-> Odd server stuff: "351 InspIRCd-1.2 hub.yourdomain.com :FreeBSD hub.yourdomain.com 6
.2-RELEASE (InspIRCd-1.2.1) [FLAGS=0,kqueue,196]" (hub.yourdomain.com)
005 WALLCHOPS WALLVOICES MODES=19 CHANTYPES=# PREFIX=(ohv)@%+ MAP
MAXCHANNELS=20 MAXBANS=60 VBANLIST NICKLEN=31 CASEMAPPING=rfc1459
STATUSMSG=@%+ CHARSET=ascii : are supported by this server
005 TOPICLEN=307 KICKLEN=255 MAXTARGETS=19 AWAYLEN=200 CHANMODES=b,k,l,
BMNRcimnprstz FNC NETWORK=hubns MAXPARA=32 ELIST=MU EXTBAN=,MRNcB SAFELIST
SECURELIST SSL=204.14.231.5:6697 :are supported by this server
005 STARTTLS USERIP : are supported by this server
答案2
该命令告诉您有关服务器的一些信息。
C:\nmap>nmap -P0 -sV -p6667 irc.undernet.org
Starting Nmap 5.51 ( http://nmap.org ) at 2011-09-03 18:07 GMT Daylight Time
Nmap scan report for irc.undernet.org (208.83.20.130)
Host is up (0.14s latency).
Other addresses for irc.undernet.org (not scanned): 64.18.128.86 66.198.80.67 66
.252.29.2 70.33.251.254 77.247.181.225 94.125.182.255 95.141.29.22 130.237.188.2
16 194.109.20.90
rDNS record for 208.83.20.130: Tampa.FL.US.Undernet.org
PORT STATE SERVICE VERSION
6667/tcp open irc ircu ircd
Service detection performed. Please report any incorrect results at http://nmap.
org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 4.55 seconds
C:\nmap>