-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
not possible to run tcpdump manually for flatpak-version #3
Comments
hmm. i'm a little confused how come the command fails although you run it with sudo :| |
running the following command works, but then the log is at the wrong location. |
it works for me.
which distribution are you using? what does |
OS: Debian GNU/Linux bookworm/sid x86_64 $ ls -lh ~/.var/app/com.github.emmanueltouzery.hotwire/data/ |
same as me. so you have the right to write in ~/.var/app/com.github.emmanueltouzery.hotwire/data/. Maybe it's related to for me...
|
$ tcpdump --version touch ~/.var/app/com.github.emmanueltouzery.hotwire/data/hotwire/hotwire-record-2 and sudo touch ~/.var/app/com.github.emmanueltouzery.hotwire/data/hotwire/hotwire-record-2 are working. |
Looks like i have problems with foldernames with dots in it. $ sudo tcpdump -ni any -s0 --immediate-mode --packet-buffered -w "/home/freddii/test/dump" -B 8192 $sudo tcpdump -ni any -s0 --immediate-mode --packet-buffered -w "/home/freddii/.test/dump" -B 8192 so it seams not to be a bug of hotwire. |
I can't get tcpdump to work. Maybe we could create a named pipe in |
in the end tcpdump has to run on your machine, because the flatpak won't have the privileges. we'd need to establish exactly what's the problem. You can ask hotwire to open a fifo from the GUI. If you use the open menu and ask it to open a fifo. And then you decide where is the fifo on disk. so you can run any tcpdump command you like, and make it write to a fifo you create yourself wherever the hotwire flatpak can read. |
This menu does not allow me to open any single file, including a fifo in |
Having a similar issue attempting to run the prescribed tcpdump command on Elementary OS 6.1 Jolnir (based on Ubuntu 20.4.5 LTS)
|
I was able to resolve the issue by manually compiling and installing the current version of tcpdump, 4.99.3 |
you can give to the flatpak access to more folders like so:
or check things like: |
It does have access to the host filesystem, I was talking about the file picker. It is restricted to a certain filetype shown as |
it does display (None) for me as well, but I can pick files. And I am running it as flatpak. So if you gave the access I'm not really sure what's going on. |
Same error even if you build from source
|
sudo tcpdump -ni any -s0 --immediate-mode --packet-buffered -w /home/freddii/.var/app/com.github.emmanueltouzery.hotwire/data/hotwire/hotwire-record-2 -B 8192
[sudo] Passwort für freddii:
tcpdump: data link type LINUX_SLL2
tcpdump: /home/freddii/.var/app/com.github.emmanueltouzery.hotwire/data/hotwire/hotwire-record-2: Permission denied
The text was updated successfully, but these errors were encountered: