https://issues.apache.org/bugzilla/show_bug.cgi?id=46868
Summary: SocketHUBAppender: Allow restriction of binding to
localhost or local interface (with patch)
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=23392)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23392)
socket-hub-appender--restrict-bind.patch
Hi,
the SocketHUBAppender opens a TCP server sockets and waits for connections by
clients. It will then send the log events to those clients.
While this is a very cool feature during development it is not desireable to
allow anyone on the internet to connect to this port and receive logging
events.
The attached untested patch adds a new property "BindAddress". If it is set to
a non-null value, the server socket will only bind to the interfaced identified
by this ip-address.
Note: This patch is totally compatible because an unset "BindAddress" property
will show the old behaviour of binding to all interfaces.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]