/dports/audio/picard/picard-release-2.6.2/picard/webservice/ |
H A D | ratecontrol.py | 88 def current_delay(hostkey): argument 101 if CONGESTION_UNACK[hostkey] >= int(CONGESTION_WINDOW_SIZE[hostkey]): 138 log.debug("%s: Incrementing requests to: %d", hostkey, CONGESTION_UNACK[hostkey]) 146 log.debug("%s: Decrementing requests to: %d", hostkey, CONGESTION_UNACK[hostkey]) 169 _slow_down(hostkey) 170 elif CONGESTION_UNACK[hostkey] <= CONGESTION_WINDOW_SIZE[hostkey]: 175 def _slow_down(hostkey): argument 185 CONGESTION_SSTHRESH[hostkey] = int(CONGESTION_WINDOW_SIZE[hostkey] / 2.0) 190 hostkey, 200 def _out_of_backoff(hostkey): argument [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/contrib/enterprise/detect_duplicate_keys/ |
H A D | detect_duplicate_keys.pl | 57 defined $ip_of{$hostkey} 59 $ipaddress ne $ip_of{$hostkey} 61 print "$hostkey $ip_of{$hostkey}\n" if $DEBUG == 1; # original ipaddress 62 print "$hostkey $ipaddress\n" if $DEBUG == 1; # new ipaddress 63 $original_ipaddress = $ip_of{$hostkey}; 64 $duplicates{$hostkey}{$original_ipaddress} = 1; 65 $duplicates{$hostkey}{$ipaddress} = 1; 91 foreach my $hostkey (sort keys %duplicates) { 92 foreach my $ipaddress (keys %{ $duplicates{$hostkey} }) { 95 printf("=duplicate_key[%d][hostkey]=%s\n", $i, $hostkey); [all …]
|
/dports/sysutils/cfengine317/cfengine-3.17.0/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/cf-check/ |
H A D | validate.c | 185 if (EmptyString(hostkey)) in ValidateHostkey() 196 if (StringStartsWith(hostkey, "SHA=")) in ValidateHostkey() 198 if (strlen(hostkey + 4) != 64) in ValidateHostkey() 206 if (strlen(hostkey + 4) != 32) in ValidateHostkey() 280 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 286 const char *hostkey = key_string + 2; in UpdateValidatorLastseen() local 490 hostkey, in ValidateStateLastseen() 529 const char *hostkey; in ValidateStateLastseen() local 537 hostkey); in ValidateStateLastseen() 544 const char *hostkey; in ValidateStateLastseen() local [all …]
|
/dports/net/p5-Net-Google-SafeBrowsing2/Net-Google-SafeBrowsing2-1.09/lib/Net/Google/SafeBrowsing2/ |
H A D | DBI.pm | 140 my $hostkey = ''; 158 $hostkey = ''; 164 $hostkey = $row->{hostkey}; 166 if ($hostkey ne $row->{hostkey} && $hostkey ne '') { 174 $hostkey = $row->{hostkey}; 192 $hostkey = ''; 217 $hostkey = $row->{hostkey}; 219 if ($hostkey ne $row->{hostkey} && $hostkey ne '') { 227 $hostkey = $row->{hostkey}; 478 my $hostkey = $args{hostkey} || ''; [all …]
|
H A D | Storage.pm | 167 my $hostkey = $args{hostkey} || ''; 173 hostkey => $hostkey, 179 hostkey => $hostkey, 230 my $hostkey = $args{hostkey} || '';
|
/dports/sysutils/cfengine-masterfiles-devel/masterfiles-f98dca2d/templates/federated_reporting/ |
H A D | import.sh | 53 hostkey=$(basename "$file" | cut -d. -f1) 54 hostkeys+=($hostkey) 55 …tuples-only -U cfapache -d cfdb -c "SELECT hub_id FROM __hubs WHERE hostkey = '$hostkey';") ]; then 60 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 70 hostkey=$(basename "$file" | cut -d. -f1) 71 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 99 log "Revert changes by dropping $hostkey feeder schema" 101 hostkey=$(basename "$file" | cut -d. -f1) 102 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 126 hostkey=$(basename "$file" | cut -d. -f1) [all …]
|
/dports/sysutils/cfengine-masterfiles318/cfengine-masterfiles-3.18.1/templates/federated_reporting/ |
H A D | import.sh | 53 hostkey=$(basename "$file" | cut -d. -f1) 54 hostkeys+=($hostkey) 56 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 65 hostkey=$(basename "$file" | cut -d. -f1) 66 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 89 log "Revert changes by dropping $hostkey feeder schema" 91 hostkey=$(basename "$file" | cut -d. -f1) 92 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 116 hostkey=$(basename "$file" | cut -d. -f1) 118 … -c "SET SCHEMA 'public'; SELECT attach_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \
|
/dports/sysutils/cfengine-masterfiles/cfengine-masterfiles-3.19.0/templates/federated_reporting/ |
H A D | import.sh | 53 hostkey=$(basename "$file" | cut -d. -f1) 54 hostkeys+=($hostkey) 56 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 65 hostkey=$(basename "$file" | cut -d. -f1) 66 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 89 log "Revert changes by dropping $hostkey feeder schema" 91 hostkey=$(basename "$file" | cut -d. -f1) 92 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 116 hostkey=$(basename "$file" | cut -d. -f1) 118 … -c "SET SCHEMA 'public'; SELECT attach_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \
|
/dports/sysutils/cfengine-masterfiles319/cfengine-masterfiles-3.19.0/templates/federated_reporting/ |
H A D | import.sh | 53 hostkey=$(basename "$file" | cut -d. -f1) 54 hostkeys+=($hostkey) 56 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 65 hostkey=$(basename "$file" | cut -d. -f1) 66 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 89 log "Revert changes by dropping $hostkey feeder schema" 91 hostkey=$(basename "$file" | cut -d. -f1) 92 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 116 hostkey=$(basename "$file" | cut -d. -f1) 118 … -c "SET SCHEMA 'public'; SELECT attach_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \
|
/dports/sysutils/cfengine-masterfiles317/cfengine-masterfiles-3.17.0/templates/federated_reporting/ |
H A D | import.sh | 63 hostkey=$(basename "$file" | cut -d. -f1) 64 hostkeys+=($hostkey) 66 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 75 hostkey=$(basename "$file" | cut -d. -f1) 76 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 99 log "Revert changes by dropping $hostkey feeder schema" 101 hostkey=$(basename "$file" | cut -d. -f1) 102 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 126 hostkey=$(basename "$file" | cut -d. -f1) 128 … -c "SET SCHEMA 'public'; SELECT attach_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \
|
/dports/security/dropbear/dropbear-2020.81/ |
H A D | svr-kex.c | 110 void **hostkey = signkey_key_ptr(svr_opts.hostkey, type); in svr_ensure_hostkey() local 113 if (hostkey && *hostkey) { in svr_ensure_hostkey() 145 if (readhostkey(fn, svr_opts.hostkey, &type) == DROPBEAR_SUCCESS) { in svr_ensure_hostkey() 153 ret = readhostkey(fn, svr_opts.hostkey, &type); in svr_ensure_hostkey() 159 buf_put_pub_key(key_buf, svr_opts.hostkey, type); in svr_ensure_hostkey() 205 buf_put_pub_key(ses.writepayload, svr_opts.hostkey, in send_msg_kexdh_reply() 213 kexdh_comb_key(dh_param, dh_e, svr_opts.hostkey); in send_msg_kexdh_reply() 225 kexecdh_comb_key(ecdh_param, ecdh_qs, svr_opts.hostkey); in send_msg_kexdh_reply() 236 kexcurve25519_comb_key(param, ecdh_qs, svr_opts.hostkey); in send_msg_kexdh_reply() 246 buf_put_sign(ses.writepayload, svr_opts.hostkey, in send_msg_kexdh_reply()
|
H A D | svr-runopts.c | 163 svr_opts.hostkey = NULL; in svr_getopts() 574 svr_opts.hostkey = new_sign_key(); in load_all_hostkeys() 601 if (!svr_opts.delay_hostkey && !svr_opts.hostkey->rsakey) { in load_all_hostkeys() 609 if (!svr_opts.delay_hostkey && !svr_opts.hostkey->dsskey) { in load_all_hostkeys() 626 || svr_opts.hostkey->ecckey256 in load_all_hostkeys() 629 || svr_opts.hostkey->ecckey384 in load_all_hostkeys() 632 || svr_opts.hostkey->ecckey521 in load_all_hostkeys() 642 if (!svr_opts.hostkey->ecckey256 in load_all_hostkeys() 648 if (!svr_opts.hostkey->ecckey384 in load_all_hostkeys() 654 if (!svr_opts.hostkey->ecckey521 in load_all_hostkeys() [all …]
|
/dports/sysutils/cfengine-masterfiles316/cfengine-masterfiles-3.16.0/templates/federated_reporting/ |
H A D | import.sh | 61 hostkey=$(basename "$file" | cut -d. -f1) 63 -c "SELECT ensure_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \ 72 hostkey=$(basename "$file" | cut -d. -f1) 73 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 96 log "Revert changes by dropping $hostkey feeder schema" 98 hostkey=$(basename "$file" | cut -d. -f1) 99 … "$CFE_BIN_DIR"/psql -U $CFE_FR_DB_USER -d cfdb -c "SELECT drop_feeder_schema('$hostkey');" || true 107 hostkey=$(basename "$file" | cut -d. -f1) 109 … -c "SET SCHEMA 'public'; SELECT attach_feeder_schema('$hostkey', ARRAY[$table_whitelist]);" \
|
/dports/sysutils/cfengine317/cfengine-3.17.0/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_HOSTKEY_STRING_SIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 244 char *HostkeyToAddress(const char *hostkey) in HostkeyToAddress() argument 629 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 632 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 642 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/sysutils/cfengine/cfengine-3.19.0/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_HOSTKEY_STRING_SIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 244 char *HostkeyToAddress(const char *hostkey) in HostkeyToAddress() argument 631 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 634 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 644 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/sysutils/cfengine318/cfengine-3.18.1/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_HOSTKEY_STRING_SIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 244 char *HostkeyToAddress(const char *hostkey) in HostkeyToAddress() argument 631 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 634 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 644 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_HOSTKEY_STRING_SIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 244 char *HostkeyToAddress(const char *hostkey) in HostkeyToAddress() argument 631 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 634 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 644 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/sysutils/cfengine319/cfengine-3.19.0/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_HOSTKEY_STRING_SIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 244 char *HostkeyToAddress(const char *hostkey) in HostkeyToAddress() argument 631 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 634 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 644 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/sysutils/cfengine316/cfengine-3.16.0/libpromises/ |
H A D | lastseen.c | 37 void UpdateLastSawHost(const char *hostkey, const char *address, 141 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in UpdateLastSawHost() 150 WriteDB(db, address_key, hostkey, strlen(hostkey) + 1); in UpdateLastSawHost() 160 char hostkey[CF_BUFSIZE]; in Address2HostkeyInDB() local 165 if (!ReadDB(db, address_key, &hostkey, sizeof(hostkey))) in Address2HostkeyInDB() 178 snprintf(hostkey_key, CF_BUFSIZE, "k%s", hostkey); in Address2HostkeyInDB() 188 strlcpy(result, hostkey, result_size); in Address2HostkeyInDB() 598 const char *hostkey = SeqAt(hostkeys, i); in ScanLastSeenQuality() local 601 snprintf(keyhost_key, CF_BUFSIZE, "k%s", hostkey); in ScanLastSeenQuality() 611 snprintf(incoming_key, CF_BUFSIZE, "qi%s", hostkey); in ScanLastSeenQuality() [all …]
|
/dports/devel/pear-phing/phing-2.6.1/tasks/ext/ssh/ |
H A D | Ssh2MethodParam.php | 47 private $hostkey; variable in Ssh2MethodParam 60 * @param string $hostkey 62 public function setHostkey($hostkey) argument 64 $this->hostkey = $hostkey; 76 return $this->hostkey;
|