Category: Linux

How to bypass SIP blocking by ISP?

Introduction In this article we will see how we can bypass SIP traffic blocking. There are a lot of countries where local ISPs block SIP traffic. It makes it impossible for enterprises or private persons to leverage from low rates on international calls provided by various SIP trunk providers. Solution One of the solutions is

OpenLDAP operations (ldappasswd).

Introduction. In this post we will see how we can reset password for our OpenLDAP users using the special utility ldappasswd. Change user password using admin credentials. When it comes to resetting user passwords, one of the most common things is to reset user’s password providing our admin credentials. Let’s change the password for the

OpenLDAP operations (ldapadd).

Introduction This post will cover another important LDAP data manipulation – adding new entries to the directory tree. We will be using ldapadd utility. Prerequisite I assume that you have a working OpenLDAP server and OpenLDAP client. You might want to read this post which explains step by step how to install and run OpenLDAP

OpenLDAP operations (ldapsearch).

Introduction In this post we will learn how to search OpenLDAP directory using ldapsearch command. Prerequisite I assume that you have a working OpenLDAP server and OpenLDAP client. You might want to read this post which explains step by step how to install and run OpenLDAP server on Ubuntu 18.04. It also shows the basic

How to Install OpenLDAP on Ubuntu 18.04?

Introduction In this post we will install OpenLDAP on Ubuntu 18.04. OpenLDAP is a free open-source implementation of LDAP (Lightweight Directory Access Protocol). LDAP is a datastore mostly used for storing user identities and for user authentication. What is LDAP? LDAP stores the information in a hierarchical format called Directory Information Tree(DIT). The DIT contains

Linux ss Command Examples

Introduction In this post we will learn how to use ss command, which can give you a lot of useful socket related information. ss comes pre-installed with all modern popular Linux distributions. We will go through several examples, so you could easily modify them and get the desired result. I will be using Ubuntu 18.04

How to Enable SSH on Ubuntu?

Introduction In this post we will learn how to enable SSH server on your Ubuntu. What is SSH? SSH (Secure Shell) is a network protocol which supports encryption. It is mainly used for a remote secure configuration and management. It is common to use SSH protocol for a remote Linux administration. If we want to

How to log SSH session output in Linux?

Introduction In this article we will see how it is possible to log SSH or telnet session output to a file. I usually use this method for saving the configuration of remote network devices like routers or switches, but it might be useful in any other situations when you need to save all session output

How to Find Files in Linux

Introduction In this post we will learn how to find files and directories in Linux using command-line utility called find. This utility can search for files based on a great number of parameters and therefore it makes it very powerful and useful tool. Another good thing about find utility is that it allows to execute various