Skip to main content

Remote firewall as a web service. REST API for iptables.

Project description

Remote firewall as a web service.

rfw is the RESTful server which applies iptables rules to block or allow IP addresses on request from a remote client. rfw maintains the list of blocked IP addresses which may be updated on the fly from many sources. rfw also solves the problem of concurrent modifications to iptables since the requests are serialized.

Typical use cases

  1. You manage a group of machines which are deployed/controlled/monitored from a central server or admin panel. You need to react quickly/automatically to abuse/DDOS with the rules generated by the intelligence/analytics/geolocation-aware server. You push the IP blocklist updates to other machines in real time.

  2. You build the Peer-to-Peer network of servers or Distributed Autonomous Organization (see Ethereum). The DAO, apart from running contracts on Ethereum, may need to run a P2P network. The servers cannot rely on the centralized firewall. With rfw the peer servers can share info about botnet IP sets and current sources of abuse to more efficiently protect against DDOS and other attacks.

Features

  • block/allow IP addresses with iptables on request from remote host

  • handle individual IP or CIDR ranges (xx.xx.xx.xx/mask)

  • apply action permanently or with expiry timeout

  • keep IP/range whitelist - actions related to whitelisted IPs are ignored what prevents locking out the legitmate clients

  • serialize requests to prevent concurrency issues with iptables

  • REST API

  • secured with SSL

  • authenticated with basic authentication over SSL and by client source IP

  • idempotent - actions resulting in duplicate entries are ignored

  • do not interfere with more general iptables rules

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rfw-0.1.12.tar.gz (47.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page