diff --git a/doc/proto_v0.txt b/doc/proto_v0.txt index 411aedfac..e340d3a47 100644 --- a/doc/proto_v0.txt +++ b/doc/proto_v0.txt @@ -88,6 +88,20 @@ bencoded form: d1:ci1e1:d3:iwp1:e32:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa1:d3:iwp1:i15:123.123.123.1231:pi1234e1:vi0ee +Traffic Policy (TP) + +Traffic policy (TP) defines port, protocol and QoS/drop policy. + +{ + a: protocol_integer, + b: port_integeger, + d: drop_optional_integer, + v: 0 +} + +drop d is set to 1 to indicate that packets of protocol a with source port b will be dropped. +if d is 0 or not provided this traffic policy does nothing. + Exit Info (XI) An exit info (XI) defines a exit address that can relay exit traffic to the @@ -97,6 +111,7 @@ internet. a: "", b: "", k: "<32 bytes public encryption/signing key>", + p: [ list, of, traffic, policies], v: 0 }