Skip to content
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

Listen to different interfaces capability #79

Closed
BastienFaure opened this issue Feb 26, 2020 · 3 comments · Fixed by #81
Closed

Listen to different interfaces capability #79

BastienFaure opened this issue Feb 26, 2020 · 3 comments · Fixed by #81

Comments

@BastienFaure
Copy link

Hello !

I would like the grpc-dump tool to give the ability for users to make the proxy listening on a different interface or IP address.

I found my way by monkey patching the source code and it worked pretty well, guessing you would implement this easily by just adding a CLI argument and reinjecting the value into the right function call :)

Thanks !

@bradleyjkemp
Copy link
Owner

Hey @BastienFaure, yes that'll be an easy option to add as a CLI flag.

Just out of interest, what's your use case for this? You want to restrict grpc-dump to only listen on one interface rather than all?

@BastienFaure
Copy link
Author

Hi @bradleyjkemp !
So my use case is very simple, I'm running an app in a virtual machine and I can't reach the proxy from that source. Of course I could have circumvented the limitation by doing port forwarding/tunneling or whatever but I guess that would be useful in other cases :)

Thanks mate

@bradleyjkemp
Copy link
Owner

This is all done 🙌 You should be able to update to v0.2.5 and use the --interface flag to listen on whichever interface you need (e.g. --interface 0.0.0.0 to listen on all interfaces)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants