LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-12-2007, 11:01 AM   #1
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
quick wireshark question


Hey guys,

I was trying to troubleshoot a connection problem I was having the other day. I was using wireshark from my wireless laptop, trying to see the packets my hardwired desktop was putting out. However, when I was connected via wifi, I couldn't see the traffic going through the router unless it was from my own laptop. When I connected it through a rj-45 cable, I could. Is it suppose to be like that?

nomb
 
Old 10-12-2007, 11:54 AM   #2
gschlais
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
I may be wrong, but I don't believe most wireless drivers allow you to place the wireless NIC into promiscuous mode. That would account for you not being able to see any packets that weren’t meant for your system.
 
Old 10-12-2007, 01:34 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Ethernet switches do NOT replicate all traffic on all ports, otherwise we would all still be using Hubs.
The only thing you should see when sniffing a switched network is brodcast traffic, unless you enable a SPAN port on the switch.

dsniff might work from your wireless connection however to sniff that traffic. It can be used to sniff switched network traffic...
 
Old 10-13-2007, 10:24 PM   #4
unixfool
Member
 
Registered: May 2005
Location: Northern VA
Distribution: Slackware, Ubuntu, FreeBSD, OpenBSD, OS X
Posts: 782
Blog Entries: 8

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by farslayer View Post
Ethernet switches do NOT replicate all traffic on all ports, otherwise we would all still be using Hubs.
The only thing you should see when sniffing a switched network is brodcast traffic, unless you enable a SPAN port on the switch.

dsniff might work from your wireless connection however to sniff that traffic. It can be used to sniff switched network traffic...
Keep in mind that hubs are still being manufactured and used.

I use a hub on my LAN and I use it specifically to monitor my Windows hosts. I'm not about to go out and buy an expensive piece of equipment that has a SPAN port when I can use a hub.

Also, ethernet taps usually work OK, also. In fact, they work better than hubs, since you don't have to worry about throughput degradation as much (although it theoretically won't matter to someone with a cable connection...but I've FIOS ).
 
Old 10-16-2007, 10:13 PM   #5
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Original Poster
Rep: Reputation: 58
When I compiled my wifi drivers I included the ability to go into 'monitor' mode, however when you are in monitor mode, I don't know if you can limit it to one network and an encrypted one at that.

nomb
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireshark Help bgeddy Slackware 9 09-30-2006 12:34 PM
quick question UnforgotteN Linux - Newbie 5 05-28-2005 09:33 AM
quick question AGilley007 Fedora 2 07-15-2004 12:38 AM
Question Concerning ISO's and one quick question. evrae Linux - Software 2 06-21-2004 03:53 AM
samba smb.config question (quick question) TheDOGG Linux - Networking 1 03-02-2004 07:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration