[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[freehaven-cvs] Fix a bug in 5c that probably invalidates all previo...
Update of /home/freehaven/cvsroot/doc/e2e-traffic/src
In directory moria.mit.edu:/tmp/cvs-serv29659
Modified Files:
PLAN.5 sim.cpp
Log Message:
Fix a bug in 5c that probably invalidates all previous 5b results:
When alice was offline, the attacker got a corrupted count of how
many messages she sent. No wonder 5b made no sense!
Note beginning of 5c run in PLAN.5
Index: PLAN.5
===================================================================
RCS file: /home/freehaven/cvsroot/doc/e2e-traffic/src/PLAN.5,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- PLAN.5 8 Apr 2004 21:24:35 -0000 1.1
+++ PLAN.5 8 Apr 2004 22:03:09 -0000 1.2
@@ -1,3 +1,5 @@
+A: Apr8, 17:50
+
New cases for preproceedings:
5c: N=65536, nAlice=32, bgVol=125,
@@ -14,10 +16,17 @@
5c.2: padding=2,smoothing=no, pD=.6,L=1,4
5c.3: padding=2,smoothing=yes,pD=.1,L=1,4
5c.4: padding=2,smoothing=yes,pD=.6,L=1,4
+
5c.5: padding=4,smoothing=no, pD=.1,L=1,4
5c.6: padding=4,smoothing=no, pD=.6,L=1,4
5c.7: padding=4,smoothing=yes,pD=.1,L=1,4
5c.8: padding=4,smoothing=yes,pD=.6,L=1,4
-
-
+ 5c.1: cassandra: A: 0.0
+ 5c.2: sekrit: A: 0.0
+ 5c.3: ariddoch: A: 0.0
+ 5c.4: borel: A: 0.0
+ 5c.5: poincare: A: 0.0
+ 5c.6: lebesgue: A: 0.0
+ 5c.7: noether: A: 0.0
+ 5c.8: totoro: A: 0.0
Index: sim.cpp
===================================================================
RCS file: /home/freehaven/cvsroot/doc/e2e-traffic/src/sim.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- sim.cpp 8 Apr 2004 21:24:35 -0000 1.12
+++ sim.cpp 8 Apr 2004 22:03:09 -0000 1.13
@@ -13,8 +13,10 @@
DistAlice::addTraffic(vec<int> &v_out, int &n_out)
{
int nM;
- if (pSend < 1.0 && rng() > pSend)
+ if (pSend < 1.0 && rng() > pSend) {
+ n_out = 0;
return;
+ }
n_out = nM = nMessageDist->get();
if (padding && nPending && nM < padding) {
if (nPending < (padding-nM)) {
***********************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe freehaven-cvs in the body. http://freehaven.net/