[OpenSIPS-Users] Serious cancel problem

Muhammad Shahzad shaheryarkh at gmail.com
Fri Jun 7 09:47:18 CEST 2013


There is a console version of wireshark available for debian at least, it
is called "tshark". Install it on remote server, do something like this,

tshark -i <ethernet-interface-to-listen-on> -w <dump-file>.pcap

you can read its man page or "tshark -h" to see all available options, e.g.
you can specify capture filters to dump only interesting traffic to the
file. Also you can read a captured call from console too. However, it won't
be as easily and neat as GUI version.

Thank you.




On Thu, Jun 6, 2013 at 11:44 PM, Davide Dal Frà <lab at dalfra.com> wrote:

>  Hi Nick,
>
> No problem for this. You could do a live dump on remote server using
> tcpdump over ssh.
> Something like :
>
>    - first: make a fifo with mkfifo /tmp/capture
>     - ssh user at host tcpdump -i yourethinterface -U -s0 -w - 'udp 5060' >
>    /tmp/capture (you could personalize the filter on tcpdump delimited between
>    ->'<- )
>    - Open wireshark->Capture->Interface->Options
>    - Mange Interface->new-> browse or digit directly the path of the fifo
>    begin created
>    - Save
>    - Start dumping & enjoy!
>
> If you have Signaling on a server and media on another one there are no
> problem. You could dump signaling as described before, and make another
> fifo and dump in the same way the media from the other server.
>
> On Wireshark side add both fifo interface (make sure that after you have
> saved the interface you have both selected into the menu) and start the
> live dump!
>
> Maybe coul seem complicated, but you can automate all in a bash script!
>
> Khaled, sorry again!
>
> BR
> Davide
>
> On 06/06/13 22:24, Nick Khamis wrote:
>
> The problem is, wireshark is running on my computer, but the voip traffic
> is on the servers, also within the network. Khaled, sorry for the hijack!
>
>  N.
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130607/adce155c/attachment.htm>


More information about the Users mailing list