51 Commits

Author SHA1 Message Date
Lee Smet
430b7f9a79 Remove NoRoute status for subnets
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2026-03-10 13:43:09 +01:00
Lee Smet
39c01eba41 Keep track of forwarded packets/bytes by src/dst IP
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2026-01-28 16:28:35 +01:00
Lee Smet
152ee4d297 Add proxy docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-09-19 11:24:40 +02:00
Lee Smet
93dd8452a5 Add API documentation for new proxy API methods
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-09-19 11:24:40 +02:00
Lee Smet
a17cecb7b2 Conditionally compile message forwarding
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
847b7213d1 Update docs to reflect new message configuration
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
18865a046c Fix API docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
296552230c Add topic related API methods
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
77e00b01e2 Fix build if message feature is disabled
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
7541b2655e Initial openrpc API implementation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
8b3e71fad8 Add NoRoute API handler to docs.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
15472959bd Fix fallback route handler operation id in api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
dd434aea75 Add queried subnets API endpoint to api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Lee Smet
4b44c74371 Format API docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-24 14:23:15 +02:00
Maxime Van Hees
959cc7fd44 Fixed operation id in API docs 2024-05-31 13:42:21 +02:00
Maxime Van Hees
2ce576093d added api endpoint to get public key associated with an IP 2024-05-31 13:42:21 +02:00
Lee Smet
489ffa9c2d Update private network docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-05-28 13:31:30 +02:00
Lee Smet
52fd6b5b62 Update flag name in private_network_docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-04-15 16:33:03 +02:00
Lee Smet
7f65a9bb7e Add supported TLS algorithms to docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-04-11 16:00:34 +02:00
Lee Smet
de60537d0e Add some private network documentation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-04-11 16:00:34 +02:00
Lee Smet
6ecb37628f Close #174: Reduce size field in datapacket header
Reduce the size from 19 to 16 bits

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-03-26 11:48:36 +01:00
Lee Smet
e69aecceef Load peer counters from peer manager
Don't load the counters from the peer itself, since they are now also
tracked on the peer manager. Additionally, this means we don't have to
save them on the peer itself anymore.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-03-15 15:17:51 +01:00
Lee Smet
26819c2953 Expose API method to remove existing peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 17:20:06 +01:00
Lee Smet
a8122f8621 Fix operationId typo for addPeer in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 16:01:41 +01:00
Lee Smet
c26d8f8812 Expose API method to add new peer
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 15:58:00 +01:00
Lee Smet
e2d1c52231 Add get_info endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:45:49 +01:00
Lee Smet
aca36211ca Correct get peers path in docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-27 11:30:12 +01:00
Florian Klink
f1b785c42d fix some typos, update example IPs to 400:/7 subnet 2024-02-26 20:55:47 +02:00
Lee Smet
b61581d52d Add get_fallback_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:48:32 +01:00
Lee Smet
38df75fd28 Add get_selected_routes endpoint to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 15:07:50 +01:00
Lee Smet
a24ed4f0b1 Add Route tag to docs/api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-26 12:11:17 +01:00
Lee Smet
f8bc7f976f Document get_peers method in API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-23 16:08:10 +01:00
Lee Smet
eb3b454dd4 Close #126: Increase packet length field size
This increases the potential max size of packet to 512K, in case we ever
want to enable TSO/GSO/GRO.

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2024-02-21 12:09:20 +01:00
a-kenji
8fa6c830fb Fix various typos 2024-02-20 11:23:09 +01:00
Lee Smet
f8f146502a Fix typo in data_packet docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-12-01 15:59:13 +01:00
Lee Smet
17ac202d40 Close #80: Keep track of TTL for data packets
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-12-01 11:51:32 +01:00
Lee Smet
7991f4b36e Fix typo in packet docs
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-27 13:27:23 +01:00
Lee Smet
d1ff31b084 Clsoe #62: Make topic part of init packet
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-15 15:46:50 +01:00
Lee Smet
5d3130c91c Add basic docs about the current message system
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-03 17:53:53 +01:00
Lee Smet
0444ef0dfa Update api.yaml
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-03 17:32:17 +01:00
Lee Smet
aac6081e6e Add reply methods to API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-11-02 17:46:33 +01:00
Lee Smet
7d4628a295 Fix api doc LICENSE link
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 16:12:07 +02:00
Lee Smet
d0c8a813d5 Allow long poll when reading new messages
Also unify the peek and pop handlers

Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 15:45:51 +02:00
Lee Smet
def11c5a6e Make status variable of message lowercase in API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:08:06 +02:00
Lee Smet
b01d7f0fb3 Allow sending messages to public keys as well
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 13:05:33 +02:00
Lee Smet
c653c6be23 Add SRC and DST IP when peeking/popping message
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:37:37 +02:00
Lee Smet
08db57a6a0 Update message API doc paths
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-27 11:05:33 +02:00
Lee Smet
94eb831227 Add initial API spec
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-10-26 13:54:36 +02:00
Lee Smet
352f2f2903 Add protocol version in packet header
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-09-25 16:14:35 +02:00
Lee Smet
188415b6de Add basic DataPacket documentation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2023-09-21 17:15:01 +02:00