Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't work: The termshark UI will start when packets are detected on eth0... #144

Open
3 tasks done
532910 opened this issue Jan 12, 2023 · 4 comments
Open
3 tasks done

Comments

@532910
Copy link

532910 commented Jan 12, 2023

Prerequisites

Please verify these before submitting an issue.

  • I am running the latest versions of Termshark and Wireshark.
  • I checked the README and User Guide and found no answer
  • I searched issues and this has not yet been filed

Problem

Doesn't work.

Current Behavior

# termshark
(The termshark UI will start when packets are detected on eth0...)

Please describe the behavior you are seeing.

Expected Behavior

UI should start, eth0 is the main interface with a lot of packets.

Please describe the behavior you are expecting.

Screenshots as applicable

  • Provide screenshots of wireshark/tshark if that's what the expectation is based on.
  • Provide screenshots of the problem state.

Steps to Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Context

Please provide the complete output of these commands:

  • termshark -v (or termshark -vv if running from git/HEAD)
  • termshark -v | cat
# termshark -vv 
termshark 2.4.0
using tshark 4.0.2 (from /usr/bin/tshark)

Please also provide any relevant information about your environment (OS, VM, pi,...)
debian sid

@pocc
Copy link
Collaborator

pocc commented Jan 12, 2023

Questions for you:

  • Do you see packets when using wireshark or tshark on eth0?
  • Are you able to replicate this behavior on other systems?

You can run this command to see what traffic is being sent on various interfaces in linux (provided you have ripgrep and ethtool installed):

ifaces=$(ifconfig | rg '^(\w+):.*' -r '$1');
for iface in $ifaces;
  do echo "=== ${iface} ===";
  ethtool -S $iface;
done

@532910
Copy link
Author

532910 commented Jan 12, 2023

Yes, I see packets with wireshark, tshark and tcpdump. No, I have no other systems.

@zrr1999
Copy link

zrr1999 commented Apr 10, 2024

我也遇到了这个问题,https://github.com/gcla/termshark/blob/master/docs/FAQ.md#how-can-i-make-termshark-run-without-root 按这个改了一下就可以了,我的看日志应该就是权限的问题。

@532910
Copy link
Author

532910 commented Apr 11, 2024

# means I run it as root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants