- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- OpenSSH build w/ tcpwrappers fails
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 03:53 AM
тАО12-28-2005 03:53 AM
OpenSSH build w/ tcpwrappers fails
CC=gcc ./configure --prefix=/usr/local/ssh \
--with-pam \
--with-ssl-dir=/usr/local/ssl \
--with-tcp-wrappers \
--with-zlib=../zlib \
--with-kerberos5 \
--with-rand-helper \
--with-md5-passwords \
--with-4in6 \
--build=hppa2.0n-hp-hpux11.11
fails with "checking for libwrap... configure: error: *** libwrap missing"
What am I missing?
-denver
- Tags:
- openssh
- tcp wrapper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 04:05 AM
тАО12-28-2005 04:05 AM
Re: OpenSSH build w/ tcpwrappers fails
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 04:09 AM
тАО12-28-2005 04:09 AM
Re: OpenSSH build w/ tcpwrappers fails
I'm looking to support a build of OpenSSH that will do logging for both sftp and scp file xfers. HP's patched for sftp logging, but their build won't handle scp logging.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 04:14 AM
тАО12-28-2005 04:14 AM
Re: OpenSSH build w/ tcpwrappers fails
/opt/ssh/src
Both TCP wrappers and SSH sources are shipped with HP's build.
I'll see if I can compile it with HP's C Compiler...
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 04:28 AM
тАО12-28-2005 04:28 AM
Re: OpenSSH build w/ tcpwrappers fails
It looks like the path problem. You need to ensure the "tcpd.h" is included from the "include" directory and the library file
"libwrap.a" path is given in the lib path or attribute to gcc "with-tcp-wrappers=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 05:59 AM
тАО12-28-2005 05:59 AM
Re: OpenSSH build w/ tcpwrappers fails
Refer this url for required changes for "configure"
http://www.ssh.com/support/documentation/online/ssh/adminguide/32/Configuring_SSH_Secure_Shell_for_TCP_Wrappers_Support.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 07:22 AM
тАО12-28-2005 07:22 AM
Re: OpenSSH build w/ tcpwrappers fails
Two ideas:
1) Make a change request to HP because I think scp should be logged. I'll be contacting HP Israel on this and other nagging issues in a few weeks.
2) Make sure the components you are trying to compile are on both the PATH and SHLIB_PATH
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 07:26 AM
тАО12-28-2005 07:26 AM
Re: OpenSSH build w/ tcpwrappers fails
If you can give me the snippet of code or needed changes - I can try to compile for you. I'll compile HP's sources. We've HP supported versions of Zlib, TCP wrappers - so I am confident my build -- which will be using HP's C compiler mightjust do the trick...
I am also interesetd in sftp and scp logging ;^)
BTW, have you tried if the current HP Secure Shell build has this functionality already?
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 12:23 PM
тАО12-28-2005 12:23 PM
Re: OpenSSH build w/ tcpwrappers fails
for anyone interested, here are the patches I use... http://www.sweb.cz/v_t_m/ His patch is based on the sftp logging patch that hp uses for their build.
I'd supported another custom openssh build before and used these same patches. I don't have my notes from that build process... but I didn't need krb5 or tcp-wrappers either.
If anyone gets bored and has the time to fiddle with it, please post your notes. :)
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 02:52 PM
тАО12-28-2005 02:52 PM
Re: OpenSSH build w/ tcpwrappers fails
# make distclean
# CC=gcc ./configure --prefix=/usr/local/ssh \
--with-pam \
--with-ssl-dir=/usr/local/ssl \
--with-zlib=../zlib \
--with-kerberos5 \
--with-rand-helper \
--with-md5-passwords \
--with-4in6 \
--build=hppa2.0n-hp-hpux11.11
I have just taken --with-tcp-wrappers as you said, you don't require. It should be OK now.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 06:32 PM
тАО12-28-2005 06:32 PM
Re: OpenSSH build w/ tcpwrappers fails
-L/
It is usual that it will generate when not seeing libraries and header files in the path.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 06:38 PM
тАО12-28-2005 06:38 PM
Re: OpenSSH build w/ tcpwrappers fails
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2005 07:04 PM
тАО12-28-2005 07:04 PM
Re: OpenSSH build w/ tcpwrappers fails
Just add the path of library to library inclusion path and header files to header file inclusion path. It will work.
-Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-30-2005 12:03 AM
тАО12-30-2005 12:03 AM
Re: OpenSSH build w/ tcpwrappers fails
Could be my /usr/lib/libwrap.a or /usr/include/tcpd.h files were corrupt. I'll have to look into that later, but for now the build went fine.
thanks to all who responded!
-denver