]> git.bitcoin.ninja Git - dnsseed-rust/log
dnsseed-rust
3 years agoWIP tokio 1 conversion 2021-08-tokio-1
Matt Corallo [Thu, 5 Aug 2021 17:00:21 +0000 (17:00 +0000)]
WIP tokio 1 conversion

3 years agoDrop memory limit. It was useful to debug OOMs but is now unnecessary master
Matt Corallo [Wed, 28 Jul 2021 14:29:02 +0000 (14:29 +0000)]
Drop memory limit. It was useful to debug OOMs but is now unnecessary

3 years agoSupport specifying the BGP peer asn on the CLI, increase max connections
Matt Corallo [Tue, 27 Jul 2021 20:47:13 +0000 (20:47 +0000)]
Support specifying the BGP peer asn on the CLI, increase max connections

3 years agoParallelize rolling filter checks/updates, reduce hashes
Matt Corallo [Tue, 27 Jul 2021 20:41:24 +0000 (20:41 +0000)]
Parallelize rolling filter checks/updates, reduce hashes

3 years agoManually unroll bloom clearing loop since LLVM doesn't do it
Matt Corallo [Wed, 14 Jul 2021 14:17:23 +0000 (14:17 +0000)]
Manually unroll bloom clearing loop since LLVM doesn't do it

3 years agoWrite to stdout all at once to reduce "flashing" on remote monitoring
Matt Corallo [Wed, 14 Jul 2021 13:55:48 +0000 (13:55 +0000)]
Write to stdout all at once to reduce "flashing" on remote monitoring

3 years agoTweak default settings slightly
Matt Corallo [Wed, 14 Jul 2021 02:16:44 +0000 (02:16 +0000)]
Tweak default settings slightly

3 years agoKeep more log lines in case of giant terminals
Matt Corallo [Tue, 13 Jul 2021 16:18:27 +0000 (16:18 +0000)]
Keep more log lines in case of giant terminals

3 years agoStore nodes that timed out in a rolling bloom filter
Matt Corallo [Tue, 13 Jul 2021 13:41:44 +0000 (13:41 +0000)]
Store nodes that timed out in a rolling bloom filter

3 years agoUse last_services to store if we ever connected
Matt Corallo [Tue, 13 Jul 2021 01:26:43 +0000 (01:26 +0000)]
Use last_services to store if we ever connected

Also drain to-test queue faster

3 years agoDecrease the size of Node from 48 to 16 (and a map entry from 72 to 36)
Matt Corallo [Mon, 12 Jul 2021 02:23:27 +0000 (02:23 +0000)]
Decrease the size of Node from 48 to 16 (and a map entry from 72 to 36)

3 years agoBump rand, drop SockAddr size by an additional 4 bytes
Matt Corallo [Mon, 12 Jul 2021 01:28:41 +0000 (01:28 +0000)]
Bump rand, drop SockAddr size by an additional 4 bytes

3 years agoBump rust-bitcoin, add addrv2
Matt Corallo [Thu, 25 Feb 2021 05:47:57 +0000 (00:47 -0500)]
Bump rust-bitcoin, add addrv2

4 years agoFewer full vec allocations
Matt Corallo [Thu, 15 Oct 2020 17:05:34 +0000 (13:05 -0400)]
Fewer full vec allocations

4 years agoOne less Vec indirection
Matt Corallo [Thu, 15 Oct 2020 17:01:22 +0000 (13:01 -0400)]
One less Vec indirection

4 years agoREADME
Matt Corallo [Mon, 7 Sep 2020 20:27:18 +0000 (16:27 -0400)]
README

4 years agoBump nodes_buff prealloc to match current avg char/line
Matt Corallo [Wed, 22 Jul 2020 18:25:16 +0000 (14:25 -0400)]
Bump nodes_buff prealloc to match current avg char/line

4 years agoPrint ASN lookups in output zonefile comments
Matt Corallo [Tue, 21 Jul 2020 23:10:58 +0000 (19:10 -0400)]
Print ASN lookups in output zonefile comments

4 years agoTry reducing memory footprint a bit further
Matt Corallo [Tue, 21 Jul 2020 19:28:25 +0000 (15:28 -0400)]
Try reducing memory footprint a bit further

4 years agoFix AS path detection
Matt Corallo [Tue, 21 Jul 2020 19:28:17 +0000 (15:28 -0400)]
Fix AS path detection

4 years agoSort fields in size order
Matt Corallo [Tue, 21 Jul 2020 18:09:28 +0000 (14:09 -0400)]
Sort fields in size order

4 years agoDont track earliest-scan-time, since we scan num/interval anyway
Matt Corallo [Tue, 21 Jul 2020 17:45:51 +0000 (13:45 -0400)]
Dont track earliest-scan-time, since we scan num/interval anyway

4 years agopre-alloc routing table
Matt Corallo [Tue, 21 Jul 2020 17:34:27 +0000 (13:34 -0400)]
pre-alloc routing table

4 years agoAdd an extra hop in the path length now that we have fewer threads
Matt Corallo [Mon, 20 Jul 2020 00:03:59 +0000 (20:03 -0400)]
Add an extra hop in the path length now that we have fewer threads

4 years agoFix BGP parameter usage
Matt Corallo [Sun, 19 Jul 2020 23:42:18 +0000 (19:42 -0400)]
Fix BGP parameter usage

4 years agoUse released bgp-rs
Matt Corallo [Sun, 19 Jul 2020 23:01:47 +0000 (19:01 -0400)]
Use released bgp-rs

4 years agoGlobablly limit alloc to 1.75GB
Matt Corallo [Sun, 19 Jul 2020 21:17:03 +0000 (17:17 -0400)]
Globablly limit alloc to 1.75GB

4 years agoDecrease thread count somewhat
Matt Corallo [Sun, 19 Jul 2020 21:15:35 +0000 (17:15 -0400)]
Decrease thread count somewhat

4 years agoUpdate to latest rust-bitcoin
Matt Corallo [Sat, 13 Jun 2020 22:09:04 +0000 (18:09 -0400)]
Update to latest rust-bitcoin

4 years agoUpdate to upstream bgp-rs
Matt Corallo [Sun, 31 May 2020 17:30:07 +0000 (13:30 -0400)]
Update to upstream bgp-rs

4 years agoFurther reduce memory in bgp_client
Matt Corallo [Thu, 5 Dec 2019 00:48:28 +0000 (19:48 -0500)]
Further reduce memory in bgp_client

4 years agoAlign routing table entries to single bytes
Matt Corallo [Thu, 5 Dec 2019 00:29:22 +0000 (19:29 -0500)]
Align routing table entries to single bytes

4 years agoImpose a max conns/sec
Matt Corallo [Tue, 3 Dec 2019 06:46:35 +0000 (01:46 -0500)]
Impose a max conns/sec

4 years agoDrop processing threads a bit
Matt Corallo [Mon, 2 Dec 2019 20:09:47 +0000 (15:09 -0500)]
Drop processing threads a bit

4 years agoMake sure we dont ever queue things twice
Matt Corallo [Mon, 2 Dec 2019 20:09:36 +0000 (15:09 -0500)]
Make sure we dont ever queue things twice

4 years agoAdd some basic COMPACT_FILTERS support
Matt Corallo [Mon, 2 Dec 2019 19:55:06 +0000 (14:55 -0500)]
Add some basic COMPACT_FILTERS support

4 years agoDrop a needless Vec
Matt Corallo [Mon, 2 Dec 2019 19:37:00 +0000 (14:37 -0500)]
Drop a needless Vec

4 years agoClean up print format
Matt Corallo [Mon, 2 Dec 2019 19:11:17 +0000 (14:11 -0500)]
Clean up print format

4 years agoFix BGP table lookup
Matt Corallo [Mon, 2 Dec 2019 18:17:11 +0000 (13:17 -0500)]
Fix BGP table lookup

4 years agoDrop Arcs around paths, and add more debug info for looked-up ASNs
Matt Corallo [Mon, 2 Dec 2019 04:40:22 +0000 (23:40 -0500)]
Drop Arcs around paths, and add more debug info for looked-up ASNs

4 years agoDrop prepends in BGP paths since it doesn't change our results
Matt Corallo [Sun, 1 Dec 2019 23:08:59 +0000 (18:08 -0500)]
Drop prepends in BGP paths since it doesn't change our results

4 years agoDrop v6 tclass and scope to cut down on mem usage a bit
Matt Corallo [Sun, 1 Dec 2019 22:31:33 +0000 (17:31 -0500)]
Drop v6 tclass and scope to cut down on mem usage a bit

4 years agoWe don't need BTreeMaps
Carl Dong [Fri, 23 Aug 2019 19:07:34 +0000 (15:07 -0400)]
We don't need BTreeMaps

5 years agoInclude debug symbols in release mode, so backtraces still work
Matt Corallo [Wed, 2 Oct 2019 01:34:17 +0000 (21:34 -0400)]
Include debug symbols in release mode, so backtraces still work

5 years agoFix a minor timing issue, load nodes at start with an old time
Matt Corallo [Wed, 2 Oct 2019 01:19:18 +0000 (21:19 -0400)]
Fix a minor timing issue, load nodes at start with an old time

5 years agoDrop the connections/sec arg and just make it fit in the interval
Matt Corallo [Wed, 18 Sep 2019 17:54:51 +0000 (13:54 -0400)]
Drop the connections/sec arg and just make it fit in the interval

5 years agoBump bgp-rs
Matt Corallo [Sat, 7 Sep 2019 04:51:27 +0000 (00:51 -0400)]
Bump bgp-rs

5 years agoSupport scanning by .onion hostname
Matt Corallo [Mon, 26 Aug 2019 20:27:19 +0000 (16:27 -0400)]
Support scanning by .onion hostname

5 years agoDont flush with a lock held
Matt Corallo [Mon, 26 Aug 2019 19:57:24 +0000 (15:57 -0400)]
Dont flush with a lock held

5 years agoAlways return two tor addresses
Matt Corallo [Mon, 26 Aug 2019 19:55:45 +0000 (15:55 -0400)]
Always return two tor addresses

5 years agoUse Option<NetworkMessage> so short buffer and unknown msg are diff
Matt Corallo [Mon, 26 Aug 2019 19:10:44 +0000 (15:10 -0400)]
Use Option<NetworkMessage> so short buffer and unknown msg are diff

5 years agoAllow up to 2 onion addresses to bypass BGP checks
Matt Corallo [Mon, 26 Aug 2019 05:13:12 +0000 (01:13 -0400)]
Allow up to 2 onion addresses to bypass BGP checks

5 years agoImplement connecting to Tor peers over SOCKS5 in Peer
Matt Corallo [Mon, 26 Aug 2019 05:02:22 +0000 (01:02 -0400)]
Implement connecting to Tor peers over SOCKS5 in Peer

5 years agoRejigger BGP timeouts
Matt Corallo [Fri, 23 Aug 2019 04:54:39 +0000 (00:54 -0400)]
Rejigger BGP timeouts

5 years agoPrint stats about routing table size in UI
Matt Corallo [Fri, 23 Aug 2019 04:50:24 +0000 (00:50 -0400)]
Print stats about routing table size in UI

5 years agoNever allow non-resolving-to-ASN IPs
Matt Corallo [Fri, 23 Aug 2019 04:39:27 +0000 (00:39 -0400)]
Never allow non-resolving-to-ASN IPs

5 years agoSelect only ASNs visible in all paths for an IP
Matt Corallo [Fri, 23 Aug 2019 04:38:47 +0000 (00:38 -0400)]
Select only ASNs visible in all paths for an IP

5 years agoBump dep
Matt Corallo [Fri, 23 Aug 2019 04:14:56 +0000 (00:14 -0400)]
Bump dep

5 years agoReset routing tables on reconnect
Matt Corallo [Fri, 23 Aug 2019 03:39:20 +0000 (23:39 -0400)]
Reset routing tables on reconnect

5 years agoAllow bgp lookups from CLI
Matt Corallo [Fri, 23 Aug 2019 01:22:56 +0000 (21:22 -0400)]
Allow bgp lookups from CLI

5 years agoFix handling failed route lookups
Matt Corallo [Fri, 23 Aug 2019 01:14:53 +0000 (21:14 -0400)]
Fix handling failed route lookups

5 years agoFix route lookup masking
Matt Corallo [Fri, 23 Aug 2019 01:01:25 +0000 (21:01 -0400)]
Fix route lookup masking

5 years agoAvoid storing unused attrs
Matt Corallo [Fri, 23 Aug 2019 00:51:29 +0000 (20:51 -0400)]
Avoid storing unused attrs

5 years agopanic = abort on debug, too
Matt Corallo [Fri, 23 Aug 2019 00:19:36 +0000 (20:19 -0400)]
panic = abort on debug, too

5 years agoFilter DNS results by common ASN
Matt Corallo [Fri, 23 Aug 2019 00:19:24 +0000 (20:19 -0400)]
Filter DNS results by common ASN

5 years agoSplit DNS results writing and data store writing
Matt Corallo [Thu, 22 Aug 2019 21:41:55 +0000 (17:41 -0400)]
Split DNS results writing and data store writing

5 years agoHold the nodes lock less while writing DNS
Matt Corallo [Thu, 22 Aug 2019 21:28:57 +0000 (17:28 -0400)]
Hold the nodes lock less while writing DNS

5 years agoDetect some simple classes of evil spy nodes
Matt Corallo [Wed, 21 Aug 2019 22:29:38 +0000 (18:29 -0400)]
Detect some simple classes of evil spy nodes

5 years agoBump bitcoin{,_hashes}
Matt Corallo [Fri, 16 Aug 2019 23:12:12 +0000 (19:12 -0400)]
Bump bitcoin{,_hashes}

5 years agoAdd a category for timedout pong
Matt Corallo [Mon, 10 Jun 2019 10:38:02 +0000 (06:38 -0400)]
Add a category for timedout pong

5 years agoFix some printing for new rules
Matt Corallo [Mon, 10 Jun 2019 10:21:07 +0000 (06:21 -0400)]
Fix some printing for new rules

5 years agoDrop unrequested tx peers,, request ping/pong cycle
Matt Corallo [Mon, 10 Jun 2019 10:10:44 +0000 (06:10 -0400)]
Drop unrequested tx peers,, request ping/pong cycle

5 years agoBump rust-bitcoin dep
Matt Corallo [Mon, 10 Jun 2019 10:10:28 +0000 (06:10 -0400)]
Bump rust-bitcoin dep

5 years agoRequest 216, not 1008 blocks ago
Matt Corallo [Wed, 5 Jun 2019 09:24:35 +0000 (05:24 -0400)]
Request 216, not 1008 blocks ago

5 years agoEnsure we always hit our scan target, if only UNTESTED are avail
Matt Corallo [Mon, 3 Jun 2019 19:22:43 +0000 (15:22 -0400)]
Ensure we always hit our scan target, if only UNTESTED are avail

5 years agoRequire some number of addrs to count, not just one
Matt Corallo [Mon, 3 Jun 2019 18:38:35 +0000 (14:38 -0400)]
Require some number of addrs to count, not just one

5 years agoTrack which element timeout was hit for in different categories
Matt Corallo [Mon, 3 Jun 2019 11:59:48 +0000 (07:59 -0400)]
Track which element timeout was hit for in different categories

5 years agoClose recv stream after receiving block
Matt Corallo [Sun, 2 Jun 2019 18:33:19 +0000 (14:33 -0400)]
Close recv stream after receiving block

5 years agoFix split point calculation
Matt Corallo [Sun, 2 Jun 2019 14:41:11 +0000 (10:41 -0400)]
Fix split point calculation

