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.
| --- | |
| - name: install HWE Stack on Ubuntu 12.04 | |
| hosts: all | |
| user: someuser | |
| sudo: yes | |
| tasks: | |
| - name: Install linux-hwe-generic package | |
| apt: |
| #!/usr/bin/env python | |
| import pcap | |
| import socket | |
| from scapy.all import * | |
| conf.use_pcap=True # because by default scapy try to use raw socket and can't assign bpf filter | |
| conf.verb=0 # it just grab all traffic and get error on processing | |
| import scapy.arch.pcapdnet |
| usage: bind_upload.py [-h] --key <key> --name <name> --zone <zone> | |
| Selectel domains-api bind-zone import helper | |
| optional arguments: | |
| -h, --help show this help message and exit | |
| required named arguments: | |
| --key <key> Your API Key | |
| --name <name> Domain name for creation |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| import json | |
| import logging | |
| import httplib | |
| import argparse |
| #!/bin/sh | |
| curl -s https://api.github.com/users/<username>/keys | jq -r ".[].key" > ~/.ssh/authorized_keys_github |
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.
sudo dnf install jack-audio-connection-kit-dbus qjackctl rtirq realTimeConfigQuickScan
sudo usermod -a -G audio,jackuser,users `whoami`
$ cat /etc/security/limits.d/95-jack.conf:
@jackuser - rtprio 90
@jackuser - nice -19
@jackuser - memlock 209715200
sudo dnf install mixxx jack-audio-connection-kit-dbus qjackctl rtirq realTimeConfigQuickScan kernel-tools
sudo usermod -a -G audio,jackuser,users `whoami`
https://wiki.linuxaudio.org/wiki/system_configuration
$ cat /etc/security/limits.d/95-jack.conf:
@jackuser - rtprio 90
| #!/usr/bin/env python3 | |
| import os | |
| import json | |
| import requests | |
| import logging | |
| # you can create permanent token in account settings: https://accounts.gcorelabs.com/profile/api-tokens | |
| APIKEY = '<your_permanent_token>' |