TCL: TCP Wrapper (tcp_wrappers.tcz) installed but /usr/local/bin/tcpd file is not there

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











up vote
1
down vote

favorite












I'm learning host based firewall by installing tcp_wrappers.tcz on Tiny Core Linux (TCL).



Initially, the following files were not there which was expected.



/etc/hosts.allow
/etc/hosts.deny


BEFORE



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:20:51 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts


INSTALLATION



tc@linux:/etc$ tce-load -wi tcp_wrappers.tcz
Downloading: tcp_wrappers.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
tcp_wrappers.tcz 100% |****************************************************************************************************************************************| 40960 0:00:00 ETA
tcp_wrappers.tcz: OK


AFTER



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:21:14 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts
-rw-r--r-- 1 root root 121 Nov 27 2008 /etc/hosts.allow
-rw-r--r-- 1 root root 119 Nov 27 2008 /etc/hosts.deny


Then, I was able to see both files created.



tc@linux:/etc$ cat /etc/hosts.allow
# hosts.allow This file describes the names of the hosts which are allowed access by the '/usr/local/bin/tcpd' server.

tc@linux:/etc$ cat /etc/hosts.deny
# hosts.deny This file describes the names of the hosts which are denied access by the '/usr/local/bin/tcpd' server.


Unfortunately, /usr/local/bin/tcpd was not there.



tc@linux:/etc$ ls -lh /usr/local/bin/tcpd
ls: /usr/local/bin/tcpd: No such file or directory


Obviously, TCP Wrapper won't work without tcpd right?



How do I get this to work?







share|improve this question

















  • 3




    I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
    – Anthony Geoghegan
    May 8 at 11:32










  • @Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
    – Scott
    Jun 8 at 23:38










  • @Scott, forum.tinycorelinux.net/index.php/…
    – Sabrina
    Jun 8 at 23:42














up vote
1
down vote

favorite












I'm learning host based firewall by installing tcp_wrappers.tcz on Tiny Core Linux (TCL).



Initially, the following files were not there which was expected.



/etc/hosts.allow
/etc/hosts.deny


BEFORE



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:20:51 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts


INSTALLATION



tc@linux:/etc$ tce-load -wi tcp_wrappers.tcz
Downloading: tcp_wrappers.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
tcp_wrappers.tcz 100% |****************************************************************************************************************************************| 40960 0:00:00 ETA
tcp_wrappers.tcz: OK


AFTER



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:21:14 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts
-rw-r--r-- 1 root root 121 Nov 27 2008 /etc/hosts.allow
-rw-r--r-- 1 root root 119 Nov 27 2008 /etc/hosts.deny


Then, I was able to see both files created.



tc@linux:/etc$ cat /etc/hosts.allow
# hosts.allow This file describes the names of the hosts which are allowed access by the '/usr/local/bin/tcpd' server.

tc@linux:/etc$ cat /etc/hosts.deny
# hosts.deny This file describes the names of the hosts which are denied access by the '/usr/local/bin/tcpd' server.


Unfortunately, /usr/local/bin/tcpd was not there.



tc@linux:/etc$ ls -lh /usr/local/bin/tcpd
ls: /usr/local/bin/tcpd: No such file or directory


Obviously, TCP Wrapper won't work without tcpd right?



How do I get this to work?







share|improve this question

















  • 3




    I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
    – Anthony Geoghegan
    May 8 at 11:32










  • @Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
    – Scott
    Jun 8 at 23:38










  • @Scott, forum.tinycorelinux.net/index.php/…
    – Sabrina
    Jun 8 at 23:42












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm learning host based firewall by installing tcp_wrappers.tcz on Tiny Core Linux (TCL).



Initially, the following files were not there which was expected.



/etc/hosts.allow
/etc/hosts.deny


BEFORE



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:20:51 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts


INSTALLATION



