-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to bind API to localhost? #796
Comments
Hi, folks! Do you have some updates? :) That's real security issue for production use and I would be very glad if you could fix it. |
why not iptables? If it doesn't work for you, I guess that we could extend '-g' option or something. |
Hello! Will be fine to have option to tune bind interface. On servers with bunch Also iptables configuration adds another level of complexity and very error So I will be very glad to avoid it. On Saturday, 9 April 2016, FUJITA Tomonori notifications@github.com wrote:
Sincerely yours, Pavel Odintsov |
by default, ":50051" is used as before. gobgpd accepts grcp connections from localhost with the following example: $ gobgpd --api-hosts 127.0.0.1:50051 You can specify multiple hosts like: $ gobgpd --api-hosts 127.0.0.1:50051,10.0.255.254:50051 close osrg#796 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
by default, ":50051" is used as before. gobgpd accepts grcp connections from localhost with the following example: $ gobgpd --api-hosts 127.0.0.1:50051 You can specify multiple hosts like: $ gobgpd --api-hosts 127.0.0.1:50051,10.0.255.254:50051 close osrg#796 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Works for you? |
Yep, looks awesome! Waiting in master! :) On Sun, Apr 10, 2016 at 8:53 AM, FUJITA Tomonori notifications@github.com
Sincerely yours, Pavel Odintsov |
by default, ":50051" is used as before. gobgpd accepts grpc connections from localhost with the following example: $ gobgpd --api-hosts 127.0.0.1:50051 You can specify multiple hosts like: $ gobgpd --api-hosts 127.0.0.1:50051,10.0.255.254:50051 close osrg#796 Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Pushed. Please try the latest master. |
Perfect! Working as expected. Thanks! Sorry for delay. I had short holidays. |
Hell, folks!
Bu default gobgp API listen on all interfaces (including external) and it's not expected behavior :)
Actually we have option to change default port but we haven't any way to specify custom host:
Finally, I have two suggestions:
Thanks!
The text was updated successfully, but these errors were encountered: