XMPP Traffic Interceptor

Kyle Usbeck
This software is a modification of Tim Carstens's "sniffer.c"

Description

This program is designed to sit between an XMPP client and server (you can run it on either), and monitor the traffic. Currently, the program intercepts any type of traffic, but future plans are to encorporate XML message parsing to make the output more clear.

Installation

Just download the source tarball, extract it, enter the directory it creates, and type Make. You will need libpcap to compile the program.

Usage

xtmon NETWORK_DEVICE PORT

This command captures traffic from the NETWORK_DEVICE interface on the specified PORT. Traffic coming to NETWORK_DEVICE is colored yellow and traffic leaving NETWORK_DEVICE is red.

Downloads

Terms

This software, "xtmon.cpp", is a derivative work of "sniffex.c" and is covered by the following terms: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Because this is a derivative work, you must comply with the "sniffer.c" terms reproduced above. 2. Redistributions of source code must retain the Tcpdump Group copyright notice at the top of this source file, this list of conditions and the following disclaimer. 3. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 4. The names "tcpdump" or "libpcap" may not be used to endorse or promote products derived from this software without prior written permission. THERE IS ABSOLUTELY NO WARRANTY FOR THIS PROGRAM. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.