Kalanand's April 2015 Log

   March 2015   
April 2015
   May 2015   

April 20th

Using 'tcprewrite' I can change the source IP in a pcap to 192.168.x.x for both "send" and "receive" packets:

  tcprewrite --infile=input.pcap --outfile=output.pcap --srcipmap= --dstipmap=
Interestingly enough the above command works for both TCP and UDP packets :)

For more options see this documentation.

April 23rd

To see the full history of a file after git move of the parent directory, one needs to use "--follow" option

  git log --follow pkg/dir/subdir/test/script.h
Here is what the git documentation says:
          Continue listing the history of a file beyond renames (works only for a single file).  

Go to March's log

Last modified: Thu Apr 23 15:11:26 PDT 2015