SlideShare une entreprise Scribd logo
1  sur  7
Copyright 2013 @ tcpipguru.com
Network Testing and Analysis
How to Guide for Networking Engineers
Copyright 2013 @ tcpipguru.com
Copyright 2013 @ tcpipguru.com
Table of Contents
How to Capture and Display traffic between two systems on a network
How to craft a ping packet
How to detect rogue DHCP servers on a network
How to detect web servers on a network
How to display bytes received and sent on the network card in an interval
How to display ports in listening state on a Windows system
How to find access points on a network
How to find Active directory servers on a network
How to find all subnet directed broadcast on a network
How to find broadcast frames on a network
How to find FTP servers on a network
How to find a printer on a network
How to find ports open on your internet router
How to find proxy servers on a network
How to find TCP applications running on a remote system
How to find the IP address of an IP camera on a network
How to find the number of hops taken by a packet to reach the destination.
How to find the reason as to why an application is not working on a remote
computer.
How to find unicast packets sent to a gateway router from devices on the network
How to find used IP addresses on a network
How to passively monitor 802.11 packets on a network
Copyright 2013 @ tcpipguru.com
How to route internet traffic through a specific network card
How to scan a range of TCP ports on a system
How to simulate TCP connections to a required server port number
How to troubleshoot DNS connectivity issues
How to troubleshoot internet with nmap.
How to troubleshoot port forwarding issues
How to troubleshoot remote desktop connectivity issues
How to troubleshoot web communication connectivity issues.
How to view received and sent bytes on a network card
How to view TCP connection statistics on a Windows systems
How to view TCP connections on a Window System
How to view the data in bytes which is sent and received by a process in memory
How to view the state of a network process on a Windows System
How to find HTTP traffic passing through a router
How to find http traffic to and from a PC on a network
How to find the protocols which pass through the LAN interface of an internet
router.
How to detect eavesdropping vulnerable protocols on an IP address
How to test an inbound ACL
How to test cam flooding attack
How to send IP packets in a loop with random IP addresses.
Copyright 2013 @ tcpipguru.com
How to Capture and Display traffic between two systems on a network
The wireshark tutorial shows how to capture and display traffic between two
systems on a network. Setup and install wireshark on any one of the systems. Start
the capture and stop as and when required. In the below screenshot, a filter is
applied which would display the traffic between the systems 192.168.1.3 and
192.168.1.1
How to craft a ping packet
The tutorial explains how to craft a ping packet. Ping is a tool, which is used for
network troubleshooting. It is also used to test the availability of a system on the
network. Ping uses the ICMP protocol at the network layer for communication.
ICMP type 8 and code 0 packet is generated when a ping request is initiated. For
crafting a ping packet, scapy is used. The following code creates a ping packet,
which has the source IP address as 192.168.1.6 and the destination IP address as
Copyright 2013 @ tcpipguru.com
192.168.1.1. The ICMP packet is created , which is provided with the appropriate
values, 8 and 0 for the type and code field. The packet is sent using the
send(ip/icmp) command.
from scapy.all import *
ip=IP()
icmp=ICMP()
ip.src='192.168.1.6'
ip.dst='192.168.1.1'
icmp.type=8
icmp.code=0
send(ip/icmp)
To test the functionality of the code, setup the lab with two systems with IP
address as 192.168.1.6 and 192.168.1.1, both connected to a switch. Setup scapy,
python and wireshark on the PC configured with the IP address, 192.168.1.6. Start
wireshark on the PC and run the code. The ping request packet (Crafted packet)
should be seen in wireshark as well as the response to the packet (Ping reply)
How to detect rogue DHCP servers on a network
In this tutorial, the mechanism to detect a rogue dhcp server with nmap is
understood. Rogue dhcp servers are setup on the network by attackers to create
disruption of services. nmap is installed on a system. nmap is used to scan, UDP
port 67, which is used by DHCP servers on the network. As the network
administrator would be aware of the IP address of the DHCP server on the
network, any other IP address associated with UDP port 67 would be identified as
a rogue DHCP server. The following screenshot shows the command which can be
used for scanning the network 192.168.2.0/24 for udp port 67. The output of the
command returns the dhcp servers on the network. In this network, there is only
one valid dhcp server, which is 192.168.2.1.The status of the port 67 is shown as
open.
Copyright 2013 @ tcpipguru.com
Ebook Price - $5
Visit www.tcpipguru.com to buy the Ebook

Contenu connexe

Plus de tcpipguru

How to configure Standard ACL for an ip address
How to configure Standard ACL for an ip addressHow to configure Standard ACL for an ip address
How to configure Standard ACL for an ip address
tcpipguru
 
How to configure Standard ACL for a network
How to configure Standard ACL  for a networkHow to configure Standard ACL  for a network
How to configure Standard ACL for a network
tcpipguru
 
Cisco Router Terms
Cisco Router TermsCisco Router Terms
Cisco Router Terms
tcpipguru
 
How to configure Rip version2 on a Cisco router
How to configure Rip version2 on a Cisco routerHow to configure Rip version2 on a Cisco router
How to configure Rip version2 on a Cisco router
tcpipguru
 
How to obtain ip address from a different network dhcp
How to obtain ip address from a different network dhcpHow to obtain ip address from a different network dhcp
How to obtain ip address from a different network dhcp
tcpipguru
 
How to configure Extended acl for an ip address
How to configure Extended acl for an ip addressHow to configure Extended acl for an ip address
How to configure Extended acl for an ip address
tcpipguru
 
How to configure Extended acl for a network
How to configure Extended acl for a networkHow to configure Extended acl for a network
How to configure Extended acl for a network
tcpipguru
 
How to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco routerHow to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco router
tcpipguru
 
How to configure Dynamic nat
How to configure Dynamic natHow to configure Dynamic nat
How to configure Dynamic nat
tcpipguru
 
How to configure DHCP Server
How to configure DHCP Server How to configure DHCP Server
How to configure DHCP Server
tcpipguru
 
How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routing
tcpipguru
 
How to configure SSH on Cisco switch
How to configure SSH on Cisco switchHow to configure SSH on Cisco switch
How to configure SSH on Cisco switch
tcpipguru
 
Configuring ssh on switch
Configuring ssh on switchConfiguring ssh on switch
Configuring ssh on switch
tcpipguru
 
How to Configure password for telnet and console port of a switch
How to Configure password for telnet and console port of a switchHow to Configure password for telnet and console port of a switch
How to Configure password for telnet and console port of a switch
tcpipguru
 
How to Configure ip address for router interfaces
How to Configure ip address for router interfacesHow to Configure ip address for router interfaces
How to Configure ip address for router interfaces
tcpipguru
 
How to create Security on Cisco switch
How to create Security on Cisco switchHow to create Security on Cisco switch
How to create Security on Cisco switch
tcpipguru
 
How to Save, backup and restore IOS on Cisco router
How to Save, backup and restore IOS on Cisco routerHow to Save, backup and restore IOS on Cisco router
How to Save, backup and restore IOS on Cisco router
tcpipguru
 
How to configure different Spanning tree port status
How to configure different Spanning tree port statusHow to configure different Spanning tree port status
How to configure different Spanning tree port status
tcpipguru
 

Plus de tcpipguru (20)

Python programming course
Python programming coursePython programming course
Python programming course
 
Network security projects
Network security projectsNetwork security projects
Network security projects
 
How to configure Standard ACL for an ip address
How to configure Standard ACL for an ip addressHow to configure Standard ACL for an ip address
How to configure Standard ACL for an ip address
 
How to configure Standard ACL for a network
How to configure Standard ACL  for a networkHow to configure Standard ACL  for a network
How to configure Standard ACL for a network
 
Cisco Router Terms
Cisco Router TermsCisco Router Terms
Cisco Router Terms
 
How to configure Rip version2 on a Cisco router
How to configure Rip version2 on a Cisco routerHow to configure Rip version2 on a Cisco router
How to configure Rip version2 on a Cisco router
 
How to obtain ip address from a different network dhcp
How to obtain ip address from a different network dhcpHow to obtain ip address from a different network dhcp
How to obtain ip address from a different network dhcp
 
How to configure Extended acl for an ip address
How to configure Extended acl for an ip addressHow to configure Extended acl for an ip address
How to configure Extended acl for an ip address
 
How to configure Extended acl for a network
How to configure Extended acl for a networkHow to configure Extended acl for a network
How to configure Extended acl for a network
 
How to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco routerHow to configure EIGRP on a Cisco router
How to configure EIGRP on a Cisco router
 
How to configure Dynamic nat
How to configure Dynamic natHow to configure Dynamic nat
How to configure Dynamic nat
 
How to configure DHCP Server
How to configure DHCP Server How to configure DHCP Server
How to configure DHCP Server
 
How to configure Default Routing
How to configure Default RoutingHow to configure Default Routing
How to configure Default Routing
 
How to configure SSH on Cisco switch
How to configure SSH on Cisco switchHow to configure SSH on Cisco switch
How to configure SSH on Cisco switch
 
Configuring ssh on switch
Configuring ssh on switchConfiguring ssh on switch
Configuring ssh on switch
 
How to Configure password for telnet and console port of a switch
How to Configure password for telnet and console port of a switchHow to Configure password for telnet and console port of a switch
How to Configure password for telnet and console port of a switch
 
How to Configure ip address for router interfaces
How to Configure ip address for router interfacesHow to Configure ip address for router interfaces
How to Configure ip address for router interfaces
 
How to create Security on Cisco switch
How to create Security on Cisco switchHow to create Security on Cisco switch
How to create Security on Cisco switch
 
How to Save, backup and restore IOS on Cisco router
How to Save, backup and restore IOS on Cisco routerHow to Save, backup and restore IOS on Cisco router
How to Save, backup and restore IOS on Cisco router
 
How to configure different Spanning tree port status
How to configure different Spanning tree port statusHow to configure different Spanning tree port status
How to configure different Spanning tree port status
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Dernier (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 

Network analysis Book

  • 1. Copyright 2013 @ tcpipguru.com Network Testing and Analysis How to Guide for Networking Engineers
  • 2. Copyright 2013 @ tcpipguru.com
  • 3. Copyright 2013 @ tcpipguru.com Table of Contents How to Capture and Display traffic between two systems on a network How to craft a ping packet How to detect rogue DHCP servers on a network How to detect web servers on a network How to display bytes received and sent on the network card in an interval How to display ports in listening state on a Windows system How to find access points on a network How to find Active directory servers on a network How to find all subnet directed broadcast on a network How to find broadcast frames on a network How to find FTP servers on a network How to find a printer on a network How to find ports open on your internet router How to find proxy servers on a network How to find TCP applications running on a remote system How to find the IP address of an IP camera on a network How to find the number of hops taken by a packet to reach the destination. How to find the reason as to why an application is not working on a remote computer. How to find unicast packets sent to a gateway router from devices on the network How to find used IP addresses on a network How to passively monitor 802.11 packets on a network
  • 4. Copyright 2013 @ tcpipguru.com How to route internet traffic through a specific network card How to scan a range of TCP ports on a system How to simulate TCP connections to a required server port number How to troubleshoot DNS connectivity issues How to troubleshoot internet with nmap. How to troubleshoot port forwarding issues How to troubleshoot remote desktop connectivity issues How to troubleshoot web communication connectivity issues. How to view received and sent bytes on a network card How to view TCP connection statistics on a Windows systems How to view TCP connections on a Window System How to view the data in bytes which is sent and received by a process in memory How to view the state of a network process on a Windows System How to find HTTP traffic passing through a router How to find http traffic to and from a PC on a network How to find the protocols which pass through the LAN interface of an internet router. How to detect eavesdropping vulnerable protocols on an IP address How to test an inbound ACL How to test cam flooding attack How to send IP packets in a loop with random IP addresses.
  • 5. Copyright 2013 @ tcpipguru.com How to Capture and Display traffic between two systems on a network The wireshark tutorial shows how to capture and display traffic between two systems on a network. Setup and install wireshark on any one of the systems. Start the capture and stop as and when required. In the below screenshot, a filter is applied which would display the traffic between the systems 192.168.1.3 and 192.168.1.1 How to craft a ping packet The tutorial explains how to craft a ping packet. Ping is a tool, which is used for network troubleshooting. It is also used to test the availability of a system on the network. Ping uses the ICMP protocol at the network layer for communication. ICMP type 8 and code 0 packet is generated when a ping request is initiated. For crafting a ping packet, scapy is used. The following code creates a ping packet, which has the source IP address as 192.168.1.6 and the destination IP address as
  • 6. Copyright 2013 @ tcpipguru.com 192.168.1.1. The ICMP packet is created , which is provided with the appropriate values, 8 and 0 for the type and code field. The packet is sent using the send(ip/icmp) command. from scapy.all import * ip=IP() icmp=ICMP() ip.src='192.168.1.6' ip.dst='192.168.1.1' icmp.type=8 icmp.code=0 send(ip/icmp) To test the functionality of the code, setup the lab with two systems with IP address as 192.168.1.6 and 192.168.1.1, both connected to a switch. Setup scapy, python and wireshark on the PC configured with the IP address, 192.168.1.6. Start wireshark on the PC and run the code. The ping request packet (Crafted packet) should be seen in wireshark as well as the response to the packet (Ping reply) How to detect rogue DHCP servers on a network In this tutorial, the mechanism to detect a rogue dhcp server with nmap is understood. Rogue dhcp servers are setup on the network by attackers to create disruption of services. nmap is installed on a system. nmap is used to scan, UDP port 67, which is used by DHCP servers on the network. As the network administrator would be aware of the IP address of the DHCP server on the network, any other IP address associated with UDP port 67 would be identified as a rogue DHCP server. The following screenshot shows the command which can be used for scanning the network 192.168.2.0/24 for udp port 67. The output of the command returns the dhcp servers on the network. In this network, there is only one valid dhcp server, which is 192.168.2.1.The status of the port 67 is shown as open.
  • 7. Copyright 2013 @ tcpipguru.com Ebook Price - $5 Visit www.tcpipguru.com to buy the Ebook