Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 26 Jul 2001 19:45:15 -0400 (EDT) From: Prentis Brooks To: Subject: TCP Wrappers Port Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hey guys, I just pulled down the wrappers again and found that my original fixes do absolutely nothing in the current release of Cygwin ;). The original patch only affected in_systm.h and that appears to be corrected in the current include files. However, I did have problems with the sys_nerr and sys_errlist structures. I found that tcp would not compile with them and after looking on the net, I discovered that for win32, I should use strerror(). I have modified the source to handle strerror() or the sys structures depending on what flags you set. This allows it to compile and work fine, only oddity I have notice is that instead of "Connection refused" from a rejected host, you get "Connection reset by peer". It has been a while since I pushed up the previous mods, so how do you all want me to send these up? Since you need this to have openssh support the hosts.allow and hosts.deny files, is there any desire to ask Corinna to include this in inetutils/openssh and compile openssh accordingly? I will have a patch done against the tcp_wrapper source done by tomorrow sometime, so let me know. Prentis Brooks | prentis AT aol DOT net | 703-265-0914 | AIM: PrentisB System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/