head	1.2;
access;
symbols
	pkgsrc-2013Q2:1.2.0.54
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2012Q4:1.2.0.52
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2011Q4:1.2.0.50
	pkgsrc-2011Q4-base:1.2
	pkgsrc-2011Q2:1.2.0.48
	pkgsrc-2011Q2-base:1.2
	pkgsrc-2009Q4:1.2.0.46
	pkgsrc-2009Q4-base:1.2
	pkgsrc-2008Q4:1.2.0.44
	pkgsrc-2008Q4-base:1.2
	pkgsrc-2008Q3:1.2.0.42
	pkgsrc-2008Q3-base:1.2
	cube-native-xorg:1.2.0.40
	cube-native-xorg-base:1.2
	pkgsrc-2008Q2:1.2.0.38
	pkgsrc-2008Q2-base:1.2
	pkgsrc-2008Q1:1.2.0.36
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.34
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.32
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.30
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.28
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.2.0.26
	pkgsrc-2006Q4-base:1.2
	pkgsrc-2006Q3:1.2.0.24
	pkgsrc-2006Q3-base:1.2
	pkgsrc-2006Q2:1.2.0.22
	pkgsrc-2006Q2-base:1.2
	pkgsrc-2006Q1:1.2.0.20
	pkgsrc-2006Q1-base:1.2
	pkgsrc-2005Q4:1.2.0.18
	pkgsrc-2005Q4-base:1.2
	pkgsrc-2005Q3:1.2.0.16
	pkgsrc-2005Q3-base:1.2
	pkgsrc-2005Q2:1.2.0.14
	pkgsrc-2005Q2-base:1.2
	pkgsrc-2005Q1:1.2.0.12
	pkgsrc-2005Q1-base:1.2
	pkgsrc-2004Q4:1.2.0.10
	pkgsrc-2004Q4-base:1.2
	pkgsrc-2004Q3:1.2.0.8
	pkgsrc-2004Q3-base:1.2
	pkgsrc-2004Q2:1.2.0.6
	pkgsrc-2004Q2-base:1.2
	pkgsrc-2004Q1:1.2.0.4
	pkgsrc-2004Q1-base:1.2
	pkgsrc-2003Q4:1.2.0.2
	pkgsrc-2003Q4-base:1.2
	buildlink2-base:1.2
	netbsd-1-5-PATCH001:1.1
	netbsd-1-5-RELEASE:1.1
	netbsd-1-4-PATCH003:1.1;
locks; strict;
comment	@# @;


1.2
date	2001.08.02.12.55.32;	author itojun;	state dead;
branches;
next	1.1;

1.1
date	2000.03.20.02.25.43;	author itojun;	state Exp;
branches;
next	;


desc
@@


1.2
log
@say goodbye to security/ssh6.  per comments on packages@@netbsd.
@
text
@$NetBSD: patch-bg,v 1.1 2000/03/20 02:25:43 itojun Exp $

--- servconf.h.orig	Wed May 12 07:19:28 1999
+++ servconf.h	Fri Dec 24 21:50:42 1999
@@@@ -64,6 +64,8 @@@@
 #ifndef SERVCONF_H
 #define SERVCONF_H
 
+#define MAX_PORTS		256 /* Max # hosts on allow list. */
+
 #define MAX_ALLOW_SHOSTS	256 /* Max # hosts on allow shosts list. */
 #define MAX_DENY_SHOSTS		256 /* Max # hosts on deny shosts list. */
 #define MAX_ALLOW_HOSTS		256 /* Max # hosts on allow list. */
@@@@ -82,8 +84,9 @@@@
 
 typedef struct
 {
-  int port;			/* Port number to listen on. */
-  struct in_addr listen_addr;	/* Address on which the server listens. */
+  unsigned int num_ports;
+  int ports[MAX_PORTS];		/* Port number to listen on. */
+  struct addrinfo *listen_addrs;/* Addresses on which the server listens. */
   char *host_key_file;		/* File containing host key. */
   char *random_seed_file;	/* File containing random seed. */
   char *pid_file;		/* File containing process ID number. */
@@@@ -91,6 +94,9 @@@@
   int login_grace_time;		/* Disconnect if no auth in this time (sec). */
   int key_regeneration_time;	/* Server key lifetime (seconds). */
   int permit_root_login;	/* 0 = forced cmd only, 1 = no pwd, 2 = yes. */
+#ifdef ENABLE_LOG_AUTH
+  int log_auth;			/* If true, log authentication info. */
+#endif /* ENABLE_LOG_AUTH */
   int ignore_rhosts;		/* Ignore .rhosts and .shosts. */
   int ignore_root_rhosts;	/* Ignore .rhosts and .shosts for root,
 				   defaults to ignore_rhosts if not given. */
@@@@ -111,6 +117,12 @@@@
 				   password authentication mechanism, such
 				   as SecurID or /etc/passwd */
   int kerberos_tgt_passing;	/* If true, permit Kerberos tgt passing. */
+#ifdef KRB4
+  int kerberos_ticket_cleanup;  /* If true, destroy ticket file on logout. */
+#endif /* KRB4 */
+#ifdef AFS
+  int afs_token_passing;        /* If true, permit AFS token passing. */
+#endif /* AFS */
   int allow_tcp_forwarding;
   int tis_authentication;	/* If true, permit TIS authsrv auth. */
   int password_authentication;  /* If true, permit password authentication. */
@


1.1
log
@split security/ssh and security/ssh6.
security/ssh6: IPv4/v6 ready, socks unavailable, kerberos available (not tested)
security/ssh: IPv4 onlyready, socks available, kerberos available (not tested)

should be integrated into one whenever socks support becomes aware of
getaddrinfo/getnameinfo.  two directories with tons of patches/patch-* is
a maintenance headache.
@
text
@d1 1
a1 1
$NetBSD: patch-bg,v 1.1 1999/12/25 05:28:37 kim Exp $
@

