User's Manual

Table Of Contents
PacketCaptureConfigurationandSettings
D-Link UnifiedAccessPointAdministratorsGuide
November2011 Page126
UnifiedAccessPointAdministratorsGuide
ToconfigureWiresharktousetheAPasthesourceforcapturedpack ets,youmustspecifytheremoteinterface
inthe"CaptureOptions"menu.Forexampletocapturepack etsonanAPwithIPaddress192.168.1.10onradio
1usingthedefaultIPport,specifythefollowinginterface:
rpcap://192.168.1.10/radio1
Tocapture
packetsontheEthernetinterfaceoftheAPandVAP0onradio1usingIPport58000,starttwo
Wiresharksessionsandspecifythefollowinginterfaces:
rpcap://192.168.1.10:58000/eth0
rpcap://192.168.1.10:58000/wlan0
Whenyouarecapturingtrafficontheradiointerface,youcandisablebeaconcapture,butother802.11control
framesarestillsenttoWireshark.You
cansetupadisplayfiltertoshowonly:
•Dataframesinthetrace
•TrafficonspecificBSSIDs
•Trafficbetweentwoclients
Someexamplesofusefuldisplayfiltersare:
ExcludebeaconsandACK/RTS/CTSframes:
!(wlan.fc.type_subtype==8||wlan.fc.type==1)
•Dataframesonly:
wlan.fc.type==2
•TrafficonaspecificBSSID:
wlan.bssid==00:02:bc:00:17:d0
•Alltraffictoandfromaspecificclient:
wlan.addr==00:00:e8:4e:5f:8e
Inremotecapturemode,trafficissenttothePCrunningWiresharkviaoneofthenetworkinterfaces.
DependingonwheretheWiresharktoolislocatedthetrafficcanbesentonanEthernetinterfaceoroneofthe
radios.In
ordertoavoidatrafficfloodcausedbytracingthetracepackets,theAPautomaticallyinstallsa
capturefiltertofilteroutallpacketsdestinedtotheWiresharkapplication.ForexampleiftheWiresharkIPport
isconfiguredtobe58000thenthefollowingcapturefilterisautomaticallyinstalledon
theAP:
notportrange5800058004.
EnablingthepacketcapturefeatureimpactsperformanceoftheAPandcancreateasecurityissue
(unauthorizedclientsmaybeabletoconnecttotheAP andtraceuserdata).TheAPperformanceisnegatively
impactedevenifthereisnoactiveWiresharksessionwith
theAP.Theperformanceisnegativelyimpactedto
agreaterextentwhenpacketcaptureisinprogress.
Duetoperformanceandsecurityissues,thepacketcapturemodeisnotsavedinNVRAMontheAP;iftheAP
resets,thecapturemodeisdisabledandtheyoumustreenableit
inordertoresumecapturingtraffic.Packet
captureparameters(otherthanmode)aresavedinNVRAM.