Option to specify external IP address #15

issue gavinandresen opened this issue on December 22, 2010
  1. gavinandresen commented at 2:59 PM on December 22, 2010: contributor

    It'd be nice if there was a -externalip=123.45.6.7 option in case your ISP is doing something wonky with requests to whatismyip.com

  2. j16sdiz commented at 1:09 AM on January 14, 2011: none

    Does bitcoin use whatismyip.com ? I have read some code, it seems to be using the external address reported by IRC, which should be quite reliable.

  3. dooglus commented at 11:26 PM on January 21, 2011: contributor

    net.cpp uses: addrConnect = CAddress("91.198.22.70:80"); // checkip.dyndns.org and addrConnect = CAddress("74.208.43.192:80"); // www.showmyip.com if it wasn't able to get the external IP address from IRC within 2 minutes.

    Note it hard-codes the IP addresses of those 2 sites too, which is probably not ideal.

  4. ghost commented at 9:34 AM on May 3, 2011: none

    I think that option to specify external port is needed too. For NAT users for examle!

  5. zellfaze-zz commented at 7:21 PM on June 13, 2011: none

    I agree. What happens if those sites go down or change their addresses? Or what happens if you are behind a restrictive firewall or ACL?

  6. laanwj referenced this in commit 872b1f3e4c on Sep 18, 2011
  7. sipa commented at 7:46 PM on February 19, 2012: member

    I've added this functionality to my multilocal branch (#829)

  8. luke-jr cross-referenced this on Mar 25, 2012 from issue Startup blocks on mutex at "Loading Addresses" by luke-jr
  9. gavinandresen cross-referenced this on Apr 8, 2012 from issue addrMan crash on CentOS by gavinandresen
  10. jgarzik commented at 9:29 PM on July 5, 2012: contributor

    Implemented, as -externalip

  11. jgarzik closed this on Jul 5, 2012

  12. dvdkhlng cross-referenced this on Mar 28, 2013 from issue Bitcoind aborts on startup: ./db/skiplist.h:152 Assertion `n >= 0' failed. by dvdkhlng
  13. justmoon referenced this in commit 41ab43734e on Apr 7, 2014
  14. rebroad referenced this in commit 212015e2e0 on Jul 21, 2014
  15. rebroad cross-referenced this on Sep 11, 2014 from issue . by rebroad
  16. rdponticelli referenced this in commit 32b60cb5fb on Nov 26, 2014
  17. eduffield222 cross-referenced this on Jan 23, 2015 from issue Code vulnerable to segfault after a network fork by eduffield222
  18. lecbee cross-referenced this on Feb 16, 2015 from issue core dumped when closing bitcoin-qt by lecbee
  19. rustyrussell cross-referenced this on Mar 26, 2015 from issue Add autoprune functionality by sdaftuar
  20. primezeta cross-referenced this on Jun 24, 2015 from issue Segmentation fault on bitcoind or bitcoin-qt startup (64bit Linux) by primezeta
  21. MarcoFalke referenced this in commit 589f4b6be0 on Dec 1, 2015
  22. MarcoFalke referenced this in commit 734b3d8e28 on Dec 2, 2015
  23. MarcoFalke referenced this in commit 982709199f on Dec 2, 2015
  24. ptschip referenced this in commit 03ee948a5a on Mar 22, 2016
  25. braydonf referenced this in commit bd8328ceb9 on Jun 13, 2016
  26. gmaxwell cross-referenced this on Mar 15, 2017 from issue Running out of disk space during GUI init results in hang and non-drawing windows by gmaxwell
  27. Christewart referenced this in commit 22f7ca71db on Jun 29, 2017
  28. AkioNak referenced this in commit 39b76ef9cb on Jul 26, 2017
  29. dooglus cross-referenced this on Aug 25, 2017 from issue gui, wallet: random abort (segmentation fault) running master/HEAD by dooglus
  30. MarcoFalke referenced this in commit fd448da526 on Sep 29, 2017
  31. MarcoFalke referenced this in commit ccf35754f1 on Sep 29, 2017
  32. CryptAxe referenced this in commit ef5864cb06 on Dec 28, 2017
  33. nining referenced this in commit 2f5fe4c15b on Jan 3, 2018
  34. brutuscat cross-referenced this on Jan 29, 2018 from issue Add localaddress setting to bind to a network address by brutuscat
  35. MarcoFalke referenced this in commit 1fcd1e7de0 on Feb 16, 2018
  36. MarcoFalke referenced this in commit 835a21b424 on Feb 16, 2018
  37. Willtech referenced this in commit 99ac3defdd on Feb 23, 2018
  38. hkjn referenced this in commit 4c50fe065c on Feb 23, 2018
  39. KrzysiekJ referenced this in commit de1a0db4cf on Mar 28, 2018
  40. effectsToCause referenced this in commit a0c1dd180a on Jun 22, 2018
  41. Anfauglith referenced this in commit 721ec32f1e on Sep 27, 2018
  42. Rspigler cross-referenced this on Oct 13, 2018 from issue Bus error (core dumped) crash on Fedora (txindex migration?) by Rspigler
  43. lionello referenced this in commit ad794831e1 on Nov 7, 2018
  44. kayront cross-referenced this on Apr 18, 2019 from issue bitcoin core does not compile on Solaris by kayront
  45. udovdh cross-referenced this on Oct 4, 2019 from issue LevelDB read failure: Corruption: block checksum mismatch by dooglus
  46. b3rsrk cross-referenced this on Oct 11, 2019 from issue Option to set external advertised IP by b3rsrk
  47. DigiGreenCoin referenced this in commit e97b77d123 on Oct 29, 2019
  48. laanwj referenced this in commit b586bbd558 on Nov 6, 2019
  49. laanwj referenced this in commit 97b66d34eb on Nov 7, 2019
  50. laanwj referenced this in commit e9c85bb139 on Nov 7, 2019
  51. laanwj referenced this in commit c92f7af618 on Nov 7, 2019
  52. laanwj referenced this in commit 656712fe94 on Dec 9, 2019
  53. laanwj referenced this in commit 4abd92d5c4 on Dec 12, 2019
  54. laanwj referenced this in commit 89c8fe5189 on Jan 2, 2020
  55. laanwj referenced this in commit 66480821b3 on Jan 28, 2020
  56. laanwj referenced this in commit 31bdd86631 on Jul 15, 2020
  57. KolbyML referenced this in commit bcaba640a9 on Aug 1, 2020
  58. KolbyML referenced this in commit fa43fa1a9c on Sep 4, 2020
  59. jonasschnelli referenced this in commit 9453fbf5a0 on Oct 22, 2020
  60. laanwj referenced this in commit 924a4ff7eb on Oct 29, 2020
  61. jonasschnelli referenced this in commit c45e1d9aa7 on Nov 20, 2020
  62. rednil cross-referenced this on Apr 7, 2021 from issue wallet: Segmentation fault during sync by rednil
  63. MarcoFalke referenced this in commit bce09da122 on Apr 28, 2021
  64. MarcoFalke referenced this in commit eb9a1fe037 on May 7, 2021
  65. MarcoFalke referenced this in commit c857148636 on May 15, 2021
  66. rajarshimaitra referenced this in commit ac083dec34 on Aug 5, 2021
  67. bitcoin locked this on Sep 8, 2021
Labels
Linked (view graph)
#737 Deadlock during startup (Appears to be AddAddress / DNSSeed related)#829 Support for multiple local addresses#982 Startup blocks on mutex at "Loading Addresses"#999 v0.6.0rc5 segfault on initial blockchain download when out of diskspace#1065 addrMan crash on CentOS#1098 segfault in qrcode message dialog#2416 Bitcoind aborts on startup: ./db/skiplist.h:152 Assertion `n >= 0' failed.#2472 System error: database corrupted: void boost::recursive_mutex::lock(): Assertion `!pthread_mutex_lock(&m)' failed#4895 .#5633 core dumped when closing bitcoin-qt#5698 Code vulnerable to segfault after a network fork#5795 Bizarre test_bitcoin crash, but passes in debugger#5863 Add autoprune functionality#6332 Segmentation fault on bitcoind or bitcoin-qt startup (64bit Linux)#6540 scheduler_tests (currently disabled) occasionally deadlocks#8984 GUI hangs during sync#9683 gui, wallet: random abort (segmentation fault) running master/HEAD#9687 bitcoin-qt crashed in FinalizeNode()#9759 Setting -maxsigcachesize to zero causes segfault#9883 [Qt] Segfault on startup#9997 Running out of disk space during GUI init results in hang and non-drawing windows#10209 Stalled shutdown#10293 SEGV in segwit fundrawtransaction#10861 Segfault on shutdown after pressing 'q' to postpone utxo db upgrade#11355 LevelDB read failure: Corruption: block checksum mismatch#11763 deadlock on shutdown#12038 deadlock on database corruption#12279 shutdown took 8 minutes in v0.15.0.1#13316 make check fails for configure option --with-incompatible-bdb and Berkeley DB 5.3#14330 [tests] segfault during`DEBUG=1` run of existing_data_no_obfuscate locally#14349 mac: make check failure on macOS 10.14#14466 Bus error (core dumped) crash on Fedora (txindex migration?)#14923 segmentation fault on gui startup#15227 bitcoind terminated with uncaught exception if configure --debug-enabled#15310 gui: crash if encrypt / change passphrase window is open and wallet is unloaded#15379 bitcoind crashes after exception in scheduler thread#15708 bitcoin core does not compile on Solaris#16307 scheduler: crash after releasing wallet#16904 Bus error (core dumped) after "Using obfuscation key for" log line#17540 ci build fails in ./qt/test/test_bitcoin-qt on aarch64 native tsan#18362 gui: segfault unloading and immediately reloading wallet with gui#18372 sanitizer: heap-use-after-free in checkinputs_test#18913 ci: fuzz/process_message fails#18924 QT Crash when using open wallet dialog#19024 UB: double lock of mutex in init.cpp#19353 Fix mistakenly swapped "previous" and "current" lock orders#19417 Intermittent CI failure: ThreadSanitizer failure (data race) when running wallet_multiwallet.py --usecli#19448 qa: Data race detected when running `mempool_expiry.py`#20163 TSAN race after merge of #20090#20242 fuzz: Properly initialize PrecomputedTransactionData#20334 ci: fuzz/decode_tx fails#20542 Unexpected test fail: wallet/wallet.cpp:3113:51: runtime error: division by zero#20618 Data race in interface_zmq.py#21466 Avoid use of "socket" syscall when formatting IP addresses in CNetAddr::ToString#21605 wallet: Segmentation fault during sync#21632 MemorySanitizer: use-of-uninitialized-value in sqlite3BtreeOpen#21773 fuzz: Ensure prevout is consensus-valid#21802 refactor: Avoid UB in util/asmap (advance a dereferenceable iterator outside its valid range)#21948 test: Fix off-by-one in mockscheduler test RPC#22548 CheckQueue_Correct_Random data race#22588 Cirrus CI showed error in netaddress.cpp file when checking PR#23321 bitcoind segfault's while loading tr descriptor on regtest v22.0#24290 segfault when compiled with depends DEBUG=1 and libc++#24426 test: Fix intermittent Tsan issue#24819 data race in SimpleRoundTripTest logging for macOS#25077 Fix chain tip data race and corrupt rest response#25146 Starting with an unsupported wallet configured leads to a segfault (master only?)#25323 miniscript fuzzer failing after qa-assets update#25365 ThreadSanitizer: data race on vptr (ctor/dtor vs virtual call) in BaseIndex#25632 SUMMARY: ThreadSanitizer: SEGV src/index/base.cpp:388:9 in BaseIndex::SetBestBlockIndex(CBlockIndex const*)::$_1::operator()() const#25692 psbt.h:896:51: runtime error: unsigned integer overflow: 0 - 1 cannot be represented in type 'unsigned long'#25857 IBD core dumped during recursive call to CCoinsViewCache::FetchCoin (while connecting best chain tip)#26068 Segmentation fault in the scheduler thread when an index fails to commit to the db#26274 bitcoind dumps core when deriveaddresses is called with index 2147483647 (2^31-1)#26477 validation: fix broken maxtipage comparison#27222 test: use-of-uninitialized-value in sqlite3Strlen30#27354 wallet: Data race in GetOrCreateLegacyScriptPubKeyMan vs IsMine#27355 index: ThreadSanitizer: data race on vptr #27360 ci: use LLVM/clang-16 in native_asan job#27582 TSAN: lock-order-inversion (potential deadlock) in ZapSelectTx test#27922 ci: fix llvm-symbolizer in MSAN jobs#28510 migratewallet crashes on an freshly created datadir ( wallet/wallet.h:959: int wallet::CWallet::GetLastBlockHeight() const: Assertion `m_last_block_processed_height >= 0' failed.)#28665 'std::out_of_range' crash in I2P fuzz test#28917 fuzz, parse_iso8601: attempt to dereference an end-of-stream istreambuf_iterator#28918 fuzz, coinselection: Assertion 'result_bnb->GetChange(coin_params.m_cost_of_change, CAmount{0}) == 0' failed#28969 fuzz: Avoid signed-integer-overflow in wallet_notifications fuzz target#29153 new crash in v26.0#29178 ubsan: misaligned-pointer-use in crc32c/src/crc32c_arm64.cc#29767 ThreadSanitizer: data race src/flatfile.cpp:47:13 in FlatFileSeq::Open(FlatFilePos const&, bool)#29908 test: SegFault in `ismine_tests` on SunOS / illumos#30284 Mini miner `AncestorFeerateComparator` Signed Integer Overflow#30402 Illegal Instruction in `CoinStatsIndex::CustomAppend`#31234 fuzz: connman target: terminate called after throwing an instance of 'std::bad_alloc'#32173 validation: `CheckBlockIndex` crashes during block reconsideration#32780 lsan: add more Qt suppressions#32957 SegFault in QSortFilterProxyModelPrivate::build_source_to_proxy_mapping#33063 util: Revert "common: Close non-std fds before exec in RunCommandJSON"#33097 fuzz: `txgraph`: Assertion `cmp == 0' failed#33150 intermittent TSAN failure in lockmanager_tests::blockmanager_readblock_hash_mismatch#33277 intermittent Segmentation fault in mptest IPC path (callFnAsyncParams)#33964 Startup crash on macOS with GCC 15.2: `std::source_location::file_name()` is `nullptr`#34014 mptest hangs, when run in a loop#34110 scriptpubkeyman fuzz target creates Base58 too large; Fails on 32-bit (armhf, ...)#34645 oss-fuzz: coins_view_overlay: ASSERT: m_dirty_count == 0#34655 fuzz: keep `coins_view` fuzzers within caller contracts#34732 i386 segv in #0 0xf7a49ce0 in kj::operator*(kj::_::Stringifier, kj::Exception const&) (/lib/i386-linux-gnu/libkj-1.1.0.so+0x38ce0)#34734 test: Fix shutdown vptr race in BlockFilterIndexSync bench#34756 ipc: AddressSanitizer: SEGV nptl/pthread_mutex_lock.c:80:23 in __pthread_mutex_lock#34777 ipc: AddressSanitizer: heap-use-after-free in `capnp::CallContext<ipc::capnp::messages::BlockTemplate::GetBlockParams, ipc::capnp::messages::BlockTemplate::GetBlockResults>::getParams()`#34782 mptest: mp::CancelMonitor: AddressSanitizer: stack-use-after-return#34881 GCC + ASan debug builds: runtime SEGV in `sha256_sse4::Transform` on CPUs without SHA-NI#35207 tx_package_eval: Timeout in tx_package_eval#35293 kernel: btck_chainstate_manager_get_best_entry returns null after SetWipeDbs(true, true), accessors then SEGV

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:55 UTC