Commit graph

68 commits

Author SHA1 Message Date
Andrea Suisani
9e4e6342b7
thisflag should be declared as FlagSpecificData reference
With the current code there's now way that the seeder
returns peers addresses upon dns requests.

Thanks to @gandrewstone for good catch.
2017-01-13 00:04:09 +01:00
Pieter Wuille
d5764c9149 Fix per-flag-cache size tracking 2016-10-29 12:15:18 -07:00
Peter Todd
0984caca2a
Fix -w option 2016-06-14 23:53:20 -04:00
Pieter Wuille
fa2aa348c8 Improve filter whitelist 2016-06-07 18:55:16 +02:00
Pieter Wuille
ab0ac73e5f
Merge #36: Add support to filter nodes by node flags
c9679dc Add whitelist for service filter, use a map for cacheTime (Jonas Schnelli)
5c8b9e3 IP-Query: Use a vector instead a set and random pick an IP (Jonas Schnelli)
839db15 Add support to filter nodes by node flags (Jonas Schnelli)
2016-06-07 17:57:12 +02:00
Jonas Schnelli
c9679dc98e
Add whitelist for service filter, use a map for cacheTime 2016-06-03 17:53:03 +02:00
Pieter Wuille
e27d6c5b3d Adjust protocol timeouts 2016-05-31 22:07:07 +02:00
Jonas Schnelli
839db157f9
Add support to filter nodes by node flags 2016-05-27 16:22:42 +02:00
Pieter Wuille
e7ab039041
Merge #31: Longer TTL
1763253 Longer TTL (Pieter Wuille)
2016-05-26 15:51:27 +02:00
Pavel Vasin
f0c8b87a07 require e-mail address if dns is enabled
Writing SOA record will cause nullptr dereference if it's not specified.
2015-08-03 22:04:20 +03:00
Pieter Wuille
a59329d936
Merge pull request #19
bb53306 dns: listen on ipv6 (Pavel Vasin)
34fd288 remove option to build without ipv6 support (Pavel Vasin)
2015-07-29 15:55:49 +02:00
Pieter Wuille
5be5b37a83 Fixup 2015-07-29 15:34:23 +02:00
Pieter Wuille
17632535ca Longer TTL 2015-07-29 15:19:21 +02:00
Pieter Wuille
589fcd6ee2
Merge pull request #29
23aa36a indicate that IPv4/IPv6 proxy use SOCKS5 protocol (Jonas Schnelli)
134a393 add support for IPV6 proxy (Jonas Schnelli)
1d9d182 add support for IPV4 proxy (Jonas Schnelli)
6e5a391 avoid connecting to non valid ipv4 ranges (>=240.0.0.0) (Jonas Schnelli)
2015-07-29 14:54:37 +02:00
Jonas Schnelli
23aa36ad40 indicate that IPv4/IPv6 proxy use SOCKS5 protocol 2015-07-27 11:49:51 +02:00
Jonas Schnelli
134a393d1d add support for IPV6 proxy 2015-07-26 17:32:05 +02:00
Jonas Schnelli
1d9d182b2b add support for IPV4 proxy
- this will allow crawling over TOR
2015-07-20 13:55:21 +02:00
Peter Todd
01c6b4e4c2
Update list of testnet seeds 2015-06-20 18:21:06 -04:00
Pavel Vasin
34fd2888bb remove option to build without ipv6 support 2014-07-21 15:59:25 +04:00
Roman Mindalev
69a942b4e9 Crawler thread should know amount of threads for correct sleep 2013-08-09 12:28:52 +04:00
Roman Mindalev
a5cb7553a2 Correct number of threads in built-in help 2013-08-09 11:59:34 +04:00
Pieter Wuille
562d95e6ca Add missing opts initializers 2013-07-15 13:06:44 +02:00
Peter Todd
003a3a1547 Add support for testnet 2013-07-15 06:49:48 -04:00
Pieter Wuille
966d040f8d Only poll nodes once a week for new addresses 2013-04-25 01:55:26 +02:00
Pieter Wuille
b735e5f1ff Use smaller stack for crawler threads 2013-04-17 16:01:25 +02:00
Pieter Wuille
78b646d874 Improved dump formatting 2013-04-15 14:45:31 +02:00
Pieter Wuille
915ce6317f Merge pull request #9 from luke-jr/more_detail
More detail
2013-04-15 05:06:51 -07:00
Pieter Wuille
9943b90c54 Gradually decrease dump frequency 2013-04-15 12:01:32 +02:00
Luke Dashjr
e3a5f2f325 DUMP FORMAT CHANGE: Include service flags in dnsseed.dump as hex 2013-04-15 03:32:56 +00:00
Luke Dashjr
bfc7d2f9ef DUMP FORMAT CHANGE: Include "good" flag in dnsseed.dump 2013-04-15 03:21:27 +00:00
Luke Dashjr
9856ac750e DUMP FORMAT CHANGE: Include last successful poll time in dnsseed.dump 2013-04-15 03:16:26 +00:00
Pieter Wuille
0270a013fb Remove O(n) selection logic 2013-04-13 22:47:21 +02:00
Pieter Wuille
13b26a896d CServiceResult and batch scanning 2013-04-13 22:47:21 +02:00
Pieter Wuille
321b221a34 Start DNS threads first 2013-04-13 22:47:20 +02:00
Pieter Wuille
9b9f0e89d8 Change default threads 2013-04-13 21:46:49 +02:00
Pieter Wuille
5df66a2212 bugfix: initialize tor to NULL 2013-04-13 21:34:57 +02:00
Pieter Wuille
2f65b2adaa Do not rewrite dumpfile before blocking 2013-02-24 20:55:32 +01:00
Mark Friedenbach
6ae3073173 Don't setup TOR proxy unless TOR proxy address is specified on the command-line, otherwise a segfault occurs. 2012-10-09 14:26:33 -07:00
Pieter Wuille
2c1cd71d39 Write+move instead of rewrite for dnsseed.dat 2012-09-30 22:02:41 +02:00
Pieter Wuille
9e238be677 Merge pull request #4 from luke-jr/bugfix_sigpipe
Bugfix: Ignore SIGPIPE (was causing bitcoin-seeder to exit abruptly)
2012-06-21 03:29:46 -07:00
Luke Dashjr
8f15960242 Bugfix: Ignore SIGPIPE (was causing bitcoin-seeder to exit abruptly) 2012-06-21 02:09:05 +00:00
Luke Dashjr
ab3edbea18 Bugfix: Use ANSI/VT100 codes to update status line in a way that actually works 2012-06-03 16:04:12 +00:00
Pieter Wuille
7cccaba343 wipe ban/ignore optional, tor configurable 2012-05-30 19:13:00 +02:00
Pieter Wuille
688c68aca4 less banning, more ignoring 2012-05-30 16:51:44 +02:00
Pieter Wuille
9e25ed4ab6 tor support 2012-05-26 11:28:29 +02:00
Pieter Wuille
8530bfa64d fix infinite loop AAAA requests 2012-05-26 00:09:07 +02:00
Pieter Wuille
2b29f0a760 add startingheight to output 2012-05-25 16:08:59 +02:00
Pieter Wuille
ff1515d9fe fix AAAA record replies 2012-05-25 15:59:10 +02:00
Pieter Wuille
309d8ee0ae IPv6/AAAA record support 2012-05-25 15:41:27 +02:00
Pieter Wuille
54fb24d7c3 Multiple DNS threads 2012-05-04 01:15:49 +02:00