forked from openssh/openssh-portable
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- [email protected] 2001/01/29 12:42:35 [canohost.c canohost.h channels.c clientloop.c] add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS
- Loading branch information
Showing
5 changed files
with
52 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ | |
- [email protected] 2001/01/29 09:55:37 | ||
[channels.c channels.h clientloop.c serverloop.c] | ||
fix select overflow; ok deraadt@ and stevesk@ | ||
- [email protected] 2001/01/29 12:42:35 | ||
[canohost.c canohost.h channels.c clientloop.c] | ||
add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS | ||
|
||
20000129 | ||
- (stevesk) sftp-server.c: use %lld vs. %qd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/* $OpenBSD: canohost.h,v 1.2 2001/01/29 01:58:15 niklas Exp $ */ | ||
/* $OpenBSD: canohost.h,v 1.3 2001/01/29 19:42:35 markus Exp $ */ | ||
|
||
/* | ||
* Author: Tatu Ylonen <[email protected]> | ||
|
@@ -25,12 +25,13 @@ char *get_remote_hostname(int socket); | |
const char *get_canonical_hostname(void); | ||
|
||
/* | ||
* Returns the remote IP address as an ascii string. The value need not be | ||
* freed by the caller. | ||
* Returns the IP-address of the remote host as a string. The returned | ||
* string must not be freed. | ||
*/ | ||
const char *get_remote_ipaddr(void); | ||
|
||
/* Returns the port number of the peer of the socket. */ | ||
/* Returns the ipaddr/port number of the peer of the socket. */ | ||
char * get_peer_ipaddr(int socket); | ||
int get_peer_port(int sock); | ||
|
||
/* Returns the port number of the remote/local host. */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters