/freebsd-current/usr.sbin/periodic/etc/security/ |
H A D | 500.ipfwdenied | 45 check_diff new_only ipfw ${TMP} "${host} ipfw denied packets:"
|
/freebsd-current/sys/netpfil/ipfw/nat64/ |
H A D | nat64lsn.c | 105 struct nat64lsn_host *host; member in struct:nat64lsn_job_item::__anon648::__anon649 139 static void nat64lsn_destroy_host(struct nat64lsn_host *host); 204 struct nat64lsn_host *host, const struct ipfw_flow_id *f_id __unused) 212 return (CK_SLIST_FIRST(&host->aliases)); 309 nat64lsn_get_state6to4(struct nat64lsn_cfg *cfg, struct nat64lsn_host *host, argument 321 CK_SLIST_FOREACH(state, &STATE_HASH(host, hval), entries) { 327 link = nat64lsn_get_aliaslink(cfg, host, f_id); 383 state->host = host; 386 /* Insert new state into host' 203 nat64lsn_get_aliaslink(struct nat64lsn_cfg *cfg __unused, struct nat64lsn_host *host, const struct ipfw_flow_id *f_id __unused) argument 747 struct nat64lsn_host *host; local 877 struct nat64lsn_host *host, *tmp; local 1006 struct nat64lsn_host *host; local 1369 struct nat64lsn_host *host; local 1432 nat64lsn_request_pg(struct nat64lsn_cfg *cfg, struct nat64lsn_host *host, const struct ipfw_flow_id *f_id, struct mbuf **mp, uint32_t hval, in_addr_t faddr, uint16_t port, uint8_t proto) argument 1490 struct nat64lsn_host *host; local 1758 nat64lsn_destroy_host(struct nat64lsn_host *host) argument 1782 struct nat64lsn_host *host; local [all...] |
/freebsd-current/share/examples/printing/ |
H A D | make-ps-header | 19 echo "Usage: `basename $0` <user> <host> <job>" 1>&2 27 host=$2 70 [ ($job) ($host) ($date) ] {
|
/freebsd-current/crypto/openssh/ |
H A D | hostfile.h | 26 char *host; member in struct:hostkey_entry 56 const char *host, const char *ip, struct sshkey **keys, size_t nkeys, 75 #define HKF_STATUS_OK 0 /* Line parsed, didn't match host */ 116 const char *host, const char *ip, u_int options, u_int note); 119 const char *host, const char *ip, u_int options, u_int note);
|
H A D | auth-rhosts.c | 64 char buf[RBUFLN];/* Must not be larger than host, user, dummy below. */ 89 char *host, *user, *cp; local 118 /* Got both host and user name. */ 128 host = hostbuf; 132 /* Process negated host names, or positive netgroups. */ 133 if (host[0] == '-') { 135 host++; 136 } else if (host[0] == '+') 137 host++; 145 /* Check for empty host/use [all...] |
H A D | sshconnect.c | 6 * Code to connect to a remote host, and to perform the client side of the 89 const char *host, const char *host_arg, int port) 98 "h", host, 113 ssh_proxy_fdpass_connect(struct ssh *ssh, const char *host, argument 129 host, host_arg, port); 195 ssh_proxy_connect(struct ssh *ssh, const char *host, const char *host_arg, argument 212 host, host_arg, port); 438 * Opens a TCP/IP connection to the remote server on the given host. 439 * The address of the remote host will be returned in hostaddr. 443 * and %p substituted for host an 88 expand_proxy_command(const char *proxy_command, const char *user, const char *host, const char *host_arg, int port) argument 447 ssh_connect_direct(struct ssh *ssh, const char *host, struct addrinfo *aitop, struct sockaddr_storage *hostaddr, u_short port, int connection_attempts, int *timeout_ms, int want_keepalive) argument 545 ssh_connect(struct ssh *ssh, const char *host, const char *host_arg, struct addrinfo *addrs, struct sockaddr_storage *hostaddr, u_short port, int connection_attempts, int *timeout_ms, int want_keepalive) argument 688 const char *host, *ip; member in struct:find_by_key_ctx 771 hostkeys_find_by_key(const char *host, const char *ip, const struct sshkey *key, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles, char ***names, u_int *nnames) argument 813 other_hostkeys_message(const char *host, const char *ip, const struct sshkey *key, char **user_hostfiles, u_int num_user_hostfiles, char **system_hostfiles, u_int num_system_hostfiles) argument 942 char *ip = NULL, *host = NULL; local 1441 verify_host_key(char *host, struct sockaddr *hostaddr, struct sshkey *host_key, const struct ssh_conn_info *cinfo) argument 1565 char *host; local [all...] |
/freebsd-current/contrib/sendmail/src/ |
H A D | domain.c | 463 ** GETTLSA -- get TLSA records for named host using DNS 466 ** host -- host 467 ** name -- name for stab entry key (if NULL: host) 470 ** mxttl -- TTL of MX (or host) 484 gettlsa(host, name, pste, flags, mxttl, port) 485 char *host; 502 SM_REQUIRE(host != NULL); 505 if ('\0' == *host) 511 name = host; [all...] |
/freebsd-current/contrib/tcp_wrappers/ |
H A D | tli.c | 3 * the transport address of a client host, and the transport address of a 5 * address to a printable host name or address. Socket address results are 8 * The result from the hostname lookup method is STRING_PARANOID when a host 9 * pretends to have someone elses name, or when a host name is available but 239 static void tli_hostaddr(struct host_info *host) argument 241 struct request_info *request = host->request; 243 struct t_unitdata *unit = host->unit; 248 STRN_CPY(host->addr, uaddr, sizeof(host->addr)); 255 static void tli_hostname(struct host_info *host) argument [all...] |
H A D | hosts_access.c | 3 * host (or domain) names, NIS (host) netgroup names, IP addresses (or 92 static int host_match(char *tok, struct host_info *host); 109 /* hosts_access - host access control facility */ 239 char *host; local 241 if ((host = split_at(tok + 1, '@')) == 0) { /* plain daemon */ 243 } else { /* daemon@host */ 245 && host_match(host, request->server)); 253 char *host; local 255 if ((host 265 hostfile_match(char *path, struct host_info *host) argument 283 host_match(char *tok, struct host_info *host) argument [all...] |
/freebsd-current/usr.bin/ssh-copy-id/ |
H A D | ssh-copy-id.sh | 60 host="" 115 for host in "$@"; do 116 sendkey "$host" "$keys"
|
/freebsd-current/lib/libulog/ |
H A D | ulog_login.c | 63 ulog_login(const char *line, const char *user, const char *host) argument 70 if (host != NULL) 71 strlcpy(utx.ut_host, host, sizeof utx.ut_host);
|
/freebsd-current/usr.sbin/arp/ |
H A D | arp.c | 78 static int delete(char *host); 81 static int get(char *host); 87 char *host); 252 * the address of the host and returns a pointer to the 256 getaddr(char *host) argument 264 reply.sin_addr.s_addr = inet_addr(host); 266 if (!(hp = gethostbyname(host))) { 267 xo_warnx("%s: %s", host, hstrerror(h_errno)); 307 char *host = argv[0], *eaddr = argv[1]; local 317 dst = getaddr(host); 386 set_rtsock(struct sockaddr_in *dst, struct sockaddr_dl *sdl_m, char *host) argument 424 get(char *host) argument 459 delete_rtsock(char *host) argument 519 delete(char *host) argument 595 const char *host; local [all...] |
/freebsd-current/crypto/openssh/regress/ |
H A D | addrmatch.sh | 10 user="$1"; addr="$2"; host="$3"; laddr="$4"; lport="$5" 13 verbose "test $descr for $user $addr $host" 15 -C user=${user},addr=${addr},host=${host},laddr=${laddr},lport=${lport} | \ 25 Match Address 192.168.0.0/16,!192.168.30.0/24,10.0.0.0/8,host.example.com
|
/freebsd-current/libexec/revnetgroup/ |
H A D | revnetgroup.c | 74 char *host, *user, *domain; local 145 while(__getnetgrent(&host, &user, &domain) != 0) { 146 if (hosts ? host && strcmp(host,"-") : user && strcmp(user, "-")) 147 mstore(mtable, hosts ? host : user, gcur->key, domain);
|
/freebsd-current/contrib/dma/ |
H A D | dns.c | 66 add_host(int pref, const char *host, int port, struct mx_hostentry **he, size_t *ps) argument 79 switch (getaddrinfo(host, servname, &hints, &res0)) { 87 * SMARTHOST set but DNS server returns "host does not exist" 109 strlcpy(p->host, host, sizeof(p->host)); 132 dns_get_mx_list(const char *host, int port, struct mx_hostentry **he, int no_mx) argument 150 searchhost = host; 168 * Not an error, use host name instead. 252 err = add_host(0, host, por [all...] |
H A D | conf.c | 89 * user|host:password 128 au->host = strsep(&data, DP); 132 au->host == NULL || 204 char *user = NULL, *host = NULL; local 206 host = strrchr(data, '@'); 207 *host = 0; 208 host++; 211 host = data; 213 if (host && *host [all...] |
/freebsd-current/tools/test/stress2/misc/ |
H A D | jumbo.sh | 42 host=localhost 43 [ $# -eq 1 ] && host=$1 50 /tmp/jumbo $host $((12345 + $i)) & 82 char *host; 170 if ((hostent = gethostbyname (host)) == NULL) 171 err(1, "gethostbyname(%s)", host); 188 err(1, "connect(%s, %d), %s:%d", host, port, __FILE__, 214 host = argv[1]; 218 errx(1, "Usage: %s {<host>} <port number>\n", argv[0]);
|
/freebsd-current/usr.bin/finger/ |
H A D | net.c | 59 char *host; local 63 host = strrchr(name, '@'); 64 if (host == NULL) 66 *host++ = '\0'; 74 error = getaddrinfo(host, "finger", &hint, &ai0); 76 warnx("%s: %s", host, gai_strerror(error)); 84 printf("[%s]\n", host);
|
/freebsd-current/lib/libutil/ |
H A D | login_ok.c | 174 login_hostok(login_cap_t *lc, const char *host, const char *ip, argument 180 ((host != NULL && *host != '\0') || (ip != NULL && *ip != '\0'))) { 184 if (hl != NULL && !login_str2inlist(hl, host, ip, FNM_CASEFOLD)) 185 rc = 0; /* host or IP not in allow list */ 189 if (hl != NULL && login_str2inlist(hl, host, ip, FNM_CASEFOLD)) 190 rc = 0; /* host or IP in deny list */ 200 * Determine whether or not login from a host is ok 204 auth_hostok(login_cap_t *lc, const char *host, const char *ip) argument 206 return login_hostok(lc, host, i [all...] |
/freebsd-current/sys/contrib/libsodium/dist-build/ |
H A D | ios.sh | 42 ./configure --host=i686-apple-darwin10 \ 59 ./configure --host=x86_64-apple-darwin10 \ 77 ./configure --host=arm-apple-darwin10 \ 90 ./configure --host=arm-apple-darwin10 \ 103 ./configure --host=arm-apple-darwin10 \
|
/freebsd-current/share/mk/ |
H A D | local.sys.dirdeps.env.mk | 30 .if ${REQUESTED_MACHINE:U${MACHINE}} == "host" 31 MACHINE= host 34 TARGET_MACHINE= host 46 ${.CURDIR}/${.MAKE.DEPENDFILE_PREFIX}.host \ 65 # a pseudo option to indicate we need libegacy for host
|
/freebsd-current/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 58 char *host, *path; local 62 host = path = NULL; 67 host = optarg; 102 if (host == NULL && path == NULL) { 127 /* Remove all entries for this host + path. */ 134 if (host == NULL && path != NULL) 138 /* Do a RPC UMNTALL for this specific host */ 139 success = do_umntall(host); 141 warnx("umntall RPC for %s succeeded", host); 147 success = do_umount(host, pat [all...] |
/freebsd-current/usr.bin/showmount/ |
H A D | showmount.c | 89 int tcp_callrpc(const char *host, int prognum, int versnum, int procnum, 114 const char *host; local 160 host = *argv; 162 host = "localhost"; 168 if ((estat = tcp_callrpc(host, MOUNTPROG, mntvers, 175 if ((estat = tcp_callrpc(host, MOUNTPROG, mntvers, 186 printf("All mount points on %s:\n", host); 189 printf("Directories on %s:\n", host); 192 printf("Hosts on %s:\n", host); 198 printf("Exports list on %s:\n", host); 234 tcp_callrpc(const char *host, int prognum, int versnum, int procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out) argument [all...] |
/freebsd-current/lib/libfetch/ |
H A D | common.c | 68 { EAI_ADDRFAMILY, FETCH_RESOLV, "Address family for host not supported" }, 71 { EAI_NODATA, FETCH_RESOLV, "No address for host" }, 132 { SOCKS5_ERR_BAD_HOST, FETCH_ABORT, "SOCKS5: Bad proxy host" }, 314 const char *host, *service; local 331 /* see if we need to copy the host name */ 341 host = hbuf; 343 host = hb; 366 if ((err = getaddrinfo(host, service, &hints, &res)) != 0) { 403 fetch_socks5_init(conn_t *conn, const char *host, int port, int verbose) argument 415 fetch_info("Initializing SOCKS5 connection: %s:%d", host, por 526 fetch_socks5_getenv(char **host, int *port) argument 588 fetch_connect(const char *host, int port, int af, int verbose) argument 864 char *host; local 968 fetch_ssl_verify_cn(X509_NAME *subject, const char *host, struct addrinfo *ip) argument 1006 fetch_ssl_verify_hname(X509 *cert, const char *host) argument 1734 fetch_no_proxy_match(const char *host) argument [all...] |
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | example.c | 51 char host[512]; local 67 if (gethostname(host, sizeof host) < 0) 68 snprintf(host, sizeof host, "localhost"); 74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
|