mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
"stripped down" refers to the fact that we build a single binary which includes ssh, sshd and scp functionality without having to bring in 3 copies of mostly the same code. Requests to add this category and this port have been posted on the ports list and directly to satoshi over the past few months. I assume no reply means no problem.
45 lines
1.7 KiB
Text
45 lines
1.7 KiB
Text
*** servconf.h.orig Wed May 12 13:19:28 1999
|
|
--- servconf.h Mon Jan 10 22:56:13 2000
|
|
***************
|
|
*** 64,69 ****
|
|
--- 64,71 ----
|
|
#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,89 ****
|
|
|
|
typedef struct
|
|
{
|
|
! int port; /* Port number to listen on. */
|
|
! struct in_addr listen_addr; /* Address 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. */
|
|
--- 84,92 ----
|
|
|
|
typedef struct
|
|
{
|
|
! 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,96 ****
|
|
--- 94,102 ----
|
|
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. */
|