summaryrefslogtreecommitdiff
path: root/src/Network/Tox/Crypto
AgeCommit message (Collapse)Author
2020-01-01Factor out some new librariesJames Crayne
word64-map: Data.Word64Map network-addr: Network.Address tox-crypto: Crypto.Tox lifted-concurrent: Control.Concurrent.Lifted.Instrument Control.Concurrent.Async.Lifted.Instrument psq-wrap: Data.Wrapper.PSQInt Data.Wrapper.PSQ minmax-psq: Data.MinMaxPSQ tasks: Control.Concurrent.Tasks kad: Network.Kademlia Network.Kademlia.Bootstrap Network.Kademlia.Routing Network.Kademlia.CommonAPI Network.Kademlia.Persistence Network.Kademlia.Search
2019-07-01update stackage to lts-13.26 and fix buildAndrew Cady
2018-12-16More TCP work.Joe Crayne
2018-12-16Reduced dependencies, updated cabal file.Joe Crayne
2018-12-16Remove padding for dependent-sum based messages.Joe Crayne
2018-12-16dependent-sum based CryptoMessage.Joe Crayne
2018-12-16Clean-up.Joe Crayne
2018-12-16Use getPublicKey/putPublicKey more liberally.Joe Crayne
2018-11-04Preparation to move DPut to a separate project.James 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-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-09-08Factored Data.Tox.Message out of Network.Tox.Crypto.Transport.Joe Crayne
2018-09-07KillPacket and PacketRequest are treated as lossy (bypass packet-queue).Joe Crayne
2018-09-07Removed obsolete Connection.Tox.Joe Crayne
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-27Fix: Pings & Packet requests were miss-classified as lossyJames Crayne
2018-06-26debug printsjoe
2018-06-26handle packet requests immediatelyjim@bo
2018-06-25Feature Negotiation messages, serialization codejim@bo
2018-06-24call setTerminated from destroySessionjim@bo
2018-06-24Redundant imports.joe
2018-06-24debug traces of packet request send/recievejim@bo
2018-06-24fix index-bounds error & improve efficiencyjim@bo
2018-06-23atox: subProcess exe launch from dhtd netcrypto commandjim@bo
2018-06-23OutGoing hooks so SessionView is updated etcjim@bo
2018-06-23show msg in dtrace on outgoingjim@bo
2018-06-22Removed redundant imports and other clean up.joe
2018-06-22OutGoingResult now offers packet for conveniencejim@bo
Also, don't send anohter Online, just send duplicate packet.
2018-06-22packet request off by 1 serializatoin fix & getMissing fixjim@bo
2018-06-22call destroySession before freshCrpytoSession on Reset-handshakejim@bo
2018-06-22fix thread cleanup bugjim@bo
2018-06-22longer ncRequestInterval (easier debugging)jim@bo
2018-06-21NetCrypto IdleEvents,TimeOutsjim@bo
2018-06-21PacketRequest deserialize should match serializejim@bo
2018-06-21TODO comments regarding ncStoredRequestsjim@bo
* In the case that the session seems to lock up, the packet requests could be (re-)handled without sorting. Just in case both sides are waiting on a missing packet.
2018-06-21lengthen packet request interval while debuggingjim@bo
2018-06-21DPut Trace Variationsjim@bo
tput - like dput, but works in any Applicative dtrace - like trace, but takes DebugTag
2018-06-21packet request handling, finished all todo stubs (needs test)jim@bo
2018-06-21handlePacketRequest functionjim@bo
2018-06-21Packet request Thread, ready for testingjim@bo
2018-06-21netCrypto packet-request thread wip (continued)jim@bo