Skip to content

improvement(network): remove static IPs from seed lists#2407

Merged
shamardy merged 6 commits intodevfrom
ip-resolution
Apr 11, 2025
Merged

improvement(network): remove static IPs from seed lists#2407
shamardy merged 6 commits intodevfrom
ip-resolution

Conversation

@onur-ozkan
Copy link
Copy Markdown

@onur-ozkan onur-ozkan commented Apr 4, 2025

It's dangerous to hard-code IPs statically because they can become outdated. In fact, with this change, I was able to discover that 'falkor.dragon-seed.com' corresponds to the IP '65.108.252.86', not '168.119.237.8' and 'fr1.cipig.net' is an unavailable node.

Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@cipig
Copy link
Copy Markdown

cipig commented Apr 4, 2025

fr1.cipig.net is up and running, just the DNS entry was removed. 46.4.78.11 is fine, 46.4.87.18 too... and many more, eg the ones FIRO is running.

How will kdf that was started without specifying seednodes param find any seeds to connect to after this PR is merged?
Btw, couldn't find seednodes param in Komodo Wallet code. Only the "old" Desktop code has it.

@onur-ozkan
Copy link
Copy Markdown
Author

fr1.cipig.net is up and running, just the DNS entry was removed. 46.4.78.11 is fine, 46.4.87.18 too... and many more, eg the ones FIRO is running.

Why DNS entry is removed? That's an obvious requirement from KDF (we enter domain names on each node).

How will kdf that was started without specifying seednodes param find any seeds to connect to after this PR is merged?

As same as before, KDF will connect to nodes from this list.

@onur-ozkan onur-ozkan changed the title improvement(network): remove static IPs from seed lists improvement(network): remove hostnames from SeedNodeInfo Apr 7, 2025
@onur-ozkan onur-ozkan changed the title improvement(network): remove hostnames from SeedNodeInfo improvement(network): remove static IPs from seed lists Apr 7, 2025
Signed-off-by: onur-ozkan <work@onurozkan.dev>
@smk762 smk762 self-requested a review April 11, 2025 10:20
Copy link
Copy Markdown

@smk762 smk762 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

builds, launches and connects to seeds as expected.

@shamardy shamardy merged commit 0d5be12 into dev Apr 11, 2025
24 checks passed
@shamardy shamardy deleted the ip-resolution branch April 11, 2025 14:43
dimxy pushed a commit to dimxy/komodo-defi-framework that referenced this pull request May 13, 2025
* dev: (26 commits)
  chore(deps): remove base58 and replace it completely with bs58 (GLEECBTC#2427)
  feat(tron): initial groundwork for full TRON integration (GLEECBTC#2425)
  fix(UTXO): improve tx fee calculation and min relay fee handling (GLEECBTC#2316)
  deps(timed-map): bump to 1.3.1 (GLEECBTC#2413)
  improvement(tendermint): safer IBC channel handler (GLEECBTC#2298)
  chore(release): complete v2.4.0-beta changelogs  (GLEECBTC#2436)
  fix(event-streaming): initial addresses registration in utxo balance streaming (GLEECBTC#2431)
  improvement(watchers): re-write use-watchers handling (GLEECBTC#2430)
  fix(evm): make withdraw_nft work in HD mode (GLEECBTC#2424)
  feat(taproot): support parsing taproot output address types
  chore(RPC): use consistent param name for QTUM delegation (GLEECBTC#2419)
  fix(makerbot): add LiveCoinWatch price provider (GLEECBTC#2416)
  chore(release): add changelog entries for v2.4.0-beta (GLEECBTC#2415)
  fix(wallets): prevent path traversal in `wallet_file_path` and update file extension (GLEECBTC#2400)
  fix(nft): make `update_nft` work with hd wallets using the enabled address (GLEECBTC#2386)
  fix(wasm): unify error handling for mm2_main (GLEECBTC#2389)
  fix(tx-history): token information and query (GLEECBTC#2404)
  test(electrums): fix failing test_one_unavailable_electrum_proto_version (GLEECBTC#2412)
  improvement(network): remove static IPs from seed lists (GLEECBTC#2407)
  improvement(best-orders): return an rpc error when we can't find best orders (GLEECBTC#2318)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants