Commit Graph

560 Commits

Author SHA1 Message Date
jrandom
5eaec4c841 only recurse one time 2004-07-28 03:51:38 +00:00
jrandom
ffcc34c4f9 heh, if it expires, we probably don't want to forward it (duh) 2004-07-28 03:50:30 +00:00
jrandom
2dbe33e769 * cleaned up the tunnelCreate reply timeout
* reduced the number of tags passed when garlic routing a tunnelCreate
* catch timeout on a tunnel message quicker
* give a tunnel message a new messageId per hop
* added some more infrastructure for per-hop tunnelId
2004-07-28 00:08:15 +00:00
jrandom
60c7db0733 if I'm making this backwards incompatible, I might as well clean up the rest, 'eh?
* removed SourceRouteBlock & SourceRouteReplyMessage, as they're a redundant concept
that 1) takes up bandwidth 2) takes up CPU 3) smell funny.
now the TunnelCreateMessage includes a replyTag, replyKey, replyTunnel, and
replyGateway that they garlic encrypt their ACK/NACK through and with.

* tunnelCreateMessage doesn't need a seperate ACK - either we get a
TunnelCreateStatusMessage back or we don't.

* message structure mods for unique tunnel ID per hop (though currently all hops have
the same tunnel ID)
2004-07-27 22:04:02 +00:00
jrandom
0ed95bbdf1 new helper to read/write 2004-07-27 21:45:56 +00:00
jrandom
c901bcf9b7 javadoc warning fix 2004-07-27 17:41:40 +00:00
jrandom
0ccf915a18 ewps 2004-07-27 17:39:52 +00:00
jrandom
52b1c0a926 * netDb searchReply and lookup messages now contain H(peer), not the peer's full RouterInfo
(making a searchReply message ~100 bytes, down from ~30KB, and the lookup message ~64 bytes, down from ~10KB)
* when we get the netDb searchReply or lookup message referencing someone we don't know,
we fire off a lookup for them
* reduced some excessive padding
* dropped the DbSearchReplyMessageHandler, since it shouldn't be used (all search replies
should be handled by a MessageSelector built by the original search message)
* removed some oddball constructors from the SendMessageDirectJob and SendTunnelMessageJob (always must specify a timeout)
* refactored SendTunnelMessageJob main handler method into smaller logical methods
2004-07-27 17:34:36 +00:00
jrandom
399865e6c8 increase the replenish frequency to occur every .1s
logging
2004-07-27 17:20:42 +00:00
jrandom
54aeab1524 send the full RouterInfo in the STS validation, not just the RouterIdentity (and in turn, store that RouterInfo in the local netDb)
logging
2004-07-27 17:17:16 +00:00
jrandom
91f83277e2 made incompatible with previous releases - the remaining commits before the next rev are NOT BACKWARDS COMPATIBLE
do NOT update until the next release
2004-07-27 17:15:55 +00:00
jrandom
c937cb2f07 no need to test a peer that we already know is up 2004-07-27 06:34:30 +00:00
jrandom
ebd150e473 we don't need to build a tunnel so often (just enough to keep things fresh)
cleaned up rebuild / verification process so that the select*TunnelIds will always return what is necessary
for the moment, don't automatically kill all tunnels of a peer who fails just once (they can recover)
logging
2004-07-27 06:19:44 +00:00
jrandom
9218f7b82c deal with not having tunnels a bit earlier 2004-07-25 23:51:07 +00:00
jrandom
edaf7aee5d * for the moment, remove the 'isFailing' check for peers who have failing tunnels
(we need a more sophisticated algorithm than the one in place for it to be effective)
* fix for the profileOrganizer to work safely in the sim
2004-07-25 23:46:55 +00:00
jrandom
43c18d0f4d (techincally) reduced the minimum bandwidth rate to 1KBps, but NO ONE SHOULD SET IT THAT LOW. do not reduce your limits below 6KBps until More Stuff Gets Done.
logging
2004-07-25 23:43:13 +00:00
jrandom
65d85f7479 the vast majority of messages on the live net are under 2KB 2004-07-25 23:40:08 +00:00
jrandom
476e23db5b new stat monitoring the netDb search reply message sizes 2004-07-25 23:35:50 +00:00
jrandom
abaa5d87f6 more efficient mem alloc & usage 2004-07-25 23:33:54 +00:00
jrandom
ce3e7e623c handle disconnect while there are still requests pending 2004-07-24 17:54:49 +00:00
mpc
3fd35a9c18 *** empty log message *** 2004-07-24 03:31:24 +00:00
jrandom
f170ae741e 0.3.3, backwards compatible, to be released Real Soon i2p_0_3_3 2004-07-24 02:13:37 +00:00
jrandom
03562b037d added (commented out) hooks for the 0.4 web arch 2004-07-24 02:11:22 +00:00
jrandom
472312709a added ref for the 0.4 routerconsole stuff, but its not ready for use, so, er, dont use it 2004-07-24 02:08:21 +00:00
jrandom
b68463249e first pass at the 0.4 architecture. not ready for use or integration yet, but is functional with some manual build/config work 2004-07-24 02:06:07 +00:00
jrandom
740a2da702 more consistent html 2004-07-24 01:59:27 +00:00
jrandom
85c8e56417 fixed a strange bug when the .wait delay is really accurate (too accurrate..). thanks ZeroCool for help debugging this! 2004-07-24 01:10:11 +00:00
jrandom
481ef56e74 added www1.squid.i2p 2004-07-23 21:22:51 +00:00
jrandom
008795770f allow the timestamper to be started up while disabled 2004-07-23 18:19:40 +00:00
jrandom
834fb7e317 allow the timestamper to be controlled by env properties (and, in turn, safe to always run)
if/when the property "timestamper.enabled" is set, the timestamper will query the sntp server(s) and update the clock accordingly
if/when it is not set (or set to something other than "true"), it will pause with its standard delay before checking again
in addition, it has a guard to help running the timestamper multiple times in the same JVM
2004-07-23 17:43:45 +00:00
jrandom
da4827f287 expose some data for the router console to query 2004-07-23 17:39:31 +00:00
jrandom
9f4439583d expose some data points for the new console, and cleaned up some html
new piece of data exposed and maintained is a list of router contexts - shown as a singleton off RouterContext - allowing an app in the same JVM to find the routers (and chose between which one they want)
2004-07-23 17:36:29 +00:00
mpc
69981e4d78 *** empty log message *** 2004-07-23 03:08:20 +00:00
mpc
a857c6a88f *** empty log message *** 2004-07-23 00:10:59 +00:00
mpc
e8d19439f8 *** empty log message *** 2004-07-22 08:54:01 +00:00
connelly
56216250a7 Added doc sources (public domain) 2004-07-21 12:02:56 +00:00
connelly
bea331db26 Fixed typo (public domain) 2004-07-21 11:56:36 +00:00
connelly
bc4e833a47 Fix install path 2004-07-21 11:36:23 +00:00
mpc
83f399fffc hopefully i'll have time to work on this socket stuff tomorrow 2004-07-21 10:24:22 +00:00
jrandom
5214436d18 initial import of Connelly's public domain I2P python lib 2004-07-21 07:42:29 +00:00
jrandom
8603250d73 updated the readme to reference the current specs and implementations
removed the old out of date jython and python code
2004-07-21 06:25:44 +00:00
jrandom
9a8a099701 javadoc fix 2004-07-20 21:43:42 +00:00
jrandom
a5a0c8c837 moved minimal I2CP info to the I2PSession docs (since it is the one that implements it) 2004-07-20 21:31:57 +00:00
jrandom
604bcd5874 initial impl 2004-07-20 21:28:28 +00:00
jrandom
d29f9409bf include some basic I2CP info 2004-07-20 21:16:30 +00:00
jrandom
b5a0f5910d first pass 2004-07-20 21:08:04 +00:00
jrandom
ccb2600e67 when measuring capacity, consider data updated within the last hour as good, not just the last 5 minutes 2004-07-20 04:11:33 +00:00
jrandom
f06e21ff5a null check (oops) 2004-07-20 04:10:33 +00:00
jrandom
bb0817a2ec erg, expose the capacity calculator
(the last Router commit is a mod that ugha requested, but i think its ugly so its disabled atm)
2004-07-20 03:35:36 +00:00
jrandom
6911f865ca expose the capacity calculator 2004-07-20 03:34:52 +00:00