solving real-world problems with wireshark

23
Solving Real-World Problems with Wireshark Top-Down vs. Bottom-Up Approach By Emil Prysak

Upload: zita

Post on 25-Feb-2016

109 views

Category:

Documents


1 download

DESCRIPTION

Solving Real-World Problems with Wireshark. Top-Down vs. Bottom-Up Approach By Emil Prysak. Introduction. NOC (Network Operations Center) Engineer at Weight Watchers Resolving various networking problems Wireshark used frequently - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Solving Real-World Problems with  Wireshark

Solving Real-World Problems with Wireshark

Top-Down vs. Bottom-Up Approach

By Emil Prysak

Page 2: Solving Real-World Problems with  Wireshark

IntroductionNOC (Network Operations Center) Engineer at Weight

WatchersResolving various networking problemsWireshark used frequentlyUsing top-down and bottom-up approaches depending on

the given symptomsTwo examples:

IP Address Loss Bottom-Up ApproachRightFax Email Delay Top-Down Approach

Page 3: Solving Real-World Problems with  Wireshark

Overview of OSI ModelApplication Layer – file transfer, email, network

management, softwarePresentation Layer – data representation, encryption,

protocol conversionSession Layer – managing connections between

applicationsTransport Layer – error recovery, flow controlNetwork Layer – routing, switching, packet sequencing, IP

addressingData Link Layer – frame synchronization, error control,

physical (MAC) addressingPhysical Layer – cabling, bit stream, electric signal

Page 4: Solving Real-World Problems with  Wireshark
Page 5: Solving Real-World Problems with  Wireshark

Troubleshooting Approaches for Networking Problems

Top-Down Approach Bottom-Up ApproachFrom Application to

PhysicalSoftware HardwareWorks best when

problem is isolated to one user or device

From Physical to Application

Hardware SoftwareWorks best when

problem is affecting multiple users or devices

Page 6: Solving Real-World Problems with  Wireshark

WiresharkOpen source packet analyzerAble to sniff out various types of network

trafficCan use custom display and capture filters

Can also use Perl compatible regular expressions

Helpful when using both top-down and bottom-up approaches

Version used: 1.8.1

Page 7: Solving Real-World Problems with  Wireshark

IP Address LossSome users are losing network connectivity“ipconfig/release” – “ipconfig/renew” gives

temporary fix, problem reoccurs when computer restarts

Obtaining different addresses eachBottom-up approach will be used

Involves physical connectivityMultiple users affected

Page 8: Solving Real-World Problems with  Wireshark

IP Address Loss:List of Components InvolvedCore router

wwjer-ro6509-1 (Cisco Catalyst 6500 series, IOS)Core switches

Wwjer-sw6509-1 (Cisco Catalyst 6500 series, CatOS)Wwjer-sw6509-2 (Cisco Catalyst 6500 series, CatOS)

DHCP server “LICNAAD01” 10.80.40.34 Wireshark server “LICPSHARK01” 10.80.40.41

Version 1.8.1Multiple end users

Jack C-345 IPs: 192.168.0.136 and 10.80.110.50

Jack C-336 IPs: 192.168.0.137 and 10.80.110.126

Page 9: Solving Real-World Problems with  Wireshark

IP Address Loss: First Steps Needed to wait until issue was confirmed by more users All affected users appeared to be on vlan 110 Catalyst Switched Port Analyzer (SPAN)

Allows certain type of traffic to be picked up by designated sniffing server (LICPSHARK01)

set span 110 4/17 session 1

Page 10: Solving Real-World Problems with  Wireshark

IP Address Loss: Wireshark TraceBoth interfaces used

for capture, encompassing users on both switches

Filter needed for DHCP Packets:Udp port 67 or udp

port 68

Page 11: Solving Real-World Problems with  Wireshark

IP Address Loss: Wireshark Trace

Page 12: Solving Real-World Problems with  Wireshark

IP Address Loss: Wireshark Trace

D-Link Wireless Router

Page 13: Solving Real-World Problems with  Wireshark

IP Address Loss: Finding The Wireless RouterRouter was not always on, had to wait until

another user was affectedFind router with switching commands

Show cam 00:15:E9:F3:EF:B0Router was found at jack E-649DHCP was enabled, and giving off addresses

before DHCP server could do soRouter was removed and problem resolved

Page 14: Solving Real-World Problems with  Wireshark

RightFax Email DelayRightFax

client software by OpenTextreceives faxed documents, converts to email,

and sends to destination mailboxRightFax emails delayed by hoursTallyFax1 reported the issue firstRightFax runs on separate server (NYCPFAX)Top-Down approach will be used

Related to RightFax applicationReported by one user

Page 15: Solving Real-World Problems with  Wireshark

RightFax Email Delay: Sample MailFax received by server at 3:05: PMEmail received by recipient at 7:38 PM Approximately 4.5 hours of delay

Page 16: Solving Real-World Problems with  Wireshark

RightFax Email Delay: List of Components InvolvedField Users sending faxesRightFax server (NYCPFAX) 10.40.40.46SMTP server (NYAPSMTP03) 10.75.10.6Office 365 Cloud

Page 17: Solving Real-World Problems with  Wireshark

RightFax Email Delay: First Steps Ideally, configuration of RightFax would be checked for problems. However, RightFax is an unfamiliar program, and not much was

discovered. Saw that outgoing server was NYAPSMTP03 (Application Layer) SMTP logging was enabled to find a root cause

Page 18: Solving Real-World Problems with  Wireshark

RightFax Email Delay: SMTP Log Results Initial thoughts: HRBenefits mailbox was full, so no emails were getting

through. Not valid: HRbenefits mailbox was using only 2.12 GB of 25 GB space

allocated

Page 19: Solving Real-World Problems with  Wireshark

RightFax Email Delay: Wireshark TraceJump to Network LayerSet up Wireshark trace on NYAPSMTP03

Capture Filter: tcp port 25Display Filter: smtp.rsp.parameter matches

“Mailbox full“

Page 20: Solving Real-World Problems with  Wireshark

RightFax Email Delay: ResultsError message “452 Mailbox Full” was

coming from 10.75.10.6 (NYAPSMTP03)Further research found that the C:\inetpub\

mailroot\Drop directory was full of unsent emails

Destination email address was incomplete, and default was not valid.

Once quota was hit, emails were bounced back to NYCPFAX, clogging queue on fax server.

Page 21: Solving Real-World Problems with  Wireshark

RightFax Email Delay: Results

Page 22: Solving Real-World Problems with  Wireshark

RightFax Email Delay: SolutionWhen WW switched from MS Exchange to Office365, email

aliasing was not considered.With local Exchange server, “TALLYFAX1” could translate

to [email protected] sending to the Office365 using SMTP Relay, the

destination email address was considered invalid, and not pick up from C:\inetpub\mailroot\Drop directory

Notification address had to be changed to full email address for each user

Queue of emails in Drop directory on NYAPSMTP03 and NYCPFAX had to be cleared out

After change was made, all faxes and notifications were sent on time.

Page 23: Solving Real-World Problems with  Wireshark

ConclusionWireshark is extremely useful for

troubleshooting network issues from both types of approachesNetwork Layer is in the middleMakes it equally accessible from both ends

Given more experience, a Divide and Conquer approach may be more beneficialSelect any layer desired

If layer has no issues, check layer above it. If issues were found, check layer below it. The lowest layer with errors is the culprit.