@ori @b0rk Small correction. The last one is the size of the TCP header, encoded in the high nibble of byte 12. I dove into this last night and finally understood it. It takes the full length of the IP packet (which wraps the TCP packet) and subtracts the IP and TCP header lengths. If the result is zero, we have a packet without data.
choomba@social.tchncs.de
Posts
-
worked with the tcpdump folks on an updated set of examples for the tcpdump man page https://www.tcpdump.org/manpages/tcpdump.1.html#lbAF -
worked with the tcpdump folks on an updated set of examples for the tcpdump man page https://www.tcpdump.org/manpages/tcpdump.1.html#lbAF@b0rk Ah, that's something new, thanks! It does start to make sense. We get the total length of the IP packet, subtract the IP header length and then the TCP header length. Really clever. I haven't looked this deep into protocols since uni!
-
Die CDU spricht von "herablassender Arroganz" weil der Wahlsieger den Regierungsauftrag tatsächlich annimmt?@papageier Projektion. Mit herablassender Arroganz kennt sich die CDU bestens aus.
-
worked with the tcpdump folks on an updated set of examples for the tcpdump man page https://www.tcpdump.org/manpages/tcpdump.1.html#lbAF@b0rk or others, is there a page that explains a filter like this: tcp port 80 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)
I have no idea what is going on here. This is from the pcap filter man page. Why the masking and shifting and what is up with ip[2:2]? This part of tcpdump has remained a mystery to me for decades.
-
Found on Bluesky.@cstross I think in these trying times we all too often forget that pacclabmech is not mehee yem.
-
Shots fired: “I have usernames older than you.”.@leyrer 2452680. And I had a contact with a six digit number. And I still remember the last few digits of the phone number of the BBS I used to dial in to to chat with people.
-
Residents Say Elon Musk’s AI Facility Is Like Living Next Door to Mordor -
There are a lot of reasons for the downfall of the #USA but a big one is the purchase of traditional #media by plutocrat goons@benroyce But it's true. You just need to understand that the "us" in the headline refers to billionaires.
-
Windows 12 is due to come out this year.@taschenorakel @NetscapeNavigator As awesome as that would be, the LTS support for Windows 11 will run at least until 2034. I don't see many companies switching before that date. Especially not to an entirely new tech stack. Sad, but unfortunately the reality. But we can remain hopeful that this latest desperate push alienates even more people and makes them switch.