Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 0 and 1 Length ACK UDP packets not showing up in log #334

Open
jalius opened this issue Sep 20, 2023 · 3 comments
Open

[BUG] 0 and 1 Length ACK UDP packets not showing up in log #334

jalius opened this issue Sep 20, 2023 · 3 comments
Assignees

Comments

@jalius
Copy link

jalius commented Sep 20, 2023

What OS and Version?

Windows 11
V 8.4.3 Binary

Description of issue

The log isn't receiving any 1 length or 0 length UDP packets. These packets are supposed to be responses like ACK, but they don't show up in the log. Wireshark does show the packets.

@jalius jalius changed the title [BUG] [BUG] 0 and 1 Length ACK UDP packets not showing up in log Sep 20, 2023
@dannagle
Copy link
Owner

This is by design. Packet Sender only shows the data because it lets the OS handle TCP session management.

@jalius
Copy link
Author

jalius commented Nov 30, 2023

This is by design. Packet Sender only shows the data because it lets the OS handle TCP session management.

Hi. Do you mind elaborating on this? I'm trying to implement UDP acknowledge but I think I'm missing something fundamental about networking.

@dannagle
Copy link
Owner

UDP does not use sessions. There are no acknowledgements unless you send that yourself in your code.

Since every UDP packet is complete, Packet Sender does not apply any filtering to UDP.

Here is a screenshot of a zero-data packet captured by Packet Sender:

image

You may want to set up a loopback test using 2 Packet Senders to help your understanding of what is happening. Take a look at this screenshot as a guide on how you can set that up: #172 (comment) . For your test, use "UDP" instead of TCP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants