Commit graph

121 commits

Author SHA1 Message Date
Pieter Wuille
1a33b78801
Merge pull request #33
f0c8b87 require e-mail address if dns is enabled (Pavel Vasin)
2015-08-04 18:57:05 +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
69436e5f4b
Merge pull request #32
5be5b37 Fixup (Pieter Wuille)
2015-07-29 15:35:35 +02:00
Pieter Wuille
5be5b37a83 Fixup 2015-07-29 15:34:23 +02:00
Pieter Wuille
5b5a942b1f
Merge pull request #30
98f98c2 Update version/height requirements (Pieter Wuille)
2015-07-29 15:17:46 +02:00
Pieter Wuille
98f98c2a3a Update version/height requirements 2015-07-29 15:16:26 +02:00
Pieter Wuille
75f2662406
Merge pull request #13
c11d7ed Add size specifier to BITCOIN_SEED_NONCE (Wladimir J. van der Laan)
2015-07-29 15:09:51 +02:00
Pieter Wuille
8ca655cd78
Merge pull request #23
9b49b9f Add compilation instructions. (Eric Martindale)
2015-07-29 14:58:06 +02:00
Pieter Wuille
5b36c248f5
Merge pull request #27
5eca8e2 Fix negative responses (Peter Todd)
2015-07-29 14:57:11 +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
Jonas Schnelli
6e5a39185e avoid connecting to non valid ipv4 ranges (>=240.0.0.0) 2015-07-18 20:43:24 +02:00
Peter Todd
5eca8e269a
Fix negative responses
Previously if the resolver was asked for a record it didn't have, it would
return a response with a NS record in the authority section.  This is
incorrect, as the lack of answer indicates to the resolver that it should try
that NS record as the next step, resulting in a loop:

    $ dig @8.8.8.8 rbf-seed.btc.petertodd.org TXT +trace

    <snip>

    rbf-seed.btc.petertodd.org. 300 IN      NS      rbf-seed-ns1.btc.petertodd.org.
    rbf-seed.btc.petertodd.org. 300 IN      NS      rbf-seed-ns2.btc.petertodd.org.
    ;; Received 141 bytes from 205.251.193.174#53(ns-430.awsdns-53.com) in 426 ms

    rbf-seed.btc.petertodd.org. 40000 IN    NS      rbf-seed-ns2.btc.petertodd.org.
    ;; BAD (HORIZONTAL) REFERRAL
    ;; Received 88 bytes from 185.52.1.173#53(rbf-seed-ns2.btc.petertodd.org) in 108 ms

    rbf-seed.btc.petertodd.org. 40000 IN    NS      rbf-seed-ns2.btc.petertodd.org.
    ;; BAD (HORIZONTAL) REFERRAL
    ;; Received 88 bytes from 185.52.1.173#53(rbf-seed-ns2.btc.petertodd.org) in 108 ms

    <snip>

    rbf-seed.btc.petertodd.org. 40000 IN    NS      rbf-seed-ns2.btc.petertodd.org.
    ;; BAD (HORIZONTAL) REFERRAL
    dig: too many lookups

The correct response in the authority section of a negative response is a SOA
record, which indicates that the answer is authoritative and the resolver can
consider the record missing and stop looking for it:

    $ dig @8.8.8.8 rbf-seed.btc.petertodd.org TXT +trace

    <snip>

    rbf-seed.btc.petertodd.org. 300 IN      NS      rbf-seed-ns1.btc.petertodd.org.
    rbf-seed.btc.petertodd.org. 300 IN      NS      rbf-seed-ns2.btc.petertodd.org.
    ;; Received 141 bytes from 205.251.196.185#53(ns-1209.awsdns-23.org) in 740 ms

    rbf-seed.btc.petertodd.org. 40000 IN    SOA     rbf-seed-ns1.btc.petertodd.org. pete.petertodd.org. 1435846201 604800 86400 2592000 604800
    ;; Received 128 bytes from 104.236.95.174#53(rbf-seed-ns1.btc.petertodd.org) in 31 ms

There have been a few reports of problems resolving seed domains on some
ISPs - hopefully this was the root cause.
2015-07-02 09:58:14 -04:00
Pieter Wuille
85fb114ed5
Merge pull request #25
7a79dca Add dependencies to README (Peter Todd)
2015-06-21 15:12:55 +02:00
Pieter Wuille
98557c252b
Merge pull request #26
01c6b4e Update list of testnet seeds (Peter Todd)
2015-06-21 15:12:24 +02:00
Peter Todd
01c6b4e4c2
Update list of testnet seeds 2015-06-20 18:21:06 -04:00
Peter Todd
7a79dcac51
Add dependencies to README 2015-06-20 18:17:06 -04:00
Eric Martindale
9b49b9f2a0 Add compilation instructions. 2015-03-31 17:19:53 +00:00
Pieter Wuille
11e935b720 Avoid circular references 2015-03-07 04:03:08 -08:00
Pavel Vasin
bb53306a2e dns: listen on ipv6 2014-07-21 15:59:25 +04:00
Pavel Vasin
34fd2888bb remove option to build without ipv6 support 2014-07-21 15:59:25 +04:00
Pieter Wuille
7fedc639db Merge pull request #17 from erkmos/macfixes
removed redundant insert and added a missing define on mac os x
2014-03-24 22:25:57 +01:00
Erik Mossberg
8eac14158b removed redundant insert and added a missing define on mac os x 2014-03-24 22:17:43 +01:00
Wladimir J. van der Laan
c11d7ed921 Add size specifier to BITCOIN_SEED_NONCE
This was causing warnings when compiling on 32-bit.
2013-11-20 08:29:04 +01:00
Pieter Wuille
9844652e6b
Merge pull request #12
bc43d4c Add .gitignore (Peter Todd)
2013-10-12 21:41:30 +02:00
Peter Todd
bc43d4cbfb
Add .gitignore 2013-10-12 15:39:31 -04:00
Pieter Wuille
4c1171d9a3 Merge pull request #11 from r000n/master
Small fixes
2013-08-09 04:54:07 -07: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
Roman Mindalev
30b80788f7 RequireHeight differs for mainnet and testnet 2013-08-09 11:25:54 +04:00
Pieter Wuille
562d95e6ca Add missing opts initializers 2013-07-15 13:06:44 +02:00
Pieter Wuille
ce778853ed Merge pull request #7 from petertodd/testnet
Add support for testnet
2013-07-15 03:53:43 -07:00
Peter Todd
003a3a1547 Add support for testnet 2013-07-15 06:49:48 -04:00
Pieter Wuille
8dcc006e62 Bugfix: case-insensitive hostname matching 2013-07-15 12:20:36 +02:00
Pieter Wuille
dc4d06e568 heuristics update 2013-06-09 09:31:39 +02:00
Pieter Wuille
f5e94ac5fd Use more standard CXXFLAGS 2013-04-28 03:22:56 +02:00
Pieter Wuille
7552cbcc47 Ignore nonzero Z in requests 2013-04-28 03:22:22 +02:00
Pieter Wuille
966d040f8d Only poll nodes once a week for new addresses 2013-04-25 01:55:26 +02:00
Pieter Wuille
a8d711b832 Use correct reply size in DNS packets 2013-04-18 09:36:41 +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
Pieter Wuille
e1876bf199 Merge pull request #8 from luke-jr/bugfix_lowheight
Include low-height nodes in dnsseed.dump
2013-04-15 01:57:08 -07: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