Skip to content

Instantly share code, notes, and snippets.

View nextime's full-sized avatar

Franco (nextime) Lanza nextime

View GitHub Profile
#!/usr/bin/python3
from setproctitle import setproctitle
from shell_cmd import sh
from nfstream import NFStreamer
import time
setproctitle("dpi")
online_streamer = NFStreamer(source="br0", promiscuous_mode=False, splt_analysis=20, statistical_analysis=False)
#!/bin/bash -x
# This script is called with the following arguments:
# Arg Name Example
# $1 Interface name ppp0
# $2 The tty ttyS1
# $3 The link speed 38400
# $4 Local IP number 12.34.56.78
# $5 Peer IP number 12.34.56.99
# $6 Optional ``ipparam'' value foo
#!/bin/bash -x
declare -A SHAPEMAPDOWN
declare -A SHAPEMAPUP
declare -A IPSETS
UPDEV="eth0"
#DOWNDEV="ifb0"
#DOWNDEV="dummy1"
#DOWNDEV="eth1"
DOWNDEV="br0"
@nextime
nextime / gist:5e02aac7a9a2fa2e6d91
Created February 28, 2016 20:44
Verifying that +nextime is my blockchain ID. https://onename.com/nextime
Verifying that +nextime is my blockchain ID. https://onename.com/nextime
#!/usr/bin/python
# vim:set fileencoding=utf-8 sw=2 ai:
import sqlite3
import datetime
import re
import os
import os.path
SQL = '''
### Keybase proof
I hereby claim:
* I am nextime on github.
* I am nextime (https://keybase.io/nextime) on keybase.
* I have a public key whose fingerprint is 66ED 5211 9D59 DA53 1DF7 4189 DFED F580 D613 2D50
To claim this, I am signing this object: