Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rtradeltd/go-libp2p-fw

experimental libp2p firewall
https://github.com/rtradeltd/go-libp2p-fw

firewall golang ipfs libp2p traffic-filtering

Last synced: 18 days ago
JSON representation

experimental libp2p firewall

Awesome Lists containing this project

README

        

# go-libp2p-fw

`libfw` is an experimental go-libp2p firewalled swarm implementation. The end result should be a go-libp2p swarm, as a drop in replacement for `go-libp2p-swarm`, with the ability for fine-grained control over traffic.

Currently traffic rules are processed on a first-match wins basis. This allows for the ordering of higher priority rules that will trigger first. Rules start off at number 0, and increase in count. A rule with priority 10, will be matched before a rule with priority 0

# TODOs

* Enable different types of filters:
* PeerID
* Protocol ID
* IPv4, IPv6 Addresses
* Enable flow control:
* Inbound
* Outbound
* Inbound + Outbound
* Relay