[sip-comm-dev] - [Techincal Issue] [Wireshark & Java problem] - Problem capturing packets


#1

Hi fellow devs,

I'm doing a lib that implements a protocol [MSRP] and henceforth i
gladly found out that wireshark supports the recognition of this
protocol.
So i was planning on validating some things by looking at the traffic
done by my app, but I found out that by some unknown reason the
traffic i generate doesn't get captured by wireshark.
I figured that most of you could have had this problem already, so i
decided to wrote this e-mail.

Both sockets of the communication are bound to the IP of my LAN Card,
and i'm using that interface to capture in wireshark, but still no
results.
I figured that they eventually could be sent through a "loopback"
device of some sort, seen that the destination ip and source ip are
the same, analogous to the lo of UNIXes but the only extra device
there (that i couldn't map to a NIC) capped nothing as well.

I'm using windows vista business and JDK 1.6

Having the traffic analyzed by the sniffer it's not vital ATM and i
can always do that by running the app on another computer on my LAN,
but that is more troublesome and time consuming than if i could
analyze it locally.

Thanks in advance,
João Antunes

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hello Joao,

Joao Antunes написа:

Both sockets of the communication are bound to the IP of my LAN Card,
and i'm using that interface to capture in wireshark, but still no
results.

Are you using Windows? If yes, and since you are using your wireless
interface, then make sure that you are NOT capturing in promiscuous mode.

Hope this helps
Emil

···

I figured that they eventually could be sent through a "loopback"
device of some sort, seen that the destination ip and source ip are
the same, analogous to the lo of UNIXes but the only extra device
there (that i couldn't map to a NIC) capped nothing as well.

I'm using windows vista business and JDK 1.6

Having the traffic analyzed by the sniffer it's not vital ATM and i
can always do that by running the app on another computer on my LAN,
but that is more troublesome and time consuming than if i could
analyze it locally.

Thanks in advance,
João Antunes

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

I thought of that too, and did it before posting the mail, it didn't worked.
Thanks anyway.

···

On Sat, Jul 19, 2008 at 3:39 PM, Emil Ivov <emcho@sip-communicator.org> wrote:

Hello Joao,

Joao Antunes написа:

Both sockets of the communication are bound to the IP of my LAN Card,
and i'm using that interface to capture in wireshark, but still no
results.

Are you using Windows? If yes, and since you are using your wireless
interface, then make sure that you are NOT capturing in promiscuous mode.

Hope this helps
Emil

I figured that they eventually could be sent through a "loopback"
device of some sort, seen that the destination ip and source ip are
the same, analogous to the lo of UNIXes but the only extra device
there (that i couldn't map to a NIC) capped nothing as well.

I'm using windows vista business and JDK 1.6

Having the traffic analyzed by the sniffer it's not vital ATM and i
can always do that by running the app on another computer on my LAN,
but that is more troublesome and time consuming than if i could
analyze it locally.

Thanks in advance,
João Antunes

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net