News for hackers. Stuff that matters.
Re:I'm blocking connections from AWS to my on-prem services by immibis on Thursday August 29, 2024 @08:36PM (#41396736)
That's a shame, really. You are risking that none of your stuff will show up on search engines, not even Marginalia. You are risking that none of your stuff will be saved in the Wayback Machine. Maybe you want that, in which case you should block all the clouds and data centers, just to be sure. You might even be blocking your site from some small ISPs based on where they run their CGNAT gateway (I doubt this, but it's possible).

As far as I noticed, ping with a spoofed source address is the only actual abuse mentioned in the article. It should go without saying that you can't tell if a spoofed ping packet came from AWS, because the source address is the address the spoofer wants you to send a reply to, not the spoofer's address. And a much less invasive mitigation would be rate-limiting pings to, say, 10 per second.

While the Internet is becoming balkanized this is mostly because of social media siloing itself to generate advertising and data revenue and to extract profit from AI training data (e.g. the Reddit/Google exclusivity deal) rather than because of providers blocking IP ranges.

I certainly don't understand the rational mindset behind blocking certain providers over some pings and then complaining about IP connectivity becoming balkanized. The balkanization is caused by the ones doing the blocking.

Re:I'm blocking connections from AWS to my on-prem services by wmf on Thursday August 29, 2024 @09:19PM (#41396968)
I see it more as a lament that they have been "forced" to take actions that may cause balkanization as a side effect. However the overall tone is that of weaving a grand historical narrative out of a mosquito bite.
Re:I'm blocking connections from AWS to my on-prem services by Laforet on Thursday August 29, 2024 @09:47PM (#41397080)
I had to read the article twice to be sure that it was a utilitarian move (however questionable it might be) rather than a grand ideological stand that the article seems to spend much time portraying.

FWIW, data center IP addresses are already being treated as second class citizens by major content/service providers, and this has become an escalating barrier to self hosting. I am honestly not sure what the author is trying to accomplish.

Re:I'm blocking connections from AWS to my on-prem services by chrisweekly on Thursday August 29, 2024 @10:47PM (#41397342)
> "data center IP addresses are already being treated as second class citizens by major content/service providers, and this has become an escalating barrier to self hosting"

Could you please expand on this a bit?

Re:I'm blocking connections from AWS to my on-prem services by thrdbndndn on Thursday August 29, 2024 @11:11PM (#41397429)
DC IPs are often:

1. totally blocked by some services (especially those related to copyright, like almost all the streaming services), 2. treated as suspicious by lots of CDNs (so you would get captchas more frequently; have stricter rate control, etc.)

Re:I'm blocking connections from AWS to my on-prem services by chrisweekly on Monday September 02, 2024 @04:51PM (#41428708)
Thanks. Still interested in OP's response too.

Also, what qualifies as a data center?

Re:I'm blocking connections from AWS to my on-prem services by Laforet on Thursday September 05, 2024 @06:28PM (#41460919)
Hi, OP here. I did not respond since another poster had beaten me to it but here we go.

The reply above yours is mostly correct though I have to admit that “data center IP” could be a bit of a misnomer when it comes to IP reputation. There are essentially 4 categories:

- Residential landline connections are the most mundane but are also least restricted because this is where your average users are found. The odds of bad actors on the same network is fairly low, and most ISPs will overlook minor transgressions to not incur additional customer support costs.

- Mobile data connections are often behind CG-NAT. Blocking entire IP range tends to generate a lot of false positives so it doesn’t happen very often.

- Institutional IP ranges (such as 17.0.0.0/8 or any org that maintains their own ASN) tends to get a pass as well because they tends to have their own IT and networking department to take collective responsibility if something untoward was to happen.