tc@linux:/etc$ tce-load -wi tcp_wrappers.tcz
Downloading: tcp_wrappers.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
tcp_wrappers.tcz 100% |****************************************************************************************************************************************| 40960 0:00:00 ETA
tcp_wrappers.tcz: OK


AFTER



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:21:14 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts
-rw-r--r-- 1 root root 121 Nov 27 2008 /etc/hosts.allow
-rw-r--r-- 1 root root 119 Nov 27 2008 /etc/hosts.deny


Then, I was able to see both files created.



tc@linux:/etc$ cat /etc/hosts.allow
# hosts.allow This file describes the names of the hosts which are allowed access by the '/usr/local/bin/tcpd' server.

tc@linux:/etc$ cat /etc/hosts.deny
# hosts.deny This file describes the names of the hosts which are denied access by the '/usr/local/bin/tcpd' server.


Unfortunately, /usr/local/bin/tcpd was not there.



tc@linux:/etc$ ls -lh /usr/local/bin/tcpd
ls: /usr/local/bin/tcpd: No such file or directory


Obviously, TCP Wrapper won't work without tcpd right?



How do I get this to work?







share|improve this question













I'm learning host based firewall by installing tcp_wrappers.tcz on Tiny Core Linux (TCL).



Initially, the following files were not there which was expected.



/etc/hosts.allow
/etc/hosts.deny


BEFORE



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:20:51 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts


INSTALLATION



tc@linux:/etc$ tce-load -wi tcp_wrappers.tcz
Downloading: tcp_wrappers.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
tcp_wrappers.tcz 100% |****************************************************************************************************************************************| 40960 0:00:00 ETA
tcp_wrappers.tcz: OK


AFTER



tc@linux:/etc$ date; ls -lh /etc/host*
Thu May 3 20:21:14 UTC 2018
-rw-rw-r-- 1 root staff 26 Jul 4 2016 /etc/host.conf
-rw-r--r-- 1 root root 4 May 3 20:18 /etc/hostname
-rw-r--r-- 1 root root 290 May 3 20:18 /etc/hosts
-rw-r--r-- 1 root root 121 Nov 27 2008 /etc/hosts.allow
-rw-r--r-- 1 root root 119 Nov 27 2008 /etc/hosts.deny


Then, I was able to see both files created.



tc@linux:/etc$ cat /etc/hosts.allow
# hosts.allow This file describes the names of the hosts which are allowed access by the '/usr/local/bin/tcpd' server.

tc@linux:/etc$ cat /etc/hosts.deny
# hosts.deny This file describes the names of the hosts which are denied access by the '/usr/local/bin/tcpd' server.


Unfortunately, /usr/local/bin/tcpd was not there.



tc@linux:/etc$ ls -lh /usr/local/bin/tcpd
ls: /usr/local/bin/tcpd: No such file or directory


Obviously, TCP Wrapper won't work without tcpd right?



How do I get this to work?









share|improve this question












share|improve this question




share|improve this question








edited May 8 at 11:28









Anthony Geoghegan

7,16633651




7,16633651









asked May 3 at 12:32









Sabrina

496




496







  • 3




    I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
    – Anthony Geoghegan
    May 8 at 11:32










  • @Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
    – Scott
    Jun 8 at 23:38










  • @Scott, forum.tinycorelinux.net/index.php/…
    – Sabrina
    Jun 8 at 23:42












  • 3




    I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
    – Anthony Geoghegan
    May 8 at 11:32










  • @Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
    – Scott
    Jun 8 at 23:38










  • @Scott, forum.tinycorelinux.net/index.php/…
    – Sabrina
    Jun 8 at 23:42







3




3




I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
– Anthony Geoghegan
May 8 at 11:32




I’ve never used Tiny Core Linux but on my Ubuntu and CentOS machines, the daemon itself is installed to /usr/sbin/tcpd – not /usr/local/bin/tcpd. Can you edit the question to include the output of command -v tcpd?
– Anthony Geoghegan
May 8 at 11:32












@Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
– Scott
Jun 8 at 23:38




@Sabrina: You say that we should be more welcoming — but that’s a two-way street.  While you have described and documented your question clearly and coherently, I see no evidence that you have “made the effort to research and solve the problem yourself.”  Anthony Geoghegan has pointed out a possible solution and asked a follow-up question — and you have not responded. … It seems like you are the one turning your back.
– Scott
Jun 8 at 23:38












@Scott, forum.tinycorelinux.net/index.php/…
– Sabrina
Jun 8 at 23:42




@Scott, forum.tinycorelinux.net/index.php/…
– Sabrina
Jun 8 at 23:42










1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Apparently, sshd & nc were not compiled against the libwrap.a library in TCL. I've just tested /usr/sbin/sshd in CentOS and it works, but not in TCL.



[root@CentOS ~]# whereis sshd
sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
[root@CentOS ~]#

[root@CentOS ~]# ldd /usr/sbin/sshd | grep libwrap
libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f506b6e2000)
[root@CentOS ~]#


http://forum.tinycorelinux.net/index.php/topic,21917.msg137160.html#msg137160






share|improve this answer























    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%2f441535%2ftcl-tcp-wrapper-tcp-wrappers-tcz-installed-but-usr-local-bin-tcpd-file-is-no%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Apparently, sshd & nc were not compiled against the libwrap.a library in TCL. I've just tested /usr/sbin/sshd in CentOS and it works, but not in TCL.



    [root@CentOS ~]# whereis sshd
    sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
    [root@CentOS ~]#

    [root@CentOS ~]# ldd /usr/sbin/sshd | grep libwrap
    libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f506b6e2000)
    [root@CentOS ~]#


    http://forum.tinycorelinux.net/index.php/topic,21917.msg137160.html#msg137160






    share|improve this answer



























      up vote
      1
      down vote



      accepted










      Apparently, sshd & nc were not compiled against the libwrap.a library in TCL. I've just tested /usr/sbin/sshd in CentOS and it works, but not in TCL.



      [root@CentOS ~]# whereis sshd
      sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
      [root@CentOS ~]#

      [root@CentOS ~]# ldd /usr/sbin/sshd | grep libwrap
      libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f506b6e2000)
      [root@CentOS ~]#


      http://forum.tinycorelinux.net/index.php/topic,21917.msg137160.html#msg137160






      share|improve this answer

























        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Apparently, sshd & nc were not compiled against the libwrap.a library in TCL. I've just tested /usr/sbin/sshd in CentOS and it works, but not in TCL.



        [root@CentOS ~]# whereis sshd
        sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
        [root@CentOS ~]#

        [root@CentOS ~]# ldd /usr/sbin/sshd | grep libwrap
        libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f506b6e2000)
        [root@CentOS ~]#


        http://forum.tinycorelinux.net/index.php/topic,21917.msg137160.html#msg137160






        share|improve this answer















        Apparently, sshd & nc were not compiled against the libwrap.a library in TCL. I've just tested /usr/sbin/sshd in CentOS and it works, but not in TCL.



        [root@CentOS ~]# whereis sshd
        sshd: /usr/sbin/sshd /usr/share/man/man8/sshd.8.gz
        [root@CentOS ~]#

        [root@CentOS ~]# ldd /usr/sbin/sshd | grep libwrap
        libwrap.so.0 => /lib64/libwrap.so.0 (0x00007f506b6e2000)
        [root@CentOS ~]#


        http://forum.tinycorelinux.net/index.php/topic,21917.msg137160.html#msg137160







        share|improve this answer















        share|improve this answer



        share|improve this answer








        edited Jun 8 at 23:50


























        answered Jun 8 at 23:44









        Sabrina

        496




        496






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f441535%2ftcl-tcp-wrapper-tcp-wrappers-tcz-installed-but-usr-local-bin-tcpd-file-is-no%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?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?