Ask Your Question
0

I cannot get TCP Packets while wireshark not running

asked 2024-01-31 15:43:58 +0000

myildirim gravatar image

Hi,

I am developing embedded software. This software communicates with the outside world using the TCP protocol. I aim to send and receive data to the device I developed with the Hercules program. My embedded device works in server mode and my computer works in client mode and communicates via port 1453. I can get a response when I ping my embedded device. I can open the port from the Hercules program, and when I send data, my embedded software can receive the data I sent. However, when my embedded device sends data to the client side(PC), that is, the computer, the data does not arrive. When I open the wireshark program and listen to the relevant area, the data comes in properly and I can see the incoming data in the Hercules program. When I close the wireshark program, incoming data is interrupted again. Karspesky is installed on the computer I work on. and I am suspicious of this program. Because when I try it on another computer, the data can be transferred properly without the need for the Wireshark program.

I closed the Karspersky program and changed the firewall rules, but the result did not change. I expect your help and wish you good work.

edit retag flag offensive close merge delete

Comments

(Hercules SETUP utility docs)

Can you update the question with the output of wireshark -v or Help->About Wireshark:Wireshark.
This will include operating system, Wireshark and npcap/winpcap versions.

Chuckc gravatar imageChuckc ( 2024-01-31 15:59:45 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-02-01 11:57:51 +0000

hugo.vanderkooij gravatar image

Sounds like your responses are send in a way that does not match you ethernet address. So when wireshark runs you get the data because you switch to promicious mode.

I think it should show in the packet capture if you look at the thernet addresses very carefully.

edit flag offensive delete link more

Comments

Thank your reply,

Is there a command that can run my current computer in promicious mode? For now, I need a solution where I can communicate successfully without Wireshark. Do you have any suggestions? my device is windows 10. I searched on Google but could not find a satisfactory source.

myildirim gravatar imagemyildirim ( 2024-02-01 12:13:32 +0000 )edit

I encountered this problem because I specified an incorrect MAC address at the IPv4 layer while sending data to the TCP client via the embedded system. When I corrected the specified MAC address, this error disappeared.

myildirim gravatar imagemyildirim ( 2024-02-06 10:27:31 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-01-31 15:43:58 +0000

Seen: 308 times

Last updated: Feb 01