Rendered at 00:05:35 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
jasongill 4 hours ago [-]
I've been in the industry for a long, long time, and I would say that use of bastion hosts ranks #2 on my list of things that tell me your environment is not secure (right behind "we use fail2ban to protect us" as the #1 clue).
I've bought a bunch of companies and seriously evaluated hundreds of them, and the ones where people had a bastion host set up commonly seemed to act as if it protected them from everything, to the point where they just stopped worrying about security otherwise.
It gives a false sense of security and makes people put their guard down - like "OK, we have everything secured behind the firewall and only people who can log in to the bastion host, so there's no need for firewall rules or policies on the servers inside our firewall perimeter". Which inevitably breaks down over time as things get opened up to the internet, employees come and go, etc.
I can't tell you the number of companies where I look at their setup and their bastion host itself is root owned - since those hosts are always being used (and are tied to everything so you can't easily reboot or replace them), and are considered nothing more than a "tool" that you rarely actually have to look at, they don't get updated nearly enough and are neglected.
Not saying that bastion hosts are a bad idea - but just like any easy to use, easy to forget, high risk part of the stack, they are often a sign of inexperience and neglect elsewhere in the architecture.
(Yes, I know that there are plenty of big companies that use jump boxes without issue, and this jumpserver product is different, but I'm specifically talking about the idea of having one little machine that is open to SSH and then you bounce off of that to get into the "secured" machines, and all of this just based on my own experience and may not reflect yours)
observationist 3 hours ago [-]
At one of the top tier 1 ISPs in the world, there was a bastion host that allowed 2 teams of network engineers unfettered access to everything; once your permissions allowed you access to the bastion, you had everything. 50 some people with trivial credentialed access to network infrastructure that the world ran on; fatfinger a bgp config and you could take down countries. Swathes of cities were regular casualities of config mistakes, and if you locked yourself out without setting a reload in 5, it'd take an hour to get someone deployed.
That experience shattered my idea that the world was being operated by competent engineers and technicians, governed by sane policies, under the watchful care of good, knowledgable people.
The world is held together by beliefs and expectations and bubblegum and duct tape, and a few thousand people madly scrambling to keep it all running.
icedchai 2 hours ago [-]
Sounds like the 90’s early ISP experience scaled up. No firewalls, everything on public IPs, text files with global credentials in clear text…
jasongill 52 minutes ago [-]
I have been transported back to the days of `conf t`, `enable password hunter2`, `show run`, `copy run start`
htrp 3 hours ago [-]
> The world is held together by beliefs and expectations and bubblegum and duct tape, and a few thousand people madly scrambling to keep it all running.
Sounds like the AWS experience
denysvitali 5 hours ago [-]
I will never understand why SSH in such tools isn't native but always via some weird web UI...
I used to work for a company who allowed SSH only after jumping through Citrix => RDP => Putty => Jumphost => Target server.
Incredibly painful, also considering that each layer had a different keymap
4 hours ago [-]
booi 4 hours ago [-]
I think that's because what you're really looking for isn't a jump server but a zero-trust network like cloudflare access or beyondcorp. You want authorized native connections, not proxies in the typical sense (although they do end up being proxies but more like a L3 proxy not L7)
tonoto 2 hours ago [-]
What am I looking at? I'm not really sure, is it some sort of Citrix replacement?
I tried to look at the documentation but was left with more questions, the "free" version mentions "Linux server" (not even the GNU utilities?) and is just available as a curl | bash (but the apparently targets RHEL, Suse, Debian/Ubuntu and Alpine) and I started to glance through the git
I think I'll stick with wireguard, headscale, netbird or tailscale, depending on scenario.
rickydroll 19 minutes ago [-]
At first glance, it looks like a parallel-universe Linux version of JumpCloud.
gertrunde 1 hours ago [-]
More like a replacement for something like CyberArk than for Citrix.
It's not so much about the remote access as it is about control and auditing.
i.e. ability to permit/deny certain commands/behaviours, and a complete audit log of the session, sometimes extending to a screen recording of an rdp session.
flossly 1 hours ago [-]
I used Bastion before. I'd not be too happy using an interpeted language like Python (that has eval capabilities) for this kind of purpose.
We used it a lot at first, but as our setup got more mature we rarely needed to SSH to our application servers/containers.
In my current project, I did not even setup smth like this.
jbird99 2 hours ago [-]
This looks like a less trustworthy version of Apache Guacamole.
GuestFAUniverse 2 hours ago [-]
The amount of code and components in that repo baffles me.
I doubt that is anywhere near of "safe to use".
gizzlon 3 hours ago [-]
Via a web browser? And the default password is ChangeMe ? :O
I've bought a bunch of companies and seriously evaluated hundreds of them, and the ones where people had a bastion host set up commonly seemed to act as if it protected them from everything, to the point where they just stopped worrying about security otherwise.
It gives a false sense of security and makes people put their guard down - like "OK, we have everything secured behind the firewall and only people who can log in to the bastion host, so there's no need for firewall rules or policies on the servers inside our firewall perimeter". Which inevitably breaks down over time as things get opened up to the internet, employees come and go, etc.
I can't tell you the number of companies where I look at their setup and their bastion host itself is root owned - since those hosts are always being used (and are tied to everything so you can't easily reboot or replace them), and are considered nothing more than a "tool" that you rarely actually have to look at, they don't get updated nearly enough and are neglected.
Not saying that bastion hosts are a bad idea - but just like any easy to use, easy to forget, high risk part of the stack, they are often a sign of inexperience and neglect elsewhere in the architecture.
(Yes, I know that there are plenty of big companies that use jump boxes without issue, and this jumpserver product is different, but I'm specifically talking about the idea of having one little machine that is open to SSH and then you bounce off of that to get into the "secured" machines, and all of this just based on my own experience and may not reflect yours)
That experience shattered my idea that the world was being operated by competent engineers and technicians, governed by sane policies, under the watchful care of good, knowledgable people.
The world is held together by beliefs and expectations and bubblegum and duct tape, and a few thousand people madly scrambling to keep it all running.
Sounds like the AWS experience
I used to work for a company who allowed SSH only after jumping through Citrix => RDP => Putty => Jumphost => Target server.
Incredibly painful, also considering that each layer had a different keymap
I tried to look at the documentation but was left with more questions, the "free" version mentions "Linux server" (not even the GNU utilities?) and is just available as a curl | bash (but the apparently targets RHEL, Suse, Debian/Ubuntu and Alpine) and I started to glance through the git
"mysqldump -uroot -h127.0.0.1 -p jumpserver -P3307"
I think I'll stick with wireguard, headscale, netbird or tailscale, depending on scenario.
It's not so much about the remote access as it is about control and auditing.
i.e. ability to permit/deny certain commands/behaviours, and a complete audit log of the session, sometimes extending to a screen recording of an rdp session.
We used it a lot at first, but as our setup got more mature we rarely needed to SSH to our application servers/containers.
In my current project, I did not even setup smth like this.
I doubt that is anywhere near of "safe to use".