Category Archive: Linux

Oct 06 2017

How to Use “ipset” to Block IPs from Country

Previously we learned how we can restrict or allow a particular country using GeoIP but in this article, we’ll cover how we can block large IP ranges using ipset module with iptables. IPset is a command line based utility which is used to administer the framework called IP sets inside the Linux kernel. An IP set may …

Continue reading »

Oct 03 2017

How to Block IPs from Countries using Iptables Geoip Addons

We’ll learn how we can block traffic originated from specific country IPs using GeoIP database and linux iptables. Iptables is a command based utility program for configuring the linux kernel firewall which is implemented within the Netfilter project. Whereas GeoIP is a collection of IPs corresponding with the geographical locations where the geographical location is …

Continue reading »

Sep 27 2017

Understanding Linux Permissions

Linux is a multiuser operating system. In a multiuser environment, it is necessary to ensure that a user cannot access or modify files or directories that they arent supposed to. File permissions provide a protection mechanism for controlling access to files and directories. Linux’s file security model is based on that of Unix. Each file …

Continue reading »

Sep 13 2017

OpenSnitch: The Little Snitch application like firewall tool for Linux – nixCraft

Little Snitch is a traditional software firewall for macOS. You can use it to monitor applications, preventing or permitting them to connect to attached networks through advanced rules. OpenSnitch is a GNU/Linux port of the Little Snitch application firewall written in Python. Source: OpenSnitch: The Little Snitch application like firewall tool for Linux (nixCraft)

Sep 11 2017

Enpass Is The Free Cross-Platform Password Manager

Previously we covered KeePassXC password manager which is also free application. Here comes another password manager called Enpass, it is free and cross-platform available for Linux, Windows, Mac, Android, Blackberry, Windows Phone and iOS. Source: Enpass Is The Free Cross-Platform Password Manager (NoobsLab)

Aug 27 2017

How to Pass Arguments to a Bash-Script

You can write a bash script such that it receives arguments specified when the script is called from the command line. This method is used when a script has to perform a slightly different function depending on the values of input parameters (the arguments). For example, you may have a script called “stats.sh” that performs …

Continue reading »

May 23 2017

How to Install and Configure Postfix as a Send-Only SMTP Server on Ubuntu 16.04

Introduction Postfix is a mail transfer agent (MTA), an application used to send and receive email. In this tutorial, we will install and configure Postfix so that it can be used to send emails by local applications only — that is, those installed on the same server that Postfix is installed on. Why would you …

Continue reading »

Apr 19 2017

Keep local Instant Messages on your local network with BeeBEEP (Secure Lan Messenger)

When you want to send an instant message to someone else that’s on the same local network as you are, whether that be another family member or a co-worker in your office, why use an offsite chat server that leaves your messages open to interception by the company running the chat server or some other …

Continue reading »

Mar 18 2017

How to Use SSH Pipes on Linux

Like most commands on Linux, SSH can be used with input/output redirection via | (Unix Pipe). SSH can be used with this pipeline too. The basic concept here is understanding how the Unix pipeline works. When you understand the way pipes work, you can get seriously creative. This article covers what happens when you combine …

Continue reading »

Mar 13 2017

Series on Bash Scripts from Like Geeks

Like Geeks recently published an interesting series on writing Bash shell scripts: Today we are going to talk about bash script or shell scripting actually, they are called shell scripts in general but we are going to call them bash scripts because we are going to use bash among the other Linux shells. There are …

Continue reading »

Older posts «

%d bloggers like this: