Live data from Hacker News

HashiCorp Boundary

hashicorp.com

61–70 of 171 posts

Re: HashiCorp Boundary

#61
post #57

Earlier quoted context omitted.

So does it intercept all connections on that port (from the client app) and pass them along? Or do I need to reconfigure my client application to talk to localhost:whatever? Your only example is that curl using a hostname, it's not really clear.

You would point the application at the local port. It operates very similarly to SSH port forwarding. No fancy magic to intercept all traffic.

mostly copy-pasta from an earlier comment[0] of mine:

https://github.com/99designs/aws-vault/issues/578 was for an issue with remote servers accessing the localhost ec2 metadata service that aws-vault can run, that worked exactly by using DNS rebinding. It was fixed only months ago, so it seems like this is a developing area and if I were on a red team or pen testing, I would play around with more.

I visualize the "localhost hole" problem of blindly trusting localhost as an air gap in a pipe (like [0]); anybody could come along and either drop poison in the pipe, or redirect the water coming from the top to their own bucket, or both.

I appreciate that Boundary gives completely generic identity-aware-authenticated TCP sockets, but I don't know of a way, today, to make those not accessible to browsers through dns rebinding attacks.

This is probably much much too far in the weeds and this is unlikely to contribute to a major breach (unlike the aws-vault one where of course attackers would try to access the fake metadata service on the default port, because it's high-value and on a well-known port), but I'm interested in the space.

[0] https://news.ycombinator.com/item?id=23265509 [1] https://districtsales.ca/wp-content/uploads/2019/07/tru-gap-...

Re: HashiCorp Boundary

#62
Personally I’ve been a big fan of strongDM (https://www.strongdm.com/).

Lightyears ahead of teleport or any of the other solutions out there. Built for great auditing and zero trust.

Best of all it’s multi-protocol. So you can do SSH, SQL, K8s, HTTP all with one access system.

Had it in prod for almost two years. Gonna be a long time before hashicorp or anyone else can catch up with the level of depth.

Re: HashiCorp Boundary

#63
post #51

Earlier quoted context omitted.

Some people felt burned by Vault where it looked like the free version could be used in production but it couldn't and then the enterprise version is very expensive.

Why can't the free version of Vault be used in production?

I think the problem was that auto-unseal wasn't free (it is now, so kudos to HashiCorp for listening).

Re: HashiCorp Boundary

#64

Hello HN! I'm the founder of HashiCorp. I'm excited to see Boundary here! I want to note a few things about Boundary, why we made it, why it is different than other solutions in the space, etc. * Boundary is free and open source. Similar to when we built Vault, we feel like the solution-space for identity-based security is too commercialized. We want to provide access to this type of security to a broader set of peop…

Over in another thread this was compared to Google's BeyondCorp. Can you comment and compare/contrast Boundary with the concepts of BeyondCorp?

Boundary can be viewed as an implementation of some of these ideas!

Re: HashiCorp Boundary

#65

Can anyone explain if this can be used to share a linux samba server shares? If yes, could you point me out to right direction. Thanks

I’m sure it can, given at its core it just tunnels traffic from one place to another, but to be brutally honest this is a 0.1 release and if you can’t work out how to do this from the documentation you’re going to have a really bad time working out why it broke down the line.

Re: HashiCorp Boundary

#66
post #43

Earlier quoted context omitted.

I am also a big Tailscale fan, is anyone able to do a quick comparison on how Boundary relates?

Tailscale isnt a deny first, allow based on role/condition type product. Tailscale creates the equivalent of a wide open lan (it has other isolation options but that kind of control based on the identity of the person on the network, isnt its intended goal) where everyone connected can see everyone else.

From what little I know of both, Tailscale provides L2 access into a network that you might not otherwise have access and once you're in you can get anywhere from there, but Boundary hands out individual, already-connected TCP sockets directly to services running on endpoints.

If you're looking for something like a VPN and you're just going to SSH over it, either would probably work for you, but while Boundary can allow users to only connect to port 22 on certain hosts, I think if you wanted to do similar with Tailscale you'd be in iptables/ufw and "tagging / authz-ing traffic with unix uids" territory.

Re: HashiCorp Boundary

#67

Hello HN! I'm the founder of HashiCorp. I'm excited to see Boundary here! I want to note a few things about Boundary, why we made it, why it is different than other solutions in the space, etc. * Boundary is free and open source. Similar to when we built Vault, we feel like the solution-space for identity-based security is too commercialized. We want to provide access to this type of security to a broader set of peop…

Do you have a video showing a demo of managing a fleet of servers? Does this also address machine-to-machine ssh key trusts? Do you have a contrib repo with existing ansible, chef, puppet scripts to build your cluster and also for deploying agents to machines?

Re: HashiCorp Boundary

#68

Earlier quoted context omitted.

By "direct network access" we mean between the client and the end host. The Boundary worker node (which proxies traffic) would need to be able to make a network connection to the end host, and the client in turn would need to be able to make a network connection to the worker node. This indirection provides a way to keep your public and private (or even private and private) networks distinct to remove "being on the s…

I can see how that works for an internal network. How does this work for SaaS solutions that would normally be directly on the internet? Would they have to be "shielded" to be on a private network and somehow be "Boundary enabled"? And could this be done in a way that is completely transparent to the user (without them having to start a connection to the worker first, and then make a connection to the desired service…

Generally speaking this is designed for accessing your own systems, not the systems of a third party being consumed as a SaaS. That said, any such provider that allows you to restrict the set of IPs allowed to make calls to the service would operate in a Boundary-friendly mode.

Re: HashiCorp Boundary

#69
post #41

Earlier quoted context omitted.

Is there a simple paper that explains how this works on a technical level? I have a hard time visualizing how a connection to a remote host would be set up if it runs through Boundary. Does "without requiring direct network access" mean Boundary works as a proxy? And how does Boundary enable the connection if the host does not have direct network access?

We don't have a white paper on this yet, but we have a white board video that explains both how it works conceptually as well as at a more technical level of deployment architecture and data flow. https://www.youtube.com/watch?v=tUMe7EsXYBQ&feature=emb_titl...

This is a really nice video. I appreciate the patient walkthrough of the concepts and motivation.

Re: HashiCorp Boundary

#70

Hello HN! I'm the founder of HashiCorp. I'm excited to see Boundary here! I want to note a few things about Boundary, why we made it, why it is different than other solutions in the space, etc. * Boundary is free and open source. Similar to when we built Vault, we feel like the solution-space for identity-based security is too commercialized. We want to provide access to this type of security to a broader set of peop…

Looks interesting! Couple of things:

1. It's not clear to me how you actually secure the targets? Do you just enable access to the IP address of the controller proxy? In the video you mention a gateway but there's no description of that in the docs?

2. Is it possible to proxy a web browser session? Or is it limited to individual requests via something like curl at the moment?

Post reply on HN