Skip to menu Skip to content Skip to search
The Spacewalkers Forum

Forum

You have to be logged in to ask a question
Question
Asked by ZJacky zjacky
STELLAR
Asked on 4 March 2019 13 h 17 min

Packet capture on Stellar AP

Anybody knows how to do packet capture on Stellar AP? (Enterprise mode)

Thanks.

Answer question
Your vote :
Rating : 0
Answers
Answer by dan
Answered on 13 March 2019 11 h 24 min

Yes, first you need to save the capture to a file with the command:
$ssudo tcpdump -i 3 -w test-capture.pcap udp and port 53

Then you can connect using scp to the AP, to do this you can use any free tool like winscp, connect using the support account to the port 22 and then you are able to download the packet capture file to your local laptop and analyze it with any tool. Hope it helps

Your vote :
Rating : 0
Answer by zjacky
Answered on 7 March 2019 13 h 52 min

Thanks. Can I ftp the capture out?

Your vote :
Rating : 0
Answer by ahbekka
Answered on 7 March 2019 11 h 38 min

You checked now that all is steady and there is no packet loss once tcpdump is executing ? About a year ago I observed heavy pkt loss. Hope it's ok now. Let us know pls.

Thanks

Your vote :
Rating : 0
Answer by oma-stellar
Answered on 7 March 2019 11 h 24 min

Such command should be definitively written in a troubleshooting guide!

Your vote :
Rating : 0
Answer by dan
Answered on 6 March 2019 16 h 07 min

By the way this method works on every mode, I mean on Express and Enterprise.
Just to complete the previous answer....

Your vote :
Rating : 0
Answer by dan
Answered on 5 March 2019 7 h 22 min

Hi, you can connect with the support account to the AP and then execute the following command:

$ssudo tcpdump -i 3 udp and port 53

In this example you will be capturing just the DNS traffic, the -i 3 attribute means that you are listening on the br-wan interface which is the interface you need to listen to see all the traffic.
Hope this can help you.

Your vote :
Rating : 0