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.
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
# install notes for ubuntu 14.04 / odroid xu4 | |
sudo apt-get install libgmp3-dev | |
# dont apt-get StrongSwan! (its really old) | |
wget https://download.strongswan.org/strongswan-5.5.1.tar.bz2 | |
tar xvfj strongswan-5.5.1.tar.bz2 | |
cd strongswan-5.5.1 | |
sudo ./configure --prefix=/usr --sysconfdir=/etc --enable-python-eggs --enable-python-eggs-install --enable-vici | |
sudo make | |
sudo make install |
# file: curl.conf | |
LoadPlugin curl | |
<Plugin curl> | |
<Page "bing_cn"> | |
URL "https://cn.bing.com" | |
MeasureResponseTime true | |
MeasureResponseCode true | |
<Statistics> | |
TotalTime true | |
NamelookupTime true |
[user] | |
name = Pavan Kumar Sunkara | |
email = pavan.sss1991@gmail.com | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
excludesfile = ~/.gitignore | |
[sendemail] | |
smtpencryption = tls | |
smtpserver = smtp.gmail.com |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import base64 | |
import datetime | |
import hmac | |
import json | |
import urllib | |
import uuid |
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.
#Log4J配置 | |
#定义日志输出级别和输出流重定向 | |
#修订历史: | |
# 2013-11-12 dylanninin@gmail.com init | |
log4j.rootLogger=CONSOLE,ROLLING_FILE,MAIL | |
log4j.addivity.org.apache=true | |
##################################################################### | |
#输出日志信息到控制台 级别INFO | |
log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender | |
log4j.appender.Threshold=DEBUG |
# cat << EOF > /dev/null | |
# https://github.com/gpakosz/.tmux | |
# (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license, | |
# without any warranty. | |
# Copyright 2012— Gregory Pakosz (@gpakosz). | |
# /!\ do not edit this file | |
# instead, override settings in ~/.tmux.conf.local, see README.md | |
# -- general ------------------------------------------------------------------- |
Kong, Traefik, Caddy, Linkerd, Fabio, Vulcand, and Netflix Zuul seem to be the most common in microservice proxy/gateway solutions. Kubernetes Ingress is often a simple Ngnix, which is difficult to separate the popularity from other things.
This is just a picture of this link from Feb
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |