some_guy@lemmy.sdf.org to Technology@lemmy.world · 1 day agoI use Zip Bombs to Protect my Serveridiallo.comexternal-linkmessage-square79fedilinkarrow-up1455arrow-down114file-text
arrow-up1441arrow-down1external-linkI use Zip Bombs to Protect my Serveridiallo.comsome_guy@lemmy.sdf.org to Technology@lemmy.world · 1 day agomessage-square79fedilinkfile-text
minus-squarejust_another_person@lemmy.worldlinkfedilinkEnglisharrow-up80arrow-down2·edit-220 hours 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-up20·edit-221 hours 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.