News for hackers. Stuff that matters.
Re:eBPF Mystery: When is IPv4 not IPv4? When it's pretending... by smitty1e on Friday May 09, 2025 @01:07AM (#43933952)
In a similar fashion, I once saw a python script that called out to a one-page C program that read a .csv dump (probably from SQLServer) and blew away the upper byte of each character, demoting it to ASCII.

Once I understood what was afoot, I was sad that someone had worked so hard when python's open() call supports an 'encoding' argument for just these occasions.

Re:eBPF Mystery: When is IPv4 not IPv4? When it's pretending... by bouke on Friday May 09, 2025 @01:11AM (#43933969)
Reminds me of a time where someone stored the md5 hash of a password as a string by throwing away all non-ascii bytes; so roughly half the bytes.
Re:eBPF Mystery: When is IPv4 not IPv4? When it's pretending... by o11c on Friday May 09, 2025 @01:26AM (#43934031)
I've seen something similar, but it depended on whether plain `char` is signed or unsigned, which is highly platform-dependent.
Re:eBPF Mystery: When is IPv4 not IPv4? When it's pretending... by spiritplumber on Friday May 09, 2025 @02:09AM (#43934221)
that's the first thing i ever uploaded anywhere! fixtxt.exe on simtel.net