2016-11-23 01:56:49 +00:00
|
|
|
======================
|
|
|
|
Blocklist in News Feed
|
|
|
|
======================
|
|
|
|
.. meta::
|
|
|
|
:author: zzz
|
|
|
|
:created: 2016-11-23
|
|
|
|
:thread: http://zzz.i2p/topics/2191
|
2016-12-02 15:47:46 +00:00
|
|
|
:lastupdated: 2016-12-02
|
|
|
|
:status: Closed
|
2016-12-02 15:51:56 +00:00
|
|
|
:target: 0.9.28
|
|
|
|
:implementedin: 0.9.28
|
2016-11-23 01:56:49 +00:00
|
|
|
|
|
|
|
.. contents::
|
|
|
|
|
|
|
|
|
|
|
|
Overview
|
|
|
|
========
|
|
|
|
|
2016-11-24 14:05:02 +00:00
|
|
|
This proposal is to distribute blocklist updates in the news file,
|
|
|
|
which is distributed in signed su3 format.
|
2016-12-02 15:47:46 +00:00
|
|
|
Implemented in 0.9.28.
|
2016-11-23 01:56:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
Motivation
|
|
|
|
==========
|
|
|
|
|
|
|
|
Without this, the blocklist is only updated in the release.
|
|
|
|
Uses existing news subscription.
|
|
|
|
This format could be used in various router implementations, but only the Java router
|
|
|
|
uses the news subscription now.
|
|
|
|
|
|
|
|
|
|
|
|
Design
|
|
|
|
======
|
|
|
|
|
2016-11-24 14:05:02 +00:00
|
|
|
Add a new section to the news.xml file.
|
2016-11-23 01:56:49 +00:00
|
|
|
Allow blocking by IP or router hash.
|
2016-11-24 14:05:02 +00:00
|
|
|
The section will have its own time stamp.
|
|
|
|
Allow for unblocking of previously-blocked entries.
|
|
|
|
|
2016-11-23 01:56:49 +00:00
|
|
|
Include a signature of the section, to be specified.
|
2016-11-24 14:05:02 +00:00
|
|
|
The signature will cover the time stamp.
|
2016-11-23 01:56:49 +00:00
|
|
|
The signature must be verifed on import.
|
2016-11-24 14:05:02 +00:00
|
|
|
The signer will be specified and may be different from the su3 signer.
|
|
|
|
Routers may use a different trust list for the blocklist.
|
2016-11-23 01:56:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
Specification
|
|
|
|
=============
|
|
|
|
|
2016-11-24 14:05:02 +00:00
|
|
|
Now on the router update specification page.
|
2016-11-23 01:56:49 +00:00
|
|
|
|
|
|
|
Entries are either a literal IPv4 or IPv6 address,
|
|
|
|
or a 44-character base64-encoded router hash.
|
2016-11-24 14:05:02 +00:00
|
|
|
IPv6 addresses may be in abbreviated format (containing "::").
|
2016-11-23 01:56:49 +00:00
|
|
|
Support for blocking with a net mask, e.g. x.y.0.0/16, is optional.
|
2016-11-24 14:05:02 +00:00
|
|
|
Support for host names is optional.
|
2016-11-23 01:56:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
Migration
|
|
|
|
=========
|
|
|
|
|
|
|
|
Routers that don't support this will ignore the new XML section.
|
|
|
|
|
|
|
|
|
|
|
|
See Also
|
|
|
|
========
|
|
|
|
|
|
|
|
Proposal 130
|