#Open vSwitch Lab kaskdaksdkdaks
Get started with Open vSwitch, flows and OpenFlow controllers.
##Pre-reqs
Linux system with OVS installed.
##Setup
#Open vSwitch Lab kaskdaksdkdaks
Get started with Open vSwitch, flows and OpenFlow controllers.
##Pre-reqs
Linux system with OVS installed.
##Setup
| if [ ! -f .env ] | |
| then | |
| export $(cat .env | xargs) | |
| fi |
| frontend fe_ssh | |
| bind *:2222 ssl crt /etc/haproxy/certs/ssl.pem | |
| mode tcp | |
| log-format "%ci:%cp [%t] %ft %b/%s %Tw/%Tc/%Tt %B %ts %ac/%fc/%bc/%sc/%rc %sq/%bq dst:%[var(sess.dst)] " | |
| tcp-request content set-var(sess.dst) ssl_fc_sni | |
| use_backend %[ssl_fc_sni] |
$ firewall-cmd --get-active-zones$ sudo firewall-cmd --zone=docker --change-interface=docker0| ## YOUTUBE VIDEO PART I: https://youtu.be/iZzx1keKztY | |
| ## | |
| import pyautogui | |
| from time import sleep | |
| ## | |
| # пауза и досрочное прекращение | |
| pyautogui.PAUSE = 1.5 | |
| pyautogui.FAILSAFE = True | |
| ## |
To install tcptraceroute on Debian/Ubuntu:
$ sudo apt-get install tcptracerouteTo install tcptraceroute on CentOS/REHL, first set up RepoForge on your system, and then:
$ sudo yum install tcptraceroute| #!/usr/bin/env python3 | |
| """Command generator for setting DHCP Option 119 | |
| This script converts the specified domain names to DHCP Option 119 | |
| (Domain Search Option) and prints commands for various DHCP servers. | |
| USAGE: | |
| ./dhcp_option119.py DOMAIN ... | |
| EXAMPLE: |
| -- Thank @sbengo to figure out foreign_keys constraints is defaults to false in sqlite | |
| -- Enable to delete logs by cascading delete | |
| PRAGMA foreign_keys = ON; | |
| WITH n_build_ids_per_repo as ( | |
| SELECT build_id | |
| FROM ( | |
| SELECT | |
| build_id, | |
| build_repo_id, |