Skip to content

Instantly share code, notes, and snippets.

View storbukas's full-sized avatar
:octocat:
01000111 01000101 01000101 01001011

Lars Erik Storbukås storbukas

:octocat:
01000111 01000101 01000101 01001011
View GitHub Profile
@storbukas
storbukas / da-lbe-client.c
Last active February 11, 2018 22:06
DA-LBE socket option example
/*
* Author: Lars Erik Storbukås <[email protected]>
* http://larserik.storbukas.no
* Date: 11/02-2018
*
* Description:
*
* Simple TCP client transferring a file to a destination with
* DA-LBE mechanisms enabled. This transfer has configured a
* probability of 5% of Phantom ECN signals (which reduce the
@storbukas
storbukas / dhcp-lease-notifier.sh
Created February 5, 2018 19:22
DD-WRT Unknown client notification
#!/bin/sh
#
# Details:
# Author: Lars Erik Storbukås <[email protected]>
# http://larserik.storbukas.no
# System: DD-WRT v3.0-r28628 std (12/29/15)
# File location: /jffs/ets/scripts/dhcp-lease-notifier.sh
#
# DHCP Lease Notifier
# ------------------------