Bridging interfaces and capturing traffic
Results 1 to 3 of 3

Thread: Bridging interfaces and capturing traffic

Hybrid View

  1. #1
    Member
    Join Date
    Apr 2006
    Posts
    66

    Bridging interfaces and capturing traffic

    Hey all,
    I am working on something here at home and I basically want to capture packets between my cable modem and wireless router. I have a dual nic'd pc running linux and I'd like to be able to bridge my interfaces and dump the traffic (preferably tcpdump) into a pcap file that I can view later.

    I want the MITM (Machine in the Middle) to be as transparent as I can get it, so I thought iptables would come in to play.

    Anyone have experience setting something like this up?

  2. #2
    Senior Member IcSilk's Avatar
    Join Date
    Aug 2001
    Posts
    296
    Im not sure if Im understanding exactly what your asking, but if your running lnux, it would be real easy to set your wireless card to ho mode with airmon-ng utility and capturing on mon0 (or whichever) interface with wireshark. wiresharks filtering syntax is pretty straight forward and you could easily isolate the data you want to intercept (modem -> router).
    "In most gardens they make the beds too soft - so that the flowers are always asleep" - Tiger Lily

  3. #3
    Member
    Join Date
    Apr 2006
    Posts
    66
    Hey,
    I ended up figuring it out. I was basically trying to put a linux box between my router and cable modem and capture and forward all traffic (much like arpspoof but on a permanent basis) all the while being undetected.
    The linux box was dual nic'd so I just ended up bridging the two nics and running tcpdump off of the bridged connection. All the traffic went through flawlessly, unassigned IPs to the interfaces so it is 'invisible' on the network and can capture data no problem .

Similar Threads

  1. Central Secure Logging in a Win2k Environment
    By Tiger Shark in forum The Security Tutorials Forum
    Replies: 5
    Last Post: March 4th, 2004, 04:00 PM
  2. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 07:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •