Skip to content

Instantly share code, notes, and snippets.

@cahlbin
cahlbin / Netfilter-IPTables-Diagrams.md
Created March 27, 2018 19:24 — forked from nerdalert/Netfilter-IPTables-Diagrams.md
Linux NetFilter, IP Tables and Conntrack Diagrams

Linux NetFilter, IP Tables and Conntrack Diagrams

IPTABLES TABLES and CHAINS

IPTables has the following 4 built-in tables.

1) Filter Table

Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.

@cahlbin
cahlbin / Makefile
Created September 15, 2015 22:29
Makefile for WebRTC iOS development setup
#
# Makefile for common task required to setup Google WebRTC repository
# for iOS development.
#
# This Makefile helps with the following steps:
#
# * Download depot_tools and add to PATH (depot_tools is a
# pre-requisite for WebRTC development)
#
# * Use depot_tools / gclient to synchronize WebRTC source tree
@cahlbin
cahlbin / build-rtags.sh
Last active May 25, 2016 09:31
Script to build rtags for OS X
#!/usr/bin/env bash
# Configuration
RTAGS_REPOSITORY="git@github.com:Andersbakken/rtags.git"
RTAGS_REVISION="da75268b1caa973402ab17e501718da7fc748b34"
# Pre-requisites
if ! which brew >/dev/null; then
echo "You need to install homebrew (http://brew.sh/)" && exit 1
fi