Skip to content

add ability to set hostname in TelnetAppender #498

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

michieldwitte
Copy link
Contributor

Add ability to set hostname in TelnetAppender

Copy link
Contributor

@swebb2066 swebb2066 left a comment

Choose a reason for hiding this comment

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

Could you confirm you have been able to test this PR on a machine with multiple network interfaces?

/**
The <b>Hostname</b> on which to accept connections.
*/
LogString getHostname() const;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would 'NodeName' be bettter than 'HostName' given it identifies the local machine interface to be used?
I believe that would correspond better with the underlying terminology and distinguish it from a url used to identify a remote server.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@michieldwitte
Copy link
Contributor Author

Could you confirm you have been able to test this PR on a machine with multiple network interfaces?

By default it accepts on any network interface, I've validated it using "127.0.0.1" so it only accepts connections on the loopback interface.

@swebb2066 swebb2066 merged commit 4d89919 into apache:master May 13, 2025
16 checks passed
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.

2 participants