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

Socket Appender has no default port value for UDP #2793

Open
ppkarwasz opened this issue Aug 2, 2024 · 2 comments
Open

Socket Appender has no default port value for UDP #2793

ppkarwasz opened this issue Aug 2, 2024 · 2 comments

Comments

@ppkarwasz
Copy link
Contributor

The Socket Appender has default port values for TCP (4560) and SSL (6514), but has no default value for the UDP protocol.

I think we should add 4560 as default port also for UDP. What do you think?

@vy
Copy link
Member

vy commented Aug 2, 2024

I think we should add 4560 as default port also for UDP

Why? (I'm not against – I just want to know if it serves a particular use case.)

(Is either 4560 or 6514 registered port numbers for a particular service that supposedly accepts input from Log4j? If not, I think assigning defaults to those attributes was a mistake. One, we cannot revert due to backward compatibility concerns.)

@ppkarwasz
Copy link
Contributor Author

I think we should add 4560 as default port also for UDP

Why? (I'm not against – I just want to know if it serves a particular use case.)

Looks better in the docs. 😉

While I don't support many features (like the default values for TCP and SSL), I would prefer to have a configuration format with as few surprises as possible.

BTW: both those ports are unassigned by IANA. Maybe the idea was to write a Log4j Server that uses those ports.

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

No branches or pull requests

2 participants