FAQs, Helpful Tips, and Screenshots

 View Only

Problems with downloading of TCPDUMP from server (for example AEMS Avaya Equinox Media Server new ver. 9.1.11.0.20). Helpful tip !

  • 1.  Problems with downloading of TCPDUMP from server (for example AEMS Avaya Equinox Media Server new ver. 9.1.11.0.20). Helpful tip !

    Posted 11-16-2021 08:55 AM
    It happens that we can no longer download created TCPDUMP from the server after upgrade.
    This is due to increased security.
    For example I'm talking about AEMS Avaya Equinox Media Server.
    From Release 9.1.11, this product is Avaya Meetings Media Server.
    If you have problems with created TCPDUMP downloading from AEMS / AMMS new ver. (9.1.11.0.20) there is a tip.
    TCPDUMPs needed for traffic analysis and for sending TCPDUMPs to Avaya when working on SR's.
    Well, earlier we collected TCPDUMPs:
    sudo tcpdump -i any -w filename.pcap
    Then we downloaded created TCPDUMP using say WinSCP (using login pmgradmin of course).
    Now trying to download it we get: Permission denied :

    If we try to modify file permission:
    chmod 777 example.pcap / sudo chmod 777 example.pcap, 
    or try to change the owner of a file:
    chown pmgradmin:pmgradmin example.pcap / sudo chmod
    pmgradmin:pmgradmin example.pcap
    we get: Operation not permitted / user pmgradmin is not allowed :



    Solution: 
    Just collect TCPDUMPs using -Z option (-Z pmgradmin drops privileges and changes user to pmgradmin)
    sudo tcpdump -i any -w filename-1.pcap -Z pmgradmin
    Then we can see:

    And now we can download created TCPDUMP with no problems.
    Thank you for the attention !


    ------------------------------
    Ruslan Makrushin
    Forum Moderator
    Senior System Administrator
    Rostelecom Digital Technologies
    Moscow
    ------------------------------