Re: [tor-dev] Bandwidth Weighted Node selection algorithm

2014-08-28 Thread saurav dahal
If a client wants to select a node having Guard+Exit flag, for the entry
position, then will it multiply the consensus bandweight of that node with
WG or Wgg or Wgd?


On Fri, Aug 29, 2014 at 7:12 AM, Mike Perry mikepe...@torproject.org
wrote:

 saurav dahal:
  Hello,
 
  In the paper,
 
   Zhen Ling; Junzhou Luo; Wei Yu; Ming Yang; Xinwen Fu, Extensive
 analysis
  and large-scale empirical evaluation of tor bridge discovery, *INFOCOM,
  2012 Proceedings IEEE* , vol., no., pp.2381,2389, 25-30 March 2012,
 
  the author has mentioned about Bandwidth Weighted Node selection
 algorithm.
  He has mentioned about bandwidth weights WG and WE, responsible for node
  selection.
 
  But in the Tor directory protocol version 3, there is no such mention of
  these weights but rather there are other weights such as Wgg, Wee, etc.
 
  Can anybody please elaborate on this?

 See 3.8.3 of dir-spec.txt and 2.2 of path-spec.txt:
 https://gitweb.torproject.org/torspec.git/blob/master:/dir-spec.txt#l2163
 https://gitweb.torproject.org/torspec.git/blob/master:/path-spec.txt#l184

 Most probably the WG and WE shorthand was to refer to all Wg* and We*
 weights (ie Wgg and Wgd, and Wed and Wee).

 --
 Mike Perry

 ___
 tor-dev mailing list
 tor-dev@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev




-- 

Saurav Dahal,
Wireless communication and Networking lab,
Dept. of Computer Engineering,
Chosun University,
309 Pilmun-daero, Dong-gu
Gwangju, 501-759 S.KOREA
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Catch probability of EE node greater than G and E node

2014-08-28 Thread saurav dahal
Hello,

The following is the default Tor network in shadow simulator:

Total BW of Guard flagged nodes=258.15 MB/S
Total BW of Middle nodes=23.69 MB/S
Total BW of Exit flagged nodes=13.23 MB/S
Total BW of Guard+Exit flagged nodes=213.4 MB/S

*1st Case:*

 I inserted 40 guard nodes and 40 exit nodes, each of 5 MB/S in above Tor
network and performed the simulation.

Following are the bandwidth weights derived from the consensus document of
webclient when Guard and Exit nodes of 5MB/S are added separately:

Wbd=1454 Wbe=0 Wbg=4882 Wbm=1 Wdb=1 Web=1 Wed=7091 Wee=1
Weg=7091 Wem=1 Wgb=1 Wgd=1454 Wgg=5118 Wgm=5118 Wmb=1 Wmd=1454
Wme=0 Wmg=4882 Wmm=1

*2nd Case:*

I added 80 Guard-Exit (EE) nodes, each 5MB/S and perform the simulation.

Following are the bandwidth weights derived from the consensus document
when EE nodes of 5MB/S are added:

Wbd=4722 Wbe=0 Wbg=0 Wbm=1 Wdb=1 Web=1 Wed=4826 Wee=1
Weg=4826 Wem=1 Wgb=1 Wgd=452 Wgg=1 Wgm=1 Wmb=1 Wmd=4722
Wme=0 Wmg=0 Wmm=1

I calculated catch probability i.e., probability that a client chooses my
inserted nodes in both guard and exit position, in both cases and found
that the 2nd case yields more probability.

By examining the above weights, how it is possible that the catch
probability for EE nodes are much higher than those of guard and exit node
separately? OR is there any other reason for this?

Can anybody please explain this?

Thanks,

-- 

Saurav
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Bandwidth Weighted Node selection algorithm

2014-08-26 Thread saurav dahal
Hello,

In the paper,

 Zhen Ling; Junzhou Luo; Wei Yu; Ming Yang; Xinwen Fu, Extensive analysis
and large-scale empirical evaluation of tor bridge discovery, *INFOCOM,
2012 Proceedings IEEE* , vol., no., pp.2381,2389, 25-30 March 2012,

the author has mentioned about Bandwidth Weighted Node selection algorithm.
He has mentioned about bandwidth weights WG and WE, responsible for node
selection.

But in the Tor directory protocol version 3, there is no such mention of
these weights but rather there are other weights such as Wgg, Wee, etc.

Can anybody please elaborate on this?

Thanks,

-- 

Saurav
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Role of Bandwidth weight

2014-08-13 Thread saurav dahal
Hello,

I studied about section 3.5.3 computing bandwidth weights in Tor Directory
Protocol Version 3. I know now how to compute the values of these weights.

1) I am not able to understand how these values are used in path selection
by the client. Anybody please highlight on this.

2) There are guard flagged nodes, Exit flagged nodes and Guard+Exit flagged
nodes in Tor network which are used in guard position and exit position
while making circuit by the client. I know that for choosing guard flagged
node in guard position, weight Wgg is used, for choosing exit flagged node
in exit position, Wee is used, and for choosing Guard+Exit flagged node,
Wgd or Wed is used. lets say that Wgd  Wgg and Wed  Wee. Then how is it
that G+E flagged node be choosen in guard position or exit position?


Thanks,

-- 

Saurav
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Finding the catch probability

2014-05-12 Thread saurav dahal
Hi,

I have installed the shadow(v 1.9.2) and ran it also. Then I perform the
following process:

 I will first use any of the four examples included in the scallion
directory.

2. In shadow.config.xml file, numbers of clients, guard, middle, exit and
webservers are configured.

3. Lets suppose that I added certain number of guard or exit nodes with
high bandwidth in this shadow.config.xml file and run the simulation. The
clients will try to download a file from the webserver by selecting three
nodes, according to path selection algorithm, among these all nodes
including mine inserted nodes also.

4. Now I want to observe the probability of selection of my inserted nodes
as entry or exit nodes by the clients* (catch probability)*.

5. Again I will change the number of nodes to be inserted and run the
simulation and find the catch probability.

After running the simulation, a log file will be created, scallion.log.
 So using this log file, how to find the catch probability by using the
analyze.py script?

Thanks,


On Tue, May 13, 2014 at 12:50 PM, Sukhbir Singh sukhbir...@gmail.comwrote:

 Hi,

 Everything you need to know about running experiments on Shadow:

 https://github.com/shadow/shadow/wiki

 (Including installation)

 ___
 tor-dev mailing list
 tor-dev@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev




-- 

Saurav Dahal,
Wireless communication and Networking lab,
Dept. of Computer Engineering,
Chosun University,
309 Pilmun-daero, Dong-gu
Gwangju, 501-759 S.KOREA
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Finding the catch probability

2014-05-11 Thread saurav dahal
In the paper A New Cell Counter Based Attack Against Tor, Zhen Ling,
Junzhou Luo, Wei Yu, Xinwen Fuz, Dong Xuan, Weijia Jia, in Fig. 9, Catch
probability graph is drawn.

I am interested in finding out this graph using Shadow Simulator as a
part of my project in graduate studies.

Can anybody please tell me how to find out this graph using this simulator.


Thanks,

-- 

Saurav
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Finding the catch probability

2014-05-11 Thread saurav dahal
In the paper entitled *A new cell-counting-based attack against Tor*, Zhen
Ling, Junzhou Luo, Wei Yu, Xinwen Fuz, Dong Xuan, Weijia Jia, in Fig. 9,
Catch probability graph is drawn.

I am interested in finding out this graph using Shadow Simulator to find
out the probability of selection of that entry node by changing the
bandwidth of that node.

Can anybody please tell me how to find out this graph using this simulator.


Thanks,


On Mon, May 12, 2014 at 11:15 AM, saurav dahal dahal.sau...@gmail.comwrote:

 In the paper A New Cell Counter Based Attack Against Tor, Zhen Ling,
 Junzhou Luo, Wei Yu, Xinwen Fuz, Dong Xuan, Weijia Jia, in Fig. 9, Catch
 probability graph is drawn.

 I am interested in finding out this graph using Shadow Simulator as a
 part of my project in graduate studies.

 Can anybody please tell me how to find out this graph using this simulator.


 Thanks,

 --

 Saurav




-- 

Saurav Dahal,
Wireless communication and Networking lab,
Dept. of Computer Engineering,
Chosun University,
309 Pilmun-daero, Dong-gu
Gwangju, 501-759 S.KOREA
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


[tor-dev] Fwd: About using source code

2014-03-21 Thread saurav dahal
Can anybody please tell me how to use the original source code of tor  by
modifying and implementing on the TOR network?
For example: I want to log how many circuits have been made through my OR.

Thanks,

Saurav
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Fwd: About using source code

2014-03-21 Thread saurav dahal
Ok i wish.what i need to do?
On Mar 21, 2014 9:26 PM, Frank Young pfco...@gmail.com wrote:

 I have implemented the protocol as a c++ static library which you can
 link against.
 I can give you headup if you wish
 ___
 tor-dev mailing list
 tor-dev@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev

___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev