Changeset 3940f4


Ignore:
Timestamp:
09/20/09 17:11:11 (4 years ago)
Author:
Erik Ekman <yarrick@…>
Branches:
iodine-0.6
Children:
bd4a4e
Parents:
370348
git-author:
Erik Ekman <yarrick@…> (09/20/09 17:11:11)
git-committer:
Erik Ekman <yarrick@…> (09/20/09 17:11:11)
Message:

#75, update docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/proto_00000501.txt

    r7f76ce r3940f4  
    6464        BADLEN if length of query is too short 
    6565 
     66Options: 
     67Client sends: 
     68        First byte o or O 
     69        5 bits coded as Base32 char, meaning userid 
     70        1 char, meaning option 
     71Server sends: 
     72        Full name of option if accepted. After this, option immediately takes 
     73        effect in server. 
     74        BADCODEC if not accepted. Previous situation remains. 
     75        All options affect only the requesting client. 
     76 
     77        Option chars: 
     78        t or T: Downstream encoding Base32, for TXT/CNAME/A/MX (default) 
     79        s or S: Downstream encoding Base64, for TXT/CNAME/A/MX 
     80        r or R: Downstream encoding Raw, for TXT/NULL (default for NULL) 
     81        If codec unsupported for request type, server will use Base32; note 
     82        that server will answer any mix of request types that a client sends. 
     83        Server may disregard this option; client must always use the downstream 
     84        encoding type indicated in every downstream DNS packet. 
     85 
    6686Probe downstream fragment size: 
    6787Client sends: 
     
    114134compressed. 
    115135 
     136In NULL responses, downstream data is always raw. In all other response types, 
     137downstream data is encoded (see Options above). 
     138Encoding type is indicated by 1 prefix char: 
     139TXT: 
     140        End result is always DNS-chopped (series of len-prefixed strings 
     141        <=255 bytes) 
     142        t or T: Base32   encoded before chop, decoded after un-chop 
     143        s or S: Base64   encoded before chop, decoded after un-chop 
     144        r or R: Raw      no encoding, only DNS-chop 
     145CNAME/A/MX: 
     146        h or H: Hostname encoded with Base32 
     147        i or I: Hostname encoded with Base64 
     148 
    116149Ping: 
    117150Client sends: 
Note: See TracChangeset for help on using the changeset viewer.