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

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%


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.

permanent link

answered 13 Apr '16, 01:26

sindy's gravatar image

sindy
6.0k4851
accept rate: 24%

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

permanent link

answered 13 Apr '16, 20:17

Yang%20Luo's gravatar image

Yang Luo
9117
accept rate: 4%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×49
×40
×14
×12

question asked: 13 Apr '16, 01:04

question was seen: 1,592 times

last updated: 13 Apr '16, 20:17

p​o​w​e​r​e​d by O​S​Q​A