Changeset 0e81cd


Ignore:
Timestamp:
08/15/09 15:10:21 (3 years ago)
Author:
Erik Ekman <yarrick@…>
Branches:
master
Children:
24871f
Parents:
473bb9
git-author:
Erik Ekman <yarrick@…> (08/15/09 15:10:21)
git-committer:
Erik Ekman <erik@…> (02/04/12 20:34:03)
Message:

Update changelog and proto docs

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r3a2f66 r0e81cd  
    1717        - The client will now exit if configuring IP or MTU fails. 
    1818        - The starting cache miss value is randomized at startup, fixes #65. 
     19        - Raw UDP mode added. If the iodined server is reachable directly, 
     20                packets can be sent to it without DNS encoding. Fixes #36. 
    1921 
    20222009-06-01: 0.5.2 "WifiFree" 
  • doc/proto_00000501.txt

    r950c08 r0e81cd  
    44Note: work in progress!! 
    55 
     6====================================================== 
     71. DNS protocol 
    68====================================================== 
    79 
     
    126128If server has something to send, it will send a downstream data packet,  
    127129prefixed with 2 bytes header as shown above. 
     130 
     131 
     132====================================================== 
     1332. Raw UDP protocol 
     134====================================================== 
     135 
     136All Raw UDP protcol messages start with a 3 byte header: 0x10d19e 
     137This is not the start of a valid DNS message so it is easy to identify. 
     138The fourth byte contains the command and the user id. 
     139 
     140         7654 3210 
     141        +----+----+ 
     142        |CCCC|UUUU| 
     143        +----+----+ 
     144 
     145Login message (command = 1): 
     146The header is followed by a MD5 hash with the same password as in the DNS 
     147login. The client starts the raw mode by sending this message, and uses 
     148the login challenge +1, and the server responds using the login challenge -1. 
     149After the login message has been exchanged, both the server and the client 
     150switch to raw udp mode for the rest of the connection. 
     151 
     152Data message (command = 2): 
     153After the header comes the payload data, which may be compressed. 
     154 
     155Ping message (command = 3): 
     156Sent from client to server and back to keep session open. Has no payload. 
     157 
Note: See TracChangeset for help on using the changeset viewer.