[英]How does Gmail (google) hides its open from NMAP?
For a networking project, I am trying to "hide the open ports of the email server running on linux". 对于一个网络项目,我试图“隐藏在Linux上运行的电子邮件服务器的开放端口”。
In regard to this, whenever I run a NMAP port scan on "Gmail" (mail.google.com) only ports visible are ( 80 and 443 ) both HTTP and HTTPS Gmail NMAP result 对此,每当我在“ Gmail”(mail.google.com)上运行NMAP端口扫描时,只有可见的端口同时为( 80和443 )HTTP和HTTPS Gmail NMAP结果
However, Gmail is also accessible to people through email clients, which means that port 25 (SMTP), 993(imaps), 465 (smtps) etc. must also be open. 但是,人们也可以通过电子邮件客户端访问Gmail,这意味着还必须打开端口25(SMTP),993(imaps),465(smtps)等。
Now my question is that how can I do similar to my email server ? 现在我的问题是,我该如何做类似于我的电子邮件服务器? What concept / technique does Gmail uses to hide its open ports ?
Gmail用于隐藏其开放端口的概念/技术是什么?
ps: my email server shows port 25, 443, 465, 587 and 993 as open ports. ps:我的电子邮件服务器显示端口25、443、465、587和993为开放端口。
You have some incorrect assumptions about Google's mail infrastructure. 您对Google的邮件基础结构有一些不正确的假设。 The name
mail.google.com
points to Gmail's webmail servers : these are web servers with the Gmail web app that acts as a mail client . 名称
mail.google.com
指向Gmail的网络邮件服务器 :这些是具有Gmail网络应用程序且充当邮件客户端的网络服务器。 The mail servers are different machines. 邮件服务器是不同的机器。 A Mail Transfer Agent determines where to send mail destined for
@gmail.com
addresses by querying for an MX record : 邮件传输代理通过查询MX记录来确定将发往
@gmail.com
地址的邮件发送到哪里:
$ dig gmail.com MX <snip> ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; QUESTION SECTION: ;gmail.com. IN MX ;; ANSWER SECTION: gmail.com. 3543 IN MX 30 alt3.gmail-smtp-in.l.google.com. gmail.com. 3543 IN MX 10 alt1.gmail-smtp-in.l.google.com. gmail.com. 3543 IN MX 5 gmail-smtp-in.l.google.com. gmail.com. 3543 IN MX 20 alt2.gmail-smtp-in.l.google.com. gmail.com. 3543 IN MX 40 alt4.gmail-smtp-in.l.google.com. ;; Query time: 0 msec ;; SERVER: 72.14.179.5#53(72.14.179.5) ;; WHEN: Mon Aug 08 13:47:39 UTC 2016 ;; MSG SIZE rcvd: 161
So those *.gmail-smtp-in.l.google.com.
因此,那些
*.gmail-smtp-in.l.google.com.
addresses will have port 25 open for SMTP . 地址将为SMTP打开端口25 。
In addition to the inbound mail servers, there are also mail access servers running IMAP or POP3. 除了入站邮件服务器之外,还有运行IMAP或POP3的邮件访问服务器 。 You can discover these by searching Gmail's help pages;
您可以通过搜索Gmail的帮助页面来发现这些内容; they are, unsurprisingly,
imap.gmail.com
and pop.gmail.com
. 毫无疑问,它们是
imap.gmail.com
和pop.gmail.com
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.