Skip to content

Commit

Permalink
backport RC_1_2: unban 51.x.x.x from dht darknet list
Browse files Browse the repository at this point in the history
  • Loading branch information
ajax16384 authored and arvidn committed Aug 2, 2019
1 parent 03ffc04 commit d4ddc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kademlia/dht_tracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ namespace libtorrent { namespace dht {
// these are class A networks not available to the public
// if we receive messages from here, that seems suspicious
static std::uint8_t const class_a[] = { 3, 6, 7, 9, 11, 19, 21, 22, 25
, 26, 28, 29, 30, 33, 34, 48, 51, 56 };
, 26, 28, 29, 30, 33, 34, 48, 56 };

if (std::find(std::begin(class_a), std::end(class_a), b[0]) != std::end(class_a))
{
Expand Down

0 comments on commit d4ddc41

Please sign in to comment.