/dports/dns/ipcheck/ipcheck-0.240_1,1/ |
H A D | ipcheck.240 | 1032 if not localip: 1074 return localip 2122 localip = "" 2152 localip = "" 2161 if localip: 2205 localip = value 3339 if localip: 4337 localip = ipdata 4911 if not localip: 5245 localip = "" [all …]
|
/dports/ftp/py-tftpy/tftpy-0.8.2/tftpy/ |
H A D | TftpClient.py | 21 def __init__(self, host, port=69, options={}, localip = ""): argument 28 self.localip = localip 61 localip=self.localip) 100 localip=self.localip)
|
/dports/security/p5-IO-Socket-SSL/IO-Socket-SSL-2.073/t/ |
H A D | core.t | 41 my $localip = '127.0.0.1'; 43 LocalAddr => $localip, 67 my $saddr = $localip.':'.$server->sockport; 74 LocalAddr => $localip, 82 LocalAddr => $localip, 169 LocalAddr => $localip 184 LocalAddr => $localip, 200 LocalAddr => $localip, 270 is( inet_ntoa((unpack_sockaddr_in($peer))[1]), $localip, "Peer address check");
|
/dports/sysutils/ucspi-tcp/ucspi-tcp-0.88/ |
H A D | tcpserver.c | 47 char localip[16]; variable 168 if (socket_local6(t,localip,&localport,&scope_id) == -1) in doit() 172 localipstr[ip4_fmt(localipstr,localip+12)] = 0; in doit() 174 localipstr[ip6_fmt(localipstr,localip)] = 0; in doit() 178 if (dns_name6(&localhostsa,localip) == 0) in doit() 185 localipstr[ip6_fmt(localipstr,localip)]=0; in doit() 398 byte_zero(localip,sizeof localip); in main() 406 byte_copy(localip,16,addresses.s); in main() 407 if (ip6_isv4mapped(localip)) in main() 414 if (socket_bind6_reuse(s,localip,localport,netif) == -1) in main() [all …]
|
/dports/net-im/prosody-modules/Community-Modules-bb8459c220c9/mod_secure_interfaces/ |
H A D | mod_secure_interfaces.lua | 11 local localip = socket:getsockname(); 12 if secure_interfaces:contains(localip) then 13 module:log("debug", "Marking session from %s to %s as secure", session.ip or "[?]", localip); 17 module:log("debug", "Not marking session from %s to %s as secure", session.ip or "[?]", localip);
|
/dports/sysutils/cfengine317/cfengine-3.17.0/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 nt_static_assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/sysutils/cfengine316/cfengine-3.16.0/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 nt_static_assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/sysutils/cfengine/cfengine-3.19.0/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 nt_static_assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 nt_static_assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libcfnet/ |
H A D | client_protocol.c | 68 char dnsname[CF_MAXVARSIZE], localip[CF_MAX_IP_LEN]; in IdentifyAgent() local 95 localip, sizeof(localip), in IdentifyAgent() 114 localip, gai_strerror(ret)); in IdentifyAgent() 134 if (strncmp(dnsname, localip, strlen(localip)) == 0 in IdentifyAgent() 135 && dnsname[strlen(localip)] != '\0') in IdentifyAgent() 137 dnsname[strlen(localip)] = '\0'; in IdentifyAgent() 144 nt_static_assert(sizeof(localip) >= sizeof(VIPADDRESS)); in IdentifyAgent() 145 strcpy(localip, VIPADDRESS); in IdentifyAgent() 168 localip, dnsname, uname, 0); in IdentifyAgent()
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libsunrpc/ |
H A D | udp.c | 36 uchar localip[IPaddrlen]; in sunudpread() local 43 memmove(localip, v4prefix, IPaddrlen); in sunudpread() 44 localip[12] = 127; in sunudpread() 45 localip[15] = 1; in sunudpread() 60 if((srv->localonly || srv->localparanoia) && ipcmp(udp.raddr, localip) != 0){ in sunudpread() 68 fprint(2, "paranoid mode: only %I/%d allowed\n", localip, port); in sunudpread()
|
/dports/sysutils/webmin/webmin-1.981/qmailadmin/ |
H A D | list_opts.cgi | 60 $localip = &get_control_file("localiphost"); 63 $localip ? "" : "checked", $text{'default'}; 65 $localip ? "checked" : ""; 66 printf "<input name=localip size=35 value='%s'></td> </tr>\n", $localip;
|
/dports/www/srt/srt-1.4.4/test/ |
H A D | test_reuseaddr.cpp | 346 std::string localip = GetLocalIP(); in TEST() local 347 if (localip == "") in TEST() 358 std::thread server_1(serverSocket, localip, 5000, true); in TEST() 361 std::thread server_2(serverSocket, localip, 5000, true); in TEST() 371 std::string localip = GetLocalIP(); in TEST() local 372 if (localip == "") in TEST() 384 serverSocket(localip, 5000, true); in TEST() 398 std::string localip = GetLocalIP(); in TEST() local 399 if (localip == "") in TEST() 411 serverSocket(localip, 5000, false); in TEST()
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/scl/nodejs/ |
H A D | plugin.conf | 24 block source nodejs(localip(0.0.0.0) port(9003) ...) { 27 … source { network(transport(tcp) localip(`localip`) port(`port`) flags(no-parse) `__VARARGS__`); };
|
/dports/net/libexosip2/libexosip2-5.3.0/src/ |
H A D | jreg.c | 80 char localip[128]; in _eXosip_reg_init() local 88 memset(localip, '\0', sizeof(localip)); in _eXosip_reg_init() 92 eXosip_guess_localip(excontext, AF_INET, localip, 128); in _eXosip_reg_init() 103 osip_MD5Update(&Md5Ctx, (unsigned char *) localip, (unsigned int) strlen(localip)); in _eXosip_reg_init()
|
/dports/multimedia/zoneminder/zoneminder-1.36.5/scripts/ |
H A D | zmonvif-trigger.pl.in | 412 my ($localip, $localport, $zm) = @_; 416 LocalAddr => $localip, 524 my ($localip, $localport) = @_; 539 if ( !defined $localip ) { 558 my $daemon = start_daemon($localip, $localport, $zm); 562 my $localaddr = $localip . ':' . $port; 569 local_address => $localip ); 630 my ($localaddr, $localip, $localport); 651 ($localip, $localport) = ($1, $2); 653 $localip = $localaddr; [all …]
|
/dports/www/fabio/fabio-1.5.14/docs/content/ref/ |
H A D | proxy.localip.md | 2 title: "proxy.localip" 5 `proxy.localip` configures the ip address of the proxy which is added 13 proxy.localip =
|
/dports/net/libunp/unpv12e/sock/ |
H A D | cliopen.c | 75 if (bindport != 0 || localip[0] != 0 || udp) { in cliopen() 79 if (localip[0] != 0) { in cliopen() 80 if (inet_aton(localip, &cliaddr.sin_addr) == 0) in cliopen() 81 err_quit("invalid IP address: %s", localip); in cliopen()
|
/dports/news/inn-current/inn-2.7-20211226/authprogs/ |
H A D | libauth.c | 42 res->localip = NULL; in get_connection_info() 73 res->localip = xstrdup(buff + strlen(LOCIP)); in get_connection_info() 88 || res->clientport == NULL || res->localip == NULL in get_connection_info() 109 if (res->localip != NULL) in free_res_info() 110 free(res->localip); in free_res_info()
|
/dports/news/inn/inn-2.6.4/authprogs/ |
H A D | libauth.c | 43 res->localip = NULL; in get_connection_info() 74 res->localip = xstrdup(buff + strlen(LOCIP)); in get_connection_info() 88 || res->clientport == NULL || res->localip == NULL in get_connection_info() 109 if (res->localip != NULL) in free_res_info() 110 free(res->localip); in free_res_info()
|
/dports/sysutils/shlock/inn-2.6.4/authprogs/ |
H A D | libauth.c | 43 res->localip = NULL; in get_connection_info() 74 res->localip = xstrdup(buff + strlen(LOCIP)); in get_connection_info() 88 || res->clientport == NULL || res->localip == NULL in get_connection_info() 109 if (res->localip != NULL) in free_res_info() 110 free(res->localip); in free_res_info()
|
/dports/devel/bglibs/bglibs-2.04/net/ |
H A D | dns_transmit.c | 91 if (socket_bind4(d->s1 - 1,&d->localip,1025 + dns_random(64510))) in randombind() 93 if (socket_bind4(d->s1 - 1,&d->localip,0)) in randombind() 204 …ipv4addr servers[DNS_MAX_IPS],int flagrecursive,const char *q,uint16 qtype,const ipv4addr *localip) in dns_transmit_start() argument 224 if (localip != 0) in dns_transmit_start() 225 d->localip = *localip; in dns_transmit_start() 227 memset(&d->localip, 0, sizeof d->localip); in dns_transmit_start()
|
/dports/net/tsocks/tsocks-1.8/ |
H A D | parser.c | 271 show_msg(MSGERR, "IP (%s) & ", inet_ntoa(ent->localip)); in handle_reaches() 456 show_msg(MSGERR, "IP (%s) & ", inet_ntoa(ent->localip)); in handle_local() 535 if (((*ent)->localip.s_addr = inet_addr(ip)) == -1) { 537 if (!(inet_aton(ip, &((*ent)->localip)))) { 551 } else if (((*ent)->localip.s_addr & 553 (*ent)->localip.s_addr) { 586 (ent->localip.s_addr & ent->localnet.s_addr)) { 609 strcpy(ipbuf, inet_ntoa(net->localip)); 613 (net->localip.s_addr & net->localnet.s_addr)) &&
|
/dports/sysutils/ucspi-ssl/host/superscript.com/net/ucspi-ssl-0.99b/src/ |
H A D | sslserver.c | 73 char localip[16]; variable 353 if (socket_local4(t,localip,&localport) == -1) in doit() 356 if (socket_local6(t,localip,&localport,&scope_id) == -1) in doit() 362 localipstr[ip4_fmt(localipstr,&localip[12])] = 0; in doit() 364 localipstr[ip6_compactaddr(localipstr,localip)] = 0; in doit() 367 if (dns_name6(&localhostsa,localip) == 0) in doit() 748 byte_zero(localip,sizeof localip); in main() 756 byte_copy(localip,16,addresses.s); in main() 757 if (ip6_isv4mapped(localip)) in main() 765 if (socket_bind6_reuse(s,localip,localport,netif) == -1) in main() [all …]
|