openethereum/util
Joseph Mark b5f1524e78 Refactor --allow-ips to handle custom ip-ranges (#6144)
* Add checks for additional reserved ip addresses

100.64.0.0/10 and 240.0.0.0/4 are both reserved but not currently
filtered.

* Add check for special purpose addresses

192.0.0.0/24 - Used for the IANA IPv4 Special Purpose Address Registry

* Refactor ip_utils (#5872)

* Add checks for all ipv4 special use addresses
* Add comprehensive ipv4 test cases

* Refactor Ipv6 address checks (#5872)

* Refactor AllowIP (#5872)

* Add IpFilter struct to wrap predefined filter (AllowIP) with custom
allow/block filters.
* Refactor parsing of --allow-ips to handle custom filters.
* Move AllowIP/IpFilter from ethsync to ethcore-network where they
are used.

* Revert Cargo.lock

* Tests for custom ip filters (#5872)

* Add "none" as a valid argument for --allow-ips to allow narrow
custom ranges, eg.: --allow-ips="none 10.0.0.0/8"
* Add tests for parsing filter arguments and node endpoints.
* Add ipnetwork crate to dev dependencies for testing.

* Add ipv6 filter tests (#5872)

* Revert parity-ui-precompiled to master

* Fix minor detail in usage.txt (#5872)

* Spaces to tabs

* Rename IpFilter::new() to ::default()

* Small readability improvements

* Test (#5872)

* Revert "Test (#5872)"

This reverts commit 7a8906430a6dad633fe29df3dca57f1630851fa9.
2017-07-28 19:06:39 +02:00
..
benches bigint upgraded to version 3.0 (#5986) 2017-07-06 11:26:14 +02:00
bigint Initial Whisper implementation (#6009) 2017-07-14 20:40:28 +02:00
bloom Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
fetch Refactor price_info (#6003) 2017-07-16 18:22:45 +02:00
io Bumped version 2017-07-13 15:52:01 +02:00
network Refactor --allow-ips to handle custom ip-ranges (#6144) 2017-07-28 19:06:39 +02:00
path splitting part of util into smaller crates (#4956) 2017-03-22 06:23:40 +01:00
reactor Updating JSON-RPC crates (#4934) 2017-03-22 07:02:14 +01:00
rlp Tendermint epoch transitions (#6085) 2017-07-26 16:25:32 +01:00
sha3 Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
src light client fixes (#6148) 2017-07-26 15:48:00 +02:00
stats use new histogram/corpus 2017-02-17 16:18:31 +01:00
table Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
using_queue Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
build.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
Cargo.toml Bumped version 2017-07-13 15:52:01 +02:00