Skip to content

Instantly share code, notes, and snippets.

@mwoolweaver
mwoolweaver / groups.tsv
Last active January 29, 2021 05:21
whitelists
enabled name description comment file
1 anudeepND/whitelist https://github.com/anudeepND/whitelist qjz9zk https://gist.githubusercontent.com/mwoolweaver/574d3a0f712d96a152938645f4b7e919/raw/5519cd832fc7fa6ebd8cf04f7df43634a65ba4b0/whitelist.tsv
1 anudeepND/optionals https://github.com/anudeepND/whitelist qjz5zk https://gist.githubusercontent.com/mwoolweaver/574d3a0f712d96a152938645f4b7e919/raw/5519cd832fc7fa6ebd8cf04f7df43634a65ba4b0/optionals.tsv
1 anudeepND/referrals https://github.com/anudeepND/whitelist qjz7zk https://gist.githubusercontent.com/mwoolweaver/574d3a0f712d96a152938645f4b7e919/raw/5519cd832fc7fa6ebd8cf04f7df43634a65ba4b0/referrals.tsv
Date: 10/12/20, 11:35 AM
Process: Zebra
Bundle id: xyz.willy.Zebra
Device: iPhone 8 Plus, iOS 13.7
Bundle version: 1.1.13
Exception type: EXC_SOFTWARE (SIGABRT)
Exception subtype: EXC_UNIX_ABORT
Exception codes: 0x0000000000010002, 0x0000000000000000
Culprit: Unknown
Date: 10/12/20, 12:07 AM
Process: Installer
Bundle id: me.apptapp.installer
Device: iPhone 8 Plus, iOS 13.7
Bundle version: 5.0.3-3
Exception type: EXC_BAD_ACCESS (SIGSEGV)
Exception subtype: KERN_INVALID_ADDRESS: 0x20
Exception codes: 0x0000000000000001, 0x0000000000000020
Culprit: Unknown
Date: 10/10/20, 17:09
Process: Zebra
Bundle id: xyz.willy.Zebra
Device: iPhone 8 Plus, iOS 13.7
Bundle version: 1.2~beta6
Exception type: NSInvalidArgumentException
Reason: *** -[__NSDictionaryM setObject:forKeyedSubscript:]: key cannot be nil
Culprit: Unknown
@mwoolweaver
mwoolweaver / .bashrc
Last active July 26, 2020 04:58 — forked from marioBonales/.bashrc
Default .bashrc for ubuntu
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace
@mwoolweaver
mwoolweaver / readme.md
Last active July 24, 2020 05:12
Make all network traffic for a specific user use a specific network interface

this was found here --> https://www.niftiestsoftware.com/2011/08/28/making-all-network-traffic-for-a-linux-user-use-a-specific-network-interface <-- by accedent and worked very nicely for me so I saved it here to find easier next time.

I’ve recently been testing out a VPN service, and normally while running the VPN, all internet traffic goes over the VPN interface. This isn’t really ideal, as I only want traffic from a specific application (qBittorrent) to use the VPN. IPTables doesn’t seem to have the option to filter specific processes, but it can filter based on a specific user account.

IPTables itself doesn’t really deal with routing packets to interfaces, so we can’t use it to directly route packets. We can however mark packets from the user so they can be routed by the ip routing table. I’ve created a script to flush and apply firewall rules, which does what we need ( obviously set the variables at the beginning of the script to match your details ):

#! /bin/bash
@mwoolweaver
mwoolweaver / README
Created April 25, 2020 20:34 — forked from radfish/README
Route only Transmission through a VPN connection using your own VPN server
# The approach is to mark packets from a specific user,
# create a dedicated routing table with a default route
# through the VPN, and force all marked packets to be
# routed using that table.
#
# Sources:
# https://www.niftiestsoftware.com/2011/08/28/making-all-network-traffic-for-a-linux-user-use-a-specific-network-interface/
# http://freeaqingme.tweakblogs.net/blog/9340/netflix-using-a-vpn-for-just-one-application.html
# In this guide
Date: 3/11/20, 5:01 PM
Process: suggestd
Bundle id: (null)
Device: iPhone 8 Plus, iOS 13.3.1
Exception type: EXC_SOFTWARE (SIGABRT)
Exception subtype: EXC_UNIX_ABORT
Exception codes: 0x0000000000010002, 0x0000000000000000
Culprit: Unknown
Date: 3/11/20, 4:36 PM
Process: Installer
Bundle id: me.apptapp.installer
Device: iPhone 8 Plus, iOS 13.3.1
Bundle version: 5.0.2.3
Exception type: EXC_BAD_ACCESS (SIGSEGV)
Exception subtype: KERN_INVALID_ADDRESS: 0x20
Exception codes: 0x0000000000000001, 0x0000000000000020
Culprit: Unknown
50.16.250.179 duckduckgo.com
50.16.250.179 www.duckduckgo.com
50.16.250.179 duck.com
50.16.250.179 www.duck.com
216.239.38.120 google.com
216.239.38.120 google.ad
216.239.38.120 google.ae
216.239.38.120 google.com.af
216.239.38.120 google.com.ag
216.239.38.120 google.com.ai