Initial commit

parents
## Example files for the title:
# Securing Windows NT/2000 Servers for the Internet, by Stefan Norberg
[![Securing Windows NT/2000 Servers for the Internet, by Stefan Norberg](http://akamaicovers.oreilly.com/images/9781565927681/cat.gif)](https://www.safaribooksonline.com/library/view/title/1565927680//)
The following applies to example files from material published by O’Reilly Media, Inc. Content from other publishers may include different rules of usage. Please refer to any additional usage rights explained in the actual example files or refer to the publisher’s website.
O'Reilly books are here to help you get your job done. In general, you may use the code in O'Reilly books in your programs and documentation. You do not need to contact us for permission unless you're reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from our books does not require permission. Answering a question by citing our books and quoting example code does not require permission. On the other hand, selling or distributing a CD-ROM of examples from O'Reilly books does require permission. Incorporating a significant amount of example code from our books into your product's documentation does require permission.
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN.
If you think your use of code examples falls outside fair use or the permission given here, feel free to contact us at <permissions@oreilly.com>.
Please note that the examples are not production code and have not been carefully testing. They are provided "as-is" and come with no warranty of any kind.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
logo.png

5.36 KB

<html>
<head>
<title>Securing Windows NT/2000 Servers for the Internet</title>
</head>
<body bgcolor="#FFFFFF">
<h2>Securing Windows NT/2000 Servers for the Internet</h2>
<h3>Precomplied Versions of Software Described in this Book</h3>
<P>
<b>OpenSSH v2.1</b>. The Secure Shell (SSH) is a suite of programs that allows a
user to log on to, or execute commands on, another computer over the network.
SSH also lets you copy files to and from a remote host. This is all done is a
secure manner -- hence the name Secure Shell. Here are the
<a href="OpenSSH-2.1-win32.zip">OpenSSH v2.1 binaries</a> (with TCP Wrapper
support) and the necessary Cygwin tools.
<P>
<b>NTP-4.0.99g</b>. The Network Time Protocol (NTP) is used to synchronize the
time of computers with a reference time source. Here are the
<a href="ntp-4.0.99g-win32.zip">NTP-4.0.99g binaries</a>.
<h3>More Tools and Source Code</h3>
<P>
<b>Virtual Network Computing (VNC)</b> binaries and source code can be downloaded
from rhe <a href="http://www.uk.research.att.com/vnc/"
target="new">VNC web site</a>.
<P>
<b>NTSyslog</b> is an Event Log to Syslog agent. It can be downloaded from the
<a href="http://www.sabernet.net/software/ntsyslog.html" target="new">Sabernet
web site</a>.
<P>
<b>OpenSSH</b>. You will need the following tools if you want to download a newer
version of OpenSSH and compile it yourself.
<P>
<ul>
<li><a href="http://www.cygwin.com" target="new">Cygwin</a>
<li><a href="http://www.cygwin.com/ported.html" target="new">Perl for Cygwin</a>
<li><a href="ftp://ftp.sunet.se/pub/unix/security/tcp_wrappers_7.6.tar.gz"
target="new">TCP Wrappers</a> and a Cygwin
<a href="tcp_wrappers_7.6-cygwin.diff" target="new">mini-patch</a>
<li><a href="http://www.openssl.org/source/" target="new">OpenSSL</a>
<li><a href="http://www.openssh.com/portable.html" target="new">OpenSSH</a>
</ul>
<p><b>Back to <a href="http://www.oreilly.com/catalog/securwinserv/">Securing Windows
NT/2000 Servers for the Internet</a></b></p>
</body>
</html>
<h2>Securing Windows NT/2000 Servers for the Internet</h2>
<h3>Precomplied Versions of Software Described in this Book</h3>
<P>
<b>OpenSSH v2.1</b>. The Secure Shell (SSH) is a suite of programs that allows a user to log on to, or execute commands on, another computer over the network. SSH also lets you copy files to and from a remote host. This is all done is a secure manner -- hence the name Secure Shell. Here are the
<a href="OpenSSH-2.1-win32.zip">OpenSSH v2.1 binaries</a> (with TCP Wrapper support) and the necessary Cygwin tools.
<P>
<b>NTP-4.0.99g</b>. The Network Time Protocol (NTP) is used to synchronize the time of computers with a reference time source. Here are the
<a href="ntp-4.0.99g-win32.zip">NTP-4.0.99g binaries</a>.
<h3>More Tools and Source Code</h3>
<P>
<b>Virtual Network Computing (VNC)</b> binaries and source code can be downloaded from rhe <a href="http://www.uk.research.att.com/vnc/">VNC web site</a>.
<P>
<b>NTSyslog</b> is an Event Log to Syslog agent. It can be downloaded from the <a href="http://www.sabernet.net/software/ntsyslog.html">Sabernet web site</a>.
<P>
<b>OpenSSH</b>. You will need the following tools if you want to download a newer version of OpenSSH and compile it yourself.
<P>
<ul>
<li><a href="http://sources.redhat.com/cygwin">Cygwin</a>
<li><a href="http://cygutils.netpedia.net/V1.1/perl-5.6.0-RC1/perl-5.6.0-RC1-cygwin1.1.tar.bz2">Perl for Cygwin</a>
<li><a href="ftp://ftp.sunet.se/pub/unix/security/tcp_wrappers_7.6.tar.gz">TCP Wrappers</a> and a Cygwin <a href="tcp_wrappers_7.6-cygwin.diff">mini-patch</a>
<li><a href="http://www.openssl.org/source/">OpenSSL</a>
<li><a href="http://www.openssh.com/portable.html">OpenSSH</a>
</ul>
\ No newline at end of file
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
diff -ur tcp_wrappers_7.6-orig/Makefile tcp_wrappers_7.6/Makefile
--- tcp_wrappers_7.6-orig/Makefile Fri Mar 21 19:27:21 1997
+++ tcp_wrappers_7.6/Makefile Tue Jan 25 12:41:05 2000
@@ -352,6 +352,9 @@
@make REAL_DAEMON_DIR=$(REAL_DAEMON_DIR) STYLE=$(STYLE) \
LIBS="-lsocket -lnsl" RANLIB=echo ARFLAGS=rv \
NETGROUP=-DNETGROUP AUX_OBJ="setenv.o strcasecmp.o" TLI=-DTLI all
+cygwin:
+ @make REAL_DAEMON_DIR=/winnt/system32 STYLE=$(STYLE) \
+ LIBS= RANLIB=ranlib ARFLAGS=rv AUX_OBJ= NETGROUP= TLI= all
# MachTen
machten:
diff -ur tcp_wrappers_7.6-orig/fix_options.c tcp_wrappers_7.6/fix_options.c
--- tcp_wrappers_7.6-orig/fix_options.c Tue Apr 08 02:29:19 1997
+++ tcp_wrappers_7.6/fix_options.c Sun Jan 23 23:06:00 2000
@@ -12,7 +12,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <netinet/in.h>
+#ifndef __CYGWIN32__
#include <netinet/in_systm.h>
+#endif
#include <netinet/ip.h>
#include <netdb.h>
#include <stdio.h>
diff -ur tcp_wrappers_7.6-orig/percent_m.c tcp_wrappers_7.6/percent_m.c
--- tcp_wrappers_7.6-orig/percent_m.c Wed Dec 28 17:42:37 1994
+++ tcp_wrappers_7.6/percent_m.c Tue Jan 25 19:59:27 2000
@@ -12,11 +12,13 @@
#include <errno.h>
#include <string.h>
+#ifndef __CYGWIN32__
extern int errno;
#ifndef SYS_ERRLIST_DEFINED
extern char *sys_errlist[];
extern int sys_nerr;
#endif
+#endif /* cygwin */
#include "mystdarg.h"
@@ -29,11 +31,15 @@
while (*bp = *cp)
if (*cp == '%' && cp[1] == 'm') {
+#ifndef __CYGWIN32__
if (errno < sys_nerr && errno > 0) {
strcpy(bp, sys_errlist[errno]);
} else {
+#endif
sprintf(bp, "Unknown error %d", errno);
+#ifndef __CYGWIN32__
}
+#endif
bp += strlen(bp);
cp += 2;
} else {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment