1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
This is a brief description of the dynamic gateway protocol.
A server listens on an open UDP socket (usually port number 1234) for
specially encoded datagrams that contain requests for encapsulated network
routes.
The format of the UDP datagram is:
char command; 4 - Add route, 5 Delete route
char routelen; The length of the requested route string in bytes.
string route; In cidr format: xxx.xxx.xxx/nn
string key; (optional) password.
The server, upon receiving a datagram in this format on the appropriate
socket will validate the request using the optional password provided.
The detail of the implementation of this mechanism is left to the server
implementor.
Provided the authentication is succesful the dynamic gateway server will
add an encapsulated route for the requested network using the source
address of the received datagram as the gateway address.
Routes created in this manner will expire after a configurable period of
time unless a new request datagram is received before the route timer
expires.
Terry Dawson, VK2KTJ
Jan, 1999
|