i don’t think so. i whitelist my vpn IP for ssh into a few machines and when i forget to turn my VPN on and try to access it, i get “permission denied (public key)”. whereas if i close port 22 entirely i get “network not reachable”.
You’re both right. If sshd is enforcing the whitelist you should see what you see. If instead you’ve got some kind of firewall mediating the traffic, then you should be invisible to anyone outside the whitelist.
I assumed GP meant whitelisting an IP in a firewall - which just drops the packets and means the port scanner or bot will timeout rather than get denied. Typically in any cloud compute environment you'd have a deny all policy and then add permits for specific service ports/ips .
Doesn't even have to be QUIC. Can be any UDP-based protocol.
Let's put it this way: There is a large difference in the size of the patch to enable TCPMD5 in SSH, and switching it to QUIC.
Having written applications that use QUIC as transport, I'd also say that there's more complexity, both in code and operations, than from the simple stream that TCP provides.
So "why not QUIC" is a question that means "instead of just fixing the gap, that's a tiny patch that in one fell swoop protects against RST attacks, post-quantum attacks, zero days in OpenSSH, and system enumeration, why don't you just rewrite the entire architecture to use another protocol and reimplement such protection instead?".
So your suggestion is not wrong so much as it is "why don't you just…".
I've had success allow listing the whole IPv6 ASN block my ISP owns. It cuts down on all the drive by attempts and if someone on my ISP's network was trying to break in they'll still need to defeat SSH before I notice the stream of failed login attempts and report them.
I have the naive hope that as a paying customer of my ISP they'll take my abuse report involving a fellow customer seriously.
I receive a /56 delegation from my ISP. I've been with them for the last four or five years, since they ran fiber through my neighborhood.
Allegedly this /56 can change, but it's been the same for as long as I have been a customer. But the CPE/ONT has been powered the whole time. That is, we've only lost power for a couple of minutes since then.
Even with all of this I've been hesitant to use the IPv6 range as a whitelist.
So, are you suggesting that you've white listed a larger range than what the ISP assigns you? Because, for me, that would be essentially white listing every Verizon FiOS customer, and I'd rather not do that.
> Because, for me, that would be essentially white listing every Verizon FiOS customer, and I'd rather not do that.
That's fair, all I can say is in the six years I've been doing this I've never seen any login attempts but I guess it depends on your ISP and how willing you'd think they'd be to help if you actually did have a fellow customer (or more likely a compromised IoT device) attacking you.
Realistically I'm not worried they'll ever be able to break into SSH, my firewall rule is more to cut down the drive by junk filling my logs which potentially obscures a true targeted attack.
We have some whitelists covering most of Google Cloud - Compute Engine and various other services. It's surprisingly effective, because Gcloud does try to detect and stop abuse within their cloud, and they do take action on abuse reports. And it blocks all the other hosts around the world that are more attacker-friendly.
Yup. Since figuring out how to get it to advertise a route to my home private up range (from my home server which is always connected) I just leave Tailscale on most of the time I’m not at home and I’m always able to connect to anything at home. I don’t even have to make that my exit node, which is great because my DOCSIS uplink speed is crap.
unless you use IP whitelisting