some_guy@lemmy.sdf.org to Technology@lemmy.world · 15 小时前I use Zip Bombs to Protect my Serveridiallo.comexternal-linkmessage-square61linkfedilinkarrow-up1389arrow-down19file-text
arrow-up1380arrow-down1external-linkI use Zip Bombs to Protect my Serveridiallo.comsome_guy@lemmy.sdf.org to Technology@lemmy.world · 15 小时前message-square61linkfedilinkfile-text
minus-squarejust_another_person@lemmy.worldlinkfedilinkEnglisharrow-up74arrow-down2·edit-29 小时前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.
minus-squaresugar_in_your_tea@sh.itjust.workslinkfedilinkEnglisharrow-up16·edit-211 小时前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.
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.