如何过滤wireshark,只看到我的电脑发送/接收的dns查询?

编程入门 行业动态 更新时间:2024-10-25 12:25:57
本文介绍了如何过滤wireshark,只看到我的电脑发送/接收的dns查询?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是最新的wirehark,并试图写简单的查询。要查看仅从我的电脑发送或由我的电脑收到的dns查询,我尝试以下操作:

I am new to wireshark and trying to write simple queries. To see the dns queries that are only sent from my computer or received by my computer, i tried the following:

dns and ip.addr==159.25.78.7

其中159.25.78.7是我的IP地址。看起来我是在做过滤器的结果,但我想确保这一点。那个过滤器是否真的做我想要找到的东西?我怀疑了一点,因为在过滤结果中,我也只看到一个其他协议是ICMP的结果,其信息表示Destination unreachable(Port unreachable)。

where 159.25.78.7 is my ip address. It looks like i did it when i look at the filter results but i wanted to be sure about that. Does that filter really do what i am trying to find out? I doubted a little bit because in the filter results i also see only 1 other result whose protocol is ICMP and its info says "Destination unreachable (Port unreachable)".

可以有人帮我这个吗?

谢谢

推荐答案

我会去通过数据包捕获,看看是否有任何我知道的记录,我应该看到验证过滤器是否正常工作并缓解任何疑问。

I would go through the packet capture and see if there are any records that I know I should be seeing to validate that the filter is working properly and to assuage any doubts.

请尝试以下过滤器,看看是否收到您认为应该获得的条目:

That said, please try the following filter and see if you're getting the entries that you think you should be getting:

dns和ip.dst == 159.25.78.7或dns和ip.src == 159.57.78.7

dns and ip.dst==159.25.78.7 or dns and ip.src==159.57.78.7

更多推荐

如何过滤wireshark,只看到我的电脑发送/接收的dns查询?

本文发布于:2023-10-26 09:53:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1529807.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:只看   电脑   wireshark   dns

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!