Searched refs:remote_hostname (Results 1 – 2 of 2) sorted by relevance
| /freebsd-13.1/contrib/telnet/telnetd/ |
| H A D | telnetd.c | 57 char remote_hostname[MAXHOSTNAMELEN]; variable 58 size_t utmp_len = sizeof(remote_hostname) - 1; 285 if (utmp_len >= sizeof(remote_hostname)) in main() 286 utmp_len = sizeof(remote_hostname) - 1; in main() 684 if (realhostname_sa(remote_hostname, sizeof(remote_hostname) - 1, in doit() 688 remote_hostname[sizeof(remote_hostname) - 1] = '\0'; in doit() 690 if (!isdigit(remote_hostname[0]) && strlen(remote_hostname) > utmp_len) in doit() 691 err_ = getnameinfo(who, who->sa_len, remote_hostname, in doit() 692 sizeof(remote_hostname), NULL, 0, in doit() 706 auth_encrypt_init(hostname, remote_hostname, "TELNETD", 1); in doit() [all …]
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | auth.c | 765 remote_hostname(struct ssh *ssh) in remote_hostname() function 863 dnsname = remote_hostname(ssh); in auth_get_canonical_hostname()
|