Wired Intelligent Edge

 View Only
last person joined: yesterday 

Bring performance and reliability to your network with the Aruba Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of the ArubaOS-Switch and ArubaOS-CX devices, and find ways to improve security across your network to bring together a mobile first solution.
Expand all | Collapse all

Fix: tcpdump in wrong directory

This thread has been viewed 25 times
  • 1.  Fix: tcpdump in wrong directory

    Posted 2 days ago
    Hi all,

    we have a couple of 8325 and 8360 switches updated to 10.10.1010 and now tcpdump is in the wrong directory under Linux.
    We can not say with which version this started, but we see this bahavior in 8325 and 8360 switches running 10.10.1010.

    1# diagnostics
    1# diag utilities tcpdump
    exec of "/usr/sbin/tcpdump" failed: No such file or directory
    ​1# start-shell
    1:~$ which tcpdump
    /usr/bin/tcpdump
    1:~$
    
    notice that the program is in /usr/bin and not /usr/sbin

    A simple softlink to the sbin directory fixes the problem.

    1:~$ sudo ln -s /usr/bin/tcpdump /usr/sbin/tcpdump
    1:~$ exit
    exit
    1# diagnostics
    1# diag utilities tcpdump
    tcpdump: data link type LINUX_SLL2
    tcpdump: listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
    ^C
    0 packets captured
    0 packets received by filter
    0 packets dropped by kernel
    1#
    ​

    I am not sure if creating this link will break in future updates.
    I will create a case for this bug. Maybe someone else can replicate this in another software version or for more switches.

    ------------------------------
    Bjarne
    ------------------------------


  • 2.  RE: Fix: tcpdump in wrong directory

    EMPLOYEE
    Posted 2 days ago
    Hi Bjarne,

    This must have been already fixed in ArubaOS-CX 10.10.1020, could you check it before opening a case?

    Thank you!

    ------------------------------
    Ivan Bondar
    ------------------------------



  • 3.  RE: Fix: tcpdump in wrong directory

    Posted 2 days ago
    Yes, I am currently downloading the image :)

    Edit: But I can not find it in the Release Notes
    ------------------------------
    Thanks,
    Bjarne
    ------------------------------



  • 4.  RE: Fix: tcpdump in wrong directory

    EMPLOYEE
    Posted 2 days ago
    In the release notes you can see only customer-found issues, those that have been discovered internally are not published there. I see the defect with description "tcpdump is returning "% Ambiguous command" and Error messages" in the list with all fixes for the 10.10.1020, it seems to be the same bug you are trying to resolve with the symlink. At least I hope so 🙂

    ------------------------------
    Ivan Bondar
    ------------------------------



  • 5.  RE: Fix: tcpdump in wrong directory

    Posted 2 days ago
    But it would be good for the customer that found this issue, if the bug would have been stated in the release notes as fixed. Even if it was found internally before the customer found it.

    Because he looked through the (Customer-) Release Notes and did not find anything regarding tcpdump or diag commands. So he did not think a firmware upgrade would fix the problem...

    ------------------------------
    Thanks,
    Bjarne
    ------------------------------



  • 6.  RE: Fix: tcpdump in wrong directory

    Posted 2 days ago
    I can confirm for 8360 this is fixed in 10.10.1020

    I can not test this on 8325, because we need a maintenance window to upgrade those.

    Why is this not mentioned in the Release Notes as fixed?
    You answered that already, thanks!
    ------------------------------
    Thanks,
    Bjarne
    ------------------------------



  • 7.  RE: Fix: tcpdump in wrong directory

    EMPLOYEE
    Posted 2 days ago
    Cool, so we saved one case for Aruba TAC 🙂))

    ------------------------------
    Ivan Bondar
    ------------------------------