Reply
New Member
Posts: 12
Registered: ‎05-01-2012

FEATURE REQUEST : Packet sniffer Tools

Hello, it is possible to have  Packet sniffer tools in UBNT?

 (something like Mikrotik Devices)

 http://wiki.mikrotik.com/wiki/Manual:Tools/Packet_Sniffer#Summary

SuperUser
Posts: 21,744
Registered: ‎11-20-2011
Kudos: 7844
Solutions: 233

Re: FEATURE REQUEST : Packet sniffer Tools

tcpdump is already installed



isp builder | linux sorcerer | datacenter automation conjurer | blog: blog.engineered.online
link to our slack channel on the blog
New Member
Posts: 12
Registered: ‎05-01-2012

Re: FEATURE REQUEST : Packet sniffer Tools

tcpdump in official ubnt firmware? (in Command line mode?)

is it possible to stream packetes to wireshark?

thanks

SuperUser
Posts: 21,744
Registered: ‎11-20-2011
Kudos: 7844
Solutions: 233

Re: FEATURE REQUEST : Packet sniffer Tools

Why would you stream packets to wireshark when you are already getting that info directly via ssh? grep is an amazing tool.



isp builder | linux sorcerer | datacenter automation conjurer | blog: blog.engineered.online
link to our slack channel on the blog
New Member
Posts: 12
Registered: ‎05-01-2012

Re: FEATURE REQUEST : Packet sniffer Tools

because i cannot check every sec SSH and tcpdump connection, i use wireshark because i can save packets.

is it possible to capture ubnt wlan in Promiscuous mode ?

thanks dear

Regular Member
Posts: 444
Registered: ‎08-16-2010
Kudos: 103
Solutions: 9

Re: FEATURE REQUEST : Packet sniffer Tools

SuperUser
Posts: 21,744
Registered: ‎11-20-2011
Kudos: 7844
Solutions: 233

Re: FEATURE REQUEST : Packet sniffer Tools

I don't believe netcat is part of the base build.

http://www.looke.ch/wp/monitoring-a-remote-network-interface-with-tcpdump-and-wireshark



isp builder | linux sorcerer | datacenter automation conjurer | blog: blog.engineered.online
link to our slack channel on the blog
Regular Member
Posts: 444
Registered: ‎08-16-2010
Kudos: 103
Solutions: 9

Re: FEATURE REQUEST : Packet sniffer Tools

Apparently I have been living under a rock. Looking closer, it was included up until at least 5.5, but isn't around in 5.5.2 and later. There are other ways still Man Happy

New Member
Posts: 12
Registered: ‎05-01-2012

Re: FEATURE REQUEST : Packet sniffer Tools

i love to know other ways, thanks dearSmiley Happy

Emerging Member
Posts: 89
Registered: ‎10-15-2010
Kudos: 20
Solutions: 3

Re: FEATURE REQUEST : Packet sniffer Tools

we use wireshark extensively for the voip analyzing on ubnt gear

ssh with tcpdump to wireshark

http://www.commandlinefu.com/commands/view/4373/analyze-traffic-remotely-over-ssh-w-wireshark

New Member
Posts: 12
Registered: ‎05-01-2012

Re: FEATURE REQUEST : Packet sniffer Tools

[ Edited ]
seem tcp capture only my data. i want capture in monitor mode to analyse network.
New Member
Posts: 1
Registered: ‎11-06-2016

Re: FEATURE REQUEST : Packet sniffer Tools

Greetings Experts.

 

For my test bench Internet ( ie: ISP) is connected to Ubiquity Base station (Rocket M2) it's  connected to Nano Station M series (NSM2) and then to router then to PC 

      ISP > Basestation > Nanostation > Router > PC

 

If I connect end users to the router, how can I sniff the packet data through PC ? 

Methods or any software ?

Or

Can I sniff directly from the base station and view it on PC ? or any way to run Wireshark on a base station or nanto station ?

 

I tried using PRTG for ubiquity networks and tried to add SNMP sensor but it doesn't work .

 

Thank you in advance 

Mirav T Mehta

Emerging Member
Posts: 45
Registered: ‎04-22-2016
Kudos: 10
Solutions: 1

Re: FEATURE REQUEST : Packet sniffer Tools

In ssh, simply use the following command :

 

ssh username@ip "tcpdump -ni [interface] -w -" >dump.pcap

Explanation :

You execute remotely the tcpdump command using the parameter -w that output the result to stdin.

The output is also redirected to a local file called dump.pcap.

 

Note the "-" after the "-w" that will output to stdin

 

Enjoy

Highlighted
Ubiquiti Employee
Posts: 9,580
Registered: ‎11-27-2012
Kudos: 2876
Solutions: 612
Contributions: 73

Re: FEATURE REQUEST : Packet sniffer Tools

[ Edited ]

You can also use plink.exe (cli puTTY) to stream tcpdump via SSH.  You'll need to download plink.exe and have already logged into the radio via plink or putty.

 

 

plink.exe -ssh -pw ubnt ubnt@192.168.0.30 "tcpdump -ni ath0 -s 0 -w - not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i -

This will show all packets on ath0 (wireless) excluding SSH.

UBNT_Alternate_Logo.png
Ubiquiti Networks airMAX Support Team

Check out our ever-evolving Help Center for answers to many common questions!

FREE UBWA Student Guide-Great RF Primer!

Reply