[jitsi-dev] Intercepting XMPP communication for debugging


#1

Hello Jitsi developers,

What method would you recommend for intercepting the XMPP XML stanzas sent
and received by Jitsi for debugging purposes?

Would changing the Jitsi log level to 'DEBUG' or 'INFO' have Jitsi write
this info to the logs?

- Sandeep


#2

Hey Sandeep,

They are all logged in the PCAP files that Jitsi generates in its log directory.

Emil

···

On 15.05.14, 07:06, Sandeep wrote:

Hello Jitsi developers,

What method would you recommend for intercepting the XMPP XML stanzas
sent and received by Jitsi for debugging purposes?

Would changing the Jitsi log level to 'DEBUG' or 'INFO' have Jitsi write
this info to the logs?

- Sandeep

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org


#3

Thank you responding. I see only DNS query information in the PCAP files.
(I checked all 3 using Wireshark)

- Sandeep

···

On Wed, May 14, 2014 at 10:20 PM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Sandeep,

They are all logged in the PCAP files that Jitsi generates in its log
directory.

Emil

On 15.05.14, 07:06, Sandeep wrote:

Hello Jitsi developers,

What method would you recommend for intercepting the XMPP XML stanzas
sent and received by Jitsi for debugging purposes?

Would changing the Jitsi log level to 'DEBUG' or 'INFO' have Jitsi write
this info to the logs?

- Sandeep

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#4

Ok, I checked Jitsi logging settings. Packet logging was disabled. I have
enabled it now for XMPP, and I see XMPP information stored in the pcap
files now.

Thanks for your help!

- Sandeep

···

On Thu, May 15, 2014 at 4:53 PM, Sandeep <sandy.8925@gmail.com> wrote:

Thank you responding. I see only DNS query information in the PCAP files.
(I checked all 3 using Wireshark)

- Sandeep

On Wed, May 14, 2014 at 10:20 PM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Sandeep,

They are all logged in the PCAP files that Jitsi generates in its log
directory.

Emil

On 15.05.14, 07:06, Sandeep wrote:

Hello Jitsi developers,

What method would you recommend for intercepting the XMPP XML stanzas
sent and received by Jitsi for debugging purposes?

Would changing the Jitsi log level to 'DEBUG' or 'INFO' have Jitsi write
this info to the logs?

- Sandeep

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#5

Sandeep:

You can use Wireshark or Debookee to watch the traffic. If you have a Mac, then Debookee is the way to go because it’s much simpler to capture traffic and display it.

marc.

···

__________________________________
Marc Abrams
+1-408-677-1346 m
marca56@fastmail.fm

On May 15, 2014, at 5:36 PM, Sandeep <sandy.8925@gmail.com> wrote:

Ok, I checked Jitsi logging settings. Packet logging was disabled. I have enabled it now for XMPP, and I see XMPP information stored in the pcap files now.

Thanks for your help!

- Sandeep

On Thu, May 15, 2014 at 4:53 PM, Sandeep <sandy.8925@gmail.com> wrote:
Thank you responding. I see only DNS query information in the PCAP files. (I checked all 3 using Wireshark)

- Sandeep

On Wed, May 14, 2014 at 10:20 PM, Emil Ivov <emcho@jitsi.org> wrote:
Hey Sandeep,

They are all logged in the PCAP files that Jitsi generates in its log directory.

Emil

On 15.05.14, 07:06, Sandeep wrote:
Hello Jitsi developers,

What method would you recommend for intercepting the XMPP XML stanzas
sent and received by Jitsi for debugging purposes?

Would changing the Jitsi log level to 'DEBUG' or 'INFO' have Jitsi write
this info to the logs?

- Sandeep

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

--
https://jitsi.org

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev


#6

You can use Wireshark or Debookee to watch the traffic. If you have a Mac,
then Debookee is the way to go because it's much simpler to capture

traffic

and display it.

This only works if the traffic is not encrypted, which in the case for XMPP
shouldn't be the case anymore.

marc.

Ingo