Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Using Wireshark in 3CX Linux

Discussion in '3CX Phone System - General' started by datamerge, Dec 6, 2016.

Thread Status:
Not open for further replies.
  1. datamerge

    datamerge New Member

    Joined:
    Nov 19, 2014
    Messages:
    181
    Likes Received:
    25
    Here is a tip to allow easy SIP call tracing directly from Linux without needing to use TShark, or tcpdump to create and export pcap files.

    Install wireshark with apt-get install wireshark. It is a big install, but causes no problems to the PBX.
    Download and install xlaunch onto your own PC. XLaunch is an excellent open source X-Window server for Windows. You get it from Sourceforge.

    Run xlaunch. You will get a wizard.
    Choose multiple Windows, then next.
    Choose start a program, then next.
    In the start program field, type wireshark. Tick using Putty (plink.exe). Enter the IP address of the PBX computer and your login and password. Click next and next again.
    At this point you can save the configuration to a file which you can later double click on to automate the entire process. It is optional. When finished click Finish.
    At this point you should see Wireshark start on your PC as if it was running locally. Now you can do your captures and run all the cool analysis tools built into Wireshark directly on your PC.

    Hope this is helpful to others.

    Linux rocks!
     
    JCLloyd likes this.
  2. 12494

    12494 Member

    Joined:
    Apr 16, 2010
    Messages:
    306
    Likes Received:
    31
    Just checking with you - I visited sourceforge but was not able to find something called xlaunch. Can you provide any additional specifics please?

    Thanks.

    Regards,
    Allen
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Sopock

    Sopock Member

    Joined:
    Jul 11, 2012
    Messages:
    447
    Likes Received:
    20
    Maybe we should search for Xming?:cool:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. datamerge

    datamerge New Member

    Joined:
    Nov 19, 2014
    Messages:
    181
    Likes Received:
    25
    Yes sorry. XLaunch is the app you will use, but the project is in fact Xming.
     
Thread Status:
Not open for further replies.