Giter Site home page Giter Site logo

alexxnica / neti-cookbook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from facebookarchive/neti-cookbook

0.0 1.0 0.0 207 KB

A chef cookbook used to setup the Neti firewall sync service on Amazon EC2-VPCs.

License: Other

Ruby 74.36% Python 18.74% HTML 6.90%

neti-cookbook's Introduction

Neti-cookbook

Cookbook to setup Neti (EC2-VPC firewall sync).

Requirements

Currently, Neti works on Ubuntu/Debian, but should work on many more platforms with a few tweaks to the package management. Also, if you don't use AWS, you can just stop reading now...not even sure how you got here. You'll need a set of AWS keys that allows instance metadata modification. You will need to create a Zookeeper cluster, so familiarity with Zookeeper s necessary, but all that is needed is a very basic installation.

Attributes

These attributes set up the Neti config file for you:

  • ssh_whitelist: The IPs that you want Neti to always allow on port 22, regardless of any firewall
  • zk_hosts:
    • ec2: hostname/ip and zookeeper port of zk proxies in EC2
    • vpc: hostname/ip and zookeeper port of zookeeper hosts in VPC
  • nat_overrides: hash of source and destination ips for overriding Neti's NAT manipulation
  • open_ports: ports to open to all access on the host
  • bin: location of Neti bin script
  • log_file: location of log file
  • table_files_path: location to store the iptables-save files for restoration
  • reject_all: Whether or not to reject all traffic that is not specifically specified in the iptables rules (when you open up access to all public AWS ranges)
  • aws_key: your aws key
  • aws_secret_key: your aws secret key
  • zk_update_interval_path: zookeeper node to store interval value
  • zk_max_change_threshold_path: zookeeper node to store max change threshold (how many rules can be changed at once...safeguard)
  • zk_prefix: zookeeper node prefix for all neti data
  • zk_iptoid_node: zookeeper node for map
  • zk_idtoip_node: zookeeper node for map
  • zk_ip_map_node: zookeeper node for map
  • overlay_subnet: subnet to pull overlay addresses from
  • overlay_ip_cache_file_path: path for file cache of ips

How Neti works

See Neti

See the CONTRIBUTING file for how to help out.

License

Neti is BSD-licensed. We also provide an additional patent grant.

neti-cookbook's People

Contributors

dwradcliffe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.