summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-10-22Some work on handling core compressed type map messages.David Barksdale
2011-10-04Fixed crypto tests.David Barksdale
Turns out there was more java.lang.BigInteger/clojure.lang.BigInt confusion left over from the port to clojure 1.3. I'm not sure how this was missed. I also found that my current java VM doesn't like (SecretKeyFactory/getInstance "AES"), however this was completely unnecessary because SecretKeySpec impliments Key and works everywhere I have an aes-key. I also found that Cipher.init will fail on a 256-bit AES key if it doesn't have "unlimited strength".
2011-09-29Add new-valid-address-callback! which sends a connect message.David Barksdale
2011-09-29Fixed calling of update-remote-peers! with the wrong number of arguments.David Barksdale
2011-09-29Updated transport pong message to new format. Fixed a TODO.David Barksdale
The peer-id field was removed from the transport pong message.
2011-09-29Got tcp working again.David Barksdale
2011-09-29Add utility function do-callbacks!David Barksdale
2011-09-29Fix typo in comment.David Barksdale
2011-09-27Some message type numbers changed. Parse connect message.David Barksdale
2011-09-15Fix call to selection-key callback.David Barksdale
2011-08-24Make topology actually do something.David Barksdale
Unable to test because of trouble reading a hostlist.
2011-08-23Some work on topology. Fixed tcp so it actually compiles.David Barksdale
2011-08-16Some work on the new transport protocol.David Barksdale
Merged hello.clj and transport.clj. Split topology code from transport.clj into topology.clj. Many small changes of minor significance.
2011-08-13Re-wrote TCP transport.David Barksdale
I'm pretty sure my use of the word "continuation" is inaccurate so I've renamed some things "callback".
2011-08-13The UDP transport is no longer compatible with the latest gnunet.David Barksdale
I'm deleting it now and will re-write it later.
2011-06-15Catch CancelledKeyException.David Barksdale
2011-06-14More 1.3.0 bigint fixes.David Barksdale
2011-06-14Mavenized the project. Upgraded to clojure 1.3.0.David Barksdale
2011-05-04Detect invalid PKCS#8 keys.David Barksdale
Worked on watchPeers. A fix for Safari. plugin.jar seems to have moved.
2011-02-10Lots of changes, added many new functions to the applet.David Barksdale
2011-02-02Created gen-class :set-context-classloader.David Barksdale
Fixed ProtectionDomain on compiled classes. The applet repl is now in the applet's namespace. Created *applet* so the repl can refer to the applet. Renamed in to write, IE8 didn't like "in".
2011-02-02GNUnet applet created.David Barksdale
The clojure-1.2.0.jar contains a hack to fix the ContextClassLoader.
2011-01-27Fixed send-pong-using, pongs sent using connected address.David Barksdale
Fixed bug with incoming TCP connections and the sessions map.
2010-12-05TCP seems to be working now!David Barksdale
2010-12-02Much work on the TCP transport.David Barksdale
Successfully negotiates outgoing connections, incoming should work also.
2010-11-22TCP transport can make outgoing connections, not quite working yet.David Barksdale
2010-11-21Did some work on the TCP transport.David Barksdale
2010-11-20We can forward FS_GET requests, but not very intelligently. FS_PUT are dropped.David Barksdale
2010-11-09Added TTL expiration heap. Worked on forward-request!David Barksdale
2010-11-07Added metrics. More work on filesharing.David Barksdale
2010-11-07More use of cpu-bound-executor and a few optimisations.David Barksdale
2010-11-07Added ThreadPoolExecutors to keep track of CPU and IO load.David Barksdale
Network load should correspond to the selector-continuations-queue. Removed some overzalous use of the exception-m monad.
2010-11-04More work on FS_GET handling.David Barksdale
2010-11-03Added new exception-m monad. Added :when-let and :when-not to domonad.David Barksdale
Replaced conditional with m-when. Embraced parser.clj with with-monad. Discovered str function is useful for formatting strings.
2010-11-02New filesharing message handlers.David Barksdale
2010-10-30First steps in handling CORE_ENCRYPTED_MESSAGE. Make date comparisons moreDavid Barksdale
readable.
2010-10-30Use domonad for our other complex parsers, it makes them easier to read.David Barksdale
2010-10-30Let the parse/encode functions handle the encrypted parts of messages.David Barksdale
This is a better method to use for core-encrypted-messages.
2010-10-18Some work on CORE_PONG support. We now make it to peer-status-key-confirmed!David Barksdale
2010-10-18Added CORE_PING support. Fixed AES key encoding. Now peers have connected state.David Barksdale
2010-10-16Implemented AES crypto. More work on SET_KEY handling.David Barksdale
2010-10-16Implemented HKDF. Moved small-primes into it's own file because it was breakingDavid Barksdale
the clojure editor in eclipse. Re-wrote generate-aes-key! using javax.crypto.KeyGenerator.
2010-10-15More work on SET_KEY handling. Changed remote-peer state management a bit.David Barksdale
Better RNG security.
2010-10-15Fix make-rsa-private-key, tested rsa-encrypt! and rsa-decrypt.David Barksdale
2010-10-14Added core-state-agent, RSA encrypt-decrypt (untested).David Barksdale
Fixed encode-rsa-public-key, optimized parse-rsa-public-key. Using clojure.test for tests, added generate-kblock-key test.
2010-10-12Changed remote-peer-struct:public-key to remote-peer-struct:public-key-atomDavid Barksdale
in order to resolve a identity/value confusion.
2010-10-12New signed message parsing method. Added SET_KEY message parsing.David Barksdale
Several changes in the interface between transport and protocol layers. We now correctly add peer info learned from incoming non-HELLO messages because we need it for sending out PONGs more correctly. Removed half-implemented "connect" code.
2010-10-11We now handle PING messages in the case of PONG_OWN.David Barksdale
2010-10-10We now handle incoming HELLO and PONG messages and verify addresses accordingly!David Barksdale
2010-10-08Fixed UDP sender-id. Incoming UDP messages now passed up to transport layer.David Barksdale