I have a project to convert Log4j to Logback/SLF4j.  I  log4j I wrote a logging socket server a server that enforces an IP  whitelist.  The server only accepts a socket connection from an IP in the list.

 

I am attempting, not successfully,  to recreate the same attempting to extend the server listener. The issue is all the classes are package scope.

 

Has anyone managed to create a Socket Server that restricts client connections?   


The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient please return the e-mail to the sender and delete it from your computer. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses.

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities.