Closed futurechimp closed 1 year ago
Yes please, we would love to see this happened
I think it makes sense to keep the default behaviour (start the client bound to 127.0.0.1) but add a new option in init so that if needed, the user can specify the listening address according to their needs (0.0.0.0, 1.2.3.4 etc).
This is a good solution to be able to specify when run the nym-client to specify --init <listening address>
There was a feature request here: https://github.com/nymtech/nym/issues/1674
At the moment, the Nym native client is hardcoded to listen to host 127.0.0.1. We set it up this way to make a conservative security assumption, essentially "don't open up a listening port to the world".
We're getting developer feedback now that this is a problem in a Dockerized environment, where it can be convenenient to listen on 0.0.0.0.
I think it makes sense to keep the default behaviour (start the client bound to 127.0.0.1) but add a new option in
init
so that if needed, the user can specify the listening address according to their needs (0.0.0.0, 1.2.3.4 etc).
At the moment, the Nym native client is hardcoded to listen to host 127.0.0.1. We set it up this way to make a conservative security assumption, essentially "don't open up a listening port to the world".
We're getting developer feedback now that this is a problem in a Dockerized environment, where it can be convenenient to listen on 0.0.0.0.
I think it makes sense to keep the default behaviour (start the client bound to 127.0.0.1) but add a new option in
init
so that if needed, the user can specify the listening address according to their needs (0.0.0.0, 1.2.3.4 etc).
Very good choice! And also great to listen to some feedback! This is a 3 part comment, I hope you find it constructive.
run
and init
parts not being one command as ...issue from someone else from 2020 (can dig it out later)Why I use Docker? To test stuff and break stuff before I knowsomething somehow works. So it saves me time, just like using chatgpt for a help there and there ...:PPP
Otherwise with Docker it is a pain in the ass to set up things, making you spent time with Docker that should save you time WAY more than actually doing the thing it was made for - to save you time during development.
While this comment may not be directly related to the current release - I wanted to take a moment to share some thoughts on the longer-term suggestions, I think it is complementary to my earlier feedback interview.
I just had a few quick ideas that I wanted to explore and share, so here are a few topics that I think are worth exploring:
cargo
instead of rustc
when you build stuff.run
and init
into one command. This was always a problem and will cause even more problems when we move for example to k8s. --- why would this be an issue to implement or what is your reasoning behind it? I hate to init
something for testing on each new machine I get.
I want to be able to spam stuff I need as quickly as I can.Here is an example of what I was reading a few minutes ago. This is enough. Just say “Hey H., go read this and then come back and try to ask again” and I do not need to hear anything more :) …**
# This is a must read for anyone who wants to truly develop a secure, bleeding-edge apps on top of NYM
Read this:
BCP 230
RFC 8900
IP Fragmentation Considered Fragile, SEPTEMBER 2020
<some-url> for IETF .txt
This is after-all, not only about money, if it was, I would be doing some gigs that pay really well, but I would not be working/trying to work on something that could save lives(oopsie a little cliche here) just make the totally broken thing we call internet a better world.
AMAs are an over-used format and people are not really that engaged anyway.
@futurechimp @mfahampshire I would love to hear your feedback.
We agreed with MX (now I realize this is a funny joke when I talk about email, hope you get it!)
But now, seeing this changelog - I have even greater dillema which client to choose for N Y M S T R email:
Now I see this and thinking again....hmmm well, maybe I could use the native client for everything, just spam some containers and serverside it is done and sexier, more future-proof?
For me it is a total analysis paralysis which of the 3 clients to choose at this point.
This long comment started here, at section 3 and here it ends. Hope it is something that will add value and help the cause. Thanks if you made it so far.
Cheers, H
PS
Written from stupid iOS app (not sure where the preview is so excuse me for any formatting mistakes. This was not enhanced by chatgpt. It just told me my suggestions are sh*t. So I added a disclaimer at SECTION 2)
I am wondering...is this comment of mine above stored in root .git folder or anywhere? Or just Github? I will not Googlebing such a stupid thing.
At the moment, the Nym native client is hardcoded to listen to host 127.0.0.1. We set it up this way to make a conservative security assumption, essentially "don't open up a listening port to the world".
We're getting developer feedback now that this is a problem in a Dockerized environment, where it can be convenenient to listen on 0.0.0.0.
I think it makes sense to keep the default behaviour (start the client bound to 127.0.0.1) but add a new option in
init
so that if needed, the user can specify the listening address according to their needs (0.0.0.0, 1.2.3.4 etc).