Category Archives: Networking


Proxify applications with torsocks

By | March 25, 2013

Many applications do not directly support the use of socks proxy. Torsocks enables such applications to use the tor socks proxy. Shell wrapper to simplify the use of the torsocks library to transparently allow an application to use a SOCKS proxy. Torsocks gets installed along with the tor package on ubuntu for example $ sudo… Read More »

Tcpdump tutorial – Sniffing and analysing packets from the commandline

By | November 14, 2012

Tcpdump Tcpdump is a commandline network analyzer tool or more technically a packet sniffer. It can be thought of as the commandline version of wireshark (only to a certain extent, since wireshark is much more powerful and capable). As a commandline tool tcpdump is quite powerful for network analysis as filter expressions can be passed… Read More »

Udp telnet with netcat

By | October 26, 2012

The standard telnet utilities that ship with linux or windows allow to telnet to services running on TCP ports. They do not support udp ports. However the utility netcat can be used for working with udp ports in a very similar manner to default telnet utility. The telnet utility works like this $ telnet localhost… Read More »

Check port forwarding with netcat

By | May 9, 2013

Port forwarding is a configuration in the router of a LAN such that any connections to a specific port number on the public/wan ip of the router may be forwarded to a specific machine/ip inside the LAN. Most routers allow configuration options to set port forwarding. After setting up port forwarding its necessary to check… Read More »