Saturday, 19 July 2014
$ geoiplookup 22.214.171.124
Displays the country that 126.96.36.199 originates from e.g.
You can have a simple bash script like :
echo "Current Public IP is :"
curl -s checkip.dyndns.org | sed 's/.*IP Address: \([0-9\.]*\).*/\1/g'
PUBLICIP=$(curl -s checkip.dyndns.org | sed 's/.*IP Address: \([0-9\.]*\).*/\1/g')
To install on Arch :
$ sudo pacman -S geoip
To install on Ubuntu, Linux Mint or Debian
$ sudo apt-get install geoip-bin
By default the IP to country database is located at /usr/share/GeoIP/GeoIP.dat
Monday, 14 July 2014
You may think that the only way people can tell if you opened an email is the good old 'read receipt' but there is another more subtle method. That method is by using embedded images to track individuals. Currently this method is used by phishers, marketers and spammers to track where people open emails and to track other useful information.
The most common method used for email tracking is embedded images. The process is relatively simple :
- Email is created in HTML
- Included is a reference on a remote server that the sender owns or has access to
- Each email can be given a unique URL to track what individual opens emails
- Contained within the HTTP request from your email client to obtain the referenced image will be your IP address (which can track your location unless you are on a VPN) to at least to your city, your browser and Operating System.
All very useful information that can be used to draw a number of conclusions about the reader :
- Where was the email opened
- What time was the email opened
- How long from when the email was sent was it opened
- What type of device was the email opened on
- Prove that it made it past any spam filters in place
- Show that the email is valid and in active use
With Gmail like most privacy features from Google you must opt-out which can be done as follows :
- Select Gear icon then Settings
- Under the General tab look for Images (Fourth down currently in the list)
- Select 'Ask before displaying external images'
- Scroll to bottom of screen
- Select Save Changes
- Within the Gmail App on Android
- Select menu on left and scroll down to the bottom (may take a while if you have lots of labels) until you see Settings
- Select each email address in turn (if your have multiple) and scroll to bottom and select Images
- Change to Ask before showing
Sunday, 6 July 2014
By default you will be using the DNS servers supplied by the ISP you subscribe with. With OpenWRT its easy to change the DNS service that you use to an alternative option. A popular option is the Google Public DNS service.
Advantages of using Google's DNS are :
- Faster web browsing
- Improved security
- No redirection
In OpenWRT to change is a simple process
- Open Luci web interface
- Select 'Network' -> 'DHCP and DNS'
- Locate 'DNS forwardings'
- Enter '188.8.131.52'
- Press '+' button to enable a second entry
- Enter '184.108.40.206'
- Select 'Save & Apply'