Commit graph

108 commits

Author SHA1 Message Date
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
Pieter Wuille
11e935b720 Avoid circular references 2015-03-07 04:03:08 -08: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
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
Luke Dashjr
c4930f3312 Remember the last successful poll time for each node 2013-04-15 03:15:53 +00:00
Luke Dashjr
d7f5c245a3 Update required height to 230k 2013-04-15 02:52:57 +00:00
Luke Dashjr
d8e20ba484 Check for required block height in IsGood to ensure nodes not meeting the requirement are indexed properly 2013-04-15 02:47:01 +00:00
Luke Dashjr
89fb42ed4c Revert "Require startingheight >= 230000"
This reverts commit e4330f9be4.
2013-04-15 02:03:25 +00:00
Pieter Wuille
e4330f9be4 Require startingheight >= 230000 2013-04-14 19:25:10 +02: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
3f44b0ae3d Remove weird 10% inverted selection logic 2013-04-13 21:46:19 +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
Pieter Wuille
d25302b565 Change ignore policy 2013-02-24 20:55:32 +01:00