diff options
Diffstat (limited to 'OVERVIEW')
-rw-r--r-- | OVERVIEW | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -5,7 +5,7 @@ to developers.] | |||
5 | 5 | ||
6 | This document is intended for those who wish to read the ssh source | 6 | This document is intended for those who wish to read the ssh source |
7 | code. This tries to give an overview of the structure of the code. | 7 | code. This tries to give an overview of the structure of the code. |
8 | 8 | ||
9 | Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi> | 9 | Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi> |
10 | Updated 17 Nov 1995. | 10 | Updated 17 Nov 1995. |
11 | Updated 19 Oct 1999 for OpenSSH-1.2 | 11 | Updated 19 Oct 1999 for OpenSSH-1.2 |
@@ -20,7 +20,7 @@ There are some subsystems/abstractions that are used by a number of | |||
20 | these programs. | 20 | these programs. |
21 | 21 | ||
22 | Buffer manipulation routines | 22 | Buffer manipulation routines |
23 | 23 | ||
24 | - These provide an arbitrary size buffer, where data can be appended. | 24 | - These provide an arbitrary size buffer, where data can be appended. |
25 | Data can be consumed from either end. The code is used heavily | 25 | Data can be consumed from either end. The code is used heavily |
26 | throughout ssh. The basic buffer manipulation functions are in | 26 | throughout ssh. The basic buffer manipulation functions are in |
@@ -28,7 +28,7 @@ these programs. | |||
28 | data types is in bufaux.c. | 28 | data types is in bufaux.c. |
29 | 29 | ||
30 | Compression Library | 30 | Compression Library |
31 | 31 | ||
32 | - Ssh uses the GNU GZIP compression library (ZLIB). | 32 | - Ssh uses the GNU GZIP compression library (ZLIB). |
33 | 33 | ||
34 | Encryption/Decryption | 34 | Encryption/Decryption |
@@ -89,7 +89,7 @@ these programs. | |||
89 | code is linked into the server. The routines also manipulate | 89 | code is linked into the server. The routines also manipulate |
90 | known hosts files using code in hostfile.c. Code in canohost.c | 90 | known hosts files using code in hostfile.c. Code in canohost.c |
91 | is used to retrieve the canonical host name of the remote host. | 91 | is used to retrieve the canonical host name of the remote host. |
92 | Code in match.c is used to match host names. | 92 | Code in match.c is used to match host names. |
93 | 93 | ||
94 | - In the client end, authentication code is in sshconnect.c. It | 94 | - In the client end, authentication code is in sshconnect.c. It |
95 | reads Passwords/passphrases using code in readpass.c. It reads | 95 | reads Passwords/passphrases using code in readpass.c. It reads |
@@ -147,10 +147,10 @@ these programs. | |||
147 | operations, and finally the server enters the normal session | 147 | operations, and finally the server enters the normal session |
148 | mode by calling server_loop in serverloop.c. This does the real | 148 | mode by calling server_loop in serverloop.c. This does the real |
149 | work, calling functions in other modules. | 149 | work, calling functions in other modules. |
150 | 150 | ||
151 | - The code for the server is in sshd.c. It contains a lot of | 151 | - The code for the server is in sshd.c. It contains a lot of |
152 | stuff, including: | 152 | stuff, including: |
153 | - server main program | 153 | - server main program |
154 | - waiting for connections | 154 | - waiting for connections |
155 | - processing new connection | 155 | - processing new connection |
156 | - authentication | 156 | - authentication |
@@ -162,9 +162,9 @@ these programs. | |||
162 | 162 | ||
163 | - There are several other files in the distribution that contain | 163 | - There are several other files in the distribution that contain |
164 | various auxiliary routines: | 164 | various auxiliary routines: |
165 | ssh.h the main header file for ssh (various definitions) | 165 | ssh.h the main header file for ssh (various definitions) |
166 | getput.h byte-order independent storage of integers | 166 | getput.h byte-order independent storage of integers |
167 | includes.h includes most system headers. Lots of #ifdefs. | 167 | includes.h includes most system headers. Lots of #ifdefs. |
168 | tildexpand.c expand tilde in file names | 168 | tildexpand.c expand tilde in file names |
169 | uidswap.c uid-swapping | 169 | uidswap.c uid-swapping |
170 | xmalloc.c "safe" malloc routines | 170 | xmalloc.c "safe" malloc routines |