How to test host-based firewall using TCP Wrapper if none of the binary compiled with it?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I've been reading about TCP Wrapper here and wondering how to test it if none of the executable daemon compiled/supported by TCP Wrapper.



https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/



Initially, I was planning to test it with ssh.



It turn's out it was not supported. Same problem with nc.



tc@box:~$ ldd /usr/bin/nc | grep wr
tc@box:~$ ldd /usr/local/sbin/sshd | grep wr
tc@box:~$


Please let me know if there is easier solution to test host-based firewall.







share|improve this question















  • 1




    TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
    – GracefulRestart
    May 4 at 6:48














up vote
0
down vote

favorite












I've been reading about TCP Wrapper here and wondering how to test it if none of the executable daemon compiled/supported by TCP Wrapper.



https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/



Initially, I was planning to test it with ssh.



It turn's out it was not supported. Same problem with nc.



tc@box:~$ ldd /usr/bin/nc | grep wr
tc@box:~$ ldd /usr/local/sbin/sshd | grep wr
tc@box:~$


Please let me know if there is easier solution to test host-based firewall.







share|improve this question















  • 1




    TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
    – GracefulRestart
    May 4 at 6:48












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I've been reading about TCP Wrapper here and wondering how to test it if none of the executable daemon compiled/supported by TCP Wrapper.



https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/



Initially, I was planning to test it with ssh.



It turn's out it was not supported. Same problem with nc.



tc@box:~$ ldd /usr/bin/nc | grep wr
tc@box:~$ ldd /usr/local/sbin/sshd | grep wr
tc@box:~$


Please let me know if there is easier solution to test host-based firewall.







share|improve this question











I've been reading about TCP Wrapper here and wondering how to test it if none of the executable daemon compiled/supported by TCP Wrapper.



https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/



Initially, I was planning to test it with ssh.



It turn's out it was not supported. Same problem with nc.



tc@box:~$ ldd /usr/bin/nc | grep wr
tc@box:~$ ldd /usr/local/sbin/sshd | grep wr
tc@box:~$


Please let me know if there is easier solution to test host-based firewall.









share|improve this question










share|improve this question




share|improve this question









asked May 3 at 15:13









Sabrina

496




496







  • 1




    TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
    – GracefulRestart
    May 4 at 6:48












  • 1




    TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
    – GracefulRestart
    May 4 at 6:48







1




1




TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
– GracefulRestart
May 4 at 6:48




TCP wrappers were removed from OpenSSH years ago. It appears less and less software is continuing to use TCP wrappers as better approaches are available. Your distribution should have come with a modern host-based firewall already installed, possibly firewalld or iptables.
– GracefulRestart
May 4 at 6:48















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441576%2fhow-to-test-host-based-firewall-using-tcp-wrapper-if-none-of-the-binary-compiled%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441576%2fhow-to-test-host-based-firewall-using-tcp-wrapper-if-none-of-the-binary-compiled%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay