From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: emanuele.lombardi@casaccia.enea.it Newsgroups: gmane.os.tru64.managers,gmane.spam.detected Subject: SUMMARY: SSH Secure Shell Tru64 UNIX 3.2.0 and TCP_WRAPPERS Date: Fri, 14 Mar 2003 09:09:59 +0100 (CET) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <200303140810.h2E89xx41286547@tintoretto.casaccia.enea.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-Trace: main.gmane.org 1047629413 30941 80.91.224.249 (14 Mar 2003 08:10:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2003 08:10:13 +0000 (UTC) Cc: emanuele.lombardi@casaccia.enea.it Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Fri Mar 14 09:10:07 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18tkGU-00082f-00 for ; Fri, 14 Mar 2003 09:10:06 +0100 Original-Received: (qmail 9506 invoked by uid 5); 14 Mar 2003 08:10:42 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 9497 invoked by uid 49493); 14 Mar 2003 08:10:42 -0000 Original-Received: from emanuele.lombardi@casaccia.enea.it by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.5/5.0):. Processed in 0.473735 secs); 14 Mar 2003 08:10:42 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 14 Mar 2003 08:10:42 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HBQ00GQLC1SOX@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Mar 2003 03:10:41 -0500 (EST) Original-Received: from tintoretto.casaccia.enea.it (tintoretto.casaccia.enea.it [192.107.75.41]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HBQ00ACIC0W11@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 14 Mar 2003 03:10:10 -0500 (EST) Original-Received: from tintoretto.casaccia.enea.it (tintoretto.casaccia.enea.it [192.107.75.41]) by tintoretto.casaccia.enea.it (8.12.8/8.12.8) with ESMTP id h2E89xx41286547; Fri, 14 Mar 2003 09:10:03 +0100 (CET) Original-To: tru64-unix-managers@ornl.gov X-Spam-Report: 7.5 hits, 5 required; * 0.5 -- From: does not include a real name * 3.1 -- BODY: How dear can you be if you don't know my name? * 1.0 -- BODY: Who really wins? * 0.5 -- BODY: Standard signature delimiter present * 2.4 -- BODY: Contains at least 3 dollar signs in a row Xref: main.gmane.org gmane.os.tru64.managers:3638 gmane.spam.detected:82679 X-Report-Unspam: http://unspam.gmane.org/gmane.os.tru64.managers:3638 Dear friends, the definitive answers come from HP: ================================= Paul Moore (HP): 1) No, tcp_wrappers are not currently supported nor is there plan to support it in the future. We recommend customers to use the capabilities built in to SSH itself, i.e. the AllowHosts and DenyHosts options that you mention. 2) You can get sources directly from SSH and there is the opensource implementation, OpenSSH. HP does not distribute source code for SSH. 3) We currently don't support using SSH with tcp_wrappers or running from init.d. I recommend you run SSH from the supplied init script at startup. ================================= Matt Anderson (HP): 1) I'm sorry, but at this point we do not support TCP_WRAPPERS, mainly because of the included support for per-host and per-subnet blocking or allowing. Sorry. 2) The sources we use are from ssh.com You should be able to get access to their source from the homepage. The value-adds that we did were some cluster awareness and the secure rutils. If you compile your own with TCP_WRAPPER support you won't have those features. Many other alphists suggest to get sources from openssh and compile them with tcp_wrapper support. Thank you Bob Vickers Darryl Cook Carl Riches Warren Sturm Olle Eriksson Nikola Milutinovic I received two more mails related to my previous ask for help inetd[xxxxxxx]: ssh/tcp: bind: Address already in use and they are both intersting: ================================= Sloane, Robert Raymond: > I have to say that I run sshd (home compiled) from several > years during > which I alway had /sbin/init.d/sshd run at boot time > AND an ssh entry in /etc/inetd.conf and I never had any error of the > kind "ssh/tcp: bind: Address already in use" It depends on what order you start things. If the daemon sshd gets started before inetd then it will have port 22 in use and inetd can't bind to it, causing the error message you saw. If you start inetd before sshd then inetd will work OK and the sshd daemon won't be able to bind the port and will probably just exit. There is no reason to do both, since only one program can listen for incoming connections at once. ================================= Jay Leafey: IIRC, you either run sshd as a daemon using the /sbin/init.d file OR you run it via inetd. Your message seems to indicate you are doing both. The message you are receiving indicates that inetd has detected another process allocating the ssh port when it tries to grab it. Given the nature of ssh, I would be inclined to comment out the line in inetd.conf. Using the inetd method has some shortcomings, particularly the long start-up time. sshd has to do a bit of cryptographic housekeeping at start-up that can cause an unpleasant delay for incoming connections. As far as ip address restrictions go, if you are building from sources you can configure ssh with tcp-wrappers support and use entries in hosts.allow and hosts.deny to control access. Alternatively, you can set up address restrictions in the sshd.conf file. See the man pages for the precise syntax. So at the end I thank you all ! Long life to our list, Ciao from Italy, Emanuele -- $$$ Emanuele Lombardi $$$ mail: ENEA CLIM Casaccia $$$ I-00060 S.M. di Galeria (RM) ITALY $$$ mailto:emanuele.lombardi@casaccia.enea.it $$$ tel +39 0630483366 $$$ fax +39 0630484264 ||| $$$ \|/ ;_; $$$ What does a process need | /"\ $$$ to become a daemon ? | \v/ $$$ | | $$$ - a fork o---/!\--- $$$ | |_| $$$ | _/ \_ $$$* Contrary to popular belief, UNIX is user friendly. $$$ It's just very particular about who it makes friends with. $$$* Computers are not intelligent, but they think they are. $$$* True programmers never die, they just branch to an odd address $$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS