/freebsd/crypto/openssh/regress/ |
H A D | keygen-knownhosts.sh | 8 # Generate some keys for testing (just ed25519 for speed) and make a hosts file. 13 echo "# $x" >> $OBJ/kh.hosts 26 echo "" >> $OBJ/kh.hosts 27 ) >> $OBJ/kh.hosts 33 cat $OBJ/kh.hosts >> $OBJ/kh.invalid 37 cp $OBJ/kh.hosts $OBJ/kh.hosts.orig 97 # find key among multiple hosts 100 check_find host-h "find multiple hosts" 150 # find key among multiple hosts 156 check_hashed_find host-h "find multiple hosts" [all …]
|
/freebsd/usr.sbin/rpc.statd/ |
H A D | statd.c | 63 static char **hosts, *svcport_str = NULL; variable 105 hosts_bak = hosts; in main() 106 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main() 108 if (hosts != NULL) { in main() 110 free(hosts[i]); in main() 111 free(hosts); in main() 115 hosts = hosts_bak; in main() 116 hosts[nhosts - 1] = strdup(optarg); in main() 117 if (hosts[nhosts - 1] == NULL) { in main() 119 free(hosts[i]); in main() [all …]
|
/freebsd/share/doc/smm/01.setup/ |
H A D | 5.t | 91 Alternatively, translations for such hosts may be set in advance 95 Note that the use of trailer link-level is now negotiated between \*(4B hosts 113 network to off-site hosts. Subnetworks are useful because 135 to hosts off-site. For example, if your site has a class B network 136 number, hosts on this network have an Internet address that contains 139 possessing at most 255 hosts, 8 bits may be taken from the local part. 171 ``128.32.1.7'' (host 7 on network 128.32.1). Hosts \fIm\fP on 175 For hosts with multiple interfaces, the network mask should 188 This allows networks consisting of both 4.2BSD, \*(Ps and \*(4B hosts 193 \*(4B hosts recognize and accept packets [all …]
|
/freebsd/contrib/tcp_wrappers/ |
H A D | hosts_access.5 | 24 the \fI/etc/hosts.allow\fR file. 27 entry in the \fI/etc/hosts.deny\fR file. 245 allows intruders to easily impersonate trusted hosts and to break in 279 hosts are permitted access. 285 /etc/hosts.deny: 289 This denies all service to all hosts, unless they are permitted access 292 The explicitly authorized hosts are listed in the allow file. 296 /etc/hosts.allow: 302 The first rule permits access from hosts in the local domain (no `.\' 304 netgroup. The second rule permits access from all hosts in the [all …]
|
H A D | tcpdchk.8 | 11 \fI/etc/hosts.allow\fR and \fI/etc/hosts.deny\fR), and compares the 19 instead of official host names; hosts with a name/address conflict; 32 Examine \fIhosts.allow\fR and \fIhosts.deny\fR files in the current 47 /etc/hosts.allow 49 /etc/hosts.deny
|
H A D | tcpdmatch.8 | 14 \fI/etc/hosts.allow\fR and \fI/etc/hosts.deny\fR) and prints its 49 Examine \fIhosts.allow\fR and \fIhosts.deny\fR files in the current 79 /etc/hosts.allow 81 /etc/hosts.deny
|
/freebsd/share/man/man5/ |
H A D | hosts.equiv.5 | 32 .Nm hosts.equiv , 41 trusted hosts and users on the network. 60 matches all hosts or users. 64 all matching hosts and all their users. 67 will reject all matching users from matching hosts. 95 .Bl -tag -width /etc/hosts.equivxxx -compact 96 .It Pa /etc/hosts.equiv 116 Trust all hosts from netgroup 121 Trust all hosts from netgroup
|
H A D | bluetooth.hosts.5 | 25 .\" $Id: bluetooth.hosts.5,v 1.5 2003/05/20 22:52:39 max Exp $ 31 .Nm bluetooth.hosts 35 .Pa /etc/bluetooth/hosts 36 file contains information regarding the known Bluetooth hosts. 56 .Bl -tag -width ".Pa /etc/bluetooth/hosts" -compact 57 .It Pa /etc/bluetooth/hosts
|
H A D | hosts.5 | 32 .Nm hosts 38 the known hosts on the network. 40 maps `hosts.byaddr' and `hosts.byname', as controlled by 75 .Bl -tag -width /etc/hosts -compact 76 .It Pa /etc/hosts
|
/freebsd/usr.bin/systat/ |
H A D | netcmds.c | 63 } *hosts; variable 109 else if (prefix(args, "hosts")) in netcmd() 258 if (hosts == NULL) in selecthost() 260 free((char *)hosts), hosts = 0; in selecthost() 264 for (p = hosts; p < hosts+nhosts; p++) in selecthost() 270 hosts = (struct hitem *)malloc(sizeof (*p)); in selecthost() 272 hosts = (struct hitem *)realloc(hosts, (nhosts+1)*sizeof (*p)); in selecthost() 273 p = &hosts[nhosts++]; in selecthost() 284 if (hosts) in checkhost() 285 for (p = hosts; p < hosts+nhosts; p++) in checkhost() [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | krb5_get_krbhst.3 | 43 .Nd lookup Kerberos KDC hosts 59 These functions implement the old API to get a list of Kerberos hosts, 64 hosts in one go, they potentially have to do more lookups than 71 terminated list of strings, pointing to the requested Kerberos hosts. These should be freed with 78 char **hosts, **p; 79 krb5_get_krbhst(context, "MY.REALM", &hosts); 80 for(p = hosts; *p; p++) 82 krb5_free_krbhst(context, hosts);
|
/freebsd/usr.sbin/rpc.lockd/ |
H A D | lockd.c | 89 char **hosts, *svcport_str = NULL; variable 151 hosts_bak = realloc(hosts, nhosts * sizeof(char *)); in main() 153 if (hosts != NULL) { in main() 155 free(hosts[i]); in main() 156 free(hosts); in main() 160 hosts = hosts_bak; in main() 161 hosts[nhosts - 1] = strdup(optarg); in main() 162 if (hosts[nhosts - 1] == NULL) { in main() 164 free(hosts[i]); in main() 165 free(hosts); in main() [all …]
|
/freebsd/contrib/ntp/scripts/ntpsweep/ |
H A D | ntpsweep.in | 50 my @hosts; 53 push @hosts, $opts->{host}; 56 @hosts = read_hosts($hostsfile) if $hostsfile; 57 push @hosts, @{$opts->{'host-list'}}; 68 scan_hosts(@hosts); 74 my (@hosts) = @_; 77 for $host (@hosts) { 84 my @hosts; 86 open my $hosts, $hostsfile 89 while (<$hosts>) { [all...] |
/freebsd/crypto/openssh/ |
H A D | ssh-keyscan.1 | 27 hosts. 38 uses non-blocking socket I/O to contact as many hosts as possible in 41 hosts can be collected in tens of seconds, even when some of those 42 hosts are down or do not run 48 Hosts to be scanned may be specified by hostname, address or by CIDR 64 Request certificates from target hosts instead of plain keys. 72 Read hosts or 131 Specify the type of the key to fetch from the scanned hosts. 167 Find all hosts from the file
|
/freebsd/share/examples/etc/ |
H A D | README.examples | 25 hosts - see hosts(5) 26 hosts.allow - defines allow trusted hosts 27 hosts.equiv - defines system-wide trusted hosts (see ruserok(3)) 28 hosts.lpd - defines trusted hosts for lpd(8)
|
/freebsd/contrib/tcsh/ |
H A D | dot.tcshrc | 48 # Setup $hosts from ~/.hosts, ~/.rhosts, ~/.ssh/known_hosts 51 if ( ! $?hosts ) then 52 set hosts=() 53 foreach f ( ~/.{,r,ssh/known_}hosts ) 55 set hosts=( \ 56 $hosts \
|
/freebsd/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 59 static StringList *hosts = NULL; variable 91 sl_add(hosts, strdup(ptr)); in load() 177 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; in resolvone() 178 char *host = hosts->sl_str[i]; in resolvone() 205 threadnum, hosts->sl_str[i], error, errstr); in resolvone() 259 hosts = sl_init(); in run_tests() 266 ATF_REQUIRE_MSG(0 < hosts->sl_cur, "0 hosts in %s", hostlist_file); in run_tests() 268 ask = calloc(hosts->sl_cur, sizeof(int)); in run_tests() 271 got = calloc(hosts->sl_cur, sizeof(int)); in run_tests() 280 /* Wait for all threads to join and check that they checked all hosts */ in run_tests() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_resolv.c | 50 static StringList *hosts = NULL; variable 87 sl_add(hosts, strdup(ptr)); in load() 98 size_t i = (random() & 0x0fffffff) % hosts->sl_cur; in resolvone() 99 char *host = hosts->sl_str[i]; in resolvone() 147 hosts = sl_init(); in main() 169 if (hosts->sl_cur == 0) in main() 174 if ((ask = calloc(hosts->sl_cur, sizeof(int))) == NULL) in main() 176 if ((got = calloc(hosts->sl_cur, sizeof(int))) == NULL) in main() 196 for (i = 0; i < (int)hosts->sl_cur; i++) { in main() 199 hosts->sl_str[i], ask[i], got[i]); in main() [all …]
|
/freebsd/contrib/ntp/util/ |
H A D | ntp-keygen.mdoc.in | 231 for other hosts; however, in such cases files should always be encrypted. 289 Run the command on as many hosts as necessary. 295 Then configure the other hosts to synchronize to the TH directly or 300 All group hosts should have acyclic certificate trails ending on the TH. 360 .Ss Trusted Hosts and Groups 376 trusted hosts from which all other hosts derive synchronization 378 Trusted hosts have trusted certificates; 379 all other hosts have nontrusted certificates. 380 These hosts wil [all...] |
H A D | ntp-keygen.1ntp-keygenmdoc | 231 for other hosts; however, in such cases files should always be encrypted. 289 Run the command on as many hosts as necessary. 295 Then configure the other hosts to synchronize to the TH directly or 300 All group hosts should have acyclic certificate trails ending on the TH. 360 .Ss Trusted Hosts and Groups 376 trusted hosts from which all other hosts derive synchronization 378 Trusted hosts have trusted certificates; 379 all other hosts have nontrusted certificates. 380 These hosts wil [all...] |
/freebsd/share/man/man4/ |
H A D | carp.4 | 36 The CARP allows multiple hosts on the same local network to share a set of 107 CARP virtual hosts can be configured on multicast-capable interfaces: Ethernet, 112 It is important that all hosts participating in a vhid have the same list 125 When disabled, virtual hosts remain in initial state, neither sending nor 129 Allow virtual hosts to preempt each other. 187 .\"between hosts in an Ethernet network. 241 Enable it on both hosts A and B: 272 .\"In the following example, two virtual hosts are configured on two hosts to 299 .\"Finally, the ARP balancing feature must be enabled on both hosts: 303 .\"When the hosts receive an ARP request for 192.168.1.10, the source IP address [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | load_url.c | 14 alist_t *hosts = NULL; in load_url() local 21 hosts = load_file(url); in load_url() 24 hosts = load_file(url); in load_url() 27 hosts = load_http(url); in load_url() 30 return (hosts); in load_url()
|
/freebsd/contrib/ldns/ldns/ |
H A D | higher.h | 50 * wade through fp (a /etc/hosts like file) 52 * defined hosts in there 59 * wade through fp (a /etc/hosts like file) 61 * defined hosts in there 69 * wade through fp (a /etc/hosts like file) 71 * defined hosts in there 72 * \param[in] filename the filename to use (NULL for /etc/hosts)
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x509_vpm.c | 54 sk_OPENSSL_STRING_pop_free(vpm->hosts, str_free); in int_x509_param_set_hosts() 55 vpm->hosts = NULL; in int_x509_param_set_hosts() 64 if (vpm->hosts == NULL && in int_x509_param_set_hosts() 65 (vpm->hosts = sk_OPENSSL_STRING_new_null()) == NULL) { in int_x509_param_set_hosts() 70 if (!sk_OPENSSL_STRING_push(vpm->hosts, copy)) { in int_x509_param_set_hosts() 72 if (sk_OPENSSL_STRING_num(vpm->hosts) == 0) { in int_x509_param_set_hosts() 73 sk_OPENSSL_STRING_free(vpm->hosts); in int_x509_param_set_hosts() 74 vpm->hosts = NULL; in int_x509_param_set_hosts() 103 sk_OPENSSL_STRING_pop_free(param->hosts, str_free); in X509_VERIFY_PARAM_free() 197 if (test_x509_verify_param_copy(hosts, NULL)) { in X509_VERIFY_PARAM_inherit() [all …]
|
/freebsd/usr.sbin/bsdconfig/share/media/ |
H A D | httpproxy.subr | 148 local connect_only="$1" hosts= 160 f_host_lookup "$proxy_host" hosts 164 [ "$hosts" ] && f_dialog_msgbox "$hosts" 167 elif [ ! "$hosts" ]; then 169 hosts="$proxy_host" 173 for host in $hosts; do 361 local dev="$1" file="$2" probe_type="$3" hosts= 376 f_host_lookup "$proxy_host" hosts 380 [ "$hosts" ] && f_dialog_msgbox "$hosts" 382 elif [ ! "$hosts" ]; then [all …]
|