News for hackers. Stuff that matters.
Re:Tell HN: Linode's Abuse form is absolute garbage by LinuxBender on Saturday November 05, 2022 @02:42PM (#33484345)
I've been using Linode as long as they existed. When they were small I would have questioned your comment, but they have grown and many of the original folks appear to be less engaged in the community so boiler plate automation does not surprise me. I would guess that if you spoke with them on the phone you may get better results, but I also suspect they would try to sell you a DDoS solution. It would be a very unfortunate coincidence if people started receiving attacks after a CDN/DDoS mitigation service acquired them.

Out of curiosity, what types of attacks are you receiving? e.g.

- packet rate / packets-per-second

    TIMEFORMAT=%R time tcpdump -i any -NNnnt -p -c1000 not port 22 >/dev/null
- average mss of the tcp syn packets / number of tcp syn's missing mss.

    tcpdump -p -i any -NNnnt -c500 proto 6 and 'tcp[13] == 2'
- average length of the udp packets

    iptraf-ng -z eth0 # or # tcpdump -p -i any -NNnnt -c500 proto 17
- NIC saturating volumetric attack?

    iftop -i eth0 -PNnBb -f 'not port 22'
- Number of AS numbers these are distributed across

I ask because I have seen an uptick in incredibly odd port scans that seem to just repeat. They are harmless but make tcpdump really noisy. If you give me some general numbers on the above questions I might be able to suggest some generalized mitigations assuming the numbers are small enough. Most that I am seeing come from 103/8, some from a server reseller in the Netherlands and some come from Tor exit nodes suggesting to me someone is trying to break Tor. This is not specific to Linode, I am seeing this on 3 VPS providers.

If most of what you are seeing are TCP packets missing mss, take a look at this thread [1]. If most of the packets are UDP, first look at the legit size of UDP packets of the applications on your server, then use the "length" iptables module to DROP anything that does not match your traffic pattern.

[1] - https://news.ycombinator.com/item?id=33129508

Re:Tell HN: Linode's Abuse form is absolute garbage by TheNewsIsHere on Sunday November 06, 2022 @11:18PM (#33501088)
> [..] but I also suspect they would try to sell you a DDoS solution [..]

Linode has been pretty vocal that DDoS protection at their edge has been included, from before the Akamai acquisition.