Skip to content

Instantly share code, notes, and snippets.

@schachmat

schachmat/davdroid-stream Secret

Last active Aug 29, 2015
Embed
What would you like to do?
bla
private data is replaced with "ANONYMIZED_BLABLA"
DAVdroid was called with pull request #558 applied and with the following connection setting:
Protocol: http (otherwise I could not get the TCP dump, but the result is the same with https)
BaseURL: ANONYMIZED_SERVER_DOMAIN/ANONYMIZED_SHARED_FOLDER/
username: ANONYMIZED_USERNAME
password: NOPE!
The preemptive auth option was checked.
1 empty line: HTTP header/content separator
2 emptly lines: Request/Response separator
3 empty lines: TCP connection separator (every request-response pair used one TCP connection)
PROPFIND /ANONYMIZED_SHARED_FOLDER/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 0
Content-Length: 88
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<current-user-principal/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:31 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 315
<?xml version="1.0"?>
<multistatus xmlns="DAV:">
<response>
<href>/ANONYMIZED_SHARED_FOLDER/</href>
<propstat>
<prop>
<current-user-principal>
<href>/ANONYMIZED_USERNAME/</href>
</current-user-principal>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
PROPFIND /ANONYMIZED_USERNAME/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 0
Content-Length: 200
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<CD:addressbook-home-set xmlns:CD="urn:ietf:params:xml:ns:carddav"/>
<C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:31 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 484
<?xml version="1.0"?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav">
<response>
<href>/ANONYMIZED_USERNAME/</href>
<propstat>
<prop>
<CR:addressbook-home-set>
<href>/ANONYMIZED_USERNAME/</href>
</CR:addressbook-home-set>
<C:calendar-home-set>
<href>/ANONYMIZED_USERNAME/</href>
</C:calendar-home-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
OPTIONS /ANONYMIZED_USERNAME/ HTTP/1.1
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
HTTP/1.0 200 OK
Date: Mon, 13 Jul 2015 12:18:31 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Allow: DELETE, HEAD, GET, MKCALENDAR, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, REPORT
Content-Length: 0
PROPFIND /ANONYMIZED_USERNAME/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 1
Content-Length: 348
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<CD:addressbook-description xmlns:CD="urn:ietf:params:xml:ns:carddav"/>
<current-user-privilege-set class="java.util.LinkedList"/>
<displayname/>
<resourcetype/>
<CD:supported-address-data class="java.util.LinkedList" xmlns:CD="urn:ietf:params:xml:ns:carddav"/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:32 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 3054
<?xml version="1.0"?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav">
<response>
<href>/ANONYMIZED_USERNAME/</href>
<propstat>
<prop>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>ANONYMIZED_USERNAME</displayname>
<resourcetype>
<principal />
<collection />
</resourcetype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<CR:addressbook-description />
<CR:supported-address-data />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/addressbook.vcf/</href>
<propstat>
<prop>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>addressbook.vcf</displayname>
<resourcetype>
<CR:addressbook />
<collection />
</resourcetype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<CR:addressbook-description />
<CR:supported-address-data />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/calendar.ics/</href>
<propstat>
<prop>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>calendar.ics</displayname>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<CR:addressbook-description />
<CR:supported-address-data />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/fs.ics/</href>
<propstat>
<prop>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>fs.ics</displayname>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<CR:addressbook-description />
<CR:supported-address-data />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>
PROPFIND /ANONYMIZED_SHARED_FOLDER/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 0
Content-Length: 88
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<current-user-principal/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:32 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 315
<?xml version="1.0"?>
<multistatus xmlns="DAV:">
<response>
<href>/ANONYMIZED_SHARED_FOLDER/</href>
<propstat>
<prop>
<current-user-principal>
<href>/ANONYMIZED_USERNAME/</href>
</current-user-principal>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
PROPFIND /ANONYMIZED_USERNAME/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 0
Content-Length: 200
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<CD:addressbook-home-set xmlns:CD="urn:ietf:params:xml:ns:carddav"/>
<C:calendar-home-set xmlns:C="urn:ietf:params:xml:ns:caldav"/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:32 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 484
<?xml version="1.0"?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav">
<response>
<href>/ANONYMIZED_USERNAME/</href>
<propstat>
<prop>
<CR:addressbook-home-set>
<href>/ANONYMIZED_USERNAME/</href>
</CR:addressbook-home-set>
<C:calendar-home-set>
<href>/ANONYMIZED_USERNAME/</href>
</C:calendar-home-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
</response>
</multistatus>
OPTIONS /ANONYMIZED_USERNAME/ HTTP/1.1
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
HTTP/1.0 200 OK
Date: Mon, 13 Jul 2015 12:18:32 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Allow: DELETE, HEAD, GET, MKCALENDAR, MKCOL, MOVE, OPTIONS, PROPFIND, PROPPATCH, PUT, REPORT
Content-Length: 0
PROPFIND /ANONYMIZED_USERNAME/ HTTP/1.1
Content-Type: text/xml; charset=UTF-8
Accept: text/xml
Depth: 1
Content-Length: 480
Host: ANONYMIZED_SERVER_DOMAIN
Connection: Keep-Alive
User-Agent: DAVdroid/0.8.0
Accept-Encoding: gzip,deflate
Authorization: Basic ANONYMIZED_PASSWORD_HASH
<propfind xmlns="DAV:">
<prop>
<A:calendar-color xmlns:A="http://apple.com/ns/ical/"/>
<C:calendar-description xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<C:calendar-timezone xmlns:C="urn:ietf:params:xml:ns:caldav"/>
<current-user-privilege-set class="java.util.LinkedList"/>
<displayname/>
<resourcetype/>
<C:supported-calendar-component-set class="java.util.LinkedList" xmlns:C="urn:ietf:params:xml:ns:caldav"/>
</prop>
</propfind>
HTTP/1.0 207 Unknown
Date: Mon, 13 Jul 2015 12:18:32 GMT
Server: WSGIServer/0.1 Python/2.7.9
DAV: 1, 2, 3, calendar-access, addressbook, extended-mkcol
Content-Type: text/xml
Content-Length: 8445
<?xml version="1.0"?>
<multistatus xmlns="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:CR="urn:ietf:params:xml:ns:carddav" xmlns:ICAL="http://apple.com/ns/ical/">
<response>
<href>/ANONYMIZED_USERNAME/</href>
<propstat>
<prop>
<ICAL:calendar-color>#551fc1</ICAL:calendar-color>
<C:calendar-timezone>BEGIN:VCALENDAR
END:VCALENDAR
</C:calendar-timezone>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>ANONYMIZED_USERNAME</displayname>
<resourcetype>
<principal />
<collection />
</resourcetype>
<C:supported-calendar-component-set>
<C:comp name="VTODO" />
<C:comp name="VEVENT" />
<C:comp name="VJOURNAL" />
</C:supported-calendar-component-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:calendar-description />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/addressbook.vcf/</href>
<propstat>
<prop>
<ICAL:calendar-color>#ef81e9</ICAL:calendar-color>
<C:calendar-timezone />
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>addressbook.vcf</displayname>
<resourcetype>
<CR:addressbook />
<collection />
</resourcetype>
<C:supported-calendar-component-set>
<C:comp name="VTODO" />
<C:comp name="VEVENT" />
<C:comp name="VJOURNAL" />
</C:supported-calendar-component-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:calendar-description />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/fs.ics/</href>
<propstat>
<prop>
<ICAL:calendar-color>#2bcac9</ICAL:calendar-color>
<C:calendar-timezone>ANONYMIZED_TEST_CALENDAR_CONTENT
</C:calendar-timezone>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>fs.ics</displayname>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
<C:supported-calendar-component-set>
<C:comp name="VTODO" />
<C:comp name="VEVENT" />
<C:comp name="VJOURNAL" />
</C:supported-calendar-component-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:calendar-description />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
<response>
<href>/ANONYMIZED_USERNAME/calendar.ics/</href>
<propstat>
<prop>
<ICAL:calendar-color>#d32de2</ICAL:calendar-color>
<C:calendar-timezone>BEGIN:VCALENDAR
PRODID:-//Radicale//NONSGML Radicale Server//EN
VERSION:2.0
END:VCALENDAR
</C:calendar-timezone>
<current-user-privilege-set>
<privilege>
<all />
<read />
<write />
<write-properties />
<write-content />
</privilege>
</current-user-privilege-set>
<displayname>calendar.ics</displayname>
<resourcetype>
<C:calendar />
<collection />
</resourcetype>
<C:supported-calendar-component-set>
<C:comp name="VTODO" />
<C:comp name="VEVENT" />
<C:comp name="VJOURNAL" />
</C:supported-calendar-component-set>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<C:calendar-description />
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
</multistatus>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment