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

Add support to limit the port range for dynamic binds #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stromnet
Copy link

@stromnet stromnet commented Apr 9, 2016

This feature is required to work in an environment with at least somewhat sane firewall rules.

Usage:

./shairplay .... --dyn_port_min=5000 --dyn_port_max=5010

This will ensure that the UDP/TCP ports dynamically bound will be betewen 5000 and 5010 (inclusive).
If not specified (or 0), default behaviour is used (random port as decided by the system).

Binding changes have not been tested (not even compiled).

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 this pull request may close these issues.

1 participant