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.
#!/bin/bash | |
# | |
# Created by Felipe Machado - 2016/02/14 | |
# | |
# A retry command for bash | |
# Retries the given command up to MAX_RETRIES, with an interval of SLEEP_TIME | |
# between each retry. Just put it on your bash_profile and be happy :) | |
# Usage: | |
# retry [-s SLEEP_TIME] [-m MAX_RETRIES] COMMAND_WITH_ARGUMENTS | |
# |
// compile with: gcc -static -o sendfd sendfd.c | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <sys/un.h> | |
#include <strings.h> | |
int send_fd(int sock, int fd){ | |
// This function does the arcane magic for sending | |
// file descriptors over unix domain sockets | |
struct msghdr msg; |
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.
This is the follow up to a post I wrote recently called From Require.js to Webpack - Party 1 (the why) which was published in my personal blog.
In that post I talked about 3 main reasons for moving from require.js to webpack:
Here I'll instead talk about some of the technical challenges that we faced during the migration. Despite the clear benefits in developer experience (DX) the setup was fairly difficult and I'd like to cover some of the challanges we faced to make the transition a bit easier.
git clone http://github.com/richardwithnell/mptcp-rpi | |
make mrproper | |
# 64 Bit | |
# export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- | |
# 32 Bit | |
export CCPREFIX=/home/richard/Software/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX bcmrpi_defconfig | |
make ARCH=arm CROSS_COMPILE=$CCPREFIX menuconfig | |
make -j3 ARCH=arm CROSS_COMPILE=$CCPREFIX |
# Generate a passphrase | |
openssl rand -base64 48 > passphrase.txt | |
# Generate a Private Key | |
openssl genrsa -aes128 -passout file:passphrase.txt -out server.key 2048 | |
# Generate a CSR (Certificate Signing Request) | |
openssl req -new -passin file:passphrase.txt -key server.key -out server.csr \ | |
-subj "/C=FR/O=krkr/OU=Domain Control Validated/CN=*.krkr.io" |
# Key considerations for algorithm "RSA" β₯ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" β₯ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
// A small SSH daemon providing bash sessions | |
// | |
// Server: | |
// cd my/new/dir/ | |
// #generate server keypair | |
// ssh-keygen -t rsa | |
// go get -v . | |
// go run sshd.go | |
// | |
// Client: |
mptcp_kernel is the kernel package which built with mptcp (MultiPath TCP) function. The source code is hosted in github .
The RPM package is hosted on Fedora copr. It can be used on Fedora and CentOS (only x86_64) and their some versions..
####WARNING
This package is now still working in progress and being tested by Kenjiro Nakayama. Please don't use it in your production system. And this is not official repository and please take full responsibility for your actions.