Networking Forums

Networking Forums > Computer Networking > Linux Networking > ethernet card in promiscuous mode with aDSL routers

Reply
Thread Tools Display Modes

ethernet card in promiscuous mode with aDSL routers

 
 
someone92@hotmail.com
Guest
Posts: n/a

 
      12-13-2005, 07:23 AM
Hi,
I'm trying to use one of my linux computer to sniff the traffic (for
security reasons) on my LAN using tcpdump and setting my NIC in
promiscuous mode. But I don't see anything from the other computers on
my LAN. I tried it with a linksys BEFSR41 and a speedstream 6520
aDSL/modem wireless router (I'm not using the wireless option). Are
networks build using these router swiched networks? Is this the reason
why I can't see anything from other NICs? The strange thing is that I
was very sure it was working with the 6520 last weak, unless I was
completly lost, I saw some connections from another computer to the
internet (HTTP). But now I don't see anything and I don't think I
change any configurations.

There's no way I could configure the routers to act like hubs? I
would really like to monitor my network from only on computer. I'm I
loosing my time trying to figure out how to do this with these 2
routers?

Thanks

 
Reply With Quote
 
 
 
 
Menno Duursma
Guest
Posts: n/a

 
      12-13-2005, 12:09 PM
On Tue, 13 Dec 2005 00:23:33 -0800, someone92 wrote:

> I'm trying to use one of my linux computer to sniff the traffic (for
> security reasons) on my LAN using tcpdump and setting my NIC in
> promiscuous mode. But I don't see anything from the other computers on
> my LAN.


Try using something like "dsniff", "ethercap", or some such instead.

> I tried it with a linksys BEFSR41 and a speedstream 6520 aDSL/modem
> wireless router (I'm not using the wireless option). Are networks build
> using these router swiched networks?


Probably. I have a SpeedStream 5861 that is a Hub, but it's old 10Mbit.
My newer ((pl)euro 25ish) Sweex LB000021 is a 100Mbit switch however.

> Is this the reason why I can't see anything from other NICs?


I'd think so: yes.

> The strange thing is that I was very sure it was working with the 6520
> last weak, unless I was completly lost, I saw some connections from
> another computer to the internet (HTTP). But now I don't see anything
> and I don't think I change any configurations.


During that time the switch was probaly in learning mode (right after a
power recycle - maybe.)

> There's no way I could configure the routers to act like hubs?


Flood a port with spoofed MAC enties? (But it'd be a temporary and
needless exercise anyways.)

> I would really like to monitor my network from only on computer. I'm I
> loosing my time trying to figure out how to do this with these 2
> routers?


If eithers firmware supports a port in "management mode" you're home-free.

However if they don't: the Linksys might be flashable with OpenWRT Linux
or similar, and you should be able to use the "brctl" command and set the
ports any which way you like then.

--
-Menno.

 
Reply With Quote
 
Allen McIntosh
Guest
Posts: n/a

 
      12-14-2005, 02:51 AM
> I tried it with a linksys BEFSR41
I don't know about the Speedstream, but I used to have a BEFSR41 and I'm
pretty sure it functions as a switch. I doubt there is any way to make
it function otherwise.
 
Reply With Quote
 
Menno Duursma
Guest
Posts: n/a

 
      12-14-2005, 01:05 PM
On Tue, 13 Dec 2005 22:51:35 -0500, Allen McIntosh wrote:

>> I tried it with a linksys BEFSR41

> I don't know about the Speedstream, but I used to have a BEFSR41 and I'm
> pretty sure it functions as a switch. I doubt there is any way to make
> it function otherwise.


Hmn, i'm pretty sure those run Linux ... And as such can be made to
operate at half-duplex only and _not_ autonegotiate via mii-tool and/or
ethtool (or an SNMP agent). Further more "brctl" allows for setting
switches to broadcast. Those two options togather would effectively be
able to turm a router/switch into a hub, should one ever so disire ...

You'll need (to flash/load) firmware that supports this stuff though,
probably voiding waranty in so doing.

HTH.

--
-Menno.

 
Reply With Quote
 
someone92@hotmail.com
Guest
Posts: n/a

 
      12-15-2005, 11:21 AM

Menno Duursma wrote:
> Hmn, i'm pretty sure those run Linux ...


No the BEFSR41 does not run Linux, And I didn't find any informations
about the speedstream because it's only sold to ISPs and only their
clients have access to (custom made) new firmwares. Anyway the
speedstream is rented so I don't want to mess with it.

Thanks to all for the replies.

 
Reply With Quote
 
Menno Duursma
Guest
Posts: n/a

 
      12-15-2005, 06:30 PM
On Thu, 15 Dec 2005 04:21:40 -0800, someone92 wrote:
> Menno Duursma wrote:
>> Hmn, i'm pretty sure those run Linux ...

>
> No the BEFSR41 does not run Linux,


It doesn't? Thanks for the info! I'll try and keep clean of 'em then.

> And I didn't find any informations about the speedstream because it's
> only sold to ISPs and only their clients have access to (custom made)
> new firmwares. Anyway the speedstream is rented so I don't want to mess
> with it.
>
> Thanks to all for the replies.


Sure thing. And IIRC http://packetstormsecurity.org/ has a bunch of
(other) tools for sniffing switched networks...

A thing i want to rectify though. Atleast for my Sweex 21 router, it's a
switch setup VLAN0 => WAN , VLAN1 => 4port switch. To make it into a 5port
Hub one would have to ``vconfig'' them into a singe VLAN first ofcource.

--
-Menno.

 
Reply With Quote
 
R
Guest
Posts: n/a

 
      12-16-2005, 01:39 PM
It is possible to make your own ethernet taps and place it inline. If
you've got some spare parts somewhere and do a google search on the
pinning. I make one about 6 months ago. Most of the tools for sniffing
switched networks are based on arp poisoning/spoofing.

 
Reply With Quote
 
someone92@hotmail.com
Guest
Posts: n/a

 
      12-24-2005, 04:08 PM
I tried to use dsniff's tools to try MAC flooding & spoofing my routers
to see if I could sniff network traffics on it. MAC spoofing works
great on the linksys BEFSR41, but the speedstream 6520 seems to be
immunized to both spoofing & flooding. I didn't try to flood the
linksys since spoofing works great. The best tools I found is the
KNOPPIX STD security live CD, I used macof and arpspoof. Anyone has
other suggestions I could try on the speedstream? Ethernet tabs is not
a good solution since more than one computer pass in the router, so I
would have to build a tab for each computer.

Thanks

 
Reply With Quote
 
Menno Duursma
Guest
Posts: n/a

 
      12-26-2005, 11:51 AM
On Sat, 24 Dec 2005 09:08:26 -0800, someone92 wrote:

> KNOPPIX STD security live CD, I used macof and arpspoof. Anyone has
> other suggestions I could try on the speedstream? [...]


Configure your (Knoppix?) PC to be a source NATing router/gateway. Like
spoof the IP adress to be that of the /actual/ gateway for the
network, forwarding packets to that. Then update the ARP caches of nodes
you want to monitor the traffic of to mapping thier gateway/destination IP
to your MAC adress (maybe using an "arping" in a cron job or something.)
And/or try Google for like MITM attack or smartspoof ...

HTH

--
-Menno.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
promiscuous mode of a wireless network card markryde@gmail.com Linux Networking 1 12-10-2008 03:49 AM
help with promiscuous mode AA Linux Networking 0 07-15-2005 10:43 PM
802.11b usb in promiscuous mode? avirup_dasgupta@indiatimes.com Linux Networking 0 01-01-2005 02:24 PM
Xircom PCMCIA card and promiscuous mode James Linux Networking 1 10-02-2003 02:39 PM
monitor mode and promiscuous mode joseph Wireless Internet 0 06-27-2003 06:04 AM



1 2 3 4 5 6 7 8 9 10 11