5 years agoPrint scan set len on new scan set
Matt Corallo [Sun, 2 Jun 2019 14:28:27 +0000 (10:28 -0400)]
Print scan set len on new scan set

5 years agoMake good_node_services a Vec, not HashMap<u8, >...cause, duh
Matt Corallo [Sun, 2 Jun 2019 10:06:37 +0000 (06:06 -0400)]
Make good_node_services a Vec, not HashMap<u8, >...cause, duh

5 years agoDrop nodes mutex before shuffling result
Matt Corallo [Sun, 2 Jun 2019 09:56:54 +0000 (05:56 -0400)]
Drop nodes mutex before shuffling result

5 years agoConvert state_next_scan to vec to make addr prioritization determ.
Matt Corallo [Mon, 27 May 2019 23:53:36 +0000 (19:53 -0400)]
Convert state_next_scan to vec to make addr prioritization determ.

5 years agoAlways print result of manual scan
Matt Corallo [Mon, 27 May 2019 23:41:12 +0000 (19:41 -0400)]
Always print result of manual scan

5 years agoUse more threads to avoid locks blocking all progress
Matt Corallo [Sun, 26 May 2019 18:03:35 +0000 (14:03 -0400)]
Use more threads to avoid locks blocking all progress

5 years agoBump bitcoin dep
Matt Corallo [Thu, 23 May 2019 17:18:53 +0000 (13:18 -0400)]
Bump bitcoin dep

5 years agoFix manual scan
Matt Corallo [Thu, 23 May 2019 00:52:21 +0000 (20:52 -0400)]
Fix manual scan

5 years agoBump rust-bitcoin with better ser/deser
Matt Corallo [Wed, 22 May 2019 22:28:01 +0000 (18:28 -0400)]
Bump rust-bitcoin with better ser/deser

5 years agopanic = abort
Matt Corallo [Wed, 22 May 2019 19:41:18 +0000 (15:41 -0400)]
panic = abort

5 years agocompare to known-good copy of blocks instead of checking merkle roots
Matt Corallo [Wed, 22 May 2019 19:36:49 +0000 (15:36 -0400)]
compare to known-good copy of blocks instead of checking merkle roots

5 years agoPrint timeout during request too
Matt Corallo [Wed, 22 May 2019 16:54:29 +0000 (12:54 -0400)]
Print timeout during request too

5 years agoPrint more lines of log
Matt Corallo [Tue, 21 May 2019 19:25:52 +0000 (15:25 -0400)]
Print more lines of log

5 years agoRegularly poll other dnsseeds for new addrs
Matt Corallo [Tue, 21 May 2019 19:25:33 +0000 (15:25 -0400)]
Regularly poll other dnsseeds for new addrs

5 years agoPreallocate the header maps
Matt Corallo [Tue, 21 May 2019 15:19:06 +0000 (11:19 -0400)]
Preallocate the header maps

5 years agoNever run the scan loop more than once every 15 seconds
Matt Corallo [Tue, 21 May 2019 15:07:53 +0000 (11:07 -0400)]
Never run the scan loop more than once every 15 seconds

5 years agoSend trusted peer a sendheaders
Matt Corallo [Tue, 21 May 2019 14:53:29 +0000 (10:53 -0400)]
Send trusted peer a sendheaders

5 years agoDont ever run two scan threads
Matt Corallo [Tue, 21 May 2019 14:35:18 +0000 (10:35 -0400)]
Dont ever run two scan threads

5 years agoFix printing Good on not-Good
Matt Corallo [Tue, 21 May 2019 03:59:35 +0000 (23:59 -0400)]
Fix printing Good on not-Good

5 years agoAlways get 30 seconds of nodes to scan at a time
Matt Corallo [Tue, 21 May 2019 03:19:08 +0000 (23:19 -0400)]
Always get 30 seconds of nodes to scan at a time

5 years agoBetter log messages
Matt Corallo [Tue, 21 May 2019 02:46:03 +0000 (22:46 -0400)]
Better log messages