| /openbsd/src/regress/usr.bin/ssh/ |
| D | cfginclude.sh | 11 Hostname aa 14 Hostname bb 19 Hostname cc 25 Hostname dd # comment 28 Hostname ee 33 Hostname ff 45 Hostname aaa 48 Hostname bbb 51 Hostname ccc 54 Hostname ddd [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/Sys-Hostname/ |
| D | Hostname.pm | 1 package Sys::Hostname; 9 our @EXPORT = qw/ hostname /; 30 sub hostname { subroutine 31 @_ and croak("hostname() does not accepts arguments (it used to silently discard any provided)"); 47 # TCP/IP stack to advertise the hostname via a logical name. (Are 54 # method 4 - does hostname happen to work? 55 my($rslt) = `hostname`; 66 chomp($host = `hostname 2> NUL`) unless defined $host; 75 # XXX: is it such a good idea to return hostname untainted? 93 # method 3 - trusty old hostname command [all …]
|
| /openbsd/src/gnu/usr.bin/perl/ext/Sys-Hostname/t/ |
| D | Hostname.t | 5 if ($Config{'extensions'} !~ /\bSys\/Hostname\b/) { 6 print "1..0 # Skip: Sys::Hostname was not built\n"; 11 use Sys::Hostname; 18 $host = hostname; 20 skip "No hostname available", 1 22 isnt($host, undef, "got a hostname"); 27 eval { hostname("dummy"); }; 29 qr/hostname\(\) does not accepts arguments \(it used to silently discard any provided\)/, 30 "hostname no longer accepts arguments"
|
| /openbsd/src/share/man/man5/ |
| D | myname.5 | 22 .Nd default hostname 37 The name must be resolvable, either by matching a hostname specified in 44 The hostname is set via the 45 .Xr hostname 1 48 .Xr hostname 7 49 for a description of hostname resolution. 57 Default hostname. 60 .Xr hostname 1 , 61 .Xr hostname.if 5 , 64 .Xr hostname 7 ,
|
| D | hostname.if.5 | 1 .\" $OpenBSD: hostname.if.5,v 1.82 2022/12/16 04:04:25 afresh1 Exp $ 37 .Nm hostname.if 41 .Nm hostname.*\& 45 .Dq hostname.fxp0 . 51 .Dq hostname.00:00:5e:00:53:af . 148 It is also feasible to use a hostname as specified in 198 It is also feasible to use a hostname as specified in 264 .Bl -tag -width "/etc/hostname.XXXXXX" 265 .It Pa /etc/hostname.XXX
|
| /openbsd/src/regress/lib/libcrypto/x509/bettertls/scripts/ |
| D | expects.json | 1 …hostname used as an origin is not listed in the CN or SAN extension."]},"descriptions":[]},{"id":2…
|
| /openbsd/src/lib/libssl/man/ |
| D | SSL_set1_host.3 | 64 .Fa "const char *hostname" 77 configures a server hostname check in the 79 client, setting the expected DNS hostname to 80 .Fa hostname 81 and clearing any previously specified hostname. 83 .Fa hostname 88 .Fa hostname 90 hostname via 106 returns the DNS hostname or subject CommonName from the peer certificate 137 The calls below check the hostname.
|
| /openbsd/src/usr.sbin/dhcpd/ |
| D | dhcpd.leases.5 | 116 If the client sends a hostname using the 117 .Ic Client Hostname 119 hostname is recorded using the 120 .Ic client-hostname 123 .D1 Ic client-hostname Qq Ar hostname ; 125 If the client sends its hostname using the 126 .Ic Hostname 128 .Ic hostname 131 .D1 Ic hostname Qq Ar hostname ;
|
| /openbsd/src/usr.bin/ssh/ |
| D | dns.c | 160 * Check if hostname is numerical. 161 * Returns -1 if hostname is numeric, 0 otherwise 164 is_numeric_hostname(const char *hostname) in is_numeric_hostname() argument 172 if (hostname == NULL) { in is_numeric_hostname() 173 error("is_numeric_hostname called with NULL hostname"); in is_numeric_hostname() 181 if (getaddrinfo(hostname, NULL, &hints, &ai) == 0) { in is_numeric_hostname() 190 * Verify the given hostname, address and host key using DNS. 194 verify_host_key_dns(const char *hostname, struct sockaddr *address, in verify_host_key_dns() argument 216 if (is_numeric_hostname(hostname)) { in verify_host_key_dns() 217 debug("skipped DNS lookup for numerical hostname"); in verify_host_key_dns() [all …]
|
| D | auth-rhosts.c | 53 check_rhosts_file(const char *filename, const char *hostname, in check_rhosts_file() argument 149 if (!innetgr(host + 1, hostname, NULL, NULL) && in check_rhosts_file() 152 } else if (strcasecmp(host, hostname) && in check_rhosts_file() 154 continue; /* Different hostname. */ in check_rhosts_file() 187 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, in auth_rhosts2() argument 196 debug2_f("clientuser %s hostname %s ipaddr %s", in auth_rhosts2() 197 client_user, hostname, ipaddr); in auth_rhosts2() 238 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() 241 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2() 244 if (check_rhosts_file(_PATH_SSH_HOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2() [all …]
|
| /openbsd/src/bin/hostname/ |
| D | hostname.1 | 1 .\" $OpenBSD: hostname.1,v 1.22 2024/08/25 09:32:08 tb Exp $ 2 .\" $NetBSD: hostname.1,v 1.11 1995/09/07 06:28:39 jtc Exp $ 31 .\" @(#)hostname.1 8.2 (Berkeley) 4/28/95 37 .Nm hostname 40 .Nm hostname 57 to initialize the hostname. 69 .Xr hostname 7 ,
|
| D | hostname.c | 1 /* $OpenBSD: hostname.c,v 1.10 2016/02/01 22:27:25 gsoares Exp $ */ 2 /* $NetBSD: hostname.c,v 1.10 1995/09/07 06:28:40 jtc Exp $ */ 48 char *p, hostname[HOST_NAME_MAX+1]; in main() local 69 if (gethostname(hostname, sizeof(hostname))) in main() 71 if (sflag && (p = strchr(hostname, '.'))) in main() 73 (void)printf("%s\n", hostname); in main()
|
| /openbsd/src/usr.sbin/arp/ |
| D | arp.8 | 43 .Ar hostname 48 .Fl s Ar hostname ether_addr 61 .Ar hostname 63 .Ar hostname 109 .Ar hostname . 114 flag to delete all entries, with hostname lookups automatically 137 .Fl s Ar hostname ether_addr 142 .Ar hostname 159 .Ar hostname 178 is the Ethernet address of the remote machine or a hostname entry in
|
| /openbsd/src/gnu/usr.bin/cvs/src/ |
| D | root.c | 279 * username, hostname, directory. The prototypical CVSROOT variable 313 newroot->hostname = NULL; in new_cvsroot_t() 340 if (root->hostname != NULL) 341 free (root->hostname); 541 newroot->hostname = new_hostname; 546 newroot->hostname = xstrdup (cvsroot_copy); 581 if (newroot->username && ! newroot->hostname) 583 error (0, 0, "missing hostname in CVSROOT: \"%s\"", root_in); 593 if (newroot->username || newroot->hostname) 595 error (0, 0, "can't specify hostname and username in CVSROOT"); [all …]
|
| /openbsd/src/gnu/usr.bin/texinfo/djgpp/ |
| D | config.bat | 125 Rem Set HOSTNAME so it shows in config.status 126 if not "%HOSTNAME%" == "" goto hostdone 138 set HOSTNAME=Unknown PC variable 139 if not "%HOSTNAME%" == "Unknown PC" goto small_env 142 set HOSTNAME=%USER%'s PC variable 143 if not "%HOSTNAME%" == "%USER%'s PC" goto small_env 146 set HOSTNAME=%USERNAME%'s PC variable 147 if not "%HOSTNAME%" == "%USERNAME%'s PC" goto small_env 149 set _HOSTNAME=%HOSTNAME%, %OS% 150 if not "%_HOSTNAME%" == "%HOSTNAME%, %OS%" goto small_env [all …]
|
| /openbsd/src/lib/libcrypto/man/ |
| D | BIO_s_connect.3 | 152 If no connection is established and the port and hostname (see below) 225 The hostname to connect to needs to be converted to an IP address. 252 to set the hostname. 253 The hostname can be an IP address. 254 The hostname can also include the port in the form 255 .Ar hostname : Ns Ar port . 257 .Ar hostname Ns / Ns Pa any/other/path 259 .Ar hostname : Ns Ar port Ns / Ns Pa any/other/path . 283 returns the hostname of the connect BIO or 285 if the BIO is initialized but no hostname is set. [all …]
|
| D | BIO_accept.3 | 49 .Fa "const char *hostname" 80 .Fa hostname 112 as a local hostname of the interface to 115 If the hostname is empty, consists of a single asterisk 119 is used instead of a local hostname. 124 The hostname and the service name are converted to a local IP address 302 .It Dv BIO_R_BAD_HOSTNAME_LOOKUP Qq "bad hostname lookup" 305 .Fa hostname
|
| /openbsd/src/usr.sbin/ypserv/ypserv/ |
| D | ypserv.acl.5 | 70 Normally both the local hostname and localhost must be 85 .D1 Ic allow Ns | Ns Ic deny Cm host Ar hostname Ns | Ns Ar ip-address 88 .Ic hostname 120 # allow host <hostname|ip-address> 121 # deny host <hostname|ip-address> 123 # To process hostname gethostbyname is called. If the hostname has
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | ser-tcp.c | 59 char *port_str, hostname[100]; in net_open() local 79 tmp = min (port_str - name, (int) sizeof hostname - 1); in net_open() 80 strncpy (hostname, name, tmp); /* Don't want colon */ in net_open() 81 hostname[tmp] = '\000'; /* Tie off host name */ in net_open() 84 /* default hostname is localhost */ in net_open() 85 if (!hostname[0]) in net_open() 86 strcpy (hostname, "localhost"); in net_open() 88 hostent = gethostbyname (hostname); in net_open() 91 fprintf_unfiltered (gdb_stderr, "%s: unknown host\n", hostname); in net_open()
|
| /openbsd/src/share/man/man4/ |
| D | pfsync.4 | 162 .Pa /etc/hostname.sis0 : 165 .Pa /etc/hostname.sis1 : 168 .Pa /etc/hostname.sis2 : 171 .Pa /etc/hostname.carp0 : 177 .Pa /etc/hostname.carp1 : 183 .Pa /etc/hostname.pfsync0 : 210 .Pa /etc/hostname.carp1 231 .Xr hostname.if 5 ,
|
| /openbsd/src/usr.sbin/ntpd/ |
| D | ntpd.conf.5 | 41 Specify a local IP address or a hostname the 164 Specify the IP address or the hostname of an NTP 169 If a hostname resolves to multiple IPv4 and/or IPv6 addresses, 191 specify the IP address or hostname of an NTP server to synchronize to. 195 Should the hostname resolve to multiple IP addresses, 218 Specify the URL, IP address or the hostname of an HTTPS server to 237 specify the URL, IP address or the hostname of an HTTPS server to 239 Should the hostname resolve to multiple IP addresses,
|
| /openbsd/src/regress/usr.sbin/snmpd/ |
| D | backend.c | 49 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_integer() 87 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_octetstring() 124 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_objectidentifier() 162 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_ipaddress() 199 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_counter32() 236 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_gauge32() 273 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_timeticks() 312 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_opaque() 358 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_counter64() 394 salen = snmp_resolve(SOCK_DGRAM, hostname, servname, sa); in backend_get_nosuchobject() [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/libnet/lib/Net/ |
| D | Domain.pm | 21 our @EXPORT_OK = qw(hostname hostdomain hostfqdn domainname); 26 # Try every conceivable way to get hostname. 50 chomp($host = `hostname`); 89 # trusty old hostname command 91 chop($host = `(hostname) 2>/dev/null`); # BSD'ish 143 # just try hostname and system calls 292 sub hostname { subroutine 315 use Net::Domain qw(hostname hostfqdn hostdomain domainname); 336 =item C<hostname()> 342 Returns the remainder of the FQDN after the I<hostname> has been removed. [all …]
|
| /openbsd/src/usr.sbin/amd/amd/ |
| D | amd.c | 71 char hostname[HOST_NAME_MAX+1] = "localhost"; /* Hostname */ variable 216 if (gethostname(hostname, sizeof(hostname)) == -1) { in main() 223 if (!*hostname) { in main() 231 if ((domdot = strchr(hostname, '.'))) { in main() 233 * Hostname already contains domainname. in main() 234 * Split out hostname and domainname in main() 240 strlcpy(hostd, hostname, sizeof hostd); in main() 316 snprintf(pid_fsname, sizeof(pid_fsname), "%s:(pid%ld)", hostname, (long)mypid); in main()
|
| /openbsd/src/share/man/man8/ |
| D | autoinstall.8 | 71 .Ar hostname Ns - Ns Pa install.conf 76 .Ar hostname Ns - Ns Pa upgrade.conf 91 .Ar hostname 92 which is also used as the default hostname during installation. 102 .No http:// Ar server No / Ar hostname No -install.conf 121 .No http:// Ar server No / Ar hostname No -upgrade.conf 209 System hostname = server1
|