this post was submitted on 13 Jan 2024
87 points (93.9% liked)

Technology

1345 readers
159 users here now

Which posts fit here?

Anything that is at least tangentially connected to the technology, social media platforms, informational technologies and tech policy.


Rules

1. English onlyTitle and associated content has to be in English.
2. Use original linkPost URL should be the original link to the article (even if paywalled) and archived copies left in the body. It allows avoiding duplicate posts when cross-posting.
3. Respectful communicationAll communication has to be respectful of differing opinions, viewpoints, and experiences.
4. InclusivityEveryone is welcome here regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, education, socio-economic status, nationality, personal appearance, race, caste, color, religion, or sexual identity and orientation.
5. Ad hominem attacksAny kind of personal attacks are expressly forbidden. If you can't argue your position without attacking a person's character, you already lost the argument.
6. Off-topic tangentsStay on topic. Keep it relevant.
7. Instance rules may applyIf something is not covered by community rules, but are against lemmy.zip instance rules, they will be enforced.


Companion communities

!globalnews@lemmy.zip
!interestingshare@lemmy.zip


Icon attribution | Banner attribution

founded 11 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Vex_Detrause@lemmy.ca 2 points 10 months ago (1 children)

Now where can we get this port mirrored packet sniffer? But seriously, how do you do this?

[–] qprimed@lemmy.ml 7 points 10 months ago* (last edited 10 months ago)

if your switch gear will mirror traffic, then push the traffic to a switchport with a PC running software like wireshark/tshark/tcpdump or your fav. packet sniffer of choice. different setups (integrated wireless, fibre, etc) will require various configuations to packet capture properly,, but you can always find a way of observing traffic - even if you have to use an old hub (not a switch) as a last resort and just flood the traffic to your monitoring device.

once you have a packet trace, things get fun. if the traffic is in the clear (not encrypted) you get all the goods. if its encrypted (and you cant man-in-the-middle attack the crypto session) then, at the very least, you get patterns, timings, IP endpoints, etc...

on higher end switch and router gear (and some open source consumer routers) its pretty easy to sniff traffic and a great learning experience, not to mention the ability to monitor traffic gives you insight into what devices are doing "things" on your network. highly recommended playing with it on a spare laptop to get some experience with it.

Intrusion Detection / Protection Systems often make use of this type of traffic visibility. so do ISPs (and others) for various purposes, of which some usecases are highly privacy unfriendly.

edit: fixed a few obvious typos and added the IDS stuff.