473,320 Members | 1,861 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem using bridge...

ashitpro
542 Expert 512MB
I have two interfaces eth3 and eth4 both have been added to bridge br1
Also eth1 and eth2 are added to bridge br0.
eth3/eth4/br1 don't have any ip addresses..i.e. 0.0.0.0
Problem is.. I am able to capture the packets coming on eth3 by using tcpdump..
But not able to get these packets by using tshark..
Mar 11 '09 #1
7 2337
sicarie
4,677 Expert Mod 4TB
tcpdump is awesome because you can see everything - even if it's not processed by the interface. I use it all the time in testing my device configurations, because sometimes I will not see an established TCP connection, but I will be able to see stuff coming and being dropped by my box (indicating I did not configure it correctly).

I'm not familiar with tshark - are you looking to establish a connection, or just use 'tshark' to get something?

If you can see the info with tcpdump, you can always use that to capture packets...
Mar 11 '09 #2
ashitpro
542 Expert 512MB
I am actualy trying to capture RTP packets...
I can get those on bridge with tcpdump but not with tshark/wireshark
Mar 12 '09 #3
sicarie
4,677 Expert Mod 4TB
Well, you could do a number of things - I'm not familiar with tshark (though I'm more familiar with the Windows version of Wireshark), so I'm sorry I can't help you on that, but you could always pipe tcpdump to a file and filter out RTP, or create a sniffer box out of an old piece of hardware with a program that you are sure will be able to capture the RTP packets.

I'll try to play around with tshark today, but I'm not sure I'll have time - hope one of the other options helps in the meantime.
Mar 13 '09 #4
sicarie
4,677 Expert Mod 4TB
Just out of curiosity - can you post the tshark command and options you have tried?
Mar 13 '09 #5
ashitpro
542 Expert 512MB
@sicarie
tshark work similarly as tcpdump...
It has some advantages like you can specify filters ti capture the packets..
For example, If we want to capture the udp packets on port 5060 and put the result in some file..we can specify following command

tshark -f "udp port 5060" -i <interface> -w <file name>

Most of the time you'll get the packets trimmed..that it capture size is limited by default..so you can specify -XX and -s options for extensions and size resp..

If you've used the wireshark and its filter you would rather feel the power of tshark in terms of filter..
Again, writing filters is skill...I mostly used simple filters like I've written above..
Mar 16 '09 #6
ashitpro
542 Expert 512MB
@sicarie
Well, linux version does provides the similar functionality with same UI..
Many time we got to work on remote servers...So this GUI part doesn't help much..that's why I love tshark...
Mar 16 '09 #7
sicarie
4,677 Expert Mod 4TB
Yeah, and that's why I'm more versed with tcpdump - it's standard in the distros I'm used to using.

I haven't had time to install tshark - they had me running on-call this last week putting out fires. I'll try to get to it this week. Sorry!
Mar 21 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: George Sakkis | last post by:
I'm looking for a design to a problem I came across, which goes like this (no, it's not homework): 1. There is a (single inheritance) hierarchy of domain classes, say A<-B<-..<-Z (arrows point...
2
by: Tony Johansson | last post by:
Hello Experts! I have one class template here called Handle and one concrete class called Point. At the bottom is the main program and the class template definitions for Handle. This program...
0
by: vincenzo.papa | last post by:
Hi, I've got the following problem with an office application, written in vb.net 2.0 using the Extensibility.IDTExtensibility2 interface. I crowned an Activex component inside a...
11
by: Rioshin an'Harthen | last post by:
In designing a new site for the local bridge club, I've stumbled upon a problem with my css code. Interesting fact is that I copied the code from another website an aquaintance did a few years...
0
by: cricsanju | last post by:
Hi all, I am very new person in PHP. I am using PHP-Java-Bridge and I am facing a problem, when I deploy php-java-bridge in deploy(JBoss_home/sever/default/deploy) folder of JBoss app server with...
0
by: sneha29 | last post by:
Hi, I am trying to write a bridge similar to Python- Uno bridge. I have read from these links about the PyUNO bridge. http://udk.openoffice.org/python/python-bridge.html But I haven't found...
1
by: pavanG | last post by:
The following is the setup I have at home. The problem is I cannot ping Vista machine(192.168.2.5) from XP machine(192.168.2.2) So accessing it from Internet is Out of question My aim is to...
13
by: ramprakashjava | last post by:
hi, i hav "java.lang.NullPointerException" error while Deleting table records using checkbox in jsp here i enclosed files help quickly plzzz.. ...
2
by: greyradio | last post by:
I've recently have been given an assignment to do and it seems that notify() does notify() any of the waiting threads. The project entails 10 commuters and two different toll booths. The EZPass booth...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.