ssh.h (147005) | ssh.h (162856) |
---|---|
1/* $OpenBSD: ssh.h,v 1.76 2004/12/06 11:41:03 dtucker Exp $ */ | 1/* $OpenBSD: ssh.h,v 1.78 2006/08/03 03:34:42 deraadt Exp $ */ |
2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this 10 * software must be clearly marked as such, and if the derived work is 11 * incompatible with the protocol description in the RFC file, it must be 12 * called by a name other than "ssh" or "Secure Shell". 13 */ 14 | 2 3/* 4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 6 * All rights reserved 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this 10 * software must be clearly marked as such, and if the derived work is 11 * incompatible with the protocol description in the RFC file, it must be 12 * called by a name other than "ssh" or "Secure Shell". 13 */ 14 |
15#ifndef SSH_H 16#define SSH_H 17 18#include <netinet/in.h> /* For struct sockaddr_in */ 19#include <pwd.h> /* For struct pw */ 20#include <stdarg.h> /* For va_list */ 21#include <syslog.h> /* For LOG_AUTH and friends */ 22#include <sys/socket.h> /* For struct sockaddr_storage */ 23#ifdef HAVE_SYS_SELECT_H 24# include <sys/select.h> 25#endif 26 | |
27/* Cipher used for encrypting authentication files. */ 28#define SSH_AUTHFILE_CIPHER SSH_CIPHER_3DES 29 30/* Default port number. */ 31#define SSH_DEFAULT_PORT 22 32 33/* Maximum number of TCP/IP ports forwarded per direction. */ 34#define SSH_MAX_FORWARDS_PER_DIRECTION 100 --- 72 unchanged lines hidden (view full) --- 107#define SSH_PRIVSEP_USER "sshd" 108#endif 109 110/* Minimum modulus size (n) for RSA keys. */ 111#define SSH_RSA_MINIMUM_MODULUS_SIZE 768 112 113/* Listen backlog for sshd, ssh-agent and forwarding sockets */ 114#define SSH_LISTEN_BACKLOG 128 | 15/* Cipher used for encrypting authentication files. */ 16#define SSH_AUTHFILE_CIPHER SSH_CIPHER_3DES 17 18/* Default port number. */ 19#define SSH_DEFAULT_PORT 22 20 21/* Maximum number of TCP/IP ports forwarded per direction. */ 22#define SSH_MAX_FORWARDS_PER_DIRECTION 100 --- 72 unchanged lines hidden (view full) --- 95#define SSH_PRIVSEP_USER "sshd" 96#endif 97 98/* Minimum modulus size (n) for RSA keys. */ 99#define SSH_RSA_MINIMUM_MODULUS_SIZE 768 100 101/* Listen backlog for sshd, ssh-agent and forwarding sockets */ 102#define SSH_LISTEN_BACKLOG 128 |
115 116#endif /* SSH_H */ | |