Jesin's Blog

Welcome to the Portal of Technology

  • Facebook
  • GitHub
  • Google+
  • RSS
  • Twitter
  • Home
  • Categories
    • Domains
    • Linux
    • Networking
    • PHP
    • Virtualization
    • Web Design
    • Web Servers
    • Windows
  • WordPress Plugins
    • Custom Error Pages
    • HTTP Digest Authentication
    • Mailgun Email Validator
  • Toolbox
    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool
  • About Me
  • Contact Me
  • Sitemap
Home ›
linux system files

Blocking Google Analytics and Statcounter

June 28, 2013 Domains Jesin A 4 Comments

Web analytics software available today are designed with one quote in mind “Information is power”, so they collect a ton of information about you, the Internet user. This includes your location (Country and City), web browser used, referred page, your IP address (Google Analytics doesn’t show this info to webmasters), time on site and a wealth of other information. While there are lots of web analytics software available the two most popular of them are Google Analytics and Statcounter. There are lots of browser plugins and software available to block these but if you use this method you don’t have to install “yet another software” without reading its privacy policy and be worried about it collecting information about you.

While this article tells you how to block Google Analytics and Statcounter you can also use this method to block other web analytics scripts. Also note using these methods will prevent client-side scripts (like Javascript) from tracking you but server-side scripts (like PHP) can still track you.Continue Reading…

Tags: dns, linux system files, windows

How to save IPtables rules in Debian

October 22, 2011 Linux Jesin A 5 Comments

This article explains how to make IPtables firewall rules sustain a boot in Debian. But this can also be applied on other Debian based OSes like Ubuntu and Knoppix. You show execute all these commands as the root user or use the sudo command to do it.

First view the list of rules in IPtables

iptables -L

If its a new installation there will be no rules. So add some firewall rules, the following rules will allow HTTP, HTTPS, FTP, SMTP, SSH incoming connections and rejects all other incoming connections including ICMP ping packets.Continue Reading…

Tags: iptables, linux, linux system files

How to assign a static IP address in Linux

October 17, 2011 Linux Jesin A 2 Comments

linux category thumbnail

This article explains assigning a static IP to your Linux machine through the command line. If you’re assigning a public IP address, you should’ve purchased it from your ISP. Assigning the IP address in Linux requires you to edit the network configuration file. The network interface files are located at different places according the Linux OS variant. This article will cover both Red Hat and Debian variants. You need to logged in as the root user to edit these files, or you should have sudo permissions.Continue Reading…

Tags: linux, linux system files

Mount an ISO file in Linux

June 9, 2011 Linux Jesin A Leave a Comment

linux category thumbnail

This tutorial shows how to mount an ISO file in Linux. In Windows third party tools are required to mount ISO images, but in Linux a simple command is enough to mount ISO images. Before editing the /etc/fstab file please take a backup by following the given instructions. To mount an ISO image use the following command

mount -o loop /location/of/file.iso /mnt/file

Replace /location/of/file.iso with the actual location. The “file” directory inside /mnt must exist. This will mount the iso file for that session. If you want to permanently mount the ISO file modify the /etc/fstab file. Before doing this please backup the fstab file.

cp /etc/fstab{,.bak}

Now edit the /etc/fstab file and add the following line

/location/of/file.iso /mnt/file iso9660 loop 0 0

Save the file and execute the following command to remount all enteries in /etc/fstab

mount -a

This way you can mount as many ISO images you want.

Tags: linux, linux commands, linux system files

How to set a GRUB password

May 13, 2011 Linux Jesin A Leave a Comment

linux category thumbnail

Resetting the root password is the most easiest tasks in Linux. You can read the article Reset Root Password in Linux to know how to do this. To plug this security hole and to make Linux more secure with set a password for editing the boot parameters. This password will make sure only users knowing this have access to edit the boot parameters. There are two ways of doing this. If you have GUI installed it is very easy to accomplish this task. For command-line installations you have to be extra careful not to edit anything else when executing commands like sed.Continue Reading…

Tags: linux, linux system files

Linux password lockout policy

May 7, 2011 Linux Jesin A Leave a Comment

linux password lockout policy thumbnail

Linux password lockout policy can be configured using PAM (Pluggable Authentication Modules) to lock a user’s account temporarily if they attempt to bruteforce into an account by trying various password combinations. This configuration uses the pam_tally2.so module. Bruteforce hacking is a method to find a user’s password by trying to login with various password combinations. By having a password lockout policy such users can be locked out of their account if a certain number of incorrect passwords are entered. While trying this tutorial in your system make sure you have the file /lib/security/pam_tally2.so if it isn’t there trying this out will lock all user accounts even if you enter the correct password.Continue Reading…

Tags: account lockout, linux, linux system files

  • 1
  • 2
  • Next Page »

Get a wealth of information delivered to your inbox. Subscribe and never miss a single article.

  • Tutorials and howtos
  • Code, scripts and commands
  • Online Tools

* No spam, unsubscribe anytime

Hire Me

  • SSL installation and hardening (A+ on Qualys SSL test)
  • Apache & Nginx configuration
  • Email deliverability improvement (10/10 on Mail Tester & MailGenius)
  • WordPress customization, optimization and migration
  • and much more…

    Tools

    • DNS Lookup Tool
    • htdigest Generator Tool Online
    • htpasswd Generator Tool Online
    • HTTP Headers Lookup Tool
    • MD5 Encryption Tool
    • Open Port Check Tool
    • SHA-1 Encryption Tool
    • URL Encoding/Decoding Tool

    Nav

    • Home
    • About Me
    • Contact Me
    • Privacy Policy
    • Sitemap
    Vultr SSD VPS

    Creative Commons License
    Jesin's Blog by Jesin A is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
    Based on a work at websistent.com.