gcla / termshark

A terminal UI for tshark, inspired by Wireshark
MIT License
9.06k stars 397 forks source link

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

Open 532910 opened 1 year ago

532910 commented 1 year ago

Prerequisites

Please verify these before submitting an issue.

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

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 -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 commented 1 year ago

Questions for you:

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 commented 1 year ago

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

zrr1999 commented 6 months ago

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

532910 commented 6 months ago

# means I run it as root