LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2008, 05:07 AM   #1
LasseBob
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
transparent bridge for snooping traffic


Hi

To set up a laptop for sniffing traffic i use the following commands:

ifconifg eth0 0.0.0.0 promisc up -arp
ifconifg eth2 0.0.0.0 promisc up -arp
brctl addbr br0
brctl setfd br0 0
brctl addif br0 eth0
brctl addif br0 eth2
brctl stp br0 off
ifconfig br0 0.0.0.0 up promisc -arp

This works quite well, except for one thing, which may be purely of theoretical interest:
On one interface i receive some packets which has the same mac-address in both source and destination and which wireshark lists as being reply messages of protocol "LOOP". In the packet overview the protocol is called Configuration Test Protocol (loopback). These packets show on the bridge too, but not on the other interface. I guess a target of snooping could use the lack of these messages as a sign of snooping?

I hope someone can enlighten me on this matter.

Best regards,
Lasse
 
Old 02-01-2008, 07:02 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by LasseBob View Post
I guess a target of snooping could use the lack of these messages as a sign of snooping?
If it's not meant to be routed over the bridge then I don't see the problem.
http://www.mit.edu/people/jhawk/ctp.html for details.
 
Old 02-01-2008, 07:06 AM   #3
ledow
Member
 
Registered: Apr 2005
Location: UK
Distribution: Slackware 13.0
Posts: 241

Rep: Reputation: 34
Googled for "Configuration Test Protocol (loopback)"

Ended up at: http://wiki.wireshark.org/Loop

It looks like it's part of a spec that some people implement (Cisco) and some don't. You aren't going to be able to do much to stop it. It doesn't look like it's something that's SUPPOSED to be bridged by Linux bridging code. Most likely, you have a router somewhere that's generating these packets and Linux is just plain ignoring because, as that link says, it's not "real" Ethernet but a hangover from an earlier design.

To be honest, I don't think that there's much you can do. And nobody is really going to notice an obscure protocol like that being "missing". They'll think you've just turned off the option in your router.
 
  


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
how to configure non transparent bridge? mehuljv Linux - General 1 04-25-2005 09:45 AM
how to configure non transparent bridge? mehuljv Linux - Newbie 0 04-25-2005 08:30 AM
Snort on a transparent bridge? kemplej Linux - Security 2 09-15-2004 05:09 PM
Passing DHCP over a transparent bridge wildefire Linux - Networking 2 11-24-2003 09:17 PM
unknown bridge resource :0 assuming transparent bluecadet Linux - General 0 12-27-2001 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:43 PM.

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