- This leaves public could and hosting services on the lowest tier because these networks have very low barrier of entry for bad actors . Connections from these IP addresses are also far more likely to be bots and scrapers than a human user so most TDS systems are all too happy to block them.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Saturday August 31, 2024 @10:35AM (#41409178)
It is ideological. No utilitarian explanation was provided.
Re:I'm blocking connections from AWS to my on-prem services by SoftTalker on Thursday August 29, 2024 @10:55PM (#41397370)
Nothing shows up on search engines anymore except huge ad-laden content farms and very large sites like wikipedia, stackoverflow, and big news/media company sites, and of course YouTube.

I have not seen individual blogs or small enthusiast sites in search results for quite some time.

If I want wikipedia or stackoverflow I can just search those sites directly. I'd like an option to exclude all the "usual suspects" and see some more long tail stuff.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Thursday August 29, 2024 @11:33PM (#41397517)
Try Marginalia Search
Re:I'm blocking connections from AWS to my on-prem services by chx on Friday August 30, 2024 @03:41AM (#41398545)
Have you tried Kagi?
Re:I'm blocking connections from AWS to my on-prem services by Brian_K_White on Friday August 30, 2024 @06:08AM (#41399297)
kagi, & even more kagi small web
Re:I'm blocking connections from AWS to my on-prem services by bcye on Friday August 30, 2024 @09:39AM (#41400610)
Small web literally gives 0 results a lot of times, blocking or deranking websites that don't have a "reject all" button works like a charm though
Re:I'm blocking connections from AWS to my on-prem services by altairprime on Thursday August 29, 2024 @09:28PM (#41397001)
You frame ‘not showing up in search engines’ as a drawback, a downside. What underlies that assumption for you? Could you help me understand it? I don’t share the viewpoint, but I’m still working to understand it.
Re:I'm blocking connections from AWS to my on-prem services by noirbot on Thursday August 29, 2024 @11:49PM (#41397580)
I'd be curious about your opinion. I have no real love for search engines, but if I'm going to the trouble of putting things on the internet in public vs. just sending them to people directly, presumably it would be because I want people outside of my circle of friends to see it. If you're not out personally marketing/reposting your blog/site places, search engines are pretty much the only other way people would find you.

And even if I saw your site on here, say, and liked it, if I don't bookmark it immediately, I'd still go to a search engine to try to re-find it in the future if I wanted to go back. Not to say you need to be doing paid ads or trying to raise your SEO or whatever, but I've had times where I remember some unique phrase from an article I read years ago and Google can use that to find the original source.

Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @12:35AM (#41397749)
> putting things on the internet in public vs. just sending them to people directly

A large proportion of the resources I host on-prem are just that. Stuff that's too large for email, or isn't static, or may get updated. Unless people host their own email server (like I do), it's going to e.g. Gmrgle anyway if you email it to them. Maybe it gets blocked, maybe it gets fubared.

Uploading it to an on-prem server and sending the link in an email is no more trouble and any issues are easier to debug.

Re:I'm blocking connections from AWS to my on-prem services by rkeene2 on Thursday August 29, 2024 @09:45PM (#41397076)
The logic seems clear to me: if you want people to be able to make use of/benefit from your published knowledge/artifacts you would want people to be able to find it when they are searching for that kind of published knowledge/artifact. People use search engines to perform the search for published knowledge/artifacts. Thus, publishing knowledge/artifacts but restricting them such that they cannot be found is a set of simultaneous contradictory actions.
Re:I'm blocking connections from AWS to my on-prem services by altairprime on Thursday August 29, 2024 @10:24PM (#41397252)
Noted, thank you; I’d still like to hear OP’s viewpoint, though.
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @12:21AM (#41397703)
Simple answer is I find search engines mostly useless. There is no investment in curation, compared to site-specific search. I run and have access to a few semi-private curated lists of resources, good enough for most of what I need and certainly for the kinds of resources I (and other like-minded people) host solely on-prem. Furthermore "search engines good" does nothing about the "not good" traffic; it's a not even wrong argument from my POV.

This wasn't some huge technical lift for me to implement. Trust me on that. I got tired of Amazon stinking up my logs and decided that since I can't discriminate based on reliable information about the services being hosted there which have a legitimate need to reach out, I just don't need their help. Really, I'm helping them by ensuring no spurious pongs or SYN/ACKs come from me. See? I'm helping the best I can.

If you think this is heavy-handed and arbitrary, take a close look at email and domain reputation providers sometime.

Need a version of nc which does multicast and is written in python? Well, you can't get that from an Amazon address anymore... unless you've mirrored it. How many people care? How many people care about precinct-level voting patterns for King County Washington from roughly 2005-2009?

It's not a "grand narrative", I've been playing with the internet since it was possible to do so legally. If explaining that history is grandiose for you, that's you. I host on-prem for my convenience and nobody else's. Enjoy the article... or not.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @04:51AM (#41398888)
Can I know your IP address ranges? I'd like to block them.
Re:I'm blocking connections from AWS to my on-prem services by arcza on Friday August 30, 2024 @05:43AM (#41399160)
The author has said for a long time they have had a "no crawl" policy anyways, I don't think the author cares and with the enshittification of Google they are probably in the right anyways.
Re:I'm blocking connections from AWS to my on-prem services by Tijdreiziger on Friday August 30, 2024 @07:45AM (#41399764)
> You might even be blocking your site from some small ISPs based on where they run their CGNAT gateway (I doubt this, but it's possible).

Why wouldn’t (even small) ISPs run their CGNAT gateway in their own IP space?

Running a CGNAT gateway in the cloud would lead to a lot of problems. I think your subscribers wouldn’t be able to watch Netflix and the like, since they wouldn’t be on a residential IP. It would probably also lead to more anti-bot CAPTCHAs from Cloudflare and Google.

Are there actually any known examples of this?

Re:I'm blocking connections from AWS to my on-prem services by xyzzy123 on Thursday August 29, 2024 @08:58PM (#41396857)
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Thursday August 29, 2024 @09:02PM (#41396878)
I haven't checked today, but e.g. Amazon's JSON file belies the fact that they own 3.0.0.0/8 in practice if not in fact. I'm not going to play "let's block Amazon's huge JSON list". I've got 53 rules. I'm willing to step on some fingers / toes. I can get to sites in AWS just fine.
Re:I'm blocking connections from AWS to my on-prem services by oneplane on Thursday August 29, 2024 @09:15PM (#41396946)
Amazon does have 3.0.0.0/8. Granted, it is noted as two separate /9 blocks, but it's all Amazon.

Perhaps a better use of your time (because de-balkanization of the internet would be more of an academic exercise than a mass market reality; consumers have already self-selected into social media and crappy LLM outputs which is a far bigger matter and driver than ephemeral resources or reverse DNS) would be making your TLS work in a way that doesn't allow for easy abuse. So automatic redirects, HSTS, and a certificate that is standards-compliant.

Re:I'm blocking connections from AWS to my on-prem services by huggingmouth on Friday August 30, 2024 @12:42PM (#41402386)
> consumers have already self-selected into ... crappy LLM outputs

Tangent, but last I checked, it was all the big tech giants pushing it down our throat. Unless it's your full time job to find loopholes and workarounds, there is no reasonable way for consumers to opt-out.

Re:I'm blocking connections from AWS to my on-prem services by zamadatix on Thursday August 29, 2024 @10:28PM (#41397265)
> I haven't checked today, but e.g. Amazon's JSON file belies the fact that they own 3.0.0.0/8 in practice if not in fact.

While it may seem more useful to aggregate the ranges in some points of view it'd be significantly less useful from other points of view. E.g. those who want to whitelist any IP ranges matching a specific DC, service, availability zone, or country.

You can always aggregate the detailed list but you can't do the inverse on your own.

Re:I'm blocking connections from AWS to my on-prem services by hughesjj on Thursday August 29, 2024 @11:47PM (#41397571)
And you don't even have to invent the aggregation from scratch

https://cidr-aggregator.pages.dev/

Re:I'm blocking connections from AWS to my on-prem services by LinuxBender on Friday August 30, 2024 @10:09AM (#41400905)
I don't remember where I found this but there is also some perl code that will do it. I wish they added a comment so I could give them credit. I use it to build block lists for adding null routes on hobby web servers using a few blocklists from around the web and for importing data from BGP AS databases. It keeps my routing table below 300K. It's only for ipv4.

[Edit] I think this might be where I found it [1]

    #!/usr/bin/perl
    use strict;
    use warnings;
    use Net::CIDR::Lite;
    
    my $ipv4String='[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}';
    
    if(defined $ARGV[0] && $ARGV[0] eq '-h'){
    print "usage: $0
    
    This script summarizes your IP classes (if possible). Input IPs with mask one per line. End with CTRL+D. Optionally, redirect a file to stdin like so:
    $0 < cidr.txt ";
    exit;
    }
    
    
    print "Enter IP/Mask one per line (1.2.3.0/24). End with CTRL+D.\n";
    
    my $cidr =Net::CIDR::Lite->new;
    
    while(<>){
    if(/($ipv4String\/[0-9]{1,2})/){
    my $item=$1;
    $cidr->add($item);
    }
    else{
    print "Ignoring previous line.\n";
    }
    }
    my @cidr_list = $cidr->list;
    print "======Aggregated IP list:======\n";
    foreach my $item(@cidr_list){
    print "$item\n";
    }

[1] - https://adrianpopagh.blogspot.com/2008/03/route-summarizatio...
Re:I'm blocking connections from AWS to my on-prem services by quectophoton on Friday August 30, 2024 @12:29PM (#41402250)
If using Python, there's a nice method too: https://docs.python.org/3/library/ipaddress.html#ipaddress.c...
Re:I'm blocking connections from AWS to my on-prem services by theginger on Friday August 30, 2024 @08:04AM (#41399861)
It was ge sold to Amazon a few years ago. There was a thread about it here https://news.ycombinator.com/item?id=24840405
Re:I'm blocking connections from AWS to my on-prem services by UI_at_80x24 on Thursday August 29, 2024 @09:12PM (#41396932)
I understand the appeal. If I wanted to wall-off large swaths of the internet from what I create I would do the same thing. It's not much different then blocking entire countries.

The desire to limit the noise and only allow a "small circle of friends" is also appealing.

But I do that for specific services, not my domains in general. Mumble server: only open to the 3-4 countries that my friends are in, and none of the 'cloud providers'. Tech blog: world+dog can see it.

I am firmly in the 'We all benefit from shared knowledge' camp. So if my notes on modem init strings for my 300-baud C64 modem can help one other person; they won't go through the same pain I went through, and the world will be a better place.

I get the desire, for many reasons. That's cool. You do you.

Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @12:01AM (#41397623)
I wrote the "Zen InterSLIP Dialing Script" and it literally went around the world.

Amazon is too large to ignore. I understand that a lot of ICMP and SYN traffic is garbage. I'd be happy to help out and block it (and I do have mitigations in place); in fact I do, by default. That's part of why Amazon is a PITA because they trigger my mitigations "at scale". Amazon doesn't help sort the wheat from the chaff: "send a PCAP (for a ping issue)". I don't learn anything by sending Amazon stuff and hearing nothing. I don't need their good traffic any more than I need their bad traffic... or the traffic which is spoofed which is attacking them.

If they can't see fit to help me help them, I don't need any of it. I'm just keeping my life simple.

Re:I'm blocking connections from AWS to my on-prem services by Dylan16807 on Friday August 30, 2024 @08:41AM (#41400117)
Is the traffic causing you problems though? Or do you just dislike that they don't want to fix this?
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @11:50AM (#41401835)
Problems? What kind of problems? Discovering word embeddings was sort of a happy accident of LLMs: back propagation "improved" them from a similarly random starting point as the NNs.

It's not a technical problem as in overwhelming any resource. It overwhelms me, for starters. Secondly my existing mitigations suggested it, I resisted the move for some of the reasons people here are saying it's a bad idea; I finally concluded the benefits outweighed the costs and I'd try it and see what happens.

So far, so good. Once the fire burns out it should be great.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @06:48PM (#41405209)
You're overwhelmed by the fact that LLMs exist, so you want to sabotage LLMs by censoring your own site from them and half the internet? Feeding them a site filled with garbage non-facts would have a greater effect.

Why do you publish a blog, if not for people to find?

Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @08:58PM (#41405891)
> Feeding them a site filled with garbage

I can turn that back on for you if you miss it. I saved the Content Imposition Disorder Study Group website, it's still there.

Re:I'm blocking connections from AWS to my on-prem services by bdcravens on Thursday August 29, 2024 @09:40PM (#41397046)
In considering this, my first thought was it would block bona fide desktops running in AWS, especially for service offerings like Amazon Workspaces. However, it looks like the IP space for such services are publicly documented if the need arises to specifically whitelist those IPs.

All that said, it's trivial to use proxies or VPNs to bypass any blocks.

Re:I'm blocking connections from AWS to my on-prem services by Sammi on Friday August 30, 2024 @03:51AM (#41398587)
> All that said, it's trivial to use proxies or VPNs to bypass any blocks.

Maybe for you sure. The large drove of people flocking to serverless these days suggests that even most technical people don't want anything to do with their own networking or infrastructure.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @04:49AM (#41398881)
Proxy selling is a successful business (access on the order of 10 million residential IP addresses for on the order of $100 per month), and they don't say how they get access to those. Probably, the more people block access to non-residential IP addresses, the more money botnet vendors make.
Re:I'm blocking connections from AWS to my on-prem services by bdcravens on Friday August 30, 2024 @12:43PM (#41402399)
At least among the "ethical" ones, my understanding is that it's freeware that has been packaged with proxy access (presumably disclosed to the end user, but that's a matter of interpretation)
Re:I'm blocking connections from AWS to my on-prem services by theideaofcoffee on Thursday August 29, 2024 @09:56PM (#41397117)
Yawn. Old man yells at cloud (literally). So he's taking his little netblock ball and going home because of some failed purity tests: bad or nonexistent PTRs, excessive ICMP, oh my! The gentleman's agreements that held together the early internet and web and the unwritten practices like that are long gone, get with the times, there ain't any going back to how it was. Otherwise, feel free to disconnect entirely if you don't want to deal with the new reality.

I'm going to going out on a limb and guess that all of this traffic that isn't related directly to AWS, but its customers. You can set PTRs for your allocated elastic IPs with a request to support. But then again nobody is going to do it because... it doesn't matter. It may have mattered when you were hosting with a block that you actually truly owned, before the ICANN times, but no more. No one cares. Everything is ephemeral, so why should the reverse matter when things get cycled through addresses multiple times per day? If you're seeing excessive anything, then it's probably time to reach out to the abuse contact published in the whois. Let me help you with that:

   OrgAbuseHandle: AEA8-ARIN
   OrgAbuseName:   Amazon EC2 Abuse
   OrgAbuseEmail:  [email protected]
   OrgAbuseRef:    https://rdap.arin.net/registry/entity/AEA8-ARIN

   Comment:        All abuse reports MUST include:
   Comment:        * src IP
   Comment:        * dest IP (your IP)
   Comment:        * dest port
   Comment:        * Accurate date/timestamp and timezone of activity
   Comment:        * Intensity/frequency (short log extracts)
   Comment:        * Your contact details (phone and email) Without these we will be unable to identify the correct owner of the IP address at that point in time.
Use modern features built in to modern versions of common packages and products: rate limiting, redirects, filters, and on and on. If you're just blocking to block to make some sort of statement into the void, you're just hastening that balkanization.
Re:I'm blocking connections from AWS to my on-prem services by cdchn on Thursday August 29, 2024 @10:26PM (#41397258)
AWS doesn't mess around with abuse reports either. If you send a report and it checks out, they're opening a case with the customer in question telling them to explain themselves.
Re:I'm blocking connections from AWS to my on-prem services by hughesjj on Thursday August 29, 2024 @11:44PM (#41397561)
But but that requires an async unidirectional communication with another human (the horror!)
Re:I'm blocking connections from AWS to my on-prem services by alyandon on Friday August 30, 2024 @10:23AM (#41401049)
I ended up blocking Amazon SES because I was receiving hundreds of obviously spam emails across all my inboxes every day for weeks. I dutifully sent multiple reports of this obvious spam to the listed spam/abuse contacts for Amazon SES.

The end result of my efforts was:

  1) No feedback at all from my reports to Amazon - not even an acknowledgement that my report had been received
  2) The spam continued unabated for weeks until I finally had enough and just blocked the entire Amazon SES service
That was a few years ago and maybe they are more responsive now. They sure as hell weren't responsive back then.
[dead]
Re:I'm blocking connections from AWS to my on-prem services by arcza on Friday August 30, 2024 @05:42AM (#41399151)
Meaningless low-value and non-human traffic wasting resources and/or training models. Their blog is for real humans per the author's writing, which is a valid stance to take.
Re:I'm blocking connections from AWS to my on-prem services by issafram on Thursday August 29, 2024 @11:25PM (#41397487)
I started reading the article but stopped after a few sentences. One of the worst font colors ever
Re:I'm blocking connections from AWS to my on-prem services by huimang on Friday August 30, 2024 @12:08AM (#41397653)
It's high contrast, better than a lot of websites. You'll be fine.
Re:I'm blocking connections from AWS to my on-prem services by jaktet on Thursday August 29, 2024 @11:29PM (#41397501)
Re:I'm blocking connections from AWS to my on-prem services by NetOpWibby on Friday August 30, 2024 @04:04AM (#41398646)
Bless
Re:I'm blocking connections from AWS to my on-prem services by enjoyyourlife on Thursday August 29, 2024 @11:39PM (#41397541)
You can use Reader mode on Firefox
Re:I'm blocking connections from AWS to my on-prem services by dredmorbius on Thursday August 29, 2024 @11:56PM (#41397600)
Not only does Reader Mode work beautifully, but, colour choice notwithstanding, the article's CSS styling is sufficiently vanilla that my own enhanced Reader Mode stylesheet (drop caps and a few other fiddly bits) works beautifully. That's often ... not ... the case.
Re:I'm blocking connections from AWS to my on-prem services by tomcam on Friday August 30, 2024 @02:06AM (#41398081)
Reader mode is the way but tbh after the first 1500 words or so I didn’t know where it was going. I’m old and life is short,
Re:I'm blocking connections from AWS to my on-prem services by runxel on Friday August 30, 2024 @10:14AM (#41400946)
I agree. Horrible writing. For a while I thought it's just some LLM output.

Not worth reading anyway, so you've lost nothing, OP.

Re:I'm blocking connections from AWS to my on-prem services by nullc on Friday August 30, 2024 @06:02AM (#41399263)
I think it is a good font color. Nice contrast.

Also if you're the sort that cares enough about such things to make a post complaining you should have tools to change them or override per your preferences (e.g. reader mode).

Re:I'm blocking connections from AWS to my on-prem services by User23 on Friday August 30, 2024 @01:44AM (#41397985)
This makes me miss the Internet. It’s really hard to explain how wonderful it was pre-commercialization. The sour pleasure of having been exactly right about how that would turn out isn’t nearly satisfactory compensation for the loss.
Re:I'm blocking connections from AWS to my on-prem services by Yeul on Friday August 30, 2024 @06:10AM (#41399309)
Ah yes nostalgic bullshit. It was always about the money.
Re:I'm blocking connections from AWS to my on-prem services by RGamma on Friday August 30, 2024 @06:45AM (#41399482)
Not with the fierceness and at the scale of today. Boiling frog and all.
Re:I'm blocking connections from AWS to my on-prem services by tonetegeatinst on Friday August 30, 2024 @02:16AM (#41398134)
Firefox on mobile, using dark mode. That font actually hurts my eye, and I straigup closed the site. Many I'll write a script to scrape the text into a terminal output so I can read it without feeling like I'm having a headache. Probably just output the text via a terminal windows.
Re:I'm blocking connections from AWS to my on-prem services by baq on Friday August 30, 2024 @02:49AM (#41398273)
You don't need to do this, Firefox on mobile has a very good reader mode.
Re:I'm blocking connections from AWS to my on-prem services by Lucasoato on Friday August 30, 2024 @02:37AM (#41398235)
From iOS Safari I see it pink on dark blue… nothing wrong there with these colors, actually they’re pleasant to look at. The font as well seems nice, is there anything wrong with it?
Re:I'm blocking connections from AWS to my on-prem services by ThePhysicist on Friday August 30, 2024 @02:21AM (#41398160)
It's crazy how fast people start attacking your infrastructure on the Internet these days. I recently started announcing one of my /23 subnets (512 addresses) over BGP for an anycast setup, once the route was announced and traffic flowing to the router tcpdump blew up with port scan activity on all IPs of the range. Of course that doesn't have anything to do with the route, it's just that tons of people seem to indiscriminately and continuously scan for open ports on all IP ranges (my range has been unannounced for many years before so it wasn't on someones list of active servers).

I find it a shocking that people still expose internal web services (e.g. Gitlab) openly to the Internet, in my opinion you should at least have one additional layer of protection through a VPN or similar mechanism so that your services aren't discoverable from the public Internet.

I only expose SSH from a single bastion host, which is the only host that's publicly reachable, something that I'd like to get rid off in the future as well by adding a VPN layer on top.

Re:I'm blocking connections from AWS to my on-prem services by jcalvinowens on Friday August 30, 2024 @02:35AM (#41398224)
> something that I'd like to get rid off in the future as well by adding a VPN layer on top.

What VPN software would you use? Personally I've never found anything I consider as trustworthy as OpenSSH.

Re:I'm blocking connections from AWS to my on-prem services by imhoguy on Friday August 30, 2024 @04:11AM (#41398692)
Wireguard. Actually I setup also 2nd backup tunnel in case some upgrade or change messes up the first one.
Re:I'm blocking connections from AWS to my on-prem services by tmdetect on Friday August 30, 2024 @09:14AM (#41400396)
+1 to WireGuard. For people new to it, there are some great scripts which set up and configure it for you like https://github.com/Nyr/wireguard-install
Re:I'm blocking connections from AWS to my on-prem services by Sammi on Friday August 30, 2024 @03:48AM (#41398576)
Aren't the cool kids using https://tailscale.com/ these days?
Re:I'm blocking connections from AWS to my on-prem services by diggan on Friday August 30, 2024 @07:55AM (#41399811)
Ain't no cool kids (in my world) using centralized for-profit services for essential things like that.
Re:I'm blocking connections from AWS to my on-prem services by crote on Friday August 30, 2024 @08:56AM (#41400237)
Pretty much all of it is open-source, and there's a self-hosted open-source alternative available for the only closed-source cloud-hosted component[0] - and that's even actively being promoted by Tailscale![1]

[0]: https://headscale.net/

[1]: https://tailscale.com/opensource#encouraging-headscale

Re:I'm blocking connections from AWS to my on-prem services by diggan on Friday August 30, 2024 @09:22AM (#41400458)
Seems the cool kids are using Headscale then if anything, rather than Tailscale :)
Re:I'm blocking connections from AWS to my on-prem services by WhyNotHugo on Friday August 30, 2024 @08:23AM (#41399991)
multicast/mDNS is broken, and it doesn't seem that it will be fixed anytime soon. This prevents hosts discovering each other as if they were on non-virtual LAN.

Personally, I find that having to set up an OIDC provider is too much overhead for a VPN. In a corporate setting, you likely have something already, but for individuals or small teams it's too much extra work.

Re:I'm blocking connections from AWS to my on-prem services by iudqnolq on Friday August 30, 2024 @08:52AM (#41400208)
How could that work with their architecture? They configure your device to use a DNS server running locally in their app. That resolves their device names to their internal device IP addresses. Their device names default to hostnames, just like mDNS does.

So to give an example if I enter http://geder in my browser I want that to resolve to 100.100.5.10 regardless of if I am on my home network (where geder is) or if I am on a train.

From my perspective half the reason to use tailscale is that it replaces why I'd want mDNS with less bugs.

Re:I'm blocking connections from AWS to my on-prem services by aragilar on Friday August 30, 2024 @10:01AM (#41400824)
Except that mDNS is required for loads of things (via DNS-SD, which is basically the main reason to use mDNS).
Re:I'm blocking connections from AWS to my on-prem services by WhyNotHugo on Wednesday September 04, 2024 @06:22AM (#41443953)
That requires rewriting all software to follow tailscale's model instead of mDNS. Additionally, discovery would no longer work when devices are on the same physical network.
Re:I'm blocking connections from AWS to my on-prem services by throwaway63467 on Friday August 30, 2024 @03:06AM (#41398352)
I use OpenVPN for historical reasons but today I’d go for Wireguard, much simpler, faster and integrated in the kernel, connectionless so much less friction when e.g. rebooting or changing networks.
Re:I'm blocking connections from AWS to my on-prem services by com on Friday August 30, 2024 @02:58AM (#41398313)
Wireguard is quite good too, and if you’re up for some complication in your life you can do full mesh quite easily with it if your online infra is a bit distributed.
Re:I'm blocking connections from AWS to my on-prem services by RGamma on Friday August 30, 2024 @05:27AM (#41399056)
There's also helpers for wireguard meshes. Or become dependent on yet another service like tailscale (at least there's headscale) or zerotier.
Re:I'm blocking connections from AWS to my on-prem services by running101 on Friday August 30, 2024 @07:04AM (#41399579)
It has no dhcp
Re:I'm blocking connections from AWS to my on-prem services by com on Friday August 30, 2024 @08:56AM (#41400240)
I use IPv6 magic
Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @09:15AM (#41400404)
you can statically configure if you don't have a zillion hosts
Re:I'm blocking connections from AWS to my on-prem services by RGamma on Friday August 30, 2024 @05:24AM (#41399043)
Yep, don't ever put up badly configured public SSH. It's gonna be pwned in literal seconds. The net increasingly feels like what's going on behind Cyberpunk's blackwall.
Re:I'm blocking connections from AWS to my on-prem services by itsTyrion on Friday August 30, 2024 @11:58AM (#41401909)
> literal seconds

Under what condition, the root pw being "admin"?

Re:I'm blocking connections from AWS to my on-prem services by arnavpraneet on Friday August 30, 2024 @12:23PM (#41402182)
way more common than you think
Re:I'm blocking connections from AWS to my on-prem services by _nalply on Friday August 30, 2024 @12:32PM (#41402282)
One really never can be sure but I do this and I hope it is enough:

- put ssh on a port not 22

- only allow key-based logins

- don't allow root logins

- keep software up to date

Not that I am an expert... So please tell me if I have a hole somewhere in my setup.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Saturday August 31, 2024 @10:31AM (#41409127)
It's defense-in-depth. Really, all you need is:

- don't have a guessable password

With extremely rare exceptions (the NSA might), attackers don't have some magic sauce that breaks SSH. Even the recent SSH vulnerability was very hard to actually exploit (but you should have updated ASAP anyway). Their strength is that they just guess passwords all day long on the whole internet. If one server has "admin", or "root", or "1234", they'll get in instantly. If one server has "alcatrazquinine" they'll get in less instantly. If one server has "XgMTaJR35a7gSpXTD2T", they won't ever get in. This is secure from all the people scanning ssh keys. Well, don't use that exact password I just published.

Key authentication is preferred for two reasons. One is that if you accidentally connect to the wrong server you won't transmit your password to that server. The other is that you can store your key in a file and use it automatically so that just typing "ssh myserver" gets you all the way to a shell prompt. That's very convenient.

Not allowing root logins can make sense for auditing reasons (so you can see which user logged in and then used sudo), but if this is just your private server, there isn't really much reason to avoid it. If it makes you feel better, just pretend your name is "root". It also makes sense if you subscribe to the philosophy of "typing sudo in front of every command helps prevent mistakes," which I don't.

Using a port other than 22 can remove provide a very slight decrease in bandwidth and CPU load, and a bigger decrease in log file output, from processing failed logins by scanners. If these things actually matter to you, go ahead. I promise they don't. Doing it for security is either paranoia or security theater, depending on whether your password is "XgMTaJR35a7gSpXTD2T" or "1234".

Keeping software up to date: of course.

Re:I'm blocking connections from AWS to my on-prem services by _nalply on Sunday September 01, 2024 @04:42PM (#41420224)
Thanks, that was great.
Re:I'm blocking connections from AWS to my on-prem services by mgarciaisaia on Tuesday September 03, 2024 @01:39PM (#41437215)
Thanks for the suggestion. Can you share some other safe passwords like that one to avoid reusing them? ;-)
Re:I'm blocking connections from AWS to my on-prem services by BlueTemplar on Friday August 30, 2024 @05:49AM (#41399185)
This sounds to be an issue specific to IPv4 - wouldn't going IPv6-only make IP scanning impractical for bad actors ?
Re:I'm blocking connections from AWS to my on-prem services by Dylan16807 on Friday August 30, 2024 @08:19AM (#41399961)
Depends on how many people are using random-ish addresses and how many are using ::2 and friends.
Re:I'm blocking connections from AWS to my on-prem services by bauruine on Friday August 30, 2024 @06:40AM (#41399448)
Yes it's only IPv4 where it's practical to scan the whole address space in minutes but there are methods to find IPv6 addresses [0] certificate transpareny logs are also scanned for hostnames to get AAAA records. But from my experience it's multiple orders of magnitude less than v4.

[0]: http://netpatterns.blogspot.com/2016/01/the-rising-sophistic...

Re:I'm blocking connections from AWS to my on-prem services by kachapopopow on Friday August 30, 2024 @06:11AM (#41399315)
You still have to announce your used ranges, so unless you announce /64's it's pretty much the same thing.
Re:I'm blocking connections from AWS to my on-prem services by bauruine on Friday August 30, 2024 @06:32AM (#41399411)
Most ISPs don't allow BGP announcements smaller than /48 so you don't get any usefull information from that.
Re:I'm blocking connections from AWS to my on-prem services by ThePhysicist on Friday August 30, 2024 @08:27AM (#41400025)
But the smallest range you can announce is /48, that's still way too vast to scan completely.
Re:I'm blocking connections from AWS to my on-prem services by sulandor on Friday August 30, 2024 @06:05AM (#41399276)
yes, but not impossible and it comes with other problems
Re:I'm blocking connections from AWS to my on-prem services by ThePhysicist on Friday August 30, 2024 @08:30AM (#41400047)
I'd love to switch everything to IPv6, but reachability is not yet there, I estimate it will be another 10 years with the current rate of adoption.
Re:I'm blocking connections from AWS to my on-prem services by gmuslera on Friday August 30, 2024 @08:52AM (#41400192)
"These days"? 25+ years ago it was pretty common to get scripts/bots checking your exposed web servers all time (I mean, it was a pretty frequent appearence in web access logs) and turning on firewall rejected access log gave you a permanent traffic of attempts for a lot of known and unknown ports.

If you will expose something (even some deep hidden web component) make sure that it is not a door to your data and infrastructure.

What had changed a bit since then is from where that traffic comes, and deciding if its right to receive/block it or not. Legal servers/services, end user side proxies, cloud providers, the amount of crawlers had increased a lot, and so on.

Re:I'm blocking connections from AWS to my on-prem services by z3t4 on Friday August 30, 2024 @09:11AM (#41400351)
I often test web sites on some random port before going live, and at times the customer calls and say "nice work" because they have found their site in Google search. So one of the biggest source for these scans are Google crawlers. I know I shouln't do that, and I'm not complaining... Within seconds after putting a site up on a random port you get scans, mostly for Wordpress exploits. Some companies will instantly put your IP in their firewall block list if you attempt to access an uncommon port, so be careful if you still surf the web via telnet.
Re:I'm blocking connections from AWS to my on-prem services by osigurdson on Friday August 30, 2024 @09:10AM (#41400340)
If one self hosts a VPN, are there any security benefits over properly configured SSH? I assume you must have to have an IP address somewhere. Bad guys will be scanning that I assume. If the key is to use a managed VPN service, what magic are they adding?

Legitimate question. I assume there might be a benefit, I'm just not sure what it is.

Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @11:33AM (#41401704)
Other options include port knocking and "no cat" (a web or email interface which selectively pokes holes for ssh based on magic incantations).
Re:I'm blocking connections from AWS to my on-prem services by nine_k on Friday August 30, 2024 @09:41AM (#41400628)
It depends, I think, on the complexity of the VPN.

SSH allows to do so many things, has so many config options. To the opposite, Wireguard is very simple, allows basically one thing (authenticate by a key, then pass packets), and is much harder to misconfigure.

(OpenVPN, on the other hand, does not have this advantage.)

Re:I'm blocking connections from AWS to my on-prem services by osigurdson on Friday August 30, 2024 @10:15AM (#41400949)
If true, interesting that it all comes down to likelihood of misconfiguration. However, I can't see anything fundamental that a VPN adds either. I wonder, if there was an ssh that couldn't be configured incorrectly and also had a little "anti-hack" tech built in (e.g. disallow more than N connection attempts per minute, etc., what ever is normally done).
Re:I'm blocking connections from AWS to my on-prem services by nine_k on Friday August 30, 2024 @03:18PM (#41403659)
After authnz, SSH runs a shell (or other specified remote program), while Wireguard just sets up a network interface. I think it's really hard to make Wireguard run something remotely as you connect, AFAICT.

You can achieve a somehow similar result running by OpenSSH as `ssh -N -D`: do not run anything on the remote end, work as a socks5 proxy.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Saturday August 31, 2024 @10:19AM (#41409047)
ssh -w sets up a network interface

ssh -w -N sets up a network interface and does not run a shell

It still runs over TCP, so it's not ideal. TCP-over-TCP is a recognized antipattern that causes extra retransmissions, wasted bandwidth and delays.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @09:14AM (#41400397)
Alternatively, recalibrate your expectations. A port scan is nothing, hardly even qualifies as an attack. It's Internet background radiation. You want to go to space, there's background radiation in space, you want to go on the Internet, there's background radiation on the Internet. And if you aren't running vulnerable services, this port scanning radiation is equivalent of eating another banana per month.

It only bothers you because you're looking directly at it in your console. If you bring an overly sensitive Geiger counter on your aeroplane ride, you might be alarmed, but if you're not aware of it, it won't hurt you at all.

I am also surprised by internal services being exposed to the internet, but that's for two reasons: (1) I don't trust most programs' authentication systems, and (2) I don't want people to know which services I'm using internally - not from a technical security standpoint, but sometimes just privacy. But things that are supposed to be on the Internet, that I trust to have a strong front door (or be suitably sandboxed) - they can be on the Internet all day.

Port scanning is just the Internet equivalent of walking around the city taking notes on whose lights are on. Stalkerish? Maybe a bit. But it's public info.

By the way: ssh -w makes a VPN tunnel interface, but it won't auto-configure the rest of the VPN like actual VPN products do.

Re:I'm blocking connections from AWS to my on-prem services by rkagerer on Friday August 30, 2024 @03:54AM (#41398602)
I did this a long time ago after dozens of Amazon servers started slowing down our on-prem servers. I think it might have been some kind of attempted SSO stuff but never did entirely track it down. Just wrote a script to periodically download a list of their IP ranges and block 'em all, and moved on.
Re:I'm blocking connections from AWS to my on-prem services by perching_aix on Friday August 30, 2024 @04:19AM (#41398731)
https is broken for the site
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @11:55AM (#41401883)
Accept my signing certificate and try again. /s
Re:I'm blocking connections from AWS to my on-prem services by perching_aix on Friday August 30, 2024 @12:16PM (#41402112)
im good, thanks
Re:I'm blocking connections from AWS to my on-prem services by aorth on Friday August 30, 2024 @04:52AM (#41398898)
It has really gotten terrible. Between DDoS and bots from massive tech companies, it seems like I have several events a year where thousands or tens of thousands of IPs from a single datacenter (Singapore!) are making requests to some of my infrastructure concurrently. What can we do?

I opted for CIDR aggregation and rate limiting of data center ISPs in nginx for one of my frontends. There are reasonable limits for normal IPs too. Not all of us have the capacity or desire to scale.

Re:I'm blocking connections from AWS to my on-prem services by m3047 on Tuesday September 03, 2024 @01:41PM (#41437228)
This is the chauvinism I maybe failed to surface effectively enough. People in the cloud "just scale"; and big cuddly cloud says "ooooh, we block DoS and we won't charge you for the ingress traffic" when they whine. Whereas it really should be alleged DoS, it's not like I won't implement mitigations.

I publish telemetry outing the worst offenders. What is Amazon doing for me, as a non-customer, to support our presumably shared goal? So maybe it's not really a shared goal.

Here's an analogy which is very visceral for me: I have a chronic condition, which has never been "root caused" in my case by the school of western allopathic medicine. They put me on (several) drugs, I've taken them for a decade.

Due to the ongoing enshittification of medical care over the past several years, I ended up having to see a naturopathic physician (with prescribing privileges, and not covered by my insurance) to get the prescriptions renewed because the western docs simply had better things to do than schedule and keep an appointment. Dude does the things a western doc should do, looks at the labs, and says with all seriousness: have you considered maybe you're allergic to drug "Y"?

Holy fuck well that causes all kinds of problems identifying a replacement therapy, but that's not the point of the story here.

Point is they've never done root cause, blamed the increasingly worse side effects on the condition they never root caused, put me on more drugs for the side effects, and told me to just live with it because that's what happens when you get older: this is what happens when you get trapped in an ecosystem.

So I have identified a replacement therapy, it maybe doesn't work so well for the symptom drug Y was supposed to mitigate but it works. On the other hand, here are the side effects: constellation of symptoms of the actual condition (drug Y was intended to mitigate only one of them) has virtually disappeared, I sleep better, I have more energy, and I've lost nearly 20 pounds in the last six months.

In summary, it's not that hard to run my own server (I have the skills, knowledge and specialized bespoke tools to support doing it my way). It keeps my professional skills sharp and gives me real practical intelligence about the fight in the streets.

Re:I'm blocking connections from AWS to my on-prem services by jeroenhd on Friday August 30, 2024 @04:56AM (#41398913)
I should probably do this for most of my stuff. I run some servers that require cloud-to-cloud networking, but the only inbound stuff I see coming from cloud services is bots, scanners, and scrapers. I've had to block off China's largest ISP because some broken scraper kept re-downloading the same image assets for no reason, and kept popping up on other subnets.

I don't think anyone will miss my stuff if they're part of the small minority of people accessing the internet through a VPN hosted in large data centres.

The biggest challenge for implementing this will probably be figuring out how to block inbound connections but keep outbound connections working. I'm sure there's a good nftables rule I can come up with eventually.

Re:I'm blocking connections from AWS to my on-prem services by sulandor on Friday August 30, 2024 @06:10AM (#41399308)
> The biggest challenge for implementing this will probably be figuring out how to block inbound connections but keep outbound connections working.

nah, there's connection tracking for that.

   ctstate new srcip <amazon-set> drop
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Friday August 30, 2024 @11:53AM (#41401876)
For TCP you're just looking for packets having SYN without ACK.

    client                  server
       -------- SYN --------->
      <-------- SYN+ACK -----
Re:I'm blocking connections from AWS to my on-prem services by hello_computer on Friday August 30, 2024 @05:07AM (#41398954)
AWS is a boy scout compared to places like DigitalOcean, OVHcloud, ColoCrossing, Scaleway, Tencent, or even Google. I think DigitalOcean, in particular, has made a terrible mistake marketing to the “cybersecurity” community.
Re:I'm blocking connections from AWS to my on-prem services by m3047 on Tuesday September 03, 2024 @01:15PM (#41437014)
In fact (if you read the post) I mention blocking "some small hosting providers as a proof of concept": that would be DigitalOcean, for the reason you state.
Re:I'm blocking connections from AWS to my on-prem services by arcza on Friday August 30, 2024 @05:33AM (#41399089)
I've been blocking Hetzner, Digital Ocean, Linode, OVH and Contabo for a while. You can do this with pfBlocker NG by blocking ASNs, or UFW rules (https://blog.abctaylor.com/ufw-and-firewalld-rules-to-block-...)
Re:I'm blocking connections from AWS to my on-prem services by nickjj on Friday August 30, 2024 @06:52AM (#41399525)
One concern with doing this as a whole is you may end up blocking legit organizations from accessing your site. If you're selling something that could be a problem.

For example, the org might be self-hosting WireGuard or another VPN solution on a cloud provider and people are connecting through that so their outgoing IP address comes from a cloud provider.

Re:I'm blocking connections from AWS to my on-prem services by theelous3 on Friday August 30, 2024 @06:54AM (#41399542)
You can whitelist ranges or whatever for larger customers, but that doesn't suit every form of product or client size ofc.
Re:I'm blocking connections from AWS to my on-prem services by blueflow on Friday August 30, 2024 @05:42AM (#41399153)
oof. Why Hetzner?
Re:I'm blocking connections from AWS to my on-prem services by arcza on Friday August 30, 2024 @06:00AM (#41399250)
Due to firewall logs showing DNS amplification attack attempts
Re:I'm blocking connections from AWS to my on-prem services by Dylan16807 on Friday August 30, 2024 @08:28AM (#41400038)
Why go beyond blocking direct DNS access?

(Ideally you'd make then switch to TCP by truncating UDP responses to specific clients but that sounds like a hassle to set up so it's understandable to skip that.)

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @09:17AM (#41400416)
Everyone is attempting all attacks all the time from everywhere. Why not secure yourself so the attempts fail?
Re:I'm blocking connections from AWS to my on-prem services by oneplane on Friday August 30, 2024 @09:34AM (#41400566)
At that point secure would be 'offline'... It's not like botnets, "unlocker" farms and P2P doesn't originate from residential netblocks all day long.

The idea of "I just want the legitimate traffic" is a simple one, but the implementation of the idea has very little to do with "I will just block the big bad cloud!".

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @06:49PM (#41405216)
Securing yourself means not being vulnerable to the attacks. Who cares if you are exposed to an internet radiation banana equivalent? Why worry? You'll hurt yourself more from the worry than from the radiation.

Blocking huge IP ranges is knocking yourself half offline, and it doesn't even stop you being "attacked". I'd start blocking if and only if there is some actual problem for your server (e.g. excessive CPU or bandwidth usage), not just because big bad scary cloud.

Re:I'm blocking connections from AWS to my on-prem services by blueflow on Saturday August 31, 2024 @07:56AM (#41408213)
> Who cares if you are exposed to an internet radiation banana equivalent?

Me, because i would like to read all of the syslog without meaningless noise.

Re:I'm blocking connections from AWS to my on-prem services by immibis on Saturday August 31, 2024 @10:18AM (#41409042)
Then don't log the noise. Every log gets filled with noise if you aren't careful about choosing what to log.
Re:I'm blocking connections from AWS to my on-prem services by blueflow on Sunday September 01, 2024 @02:36PM (#41419169)
Nonsense. There is no log level that separates between noise and legitimate data.
Re:I'm blocking connections from AWS to my on-prem services by immibis on Thursday September 05, 2024 @10:37AM (#41457054)
Then stop trying to separate it and just acknowledge these logs are (almost?) worthless?
Re:I'm blocking connections from AWS to my on-prem services by okr on Friday August 30, 2024 @05:51AM (#41399201)
I think it should be reciprocal, like in the real world. If someone blocks a provider, a provider should be allowed to block back. Maybe with some automatism. So it is fair and each party has information about what is going on. Or using real guns instead of these children games in the sandbox.
Re:I'm blocking connections from AWS to my on-prem services by ninkendo on Friday August 30, 2024 @07:09AM (#41399602)
So if I run a web server at home and I’m constantly attacked by AWS IPs, I shouldn’t be able to block them without myself being unable to access the lion’s share of the web hosted on AWS? Doesn’t that seem sort of extreme?
Re:I'm blocking connections from AWS to my on-prem services by icedchai on Sunday September 01, 2024 @09:09AM (#41416729)
I run a web server at home, and have for decades. The constant scans is something you realize is "normal" and just ignore.
Re:I'm blocking connections from AWS to my on-prem services by blueflow on Friday August 30, 2024 @06:09AM (#41399303)
The internet is not like twitter - a block is practically bidirectional.
Re:I'm blocking connections from AWS to my on-prem services by chipdart on Friday August 30, 2024 @07:13AM (#41399619)
> I think it should be reciprocal, like in the real world. If someone blocks a provider, a provider should be allowed to block back. Maybe with some automatism. So it is fair and each party has information about what is going on. Or using real guns instead of these children games in the sandbox.

I don't think your take makes any sense whatsoever. Beyond the puerile "I'll block you too", what exactly do you hope to achieve with this nonsense?

Re:I'm blocking connections from AWS to my on-prem services by immibis on Friday August 30, 2024 @06:49PM (#41405215)
Fewer blocks.
Re:I'm blocking connections from AWS to my on-prem services by chipdart on Saturday August 31, 2024 @12:42AM (#41406599)
Can you elaborate? It sounds like puerile specious reasoning at best.
Re:I'm blocking connections from AWS to my on-prem services by immibis on Saturday August 31, 2024 @10:33AM (#41409145)
If blocking someone works in both directions, you won't block half the internet based on spurious reasoning, because you'll be blocked from half the internet based on your own spurious reasoning. You'll carefully consider who to block.
Re:I'm blocking connections from AWS to my on-prem services by okr on Sunday September 01, 2024 @09:04AM (#41416694)
Yeah, exactly, thank you.
Re:I'm blocking connections from AWS to my on-prem services by fpoling on Friday August 30, 2024 @08:59AM (#41400261)
A big and and not so big enterprises these days uses VPN and similar solutions with exit nodes in the cloud so such blocks essentially prevents access to your web site from a work computer.
Re:I'm blocking connections from AWS to my on-prem services by ruthmarx on Friday August 30, 2024 @06:07AM (#41399290)
The cynic in me thinks this won't accomplish much. They can/do just buy data from other companies that scrape or some subsidiary.

This isn't a technical problem, it's a legal/social problem.

Re:I'm blocking connections from AWS to my on-prem services by nullc on Friday August 30, 2024 @06:07AM (#41399294)
I've found that blocking china is also a pretty good improvement on abusive traffic relative to disruption.
Re:I'm blocking connections from AWS to my on-prem services by cmeacham98 on Friday August 30, 2024 @07:40AM (#41399740)
Bias disclaimer: AWS is my current employer.

Maybe I'm missing something obvious, but if the author believes the ping traffic is being spoofed, how could they know AWS is the source?

Re:I'm blocking connections from AWS to my on-prem services by mrweasel on Friday August 30, 2024 @08:16AM (#41399940)
AWS has a terrible reputation as being the source of absolute massive amounts of abuse and poorly written scrappers and crawler (hard to tell the difference between a bad crawler and an active attack).

For experience I've seem AWS be the source of overwhelming traffic so many times that we in some cases resorted to the same solution, blocking AWS completely.

I don't know if AWS doesn't care or is just slow to react. Maybe reporting is to difficult, I don't know.

So the obvious your missing is: AWS is a huge source of "bad" traffic and getting a misbehaving customer shutdown is to hard, while renting insane amounts of capacity is to easy for bad actors.

Edit: I've almost never seen GCP or Azure being the source of the same amount of crazy traffic.

Re:I'm blocking connections from AWS to my on-prem services by knallfrosch on Friday August 30, 2024 @07:54AM (#41399805)
Where's the summary? I didn't quite get what the problem is that you're trying to solve.

Data scraping? DDOS attacks? Bandwidth trouble? Security?