56 articles Other

Traceroute is a tool to trace the path between two hosts.

Functionality: Traceroute shows all Layer 3 (routing layer) hops between the hosts. This is achieved by sending packets to the remote destination with increasing TTL (Time To Live) value (starting at 1). The TTL field is a field in the IP packet which gets decreased by one at every router. Once the TTL hits zero,…

Enabling Cross-Origin Resource Sharing (CORS) in IBM HTTP Server

http://www-01.ibm.com/support/docview.wss?uid=nas8N1022213 <Location /api> order allow,deny allow from all Header set Access-Control-Allow-Origin “*” </Location> V7R1 and below (Apache 2.2.x): order allow,deny allow from all Header set Access-Control-Allow-Origin “*” V7R2 and above (Apache 2.4.x): Require All granted Header set Access-Control-Allow-Origin “*”

Sending email using telnet command

Open your command prompt. Now, connect with telnet using the following command: telnet example.com 25 Type ehlo example.com. Some servers also accept helo in place of ehlo. ehlo example.com Type mail from: username@example.com: mail from: username@example.com Type rcpt to: friend@hotmail.com, friend2@yahoo.com (replace with your actual recipient name): rcpt to: user1@gmail.com, user2@gmail.com To write the message – type data, followed…

How to set mtu size for a network interface in redhat linux ?

1. To dynamically change the MTU in real time while the server is in use, ip link set dev eth0 mtu 1350 2. To make the change permanent, edit the interface configuration file (for instance eth0) vi /etc/sysconfig/network-scripts/ifcfg-eth0 AND ADD THE FOLLOWING LINE MTU=1350 3. To restart the Network Interface service network restart eth0