Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

A plea to all providers: firewall

2»

Comments

  • forestforest Member
    edited April 15

    @rm_ said:

    @forest said: ct state { established, related } accept

    I don't think this is gonna work, connection tracking on the node level for every customer is very very expensive and should not be expected.

    Fair. I just copied a minimal nftables config from one of my servers, stripped the output rules and a few unnecessary lines, and posted it as an example of "ICMP, SSH, HTTP, HTTPS only".

    Although it wouldn't be that hard to do connection tracking. Linux Conntrack is pretty efficient, especially if you increase the size of the hash table. A beefy hypervisor node should be able to handle that.

    Thanked by 1tof
  • onidelonidel Member, Patron Provider, Top Host, Megathread Squad

    @forest said:

    @rm_ said:

    @default said: I kindly request from all providers of LowEndTalk to please include a web firewall on the cloud service page.

    Please omg please no. Usually this is half-assed BS that only knows about TCP, UDP and ICMP (if you're lucky!). And if it supports IPv6, then that's miracles you're witnessing right there.

    Firstly, there's often no way to add something like protocol 47 (GRE) or protocol 41 (SIT). Allow all of course doesn't allow them, because only TCP UDP and ICMP.

    Secondly, at a certain provider even though it seemingly supported UDP, their interface was so clunky and buggy, as maybe also the entire thing to begin with, there was no way to get WireGuard to work reliably there, so I basically had to write it off.

    Do not mess with network, just provide a reliable connection that has not been tampered with in any way!

    I second this. Not a single web firewall I have ever seen from a provider doesn't have at least one of these problems:

    1. Doesn't actually drop packets on DROP, but rejects them
    2. Can't filter based on destination IP
    3. Only supports TCP and UDP
    4. Only supports IPv4
    5. Literally does nothing at all even when enabled

    Now, if providers had some dirt simple feature to enable a simple firewall that is the exact equivalent of:

    table inet filter {
            chain input {
                    type filter hook input priority filter; policy drop;
    
                    iif lo accept
    
                    ct state { established, related } accept
                    ct state new tcp dport { ssh, http, https } accept
    
                    icmp accept
                    icmpv6 accept
            }
    
            chain output {
                    type filter hook output priority filter; policy accept;
            }
    
            chain forward {
                    type filter hook forward priority filter; policy drop;
            }
    }
    

    That would work well for the average client who only needs SSH, HTTP, and HTTPS open. Anyone who needs something more should at the very least know how to install a simple firewall frontend like UFW.

    Or maybe just set up a minimal UFW config in the OS installation templates by default... Let the customer adjust it.

    Interesting.

    1. We DROP
    2. I guess this is useful if the VM has multiple IPs? At the moment we drop all invalid traffic destinated to VM's public interface - but this is a good idea that we will consider.
    3. We support TCP, UDP, ICMP and can add other protocols upon request. What protocol do you want to have in the firewall?
    4. We support both IPv4 and IPv6.
    5. Literally it just works ;)
  • I'm all for the firewall at the provider/control panel level. It's one of the things I love about my @PureVoltage boxes, and always a plus to me when a provider has it... makes things way simpler, especially with publicly facing docker stuff in play, imo.

    Thanked by 2default PureVoltage
  • forestforest Member
    edited April 15

    @onidel said:

    @forest said:

    @rm_ said:

    @default said: I kindly request from all providers of LowEndTalk to please include a web firewall on the cloud service page.

    Please omg please no. Usually this is half-assed BS that only knows about TCP, UDP and ICMP (if you're lucky!). And if it supports IPv6, then that's miracles you're witnessing right there.

    Firstly, there's often no way to add something like protocol 47 (GRE) or protocol 41 (SIT). Allow all of course doesn't allow them, because only TCP UDP and ICMP.

    Secondly, at a certain provider even though it seemingly supported UDP, their interface was so clunky and buggy, as maybe also the entire thing to begin with, there was no way to get WireGuard to work reliably there, so I basically had to write it off.

    Do not mess with network, just provide a reliable connection that has not been tampered with in any way!

    I second this. Not a single web firewall I have ever seen from a provider doesn't have at least one of these problems:

    1. Doesn't actually drop packets on DROP, but rejects them
    2. Can't filter based on destination IP
    3. Only supports TCP and UDP
    4. Only supports IPv4
    5. Literally does nothing at all even when enabled

    Now, if providers had some dirt simple feature to enable a simple firewall that is the exact equivalent of:

    table inet filter {
            chain input {
                    type filter hook input priority filter; policy drop;
    
                    iif lo accept
    
                    ct state { established, related } accept
                    ct state new tcp dport { ssh, http, https } accept
    
                    icmp accept
                    icmpv6 accept
            }
    
            chain output {
                    type filter hook output priority filter; policy accept;
            }
    
            chain forward {
                    type filter hook forward priority filter; policy drop;
            }
    }
    

    That would work well for the average client who only needs SSH, HTTP, and HTTPS open. Anyone who needs something more should at the very least know how to install a simple firewall frontend like UFW.

    Or maybe just set up a minimal UFW config in the OS installation templates by default... Let the customer adjust it.

    Interesting.

    1. We DROP
    2. I guess this is useful if the VM has multiple IPs? At the moment we drop all invalid traffic destinated to VM's public interface - but this is a good idea that we will consider.
    3. We support TCP, UDP, ICMP and can add other protocols upon request. What protocol do you want to have in the firewall?
    4. We support both IPv4 and IPv6.
    5. Literally it just works ;)

    Tbh, I already expected you to be able to do it right, but not everyone is onidel. :D

    I'll be buying an Onidel VPS pretty soon, and I'm excited to try out your panel!

    Thanked by 2default onidel
  • advinserversadvinservers Member, Patron Provider
    edited April 16

    @forest said:

    @rm_ said:

    @default said: I kindly request from all providers of LowEndTalk to please include a web firewall on the cloud service page.

    Please omg please no. Usually this is half-assed BS that only knows about TCP, UDP and ICMP (if you're lucky!). And if it supports IPv6, then that's miracles you're witnessing right there.

    Firstly, there's often no way to add something like protocol 47 (GRE) or protocol 41 (SIT). Allow all of course doesn't allow them, because only TCP UDP and ICMP.

    Secondly, at a certain provider even though it seemingly supported UDP, their interface was so clunky and buggy, as maybe also the entire thing to begin with, there was no way to get WireGuard to work reliably there, so I basically had to write it off.

    Do not mess with network, just provide a reliable connection that has not been tampered with in any way!

    I second this. Not a single web firewall I have ever seen from a provider doesn't have at least one of these problems:

    1. Doesn't actually drop packets on DROP, but rejects them
    2. Can't filter based on destination IP
    3. Only supports TCP and UDP
    4. Only supports IPv4
    5. Literally does nothing at all even when enabled

    We have a firewall function in our VPS panel. The only thing that is missing is support for IP lists and firewall groups, but we are working on a rewrite of our VPS portal and it'll unfortunately likely have to wait until then due to the way that our backend is setup (right now, the feature is quite basic).

    But, we have all that you mentioned:

    1. We allow both reject and drop (you choose).
    2. We allow filtering based on destination IP.
    3. We support TCP, UDP, ICMP, and GRE.
    4. We support IPv4 & IPv6.
    5. It does something when enabled!
    Thanked by 2oloke quicksilver03
  • forestforest Member

    @advinservers said: We allow both reject and drop.

    Hmm, the last time I used it, I thought I was receiving RST even when set to DROP. I could have misremembered.

  • advinserversadvinservers Member, Patron Provider

    @forest said:

    @advinservers said: We allow both reject and drop.

    Hmm, the last time I used it, I thought I was receiving RST even when set to DROP. I could have misremembered.

    You can retry it and let us know over ticket if you are seeing that, and we can check. However, it should drop packets, not reject them, if you selected the rule to drop.

    Thanked by 1forest
  • The traffic firewalls provided by most "low-end" VPS providers are generally subpar, and they also increase the providers' operational overhead.

    Furthermore, the mere existence of such firewalls offers little tangible security benefit to beginners—specifically, those who are completely technically illiterate.

    On the contrary, it merely adds to the complexity of configuration; just imagine having to manually access the server control panel every time you need to allow or block a specific type of traffic on a particular port.

    For the majority of unmanaged VPS instances, a superior solution is for users to handle traffic management themselves using tools like iptables or nftables.

    This approach simply requires you to take full responsibility for managing your VPS's network ports.

    Thanked by 2tentor rm_
  • For docker there is ufw-docker but it never worked for me properly, so I just use 127.0.0.1:8080:8080 in the ports section or simply do not publish ports in docker compose. I have never used provider's firewall exactly for that reason - if something goes wrong, it will take me hours to realise it is hoster's firewall.

  • @raindog308 said:

    @default said: Mythos AI already found thousands of zero-day vulnerabilities in operating systems. Considering other AI models will reach this capacity in a few months

    LOL...actually...old models found the same bugs. The whole "Mythos is so terrifyingly powerful" is marketing hype.

    But those aren't even remotely comparable analysis though!

    "We isolated the vulnerable svc_rpc_gss_validate function, provided architectural context (that it handles network-parsed RPC credentials, that oa_length comes from the packet), and asked eight models to assess it for security vulnerabilities."

    Is very different to...

    "After several hours of scanning hundreds of files in the FreeBSD kernel, Mythos Preview provided us with this fully-functional exploit."

    I agree that the Mythos/Project Glasswing is marketing hype, but the claim that a model identifying a bug in an isolated function with all the context it needs is comparable to a model reading ~5.5 million lines of source code with zero context and finding the same bug is absurd.

    Then there's the development of a working exploit, which is an art in itself. Exploit Dev is a whole field because there's a big difference between identifying an exploitable bug in code and developing a functional exploit for it by chaining actions to bypass limitations and mitigations.

    But it's very likely this bug has already been identified by humans already because a reliable Free BSD RCE exploit is usually worth in excess of $100K to exploit brokers, especially for an exquisite exploit like this one that reliably bypasses the various kernel mitigations, so the fact that the bug is 17 years old is less surprising because who would report it when they can sell it instead?

    Thanked by 1default
  • forestforest Member
    edited April 16

    @CloudHopper said: the claim that a model identifying a bug in an isolated function with all the context it needs is comparable to a model reading ~5.5 million lines of source code with zero context and finding the same bug is absurd.

    Was it given the entire 5.5 million lines of code? I don't think they were particularly clear on that. And anyway, even an LLM will know where to look to find the most vulns. Hell, if it's looking at DRM ioctls on Linux, part of that reasoning comes from it ingesting (among many other things) answers I've wrote on Stack Exchange about where most bugs lie.

    Just because it scanned hundreds of files doesn't mean that it wasn't given any help whatsoever, and Anthropic is obviously not going to give us details of its exact setup, prompts, etc. If it was as impressive as they imply, why wouldn't they tell us the prompt they used? If it really was as impressive as "Find a high-severity remotely-exploitable 0day in the FreeBSD kernel and develop a working, weaponized exploit" with nothing else, then surely they'd be eager to tell us.

  • @forest said:

    @CloudHopper said: the claim that a model identifying a bug in an isolated function with all the context it needs is comparable to a model reading ~5.5 million lines of source code with zero context and finding the same bug is absurd.

    Was it given the entire 5.5 million lines of code? I don't think they were particularly clear on that. And anyway, even an LLM will know where to look to find the most vulns. Hell, if it's looking at DRM ioctls on Linux, part of that reasoning comes from it ingesting (among many other things) answers I've wrote on Stack Exchange about where most bugs lie.

    The TLDR is they don't just feed all the source code into the model, but they seem to have a production line that pre-processes the source files to find the juiciest ones and then they analyze those individually, whilst applying tests to the entire product. And they seem to do a thousand runs on each scaffold, so it's clearly not identifying things on every run so it's also nowhere near as devastating as its being presented.

    What they say in their blog post is:https://red.anthropic.com/2026/mythos-preview/

    "When we say “fully autonomously”, we mean that no human was involved in either the discovery or exploitation of this vulnerability after the initial request to find the bug. We provided the exact same scaffold that we used to identify the OpenBSD vulnerability as in the prior section, with the additional prompt saying essentially nothing more than “In order to help us appropriately triage any bugs you find, please write exploits so we can submit the highest severity ones.” After several hours of scanning hundreds of files in the FreeBSD kernel, Mythos Preview provided us with this fully-functional exploit."

    And regarding the scaffolding the use, they say:

    "We launch a container (isolated from the Internet and other systems) that runs the project-under-test and its source code. We then invoke Claude Code with Mythos Preview, and prompt it with a paragraph that essentially amounts to “Please find a security vulnerability in this program.” We then let Claude run and agentically experiment. In a typical attempt, Claude will read the code to hypothesize vulnerabilities that might exist, run the actual project to confirm or reject its suspicions (and repeat as necessary—adding debug logic or using debuggers as it sees fit), and finally output either that no bug exists, or, if it has found one, a bug report with a proof-of-concept exploit and reproduction steps."

    But then they say they filter files before reviewing them and process them one at a time:

    "In order to increase the diversity of bugs we find—and to allow us to invoke many copies of Claude in parallel—we ask each agent to focus on a different file in the project. This reduces the likelihood that we will find the same bug hundreds of times. To increase efficiency, instead of processing literally every file for each software project that we evaluate, we first ask Claude to rank how likely each file in the project is to have interesting bugs on a scale of 1 to 5. A file ranked “1” has nothing at all that could contain a vulnerability (for instance, it might just define some constants). Conversely, a file ranked “5” might take raw data from the Internet and parse it, or it might handle user authentication. We start Claude on the files most likely to have bugs and go down the list in order of priority."

    And then they say they run the scaffold 1000 times for each product, without saying the ratio of hits per run:

    "Across a thousand runs through our scaffold, the total cost was under $20,000 and found several dozen more findings. While the specific run that found the bug above cost under $50, that number only makes sense with full hindsight. Like any search process, we can't know in advance which run will succeed."

    Thanked by 1default
  • This will soon become useless anyways

  • msattmsatt Member, Host Rep

    At FOSSVPS I am 'pushing' all clients to use NAT.
    We then have Nginx Proxy Manager (NPM) configured to point at the VPS 'internal ip'. Its up to the client to set-up a domain name to point at NPM (which they would need to know if they are using a domain name). As far as ssh that is on a 'random' high public port and mapped to the clients port 22.
    We are using Proxmox so a client can manipulate their own firewall if they feel the need.
    So over all my feeling is a provider SHOULD provide a basic security model but real security is the clients responsibility.

    Thanked by 1default
  • SaragoldfarbSaragoldfarb Member, Megathread Squad

    What's a firewall?

  • JoshRJoshR Member, Patron Provider

    The biggest thing about a host provided firewall is your just moving the layer of trust.
    So now if the client uses a crapstastic password for their ssh session and the box gets taken over by the lovely bots. Then they going to blame the host even though it's their fault.
    UFW is very easy and well documented for example.
    https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu

    Thanked by 1tentor
  • defaultdefault Veteran
    edited April 16

    @JoshR said:
    The biggest thing about a host provided firewall is your just moving the layer of trust.
    So now if the client uses a crapstastic password for their ssh session and the box gets taken over by the lovely bots. Then they going to blame the host even though it's their fault.
    UFW is very easy and well documented for example.
    https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-with-ufw-on-ubuntu

    There are 3 issues in your statement:

    1. "craptastic password"
    2. firewall
    3. fault and blaming provider

    This thread is about the firewall offered by a provider, not about blaming provider of anything, nor about assuming that clients use easy passwords or have not used authorized keys for SSH. Let's separate things a bit.

    By having the provider offering a basic firewall, at least is better than nothing. It makes it easier for a simple (not advanced) customer to not struggle with networking on docker, or with configuration using iptables.

    Bad passwords are a whole different discussion — besides their email + account might get compromised before SSH.

  • rm_rm_ IPv6 Advocate, Veteran
    edited April 16

    @JoshR said: The biggest thing about a host provided firewall is your just moving the layer of trust.

    Yeah, about that. What if it quietly stops filtering anything at some point? Certainly that won't be something that customers notice right away. And then it stays broken for days. While you already decided you can "save CPU cycles", "simplify it for yourself" or whatever, by not setting up FW on your actual VPS.

Sign In or Register to comment.