Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] Here is support for the CUPS Browsing Protocol

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Charles Levert <charles@xxxxxxxxxxxxxxx>
Date: Sat, 10 Mar 2001 20:45:03 -0500
Hi.

I recently received some 631/udp packets that were being broadcast to
255.255.255.255.  Those are apparently produced by the Common UNIX
Printing System (CUPS).  CUPS implements the Internet Printing
Protocol (IPP) which is typically found on 631/tcp and is already
supported by Ethereal.  CUPS adds a protocol of its own on 631/udp:
the CUPS Browsing Protocol.

I wrote a packet-cups.c file to support this protocol.  It is
available at

	http://www.larim.polymtl.ca/~chuck/ethereal/packet-cups.c

To use it, do not forget to apply this little patch:

========================================================================
--- Makefile.am.orig-0.8.16	Tue Feb 27 14:46:18 2001
+++ Makefile.am	Sat Mar 10 17:29:41 2001
@@ -88,6 +88,7 @@
 	packet-clip.c  \
 	packet-clnp.c  \
 	packet-cops.c  \
+	packet-cups.c  \
 	packet-data.c  \
 	packet-ddtp.c  \
 	packet-dec-bpdu.c \
========================================================================

To do:

	-- Register all the 1-bit fields in cups.ptype as
	cups.ptype.FOO so that they too can be used in searching and
	filtering.


Charles


[ I am not subscribed to the mailing list.  I used this address as it
  seems to be the proper contact point to send such a contribution.
  Please use Cc if you want me to receive your reply. ]