Skip to main content

Posts

Showing posts from April, 2017

What is Loopback - localhost address?

The local loopback mechnism is useful for testing software during development, independently of any networking configurations which means no hardware accsociated with it not physically connected to network. What is Loopback Loopback is a communication channel with only one endpoint.  TCP/IP  networks specify a loopback that allows  client   software  to communicate with server software on the same computer.  Localhost - Loopback address localhost is a hostname indicating this computer and used to access the network services running on the host via Loopback network interface. On most computer systems, localhost resolves to the IP address 127.0.0.1 in IPv4 loopback address, and to the IP address ::1 in IPv6. How 127.0.0.1 Works TCP/IP application programs generate message with IP addressess for intended recipients and TCP/IP recognizes 127.0.0.1 as a special IP address which the protocol checks before sending it and re-routes back to the receivin...

How to change hostname on Centos 7 /RHEL7

This article is summarized and explained on how to configure/change hostname in Centos7 and RHEL7. Understadning of hostname There are three classes of  hostname : static, pretty, and transient. The  “ static ”  host name is the traditional  hostname , which can be chosen by the user, and is stored in the  /etc/hostname  file.  The  “ transient ”   hostname  is a dynamic host name maintained by the kernel. It is initialized to the static host name by default, whose value defaults to  “ localhost ” . It can be changed by  DHCP  or  mDNS  at runtime.  The  “ pretty ”   hostname  is a free-form UTF8 host name for presentation to the user. A host name can be a free-form string up to 64 characters in length. However, Red Hat recommends that both static and transient names match the  fully-qualified domain name  ( FQDN ) used for the machine in  DNS , such as...

How to allow PING (ICMP) request by creating inbound rule on Firewall in Windows.

This article is providing an information on how to enable ping request from other machines on the network by adding inbound rule on firewall on Windows 7 and later and Windows Server 2008 and later. Prerequisite Network setting should done and confirm if you can access Internet or view other machines on the network your machine is on. Symptom You get the "Request timed out." message when pinging to other machine on the network. How-To Open a Windows firewall with advanced security. Select Inbound rules on left panel Click on new rule on the right panel Select Custom rule type. In the  Customize ICMP Settings  dialog box, do one of the following: To allow all ICMP network traffic, click  All ICMP types , and then click  OK . To select one of the predefined ICMP types, click  Specific ICMP types , and then select each type in the list that you want to allow. Click  OK . To select an ICMP type that does not appear in the...

How to configure LDAPS, LDAP over SSL, using CA Certificate Service on Domain Controller in Windows Server 2016

This post is to provide an instruction on how to set up LDAPS (LDAP over SSL) on Domain Controller using single-tier CA hierachy. Reasons for Enabling LDAPS By default, LDAP communications between client and server applications are not encrypted. This means that it would be possible to use a network monitoring device or software and view the communications traveling between LDAP client and server computers. This is especially problematic when an LDAP simple bind is used because credentials (username and password) is passed over the network unencrypted. This could quickly lead to the compromise of credentials.  Reasons for enabling Lightweight Directory Access Protocol (LDAP) over Secure Sockets Layer (SSL) / Transport Layer Security (TLS) also known as LDAPS include: Some applications authenticate with Active Directory Domain Services (AD DS) through simple BIND. As simple BIND exposes the users’ credentials in clear text, use of Kerberos is preferred. If simp...