by adevx · 5y ago · 0 comments
Stuff like this really hinders adoption.
In other words, it's a Sybil-resistance mechanism, called Proof-of-IPv4. It works specifically because v4 addresses are scarce. v6 addresses are not nearly as such. Everything that makes IPv6 great for the Internet at large makes it terrible for mail providers. For example, because the original v6 design wanted to eat lower link layers, it reserves half the v6 address for an embedded MAC64. This never really panned out, but it's terrible for security, so every v6-capable OS nowadays will rotate addresses every few hours. The average machine will have hundreds of addresses. How do you assign a usable notion of per-IP reputation to that?
You could use v6 subnets for reputation, but there's still 64 subnet bits - enough to stick an entire IPv4 subnetwork inside of each IPv4 address. Some ISPs actually will assign a /64 per customer (because Comcast needs something to sell to Business customers), while others assign /56s or /48s. So there isn't even one granularity of subnetting that you can use for reputation tracking on v6.
Meanwhile, v4 pricing is getting worse and worse, which is great for mail providers. They don't necessarily need to turn a profit on incoming mail, but they do need to make it expensive for people who want to send lots of spam.
The whole point of using a scarce identifier is to allow for a "neutral" reputation for new identifiers. If identifiers are less scarce, then known-bad actors can get free reputation (from bad to neutral) by just starting over with a new one. Which means that you have to distrust neutral reputation more. Without some level of scarcity of identification, introductions don't really work, because I have no idea if the new host I'm being talked to from today is just the one I banned yesterday wearing a different mask. This ultimately implies e-mail moving to some kind of federated whitelist system rather than the current system of federated blacklists.
e.g. when .com is on the list, and .somesite.com is not on the list, mail@somesite.com is from the same entity as mail@subdomain.somesite.com
This also has a secondary problem for legitimate domain buyers. If the domain name they buy was previously used for spam that reputation will affect thier business for quite a while. There's actually a market where people buy domains with bad reputations, setup small legitimate businesses and get the reputation cleaned up, then sell the site domain and business for a substantial profit because a site with a good reputation history and established line of business will show up higher on internet searches.
The problem of spam is actually solved, the problem is no one setups any of these security parameters correct, large and small companies alike all have bad SPF Records, bad or no DMARC, etc etc etc
If 99% of contacts you want to send mail to are on google/yahoo/microsoft you have to play by their rules. And those rules are effectively "send mail internally or gtfo".
Generating domains is fairly cheap though.
lsjfdlakj.com
There, I just generated a new one with a clean reputation. Just spend US$ 10 to register it and off we go.
Treating individual v6 addresses like individual v4 addresses is silly and nobody serious will take that approach.
FWIW, I actually have residential service from Comcast and they'll assign you a /60 if you request it. I then use /64s for my subnets/VLANs.
This is what is hindering adoption everywhere to be honest.
All of my forums, wikis, and game servers reject ipv6 purely for the same reason.
would be very useful
(business opportunity here guys!)
What did you have in mind as far as a use case?
(for fraud detection it switches from block to identify)
for IPv4 this is generally the /32 (the single IPv4 address)
for IPv6 it's probably a /64, but may be a /56 or even a /48, and on some crappy providers even a /128
if the subnet is smaller than you think it is you risk banning an entire ISP (or country), whereas if if it's too large the abuse continues
it's quite a complicated problem as by design you can have subletting (subnetting!) within a block, e.g. a VPS provider gets a /48 from its ISP, and then they sublets out /64s to their customers (while not necessarily giving them all their own RIPE/ARIN records)
Edit: Seeing your use-case, this should probably be part of the whois records.
absolutely, assuming people subnetting to their customers delegate the space in the whois accordingly
(they do have an incentive to do that -- prevents all of their customers being banned if one misbehaves!)
You can use cloud providers, sure small ones do get blacklisted (which happens to also benefit Microsoft as they also are a cloud provider) but they can't really blacklist Googles or Amazons Cloud.
You don't and that's the point.
Stop bloody tracking me.
What should you as a mail provider do with this new information?
Oh I dunno, innovate?
$ dig +short a ec2.amazonaws.com
52.46.140.46
$ dig +short aaaa ec2.amazonaws.com
(no response) api.ec2.us-east-2.aws
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Using...So yes, this is a long story.
But that was a long time ago. From what I hear, things are different now.
In case of icloud, I attribute it to the Proofpoint spam filtering system, which also sell service to ups.com.
And even gmail, but at least gmail accept the email, then just flagged it as spam.
Link: https://support.google.com/websearch/workflow/9308722?hl=en
The irony here is that much of the inter-service traffic on the internet could already be sent over IPv6 without anyone noticing. Getting end users onto IPv6 is always going to be a challenge as, well, ISPs, but when my mail server talks to your mail server there's no need for this to be IPv4.
I've completely given up to try to get my personal mail server delisted, as I can't even get Microsoft to tell me why they blacklisted it in the first place.
Instead I'm nowadays just rejecting all incoming emails originating from Microsoft with a message telling the sender to use another non-Microsoft email account.
It's just stupid. I never had problems with any other mail provider, but trouble with Microsoft as long as I can think of.
(For example Microsoft has blocked whole IPv4 ranges of cloud providers (i.e. Microsoft Azure competition) for E-Mail, supposedly because of abuse. But all cloud providers are used by people "producing bad mails" and somehow only small to mid-sized ones are blacklisted while e.g. Google or Amazon are not and to be clear that had not been cloud providers in some arbitrary small country but e.g. the EU).
(I don't really know what I'm talking about.)
$ host hotmail.com
hotmail.com has address 204.79.197.212
hotmail.com mail is handled by 2 hotmail-com.olc.protection.outlook.com.
$ host hotmail-com.olc.protection.outlook.com.
hotmail-com.olc.protection.outlook.com has address 104.47.57.161
hotmail-com.olc.protection.outlook.com has address 104.47.58.161
On the other side, if a host announces that they have an IPv6 address - do you think they do it mostly for spamers? $ host gmail.com | grep handled | head -n1
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
$ host gmail-smtp-in.l.google.com.
gmail-smtp-in.l.google.com has address 173.194.73.27
gmail-smtp-in.l.google.com has IPv6 address 2a00:1450:4010:c1c::1a