3 ms·
My third edit included a bit more on this - I'm closer to 600 bytes total than 1380. A few of them are sitting at closer to 80 bytes for a request+response for
by cthalupa 9y ago
My third edit included a bit more on this - I'm closer to 600 bytes total than 1380. A few of them are sitting at closer to 80 bytes for a request+response for DNS, etc. With a quick while loop and tcpdump, I'm seeing the number as being off by about 2x from my testing.
My DNS numbers are all basically half his - all of my requests are sub 40 bytes, responses are all sub 80, some are sub 60. My NTP query and response packets are pretty close, though - sitting around 80 bytes for request and response.
- ktta 9y agoYour DNS numbers are off because you aren't counting IP and UDP headers See my edit - https://news.ycombinator.com/item?id=15912467 https://news.ycombinator.com/item?id=15912467
- cthalupa 9y agoEven using -e and looking at length I'm still significantly under 1380 bytes. dig/ntpq on osx.
- ktta 9y agoCan you take a look at the edit and comment on where your numbers differ exactly? I tried to be as accurate as possible. I used the busybox_NTPD from https://busybox.net/downloads/binaries/ https://busybox.net/downloads/binaries/