- veth device from CNI/CNM plugin: eth0
- tap device that connects to the VM: tap0
tc qdisc add dev eth0 ingress
tc filter add dev eth0 parent ffff: protocol all u32 match u8 0 0 action mirred egress redirect dev tap0
| tell application "System Events" | |
| -- get current clipboard contents as a string | |
| set CurrentClipboard to the clipboard as string | |
| -- set the clipboad to your password | |
| set the clipboard to "Y0urVPNPa$$w0rd" | |
| -- start playing with the VPN | |
| tell current location of network preferences | |
| #!/usr/bin/env bash | |
| # set -x | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "You must be root to run this script" | |
| exit 1 | |
| fi | |
| # Returns all available interfaces, except "lo" and "veth*". |
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # Updated to use Python 3 by Malcolm Greaves. | |
| # | |
| # Python script to find the largest files in a git repository. | |
| # The general method is based on the script in this blog post: | |
| # http://stubbisms.wordpress.com/2009/07/10/git-script-to-show-largest-pack-objects-and-trim-your-waist-line/ | |
| # | |
| # The above script worked for me, but was very slow on my 11GB repository. This version has a bunch |
The Container Networking Interface, or CNI, is a generic plugin-based networking solution for configuring the network on containers.
The CNI specification defines: