Commit Graph

169 Commits (503f522cc38e3eb6fe13dab28d6c9492c8351a9c)

Author SHA1 Message Date
R4SAS 503f522cc3
[style] clean trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
1 year ago
orignal c5230ca44b don't accept incoming session from invalid endpoint 2 years ago
R4SAS f1437feede
SSU2: handle standard network errors more correctly
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 8ad5696e50 don't send termination again if termination received block received 2 years ago
orignal 410d2c2fa9 use shared pointer for RouterInfo's addreses list 2 years ago
orignal 6589bdf6b5 delete expired token right away 2 years ago
orignal 629c718527 fixed races condition with pending outgoing sessions 2 years ago
Dimitris Apostolou 73b9c0302b
Fix typos 2 years ago
orignal a298588943 SSU2 only introducers 2 years ago
orignal ccfeca728e use only SSU2 for network status 2 years ago
orignal c88638afe4 reconnect to proxy if receive error 2 years ago
orignal e13f151474 ssu2.mtu4 and ssu2.mtu6 2 years ago
orignal 4ed4e8708e close relay socket if associate socket gets closed 2 years ago
orignal 1738d118f7 recconnect to proxy 2 years ago
orignal 5fb1247b87 correct MTU calculation through proxy 2 years ago
orignal 0e477bf938 set min MTU if through proxy 2 years ago
orignal 2a703e0844 SSU2 through a socks5 proxy 2 years ago
orignal f3aada9e1a Proxy connection and UDP associate request 2 years ago
orignal 08fd32b3bf allow different ports from RelayReponse and HolePunch 2 years ago
orignal 39a86ce5c9 handle UDP packet from proxy relay 2 years ago
orignal fe25260ee2 send UDP request to proxy relay 2 years ago
R4SAS 96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 3bdef5f58d update remote endpoint and send path challenge 2 years ago
orignal 4634bff9f0 limit number of resent packets. Resend interval variance 2 years ago
orignal df92a85159 set SSU2 port +1 if not specified 2 years ago
orignal ab606a1121 adjust clock from SSU2 2 years ago
orignal b9970e1908 cleanup introducers upon reschedule 2 years ago
orignal 8bb9a57908 re-insert introducer back 2 years ago
orignal f43e860998 cleanup introducers if router is not longer firewalled 2 years ago
orignal 3e40852999 memory pool for sent packets 2 years ago
orignal ed5c533982 recgnize symmetric NAT from SSU2 2 years ago
orignal 98d2ce5845 Respond to path challenge. Correct termination reason for duplicated session 2 years ago
orignal 71766ecd16 select introducers randomly. More logging for RelayIntro 2 years ago
orignal 9afe3b5f39 fixed typo 2 years ago
orignal 01fe642beb don't create another session for peer test 2 years ago
orignal e70d57dcb4 resend intervals in milliseconds 2 years ago
orignal 4b1f5c9c9b terminate session in separate task 2 years ago
orignal b574aaf99c fix SSU2 crash on shutdown 2 years ago
orignal f8a609f692 respond to termination 2 years ago
orignal fe744f8f81 more routine cleanup 2 years ago
orignal dbb9295063 set MTU if local address is specified explicitly. update MTU for ipv6 if not set 2 years ago
orignal 4d0047ae7c request termination for existing session 2 years ago
orignal 6ff64352d3 don't create and oublish duplicates 2 years ago
orignal d33aeb4bb2 set unreachable if firewalled. Store router's hash of introducer instead session 2 years ago
orignal ea0ed9e844 update SSU2 introducers if Firewalled 2 years ago
orignal 2197cd8620 add/remove SSU2 introducers to local RouterInfo 2 years ago
orignal cf0d3b5f61 create new list of SSU2 introducers 2 years ago
orignal 5026dbc1b3 receive bigger packets 2 years ago
orignal 0c34189d94 correct buffer size for fragments of SessionConfirmed 2 years ago
Simon Vetter 3cf809e99d fix SSU2 introducers selection logic 2 years ago