Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to setup a passive Point-to-Point Link for capture

Reply
Thread Tools Display Modes

How to setup a passive Point-to-Point Link for capture

 
 
fprilmeier@amadeus.com
Guest
Posts: n/a

 
      02-06-2007, 09:01 AM
Hi NG,

for a custom application I am supposed to setup a passive capturing
tool for traffic analysis purposes, using a tool similar to tcpdump
(actually tcpdump is also used for troubleshooting). My network
engineer has set up a tap (or span) port from the switch, so the
traffic to be captured is sent to a dedicated NIC.

The network engineer told me that from a network perspective this is
to be seen as a Layer 2 Point-to-Point link (which is not the same as
PPP). Since I am very unfamiliar about this setup - I have never done
something similar before - and all the search results I have seen so
far are either about PPP or Point-to-Point links, I want to know how
this looks like from a Linux perspective.

Especially:
* Do I need an IP address for that NIC? - Since there is actually no
traffic for my capturing host going in through that NIC, I don't think
so, but then all the examples I have seen tell something different.
Traffic is unidirectional.
* Is there anything other special I need to obeye? - My capturing host
must not respond to any traffic going in that NIC.

I am using RHEL 4 Upgrade 4 (AFAIK for the upgrade level).

Thanks for any hints and best regards,
Franz

 
Reply With Quote
 
 
 
 
slebetman@yahoo.com
Guest
Posts: n/a

 
      02-07-2007, 01:16 AM
On Feb 6, 6:01 pm, fprilme...@amadeus.com wrote:
> Hi NG,
>
> for a custom application I am supposed to setup a passive capturing
> tool for traffic analysis purposes, using a tool similar to tcpdump
> (actually tcpdump is also used for troubleshooting). My network
> engineer has set up a tap (or span) port from the switch, so the
> traffic to be captured is sent to a dedicated NIC.
>
> The network engineer told me that from a network perspective this is
> to be seen as a Layer 2 Point-to-Point link (which is not the same as
> PPP). Since I am very unfamiliar about this setup - I have never done
> something similar before - and all the search results I have seen so
> far are either about PPP or Point-to-Point links, I want to know how
> this looks like from a Linux perspective.
>
> Especially:
> * Do I need an IP address for that NIC? - Since there is actually no
> traffic for my capturing host going in through that NIC, I don't think
> so, but then all the examples I have seen tell something different.
> Traffic is unidirectional.
> * Is there anything other special I need to obeye? - My capturing host
> must not respond to any traffic going in that NIC.


Make sure your interface is set to promisc:

ifconfig etho promisc

This allows tcpdump to capture ALL packets regardless of subnet.

Other than that turn off all unnecessary daemons/services on you
capture host if you don't want it to respond to anything. You may even
want to turn off ping response:

echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

If you're really paranoid, install a firewall and block all outgoing
traffic.

 
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
Turn key parts for point-to-point link? Nate Bargmann Wireless Internet 9 11-17-2006 12:55 PM
Wireless point to point link for broadband Chris Broadband 11 06-23-2005 11:52 PM
point-to-point link by two Buffalo WLA-G54 KC Mao Wireless Internet 1 08-24-2004 05:31 AM
Amplifier Considerations to Avoid Damage to Radios in Point-to-Point Link c hore Wireless Internet 0 06-29-2004 07:11 PM
Wireless link through AP (POINT <--> AP <--> POINT) question. Beerman Wireless Internet 4 02-13-2004 01:07 PM



1 2 3 4 5 6 7 8 9 10 11