Skip to content

Instantly share code, notes, and snippets.

View redeltaglio's full-sized avatar
:octocat:
“The biggest battle is the war against ignorance.” --Atatürk

Riccardo Giuntoli EA4343URE redeltaglio

:octocat:
“The biggest battle is the war against ignorance.” --Atatürk
View GitHub Profile
@redeltaglio
redeltaglio / ipsec.conf
Created February 20, 2021 07:13 — forked from nlacourte/ipsec.conf
StrongSwan ipsec updown script for mangle TCPMSS
#Ipsec.conf example
conn vrackxxxxx_psk
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
authby=secret
keyexchange=ikev2
mobike=no
auto=add
### Keybase proof
I hereby claim:
* I am redeltaglio on github.
* I am redeltaglio (https://keybase.io/redeltaglio) on keybase.
* I have a public key ASDjEBoqeiizRJR8PW-XDFLI0wOMdT7YbpkaZtIXa313owo
To claim this, I am signing this object:

Basic

  • Don't try "unprivileged" build from start.
    • First do cross-dirs/cross-tools/cross-distrib as root (sudo).
    • Then change owner/mode of obj directories. This will make development easier.
  • Always use cross build (for development).
    • Otherwise you'll overwrite your /usr/include during build.
    • Cross build can't make release on OpenBSD, unfortunately (because of gnu/, where Makefile.bsd-wrapper is used). So cross build is only for development.
Rank Type Prefix/Suffix
1. Prefix my+
2. Suffix +online
3. Prefix the+
4. Suffix +web
5. Suffix +media
6. Prefix web+
7. Suffix +world
8. Suffix +net
9. Prefix go+
1. Prefix my+
2. Suffix +online
3. Prefix the+
4. Suffix +web
5. Suffix +media
6. Prefix web+
7. Suffix +world
8. Suffix +net
9. Prefix go+
# basic pfctl control
# ==
# Related: http://www.OpenBSD.org
# Last update: Tue Dec 28, 2004
# ==
# Note:
# this document is only provided as a basic overview
# for some common pfctl commands and is by no means
# a replacement for the pfctl and pf manual pages.
@redeltaglio
redeltaglio / tunnelbroker-net.sh
Created March 12, 2019 08:46 — forked from pklaus/tunnelbroker-net.sh
tunnelbroker.net automatic tunnel IP update and tunnel setup (on Mac OS X)
#!/bin/bash
#### This script is published by Philipp Klaus <philipp.l.klaus@web.de>
#### on <http://blog.philippklaus.de/2011/05/ipv6-6in4-tunnel-via-hurricane-electric-tunnelbroker-net-automatic-ip-update-on-mac-os-x/>
#### It is originally by freese60 and modified by limemonkey.
#### Found on <http://www.tunnelbroker.net/forums/index.php?topic=287.0>
### Uncomment this line to debug the script:
#set -x
@redeltaglio
redeltaglio / he-dns-update.sh
Created March 12, 2019 08:45 — forked from joemiller/he-dns-update.sh
script for updating dynamic DNS records on he.net (hurricane electric)
#!/bin/bash
#
# Script for updating DNS records on Hurricane Electirc's DNS system (https://dns.he.net).
#
# The record will be updated with the IP address that originates the request.
#
# Usage
# -----
#
# Create config file `/etc/he-dns-update.conf`:
==========================================================================
The "stacheldraht" distributed denial of service attack tool
==========================================================================
David Dittrich <dittrich@cac.washington.edu>
University of Washington
Copyright 1999. All rights reserved.
December 31, 1999
C:\Drivers\11.8.55.3510>FWUpdLcl64.exe -VERBOSE -F ME_11.8_Consumer_D0_H_Production.bin -GENERIC
Intel (R) Firmware Update Utility Version: 11.8.55.3510
Copyright (C) 2007 - 2018, Intel Corporation. All rights reserved.
Communication Mode: MEI
Local FWUpdate is Enabled
Checking firmware parameters...
Warning: Do not exit the process or power off the machine before the firmware update process ends.