Wireshark-dev: Re: [Wireshark-dev] Support for XCAP
From: "Lampe, Sebastian" <Sebastian.Lampe@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Aug 2007 18:54:25 +0200
Thanks for your answer, corresponding tot he RFC4825 there are several specifications extending XCAP with other MIME Types: Draft-ietf-simple-xcap-diff-05 7.1. application/xcap-diff+xml MIME Type . . . . . . . . . . . 8 RFC 4826 8.2.1. application/resource-lists+xml . . . . . . . . . . . . 25 8.2.2. application/rls-services+xml . . . . . . . . . . . . . 26 So I'll send a sample trace file and an example, the view have to look like. Example of XCAP request and response (packets 39 and 41 from trace file attached) - looks similar to HTTP!: No. Time Source Destination Protocol Info 39 10.803295 127.0.0.1 127.0.0.1 TCP 58233 > 8090 [PSH, ACK] Seq=1 Ack=1 Win=32792 [TCP CHECKSUM INCORRECT] Len=532 TSV=3441161 TSER=3441161 Frame 39 (598 bytes on wire, 598 bytes captured) Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00) Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1) Transmission Control Protocol, Src Port: 58233 (58233), Dst Port: 8090 (8090), Seq: 1, Ack: 1, Len: 532 Data (532 bytes) PUT /xcap/test-auid1/users/sip:user@xxxxxx/doc.xml HTTP/1.1\r\n Content-type: application/note+xml;charset=UTF-8\r\n X-XCAP-Asserted-Identity: "sip:user@xxxxxx"\r\n User-Agent: Seagull-gull.sourceforge.net\r\n Host: clever5:8090\r\n Accept: text/html, image/gif, *; q=.2, */*; q=.2\r\n Connection: keep-alive\r\n content-length: 217\r\n \r\n <?xml version="1.0" encoding="UTF-8"?>\r\n <note xmlns:dog="the:namespace:for:dog">\r\n <dog:to>Jani</dog:to>\r\n <from>Tove</from>\r\n <heading>Re: Reminder</heading>\r\n <body>I will not forget you this week end!</body>\r\n </note>\r\n No. Time Source Destination Protocol Info 41 10.803652 127.0.0.1 127.0.0.1 TCP 8090 > 58233 [PSH, ACK] Seq=1 Ack=533 Win=32768 [TCP CHECKSUM INCORRECT] Len=302 TSV=3441161 TSER=3441161 Frame 41 (368 bytes on wire, 368 bytes captured) Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst: 00:00:00_00:00:00 (00:00:00:00:00:00) Internet Protocol, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1 (127.0.0.1) Transmission Control Protocol, Src Port: 8090 (8090), Dst Port: 58233 (58233), Seq: 1, Ack: 533, Len: 302 Data (302 bytes) HTTP/1.1 201 Created\r\n Server: Apache-Coyote/1.1\r\n Pragma: No-cache\r\n Cache-Control: no-cache\r\n Expires: Wed, 31 Dec 1969 18:00:00 CST\r\n X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5\r\n ETag: 1\r\n Content-Length: 0\r\n Date: Mon, 07 Aug 2006 21:14:46 GMT\r\n \r\n By Sebastian > -----Ursprüngliche Nachricht----- > Von: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev- > bounces@xxxxxxxxxxxxx] Im Auftrag von Anders Broman > Gesendet: Mittwoch, 8. August 2007 18:15 > An: 'Developer support list for Wireshark' > Betreff: Re: [Wireshark-dev] Support for XCAP > > Hi, > Quickly browsing RFC4825 I get the impression that XCAP is used over > http > With different MIME types. > 15.2. MIME Types . . . . . . . . . . . . . . . . . . . . . . . . > 61 > 15.2.1. application/xcap-el+xml MIME Type . . . . . . . . . . > 61 > 15.2.2. application/xcap-att+xml MIME Type . . . . . . . . . . > 62 > 15.2.3. application/xcap-ns+xml MIME Type . . . . . . . . . . > 63 > 15.2.4. application/xcap-error+xml MIME Type . . . . . . . . . > 64 > 15.2.5. application/xcap-caps+xml MIME Type . . . . . . . . . > 64 > If this is indeed the case you can try to change the TCP port > preference of > HTTP ( edit->preferences->protocols->http) to the port in question > And see if that suits your needs or if you think something more > should be added. I think some of those MIME types will be handled by > the XML > dissector. > Sending a sample trace file and references to applicable protocol > descriptions might get some one to take a look at it and do necessary > updates to dissector code. > Regards > Anders > > -----Ursprungligt meddelande----- > Från: wireshark-dev-bounces@xxxxxxxxxxxxx > [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Lampe, Sebastian > Skickat: den 8 augusti 2007 17:57 > Till: wireshark-dev@xxxxxxxxxxxxx > Ämne: [Wireshark-dev] Support for XCAP > > Hi, > > we're working on XCAP and want to use Wireshark for testing and > analyzing network traffic. Will there be any possibility to Wireshark > for showing XCAP-Packets respectively planed for future releases? > > Currently we have to filter for TCP using a specified port. But instead > of displaying a formatted view of the content, you only see a > 'Data'-section underneath the TCP-section. > > Regards, > Sebastian > > -- > Sebastian Lampe > > Fraunhofer Institute FOKUS > National R&D Institute for Open Communication Systems > Competence Center for Next Generation Network Infrastructures - NGNI > > Kaiserin-Augusta-Allee 31 > D-10589 Berlin, Germany > > Tel.: +49 30 3463-7218 > Mail: sebastian.lampe@xxxxxxxxxxxxxxxxxxx > http://www.fokus.fraunhofer.de > > _______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@xxxxxxxxxxxxx > http://www.wireshark.org/mailman/listinfo/wireshark-dev > > _______________________________________________ > Wireshark-dev mailing list > Wireshark-dev@xxxxxxxxxxxxx > http://www.wireshark.org/mailman/listinfo/wireshark-dev
Attachment:
xcap-trace
Description: xcap-trace
- Follow-Ups:
- Re: [Wireshark-dev] Support for XCAP
- From: Anders Broman
- Re: [Wireshark-dev] Support for XCAP
- References:
- Re: [Wireshark-dev] Support for XCAP
- From: Anders Broman
- Re: [Wireshark-dev] Support for XCAP
- Prev by Date: Re: [Wireshark-dev] Support for XCAP
- Next by Date: Re: [Wireshark-dev] /etc/services file for "port name resolvings"?
- Previous by thread: Re: [Wireshark-dev] Support for XCAP
- Next by thread: Re: [Wireshark-dev] Support for XCAP
- Index(es):