summaryrefslogtreecommitdiff
path: root/src/Network
AgeCommit message (Collapse)Author
2018-11-04Preparation to move DPut to a separate project.James Crayne
2018-11-04AggregateSession: Debug print on send exception.Joe Crayne
2018-11-03Switched to new session tracker.Joe Crayne
2018-11-03Use seqence number context when serializing CryptoMessage.Joe Crayne
2018-11-03PING missing from knownMsgsJames Crayne
* Also Padding (0) should be handled special
2018-11-03PacketRequests are losslessJames Crayne
* PR's are lossless as I originally thought * Also packets between 16 and 192 are lossless. (not sure how/why these things got changed)
2018-11-03Reduce ncRequestInterval to 1 secondJames Crayne
Note: according to the spec, this is the maximum that tox core ever gets to. Tox core shortens it when there are more packets being recieved. This patch also adds some more debug messages.
2018-11-03since PacketRequests are now lazy, dont add them to outqJames Crayne
2018-11-03debug message on sendLossless resultJames Crayne
2018-11-03sendLossless and sendOffline had final tokens swapped somehowJames Crayne
2018-11-03add sensible timeout to sendLosslessJames Crayne
(also call this function from dispatchMessage)
2018-11-03addDestroySessionHookJames Crayne
2018-11-02Comments and debug prints.Joe Crayne
2018-11-02Lossless: Support for handling exceptions on send.Joe Crayne
2018-10-03Moved resolving duty to Connection manager.Joe Crayne
2018-09-08Factored Data.Tox.Message out of Network.Tox.Crypto.Transport.Joe Crayne
2018-09-08ToxManager rewrite: use aggregated netcrypto sessions.Joe Crayne
2018-09-08AggregateSession combines related NetCrypto sessions into oneJoe Crayne
2018-09-08Documented Network.Lossless.Joe Crayne
2018-09-07Added some minor helper utiltities to PSQ and Network.Tox.Session.Joe Crayne
2018-09-07Documented Network.Tox.Session.Joe Crayne
2018-09-07Fixed handling of lossy outgoing in Network.Lossless.Joe Crayne
2018-09-07KillPacket and PacketRequest are treated as lossy (bypass packet-queue).Joe Crayne
2018-09-07Quieter decryption of tox handshake.Joe Crayne
2018-09-07Removed unused arguments to setEstablished/setTerminated.Joe Crayne
2018-09-07Tox Alternative sessions: Outgoing seqno/ack reversed.Joe Crayne
2018-09-07Allow Transport inbound/outbout types to vary.Joe Crayne
2018-09-07Cleaner tox debug prints.Joe Crayne
2018-09-07Tox cookie: Generic & Hashable instances.Joe Crayne
2018-09-07tox: Generate keys within STM monad.Joe Crayne
2018-09-07Removed obsolete Connection.Tox.Joe Crayne
2018-08-21Alternate session manager using IntervalSet for uniqs.Joe Crayne
2018-08-21Isolated the logic to implement Tox's lossless netcrypto protocol: ↵Joe Crayne
Network.Lossless
2018-08-21Added packet data to lossy inbound event.Joe Crayne
2018-08-18Split grokPacket into inbound/outbound versions.Joe Crayne
2018-08-17Simplified PacketQueue/PacketBuffer interface.Joe Crayne
2018-06-28More performant pendingRoutes (IntMap -> Array).Joe Crayne
2018-06-28Kademlia.Search: fork -> forkIOJoe Crayne
2018-06-27Fix: Pings & Packet requests were miss-classified as lossyJames Crayne
2018-06-26More thorough thread shutdown.joe
2018-06-26testTox: a pair of simulated tox nodes.joe
2018-06-26Pair of linked transports for testing.joe
2018-06-26debug printsjoe
2018-06-26handle packet requests immediatelyjim@bo
2018-06-25Feature Negotiation messages, serialization codejim@bo
2018-06-24supply hostname for dnssd displayAndrew Cady
2018-06-24Share toxid over avahiAndrew Cady
This isn't really completely correct; there should be some possibility for denial of service. The call to setContactAddr is destructive of whatever information was there previously, but we haven't verified that we're talking to the real contact at the time it is called. This problem exists even in the ordinary path where the nodeinfocallback isn't really requiring proof of anything before throwing out data.
2018-06-24ensure setTerminated not called if there is another NetCryptoSessoin on same keyjim@bo
2018-06-24call setTerminated from destroySessionjim@bo
2018-06-24Redundant imports.joe