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

Allow specifying bind interfaces in addition to addresses #3

Closed
tohojo opened this issue Nov 22, 2017 · 3 comments
Closed

Allow specifying bind interfaces in addition to addresses #3

tohojo opened this issue Nov 22, 2017 · 3 comments

Comments

@tohojo
Copy link
Contributor

tohojo commented Nov 22, 2017

When deploying irtt to my testbed, I have several boxes with the same interface names but with diffent IPs assigned to each interface. It would be useful to be able to specify the interface name to -b instead of the address, since I can then just reuse the same systemd unit file.

@heistp
Copy link
Owner

heistp commented Nov 22, 2017 via email

@heistp
Copy link
Owner

heistp commented Nov 24, 2017

You can now do: irtt server -b %eth0 for example, or use * in the interface name as a wildcard, like %eth*.

The default bind address is now "%*" so people won't see that pesky warning, unless they've actively specified a bind address with an unspecified IP on a box with multiple IPs.

This was a bunch of changed and new code and I only tested on a few boxes, so re-open with any problems...

@heistp heistp closed this as completed Nov 24, 2017
@tohojo
Copy link
Contributor Author

tohojo commented Nov 24, 2017 via email

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

No branches or pull requests

2 participants