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

gui: Restrict GUI listening ports to >1024, add help (fixes #4020) #4116

Closed
wants to merge 2 commits into from
Closed

Conversation

calmh
Copy link
Member

@calmh calmh commented Apr 23, 2017

This adds a pattern validator to the GUI listen port field that checks for port numbers 1024 and above. Also adds a help link pointing to the (new) page talking about GUI listen port numbers. That page has information on how to work around the restriction, in general terms. The related pull request is here: syncthing/docs#315

Also changes the header from "GUI Listen Addresses" to the singular version, because we only support one listen address today.

screen shot 2017-04-23 at 10 40 47

screen shot 2017-04-23 at 10 40 57

This adds a pattern validator to the GUI listen port field that checks
for port numbers 1024 and above. Also adds a help link pointing to the
(new) page talking about GUI listen port numbers. That page has
information on how to work around the restriction, in general terms.

Also changes the header from "GUI Listen Addresses" to the singular
version, because we only support one listen address today.
@AudriusButkevicius
Copy link
Member

Seems it accepts 01025, does go accept that?

@calmh
Copy link
Member Author

calmh commented Apr 23, 2017 via email

@calmh
Copy link
Member Author

calmh commented Apr 23, 2017 via email

@AudriusButkevicius
Copy link
Member

@st-review merge

@st-review
Copy link

👌 Merged as 26654df. Thanks, @calmh!

@st-review st-review closed this Apr 24, 2017
st-review pushed a commit that referenced this pull request Apr 24, 2017
This adds a pattern validator to the GUI listen port field that checks
for port numbers 1024 and above. Also adds a help link pointing to the
(new) page talking about GUI listen port numbers. That page has
information on how to work around the restriction, in general terms.

Also changes the header from "GUI Listen Addresses" to the singular
version, because we only support one listen address today.

GitHub-Pull-Request: #4116
@calmh calmh deleted the highports branch April 24, 2017 07:24
@st-review st-review added the pr-merged Legacy label used in the past for pull requests merged to the main tree label Jan 15, 2018
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jul 15, 2018
@syncthing syncthing locked and limited conversation to collaborators Jul 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion pr-merged Legacy label used in the past for pull requests merged to the main tree
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants