Package | Description |
---|---|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
Modifier and Type | Method and Description |
---|---|
(package private) RemoteHostId |
OutboundEstablishState.getClaimedAddress()
This will never be a hash-based address.
|
(package private) RemoteHostId |
UDPPacket.getRemoteHost() |
(package private) RemoteHostId |
InboundEstablishState.getRemoteHostId()
RemoteHostId, uniquely identifies an attempt
|
(package private) RemoteHostId |
OutboundEstablishState.getRemoteHostId()
This should be what the state is currently indexed by in the _outboundStates table.
|
(package private) RemoteHostId |
PeerState.getRemoteHostId() |
Modifier and Type | Method and Description |
---|---|
(package private) UDPPacket |
PacketBuilder.buildRelayIntro(RemoteHostId alice,
PeerState charlie,
UDPPacketReader.RelayRequestReader request) |
(package private) UDPPacket |
PacketBuilder.buildRelayResponse(RemoteHostId alice,
PeerState charlie,
long nonce,
SessionKey cipherKey,
SessionKey macKey) |
(package private) InboundEstablishState |
EstablishmentManager.getInboundState(RemoteHostId from)
Grab the active establishing state
|
(package private) OutboundEstablishState |
EstablishmentManager.getOutboundState(RemoteHostId from)
Grab the active establishing state
|
(package private) PeerState |
UDPTransport.getPeerState(RemoteHostId hostInfo)
get the state for the peer at the given remote host/port, or null
if no state exists
|
(package private) List<PeerState> |
UDPTransport.getPeerStatesByIP(RemoteHostId hostInfo)
Get the states for all peers at the given remote host, ignoring port.
|
(package private) boolean |
UDPTransport.isInDropList(RemoteHostId peer) |
(package private) PeerState |
UDPTransport.pickTestPeer(PeerTestState.Role peerRole,
boolean isIPv6,
RemoteHostId dontInclude)
Pick a Bob (if we are Alice) or a Charlie (if we are Bob).
|
(package private) void |
IntroductionManager.receiveRelayIntro(RemoteHostId bob,
UDPPacketReader reader)
We are Charlie and we got this from Bob.
|
(package private) void |
IntroductionManager.receiveRelayRequest(RemoteHostId alice,
UDPPacketReader reader)
We are Bob and we got this from Alice.
|
(package private) void |
EstablishmentManager.receiveRelayResponse(RemoteHostId bob,
UDPPacketReader reader)
We are Alice, we sent a RelayRequest to Bob and got a response back.
|
(package private) void |
EstablishmentManager.receiveSessionConfirmed(RemoteHostId from,
UDPPacketReader reader)
got a SessionConfirmed (should only happen as part of an inbound
establishment)
|
(package private) void |
EstablishmentManager.receiveSessionCreated(RemoteHostId from,
UDPPacketReader reader)
Got a SessionCreated (in response to our outbound SessionRequest)
|
(package private) void |
EstablishmentManager.receiveSessionDestroy(RemoteHostId from)
Got a SessionDestroy - maybe during an inbound establish?
TODO - PacketHandler won't look up inbound establishes
As this packet was essentially unauthenticated (i.e.
|
(package private) void |
EstablishmentManager.receiveSessionDestroy(RemoteHostId from,
OutboundEstablishState state)
Got a SessionDestroy during outbound establish
|
(package private) void |
EstablishmentManager.receiveSessionDestroy(RemoteHostId from,
PeerState state)
Got a SessionDestroy on an established conn
|
(package private) void |
EstablishmentManager.receiveSessionRequest(RemoteHostId from,
UDPPacketReader reader)
Got a SessionRequest (initiates an inbound establishment)
|
void |
PeerTestManager.receiveTest(RemoteHostId from,
UDPPacketReader reader)
Entry point for all incoming packets.
|
Constructor and Description |
---|
OutboundEstablishState(RouterContext ctx,
RemoteHostId claimedAddress,
RemoteHostId remoteHostId,
RouterIdentity remotePeer,
boolean allowExtendedOptions,
boolean needIntroduction,
SessionKey introKey,
UDPAddress addr,
DHSessionKeyBuilder.Factory dh) |