Documentation
¶
Index ¶
Constants ¶
Variables ¶
View Source
var (
Magic = slice.Bytes(MagicString)
)
Functions ¶
This section is empty.
Types ¶
type OnionSkin ¶
type OnionSkin struct {
// Port identifies the type of service as well as being the port used by
// the service to be relayed to. Notice there is no IP address, this is
// because Indranet only forwards to exits of decentralised services
// also running on the same machine. This service could be a proxy, of
// course, if configured this way. This could be done by tunneling from
// a local Socks5 proxy into Indranet and the exit node also having
// this.
Port uint16
// Ciphers is a set of 3 symmetric ciphers that are to be used in their
// given order over the reply message from the service.
Ciphers [3]sha256.Hash
// Nonces are the nonces to use with the cipher when creating the
// encryption for the reply message.
Nonces [3]nonce.IV
// Bytes are the message to be passed to the exit service.
slice.Bytes
types.Onion
}
OnionSkin exit messages are the layer of a message after two Forward packets that provides an exit address and
Click to show internal directories.
Click to hide internal directories.