pkg install isc-dhcp43-client
ipv6_enable_all_interfaces="YES"
# arpaname.py, (C)2022 by Jan-Piet Mens <jp@mens.de> | |
# Convert an IPv4 or IPv6 address in textual form into a string whose value is | |
# the reverse-map domain name of the address. | |
# | |
# - debug: msg="{{ "192.168.1.3" | arpaname }}" | |
# "3.1.168.192.in-addr.arpa." | |
# | |
# - debug: msg="{{ "2001:DB8::7" | arpaname }}" | |
# "7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa." |
[package] | |
name = "tmp" | |
version = "0.1.0" | |
authors = ["Miccah Castorina <m.castorina93@gmail.com>"] | |
edition = "2018" | |
[dependencies] | |
clap-v3 = { version = "3.0.0-beta.1", features = ["yaml"] } | |
rustyline = "6.2.0" | |
serde_yaml = "0.8" |
kern.maxproc: Maximum number of processes | |
kern.ngroups: Maximum number of supplemental groups a user can belong to | |
kern.ipc.shm_allow_removed: Enable/Disable attachment to attached segments marked for removal | |
kern.ipc.shm_use_phys: Enable/Disable locking of shared memory pages in core | |
kern.ipc.shmall: Maximum number of pages available for shared memory | |
kern.ipc.shmseg: Number of segments per process | |
kern.ipc.shmmni: Number of shared memory identifiers | |
kern.ipc.shmmin: Minimum shared memory segment size | |
kern.ipc.shmmax: Maximum shared memory segment size | |
kern.ipc.semaem: Adjust on exit max value |
# | |
set -g default-terminal screen-256color | |
set -g status-bg blue | |
set -g status-fg white | |
set -g status-right '#(sysctl vm.loadavg)' | |
setw -g window-status-current-attr underscore | |
bind r source-file ~/.tmux.conf | |
The list of 'symlink has no referent' ... those all have to be created by hand, with no easy way to know what they should be. | |
We want [most of?] them to persist in the new jail. | |
How do to that? |
bgproute () {
if [ -z "$1" ]
then
echo "Usage: bgproute IP-address"
return 1
fi
dig +short TXT `echo $1 | awk -F. '{print $4 "." $3 "." $2 "." $1 ".aspath.routeviews.org" }'` | awk -F\" '{print "AS path: " $2 "\nRoute: " $4 "/" $6}'
}
require "rubygems" | |
require "twitter" | |
require "json" | |
# things you must configure | |
TWITTER_USER = "" | |
TWITARCHIVE_TWEETS = "/eg/path/to/your/twitarchive/data/js/tweets" | |
# get these from dev.twitter.com | |
CONSUMER_KEY = "" |
I'm basing this on https://blog.crashed.org/letsencrypt-in-freebsd-org/ | |
I'll create a new jail: certs.int.unixathome.org | |
www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwea.com
is up the virus exits instead of infecting the host. (source: malwarebytes). This domain has been sinkholed, stopping the spread of the worm. Will not work if proxied (source).update: A minor variant of the viru