Jul 21 2010

Stop Transferring All Internet Traffic Through Windows VPN

xiao

By default, when you connect to VPN in Windows, it will put all your Internet traffic through the VPN. This can be annoying if you just want to VPN in to get access to some files on the network. This can be especially annoying if your VPN server is slow and now all your Internet access speed is slow. Continue reading


Apr 5 2010

Suppress Scapy IPv6 Warning

xiao

When you run Scapy without a default IPv6 routing gateway, Scapy will display this annoying warning:

WARNING: No route found for IPv6 destination :: (no default route?)

You definitely don’t want to see it every time you run the script you built with Scapy. To get rid of it, simply add

import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

before importing Scapy to suppress all messages below error messages


Dec 8 2009

Arpspoof, Tcpkill, Tcpnice Tutorial

xiao

Notes to self because I never remember

To arpspoof, turn on IP forwarding:

echo 1 > /proc/sys/net/ipv4/ip_forward

with Linux (might need su) or more permanently,

net.ipv4.ip_forward = 1

in /etc/sysctl.conf
Continue reading