Comments (13)
Yes, technically that is correct. Because. wireguard being a tunelling protocol, all connections that my laptop makes gets sent through this tunnel from my laptop to the server. The server then acts a forwarding proxy and makes the actual connection to the desired remote server.
So currently sniffnet just sees that all packets are going from my laptop to my server. I guess what I am hearing is that it is not possible for sniffnet to intercept the packets prior to them being encrypted and sent through the tunnel so as to see where the request is actually being made.
Great project though. Thanks for your efforts
from sniffnet.
For the "No traffic has been observed yet. Waiting for network packets..." I can do nothing: it depends on what pcap is actually able to sniff in term of kind of interface.
Thank you for having reported the problem with the "any" interface though, I think I have the solution for that one.
In the meantime, you can observe the traffic by choosing the specific interface (wlan0 and other actually receiving packets)
from sniffnet.
Not sure if it's the same issue, but I get the same message for the any
, wg0
(wireguard), and tailscaled0
interfaces. wlan0
works though.
For reference, i'm running Arch linux with the linux-hardened kernel and systemd-networkd for networking + wireguard.
Are there specific flags for outputting debug logs via the cli?
from sniffnet.
Not sure if it's the same issue, but I get the same message for the
any
,wg0
(wireguard), andtailscaled0
interfaces.wlan0
works though.For reference, i'm running Arch linux with the linux-hardened kernel and systemd-networkd for networking + wireguard.
Are there specific flags for outputting debug logs via the cli?
I confirm that it's the same issue.
And no, currently no debug logs are available in stdout/stderr.
from sniffnet.
Similar issue but maybe not identical. I use wirguard on MacOS and tunnel everything through that interface. I am only able to observe updates when selecting the wlan interface but all that shows is that it is communicating with my wg-server endpoint. It does not actually seperate out the different connections being made through wg.
When I select any of the other interfaces in the list, it just says waiting for packets/data.
Is it possible to use something like wg and see what is being sent through the tunnel itself in more detail?
from sniffnet.
If no packets are received through a given interface, the problem is not related to Sniffnet itself but to what rust-pcap is actually able to sniffs.
from sniffnet.
Understood. Packets are captured as per the screenshot attached. The first entry there in the Network host list is my wireguard server (with the swiss flag). So what happens is every connection gets put under that host so I cannot see the individual connections being made and sent through the tunnel. Its the other tunnel interfaces which seem not to capture any packets.
I guess what my question is, is it possible to unbundle the connections being made so that I can actually see whats being sent through the wireguard tunnel?
from sniffnet.
If you click on the network host you are interested in, you will see a list of its connections. Isn't it?
from sniffnet.
Not really, I still get everything bundled as per the screenshot below. The two entries in that list are basically the UDP packets (that contain encrypted packets) between my local laptop and the wireguard server. So I still cannot see the details of the connections being made. If I look at the detailed logs, similar results along with what look like ipv6 related entries which have very few packets associated with them.
from sniffnet.
Sniffnet currently defines a "connection" by the network-5-tuple:
- Source IP
- Source port
- Destination IP
- Destination port
- Transport protocol
If you see only one connection it means that all the exchanged packets are from/to the same ports.
from sniffnet.
Sniffnet can see everything directly incoming/outgoing to/from your network card.
If it doesn't see some specific interfaces, it's a problem related to pcap which I'd like to better understand myself.
from sniffnet.
I think I've finally understood the nature of this problem: so far Sniffnet was only able to read interfaces whose "link_type" was Ethernet.
Today I've found out that I wasn't able to monitor the traffic on my OpenVPN TUN adapter because it uses Null/Loopback as link type (see the screenshot below made using Wireshark).
So, I'm considering to add support for the Null/Loopback with the hope to solve the problem you guys mentioned as well, which is strictly related.
Before proceeding I would like to know if even in your scenarios the link type is Null/Loopback.
You can easily verify it by using Wireshark on the desired adapter and clicking on a packet entry.
Thank you in advance for your cooperation @vi @muzzah @3lpsy
from sniffnet.
Related issue: JulianSchmid/etherparse#78
from sniffnet.
Related Issues (20)
- SegFault when selecting Settings/Style HOT 6
- 安装后无法打开 HOT 2
- can not detect the network adapter HOT 7
- Opens on a white screen HOT 16
- XOpenDisplayFailed HOT 1
- Display utilities that drive traffic HOT 1
- the procedure entry point pcap_set_immediate_mode could not be located in the dynamic link library HOT 1
- Could the app analyze 200,000 pps? HOT 2
- [Request] More Port/Application Info HOT 3
- Is there a web version of sniffnet besides the client? HOT 1
- Program background running on Windows HOT 6
- [Feature Suggestion] IPinfo's free IP database - IP to Country ASN HOT 11
- Feature Request: terminal mode HOT 1
- White Screen and Closing HOT 3
- Minimizing the App closes the app HOT 1
- Allow functionality to copy from inspect tab (Ctrl+C or CMD+C) HOT 3
- failed to compile sniffnet v1.2.2 HOT 2
- Strongly suggect creating a Flatpak pkg HOT 1
- Transport port filter capabilities
- Cut paste capabilities and virustotal links for ip address, domain etc HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sniffnet.