Monday, July 15, 2013

OSX VPN send all traffic over VPN via route command

Base on this inputs from stackoverflow
,
sudo /sbin/route add -host pandora.com -interface ppp0

In this example, "pandora.com" is the host that should be routed via the VPN and "ppp0" is the name of the VPN network interface (ifconfig shows you the list of network interfaces).

Sunday, July 14, 2013

Useful utilities in Linux

Anyhow, this is just a list of useful utilities which I'm going to always keep updated...

strace

http://www.thegeekstuff.com/2011/11/strace-examples/
http://en.wikipedia.org/wiki/Strace
http://timetobleed.com/files/c-strace


gdb

http://www.ibm.com/developerworks/library/l-gdb/
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
http://www.cs.cmu.edu/~gilpin/tutorial/


hexdump

http://ubuntuforums.org/showthread.php?t=1293523
http://mylinuxbook.com/hexdump/
http://256.com/gray/docs/misc/hexdump_manual_how_to.html


chattr/lsattr

http://www.cyberciti.biz/tips/linux-password-trick.html