This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Can I block response for request using WireShark

0

Please help. How can I simulate the "time out" error for my request. Can I block response for request using WireShark (CoAP protocol) If it posible - please advise how can I do it

This question is marked "community wiki".

asked 13 Apr '16, 01:04

AMitiev's gravatar image

AMitiev
6224
accept rate: 0%


2 Answers:

2

No. Wireshark is a monitoring tool and does not affect the data flows (except indirectly due to changing interface settings which is useless for your case).

I would recommend to use netfilter (iptables) for the purpose - if it cannot be used on the client or server machine directly, use a linux box as an intermediate router and implement the "network spoiler" there.

answered 13 Apr '16, 01:26

sindy's gravatar image

sindy
6.0k4851
accept rate: 24%

0

Hi @AMitiev,

If you are using Windows, you can use Npcap to implement a firewall. It supports the PASS, DROP and MODIFY operation. You need to parse the packet contents by yourself to determine how to handle the packet.

See the description on the release of Npcap 0.05 R11 for usage:

https://github.com/nmap/npcap/releases/tag/v0.05-r11

You can use the latest normal (non -wifi, the latest is 0.05 R14) version Npcap at:

https://github.com/nmap/npcap/releases

answered 13 Apr '16, 20:17

Yang%20Luo's gravatar image

Yang Luo
9117
accept rate: 4%