简体   繁体   English

Gmail(google)如何从NMAP隐藏其打开状态?

[英]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.compop.gmail.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我的Google Apps Gmail无法接收来自hotmail的电子邮件 - My google apps gmail does not receive emails from hotmail 如何使用从我的应用程序发送并自动填写gmail的电子邮件值打开Gmail应用程序? - How to open Gmail application with value of email sent from my application and aumatically filled in gmail? GMAIL:如果我知道它的 ID,如何在新的 window 中打开现有的 email? - GMAIL: How to open a existing email in new window if I know its id? 如何在打开本机之前通过反应本机和传递的照片打开Gmail - How to open Gmail from react-native and passing photos before it open 如何在浏览器中打开使用 Gmail API 创建的草稿? - How to open a draft created with Gmail API in browser? 如何阅读来自 gmail 的电子邮件? - How to read emails from gmail? 如何将在 gmail 上收到的图像自动保存到谷歌驱动器 - How to autosave of images received on gmail to google drive 既然 Google 已禁用“不太安全的应用程序”设置,如何从 codeigniter 使用 gmail 帐户设置 email? - How to set up email with a gmail account from codeigniter now that Google has disabled "less secure app" setting? 如何从Gmail取回email - How to retrieve email from Gmail Gmail上的传入邮件通知如何工作? - How does incoming mail notification on Gmail works?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM