The GMP library's repository is under attack by a single GitHub user
1–10 of 91 posts
Re: The GMP library's repository is under attack by a single GitHub user
#2We're firewalling off all of Microsoft's IP addresses as an emergency response. This is a blunt response, but it is the only response which solves the problem quickly, allowing legitimate site usage to work again."
"UPDATE 2023-06-18: We got a reply from somebody with an impressive title at Github. This person explains that Microsoft and Github have investigated this, and they blame a Github user and the poor GMP infrastructure. It is very interesting that they have done nothing to stop the traffic; we need to keep defending our server by firewalling off more Microsoft IP ranges as I write this 30 hours after Github's response. It is also curious that they blame the victim. (Our infrastructure is pretty resilient with powerful server-class hardware and great connectivity to the Internet.)"
Re: The GMP library's repository is under attack by a single GitHub user
#3Which is to say... what's MSFT's motivation to worry about this?
Re: The GMP library's repository is under attack by a single GitHub user
#4Microsoft employee is dismissive of world outside Microsoft. Film at 11. Which is to say... what's MSFT's motivation to worry about this?
Re: The GMP library's repository is under attack by a single GitHub user
#5Edit: This seems to be the responsible project/issue: https://github.com/BtbN/FFmpeg-Builds/issues/278
Re: The GMP library's repository is under attack by a single GitHub user
#6From the description, it sounds like someone(s) is automatically downloading GMP as a part of a CI process. GHA being the source would explain why it's coming from "several hundred IP addresses owned by Microsoft cooperation (sic)," as well as (maybe) why GH puts the blame on the GMP project for not being able to handle the load. Edit: This seems to be the responsible project/issue: https://github.com/BtbN/FFmpeg-Bui…
Re: The GMP library's repository is under attack by a single GitHub user
#7CI providers really should do more to prevent and mitigate these when they happen. They should have outbound firewalls, and the ability to request a rate limit on IPs. Having to resort to a ban hammer when people depend on your tool is a shame.
Re: The GMP library's repository is under attack by a single GitHub user
#8From the description, it sounds like someone(s) is automatically downloading GMP as a part of a CI process. GHA being the source would explain why it's coming from "several hundred IP addresses owned by Microsoft cooperation (sic)," as well as (maybe) why GH puts the blame on the GMP project for not being able to handle the load. Edit: This seems to be the responsible project/issue: https://github.com/BtbN/FFmpeg-Bui…
Github could cache it then to improve this?
I'm sure it's going to be CI or mirroring or some other automated process.
Re: The GMP library's repository is under attack by a single GitHub user
#9Microsoft employee is dismissive of world outside Microsoft. Film at 11. Which is to say... what's MSFT's motivation to worry about this?
And honestly, whoever is maintaining the GMP server isn't appearing particularly competent based on the messages they've written so far. That they'd misidentify or mischaracterize non-attack traffic as abusive seems pretty plausible.
[0] Ok, I'll admit that there is one thing that GitHub should do even if these particular requests are not abusive, just as a best practice when operating a system for running untrusted code that can connect to the Internet. The egress IPs from any single GitHub customer should be sticky, rather than them having a massive pool of IPs shared by all the users. But if that's not how their systems are already architected, making it happen is probably a multi-quarter effort.
Re: The GMP library's repository is under attack by a single GitHub user
#10Reply from Github: https://gmplib.org/list-archives/gmp-devel/2023-June/006162....