some_guy@lemmy.sdf.org to Technology@lemmy.world · 2 months agoI use Zip Bombs to Protect my Serveridiallo.comexternal-linkmessage-square84linkfedilinkarrow-up1428arrow-down111file-text
arrow-up1417arrow-down1external-linkI use Zip Bombs to Protect my Serveridiallo.comsome_guy@lemmy.sdf.org to Technology@lemmy.world · 2 months agomessage-square84linkfedilinkfile-text
minus-squarejust_another_person@lemmy.worldlinkfedilinkEnglisharrow-up77arrow-down2·edit-22 months agoI believe he’s returning a gzip HTTP response stream, not just a file payload that the requester then downloads and decompresses. Bzip isn’t used in HTTP compression.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up17·edit-22 months agoBrotli is an option, and it’s comparable to Bzip. Brotli works in most browsers, so hopefully these bots would support it. I just tested it, and a 10G file full of zeroes is only 8.3K compressed. That’s pretty good, though a little bigger than BZip.
I believe he’s returning a gzip HTTP response stream, not just a file payload that the requester then downloads and decompresses.
Bzip isn’t used in HTTP compression.
Brotli is an option, and it’s comparable to Bzip. Brotli works in most browsers, so hopefully these bots would support it.
I just tested it, and a 10G file full of zeroes is only 8.3K compressed. That’s pretty good, though a little bigger than BZip.