From: Magnus H. <mag...@gm...> - 2016-02-07 18:23:19
|
Hi all, So the recent thread about XML parsing oddities got me thinking that it's sometimes tricky to figure out exactly what's being sent to and from jabber.el. To some extent you can use Wireshark for that, but that doesn't help much after the starttls negotiation: once the connection is encrypted, you'd need to capture the traffic from within the application. The XML console works fairly well as long as the XML data is being parsed correctly. Thus I came up with a little tool called Cabledolphin. It runs inside Emacs, advising functions to get hold of network data being sent and received, and writes everything to pcapng/pcap files for examination in Wireshark or similar tools. It's available in MELPA, and the repository is on Github: https://github.com/legoscia/cabledolphin I hope it will be useful to someone :) Regards, Magnus |