Skip to content

net/haproxy: fix validation for source address fields#695

Merged
fraenki merged 1 commit intoopnsense:masterfrom
fraenki:haproxy_sourceaddr
May 28, 2018
Merged

net/haproxy: fix validation for source address fields#695
fraenki merged 1 commit intoopnsense:masterfrom
fraenki:haproxy_sourceaddr

Conversation

@fraenki
Copy link
Copy Markdown
Member

@fraenki fraenki commented May 28, 2018

Although the help text states that the "source address" field in servers/backends supports single addresses (10.0.0.1) as well as port ranges such as 10.0.0.1:500-550, the validation mask prevents this configuration.

This patch fixes the validation mask to support port ranges (and while here, IPv6 addresses too).

@fraenki fraenki added the bug Production bug label May 28, 2018
@fraenki fraenki self-assigned this May 28, 2018
@fraenki fraenki mentioned this pull request May 28, 2018
@fraenki fraenki merged commit 4379cb0 into opnsense:master May 28, 2018
@fraenki
Copy link
Copy Markdown
Member Author

fraenki commented May 28, 2018

@fichtner Please merge for os-haproxy 2.7 / OPN 18.1.9 :)

@fichtner
Copy link
Copy Markdown
Member

@fraenki done, thanks ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Production bug

Development

Successfully merging this pull request may close these issues.

2 participants