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 |
2 Answers:
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 |
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: answered 13 Apr '16, 20:17 Yang Luo |