Professional Web Applications Themes

build libwrap into openssh - Linux / Unix Administration

Hi, I was trying to add tcpwrapper library to Openssh3.9, but when I check with ldd after compiling, there is still no support for libwrap. Any clue ? Or there is any trick ? I copied both libwrap.a and tcpd.h to /usr/lib and /usr/include dir. and crle showes these dir Thanks ************************************************** *********************************** #./configure --prefix=/usr/lib/ssh --sysconfdir=/etc/ssh --with-pam --with-tcp-wrappers --with-md5-passwords # make # make install...

  1. #1

    Default build libwrap into openssh

    Hi,

    I was trying to add tcpwrapper library to Openssh3.9, but when I check with
    ldd after compiling, there is still no support for libwrap. Any clue ? Or
    there is any trick ?

    I copied both libwrap.a and tcpd.h to /usr/lib and /usr/include dir. and
    crle showes these dir

    Thanks

    ************************************************** ***********************************

    #./configure --prefix=/usr/lib/ssh --sysconfdir=/etc/ssh --with-pam --with-tcp-wrappers
    --with-md5-passwords

    # make

    # make install




    Daniel Guest

  2. #2

    Default Re: build libwrap into openssh

    > Hi,
     
     

    'ldd' is for checking shared libraries - you could, though, use 'nm' to
    see if tcpwrapper support is present:

    zenoah-371 $ nm sshd2 |grep tcpd
    tcpd_buf |1073902376|extern|data |$BSS$
    tcpd_context |1073902584|extern|data |$BSS$
    tcpd_diag | 1022224|static|entry |$CODE$
    tcpd_jump | 1022432|extern|code |$CODE$
    tcpd_warn | 1022360|extern|code |$CODE$

    besides it wouldn't have linked without finding a wrapper library.

     
     
     
     
     



    DaveN.
    David Guest

  3. #3

    Default Re: build libwrap into openssh

    In comp.unix.solaris Daniel Huang <com> wrote: 

    I've found it easier to simply run sshd out of inetd. As long as
    you're already using inetd for other daemons this is a no brainer.
    The performance difference between inetd+sshd and standalone sshd
    is hardly noticeable. The line in /etc/inetd.conf should look like
    this:

    ssh stream tcp nowait root /usr/sbin/tcpd /usr/local/openssh/bin/sshd -i

    Another advantage to using inetd is that you can update sshd_config
    without having to kill-1 the base sshd. Don't forget to delete any
    sshd rc/startup scripts.

    --
    Roger Marquis
    Roble Systems Consulting
    http://www.roble.com/
    Roger Guest

Similar Threads

  1. OpenSSH
    By Jean-Pierre in forum SCO
    Replies: 36
    Last Post: October 2nd, 03:46 PM
  2. compiling openssh 3.7p1 on aix 5.1
    By Tim Bruijnzeels in forum AIX
    Replies: 0
    Last Post: September 17th, 11:46 AM
  3. openssh on aix4.2
    By samara in forum AIX
    Replies: 4
    Last Post: August 9th, 11:37 AM
  4. Is Bull's opensshd compiled with libwrap.a
    By pui ming Wong in forum AIX
    Replies: 0
    Last Post: June 25th, 06:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139