Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Switches and packet sniffing

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
daschapa
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Fri Sep 01, 2006 7:32 pm

Switches and packet sniffing

  • Quote

Post by daschapa » Wed Feb 13, 2008 2:35 pm

I have a home LAN, consisting in three computes + NAT'ed router. All conected to a cheap switch.
The doubt came to me when my brother was playing "Mu" (an eye-candy, brain-boring MMORPG) in his windoze box. I noticed that Wireshark wasn't catching such frames.
I know Mu to send/receive a lot of datagrams every second. But my wireshark, looks like being catching only broadcast frames and the ones wich has my host as recipient. I've checked the box wich gets eth0 in promiscuous mode.
So, I'm beggining to suspect that maybe, switches are such smart to learn where a mac is and deliver a frame only trough such wire (I know bridges to do this, but not switches). Is this correct? or maybe my cheap ethernet card can't be turned in promiscuous mode?
======================
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56077
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Feb 13, 2008 2:49 pm

daschapa,

Thats right, switches learn where to deliver packets. It keeps traffic down, avoids collisions on the network and allows full duplex operation.
You need an old fashioned hub.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
JeliJami
Veteran
Veteran
User avatar
Posts: 1086
Joined: Tue Jan 17, 2006 11:22 am
Location: Belgium

  • Quote

Post by JeliJami » Wed Feb 13, 2008 2:59 pm

http://en.wikipedia.org/wiki/Network_switch
http://en.wikipedia.org/wiki/Network_hub
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Top
daschapa
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 80
Joined: Fri Sep 01, 2006 7:32 pm

  • Quote

Post by daschapa » Thu Feb 14, 2008 12:22 am

Thanx guys.
So, we can say that switches are, not only more efficient, but also more secure than hubs.
Is there any way to get a Switch in "promiscuous mode"? LOL
======================
Top
RoundsToZero
Guru
Guru
User avatar
Posts: 478
Joined: Mon Nov 17, 2003 10:47 pm
Location: New York, NY

  • Quote

Post by RoundsToZero » Thu Feb 14, 2008 4:42 am

Some fancier ones have special monitor ports, otherwise if you can get the switch to reset itself, it will have to start broadcasting on all ports again. Not sure how long this lasts for, but it might give you a chance to get a leg up. Ways to get it to reset itself are power cycling (obviously) or maybe if it's cheap and you flood it with enough weird packets it'll give up, fail open, and there you go.

Or just position your machine between the switch and wherever all the packets are going to and run the packet trace from there.
Top
zeek
Guru
Guru
User avatar
Posts: 480
Joined: Sat Nov 16, 2002 10:27 pm
Location: Bantayan Island
Contact:
Contact zeek
Website

  • Quote

Post by zeek » Sun Feb 17, 2008 6:01 am

Or

Code: Select all

emerge ettercap
and arppoison your brothers MAC. Then you'll see ALL his traffic because your machine will be relaying all the packets for your brothers machine.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic