jomo on Nostr: TIL #Discord effectively does traffic amplification when users post an image. They ...
TIL #Discord effectively does traffic amplification when users post an image. They crawl the image URL using a Discordbot User-Agent, but in the same second request the same URL with a spoofed Mac OS browser User-Agent that can't be identified as a Discord request.
Both request are required for the image to render in Discord chat. Absolutely great!
https://github.com/discord/discord-api-docs/issues/1600#issuecomment-628529359
Published at
2023-12-21 03:46:43Event JSON
{
"id": "037848661834db3d0bd9028fff0756a32f60aeb124e632562e70974c66dc5858",
"pubkey": "7d951d1bd0732b7655edf2fd76a2bf59520922e5b1bcbbb24abfaa40ba6c6742",
"created_at": 1703130403,
"kind": 1,
"tags": [
[
"t",
"discord"
],
[
"proxy",
"https://mstdn.io/users/jomo/statuses/111616354111498918",
"activitypub"
]
],
"content": "TIL #Discord effectively does traffic amplification when users post an image. They crawl the image URL using a Discordbot User-Agent, but in the same second request the same URL with a spoofed Mac OS browser User-Agent that can't be identified as a Discord request.\n\nBoth request are required for the image to render in Discord chat. Absolutely great!\n\nhttps://github.com/discord/discord-api-docs/issues/1600#issuecomment-628529359\n\nhttps://media.mstdn.io/mstdn-media/media_attachments/files/111/616/351/111/297/387/original/df443431b24a746f.png",
"sig": "7488a466c16f94c546bd00565161b07d8976c10b1d50db9ce1a673121c2dc09087da955142be356065171076f119db350796c5e4aab099c1e278645a8211138a"
}