summaryrefslogtreecommitdiff
path: root/src/Network
AgeCommit message (Collapse)Author
2018-05-31more careful updateCryptoSessionJames Crayne
2018-05-31canonicalize sockaddr before lookups and insertions into mapJames Crayne
2018-05-31yet more debug printsJames Crayne
2018-05-31need to actually send handshakeJames Crayne
2018-05-31{fresh,update}CryptoSession are now in STMJames Crayne
2018-05-31debug prints and clean up stale sessionsJames Crayne
2018-05-31freshCryptoSession should update lookup structuresJames Crayne
2018-05-31HandshakeData should include my session public, not my long termJames Crayne
2018-05-31debugging sessionPacketHJames Crayne
2018-05-31remove dumb else clause on duplicate packet caseJames Crayne
2018-06-02tox refactor: handshakeH uses decryptHandshake.joe
2018-06-02tox: decryptHandshake functionjoe
2018-05-31improve documentation on HandshakeDataJames Crayne
2018-06-02Change Cookie -> Cookie Encryptedjoe
2018-06-02Factor anyRight to top-level.joe
2018-05-31comment netcrypto backoff loop for simpler debuggingJames Crayne
2018-06-02Delete NetCrypto type, separate transports for Handshake,CryptoPacket.joe
2018-05-31NetCrypto TVars patch:James Crayne
* Change UponHandshake values in NetCryptoSession to TVars * factor freshCryptoSession, new functions: runUponHandshake createNetCryptoOutQueue * Try to handle intitated vs uninitiated sessions better (modifications to updateCryptoSession)
2018-06-01More informative types on toxCrypto/toxHandshakes.joe
2018-06-01Separate functions for cryptoNetHandler cases.joe
2018-06-01tox: Enable nodes with same ip but different id to go into routing table.joe
2018-06-01tox: Separate transports for handshakes and crypto-packets.joe
2018-05-31uninitialized HParam fields should be Nothing not errorJames Crayne
2018-05-30This patch:James Crayne
* integrates Connection.Tox and Network.Tox.Crypto.Handlers * Network.Tox.netCrypto function uses freshCryptoSession
2018-05-30generalize NetCryptoSession to more statesJames Crayne
* adapt code to use types isomorphic to Maybe but which inform what state the connection must be in at the time the code is run. * also add more documentation
2018-05-30runCryptoHook only in dqueue thread for losslessJames Crayne
2018-05-30remove byteswqp on last2BytesJames Crayne
2018-05-30no trace on byteSwapJames Crayne
2018-05-30more netcrypto debug trace messagesJames Crayne
2018-05-30decryption bug, try byteswap on last2BytesJames Crayne
2018-05-30runCryptoHook on incoming lossless messagesJames Crayne
2018-05-30comment out base nonce compare on repeat handshakeJames Crayne
2018-05-30last2Bytes should be Word16James Crayne
2018-05-30debug trace in outgoing threadJames Crayne
2018-05-30comment showing relation between old and new crypto session status typesJames Crayne
2018-05-30oops, fix buildJames Crayne
2018-05-30more debug messages in cryptoNetHandlerJames Crayne
2018-05-30debug traces, handle Nothing case in ncToWireJames Crayne
2018-05-31Update roster and supplied dht-key seperately (in case no dhtkey).joe
2018-05-29initialize escape range in ncOutgoingIdMap, TODO commentsJames Crayne
2018-05-29initialize ncOutgoingIdMapJames Crayne
2018-05-31Send handshake response packet.joe
2018-05-29use PublicKey to encode handshake not dhtkeyJames Crayne
2018-05-31Use user-keys (not DHT-key) when encrypting initial handshake.joe
2018-05-29handshake nonce debug printsJames Crayne
2018-05-29show the contents of userKeys upon handshakeJames Crayne
2018-05-29remove FIXME commentJames Crayne
nonce bug confirmed as fixed in 9e91ad5c7
2018-05-31parseNetCrypto should peel id byte before deserializing the rest of the message.joe
2018-05-29more dput stuffJames Crayne
2018-05-30tox: Removed obsolete "userKeys" TVar, use keys from ContactInfo.joe