diff options
author | Damien Miller <djm@mindrot.org> | 2001-02-04 23:20:18 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-02-04 23:20:18 +1100 |
commit | 33804263583e82fb7e6e36477fe63ebd14f15ecb (patch) | |
tree | 90d891bedf231b49acdd91f456d58a4142070bd6 /canohost.h | |
parent | 45cb2937bc8a74c1e1f7da3b35ad4319d3033baf (diff) |
NB: big update - may break stuff. Please test!
- (djm) OpenBSD CVS sync:
- markus@cvs.openbsd.org 2001/02/03 03:08:38
[auth-options.c auth-rh-rsa.c auth-rhosts.c auth.c canohost.c]
[canohost.h servconf.c servconf.h session.c sshconnect1.c sshd.8]
[sshd_config]
make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@
- markus@cvs.openbsd.org 2001/02/03 03:19:51
[ssh.1 sshd.8 sshd_config]
Skey is now called ChallengeResponse
- markus@cvs.openbsd.org 2001/02/03 03:43:09
[sshd.8]
use no-pty option in .ssh/authorized_keys* if you need a 8-bit clean
channel. note from Erik.Anggard@cygate.se (pr/1659)
- stevesk@cvs.openbsd.org 2001/02/03 10:03:06
[ssh.1]
typos; ok markus@
- djm@cvs.openbsd.org 2001/02/04 04:11:56
[scp.1 sftp-server.c ssh.1 sshd.8 sftp-client.c sftp-client.h]
[sftp-common.c sftp-common.h sftp-int.c sftp-int.h sftp.1 sftp.c]
Basic interactive sftp client; ok theo@
- (djm) Update RPM specs for new sftp binary
- (djm) Update several bits for new optional reverse lookup stuff. I
think I got them all.
Diffstat (limited to 'canohost.h')
-rw-r--r-- | canohost.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/canohost.h b/canohost.h index 982ec5949..da60b3af9 100644 --- a/canohost.h +++ b/canohost.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: canohost.h,v 1.3 2001/01/29 19:42:35 markus Exp $ */ | 1 | /* $OpenBSD: canohost.h,v 1.4 2001/02/03 10:08:37 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -11,22 +11,17 @@ | |||
11 | * incompatible with the protocol description in the RFC file, it must be | 11 | * incompatible with the protocol description in the RFC file, it must be |
12 | * called by a name other than "ssh" or "Secure Shell". | 12 | * called by a name other than "ssh" or "Secure Shell". |
13 | */ | 13 | */ |
14 | /* | ||
15 | * Returns the name of the machine at the other end of the socket. The | ||
16 | * returned string should be freed by the caller. | ||
17 | */ | ||
18 | char *get_remote_hostname(int socket); | ||
19 | 14 | ||
20 | /* | 15 | /* |
21 | * Return the canonical name of the host in the other side of the current | 16 | * Return the canonical name of the host in the other side of the current |
22 | * connection (as returned by packet_get_connection). The host name is | 17 | * connection (as returned by packet_get_connection). The host name is |
23 | * cached, so it is efficient to call this several times. | 18 | * cached, so it is efficient to call this several times. |
24 | */ | 19 | */ |
25 | const char *get_canonical_hostname(void); | 20 | const char *get_canonical_hostname(int reverse_mapping_check); |
26 | 21 | ||
27 | /* | 22 | /* |
28 | * Returns the IP-address of the remote host as a string. The returned | 23 | * Returns the IP-address of the remote host as a string. The returned |
29 | * string must not be freed. | 24 | * string is cached and must not be freed. |
30 | */ | 25 | */ |
31 | const char *get_remote_ipaddr(void); | 26 | const char *get_remote_ipaddr(void); |
32 | 27 | ||