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

Fix suggested default address. Fix broken address/port lookup #985

Merged
merged 2 commits into from
Feb 7, 2024

Conversation

slacrherbst
Copy link
Contributor

This updates the documentation to suggest using 127.0.0.1 for the zmqServer listen address. This will avoid getting annoying messages from cyber security port scanners.

We still need to properly document ZmqServer to explain the various addr arg options.

I also fixed a bug where the address lookup always returns localhost, which will break the gui when users define options other than * or 127.0.0.1

@codecov-commenter
Copy link

codecov-commenter commented Feb 6, 2024

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (dd99795) 29.55% compared to head (8563cb4) 30.04%.

Files Patch % Lines
python/pyrogue/interfaces/_ZmqServer.py 0.00% 4 Missing ⚠️
python/pyrogue/examples/_ExampleRoot.py 0.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff               @@
##           pre-release     #985      +/-   ##
===============================================
+ Coverage        29.55%   30.04%   +0.48%     
===============================================
  Files               65       65              
  Lines             6641     6644       +3     
  Branches          1014     1015       +1     
===============================================
+ Hits              1963     1996      +33     
+ Misses            4524     4491      -33     
- Partials           154      157       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ruck314 added a commit to slaclab/kek-bpm-rfsoc-dev that referenced this pull request Feb 7, 2024
Copy link
Contributor

@ruck314 ruck314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that this change works and compatible with my v6.1.1 build:
slaclab/kek-bpm-rfsoc-dev@fab69be

@ruck314 ruck314 merged commit e250419 into pre-release Feb 7, 2024
5 checks passed
@ruck314 ruck314 deleted the server_addr branch February 7, 2024 19:46
@ruck314 ruck314 mentioned this pull request Feb 7, 2024
ruck314 added a commit to slaclab/warm-tdm that referenced this pull request Feb 9, 2024
ruck314 added a commit to slaclab/surf that referenced this pull request Feb 14, 2024
ruck314 added a commit that referenced this pull request Feb 27, 2024
…Server listen address. This will avoid getting annoying messages from cyber security port scanners.

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

Successfully merging this pull request may close these issues.

3 participants