Showing posts with label zeropaid. Show all posts
Showing posts with label zeropaid. Show all posts

Saturday, January 19, 2008

New Version of Dargens -Better Web Gui


New version now up.
1. Now can add share directories from Dargens search webpage.
2. Better navigation feature - Logo is home and link to connected search page.
3. More content

Saturday, October 27, 2007

New Update - Darknet Functions Improved


The following have been done:


2007-10-23

make the upnp device send out info about kerj not ANTs p2p and gwren.


So modified UPnPDescriptor.java


2007-10-23

remove ants branding replace with branding from http://www.kerjodando.com/ website


So replaced all antsp2p.sourceforge.net


2007-10-23

Remove the warning of new version detected


So modified ConnectionAntPanel.java


2007-10-23

An exception on startup of the application


So modified this_componentResized() in FrameAnt.java


2007-10-24

Make STUNT work better.


STUNT A_ST2 timeout problem modified STUNT.jar


2007-10-23

Make STUNT work better.


A STUNT doesn't work problem modified Ant.java, no port conversion for STUNT URI


2007-10-18

For a logined user who has two swarms, must update its trusted peers in two swarms,must add peer ips to ipfilter.dat


So modified a lot, using session to control users' action


2007-10-16

For registered user, two swarms but only need one kerjo insteady of two kerjoes


So added five lines to jnlp_controller.rb, so that no two kerjos will be running.if count == 1 thenflash[:notice]="joined the swarm."redirect_to :backreturnend


2007-10-16

Logined users can not get a connection to other host


So modified jnlp_controller.rb,for logined users, the identity is wrongly set.replace_str <


2007-10-10

Not working with all version of Java


I'v spending many time to find the cause. Finally the jnlp is modified:1.jnlp is downloaded as random filenames2.set the $$href to empty.(Which will prohibit the new JWSes from downloading jnlp twice)


2007-10-10

Make STUNT work better.


STUNT has an unhandled timeout for state A_ST1 Add timeout and retry mechanism to A_ST1


2007-10-9

STUNT souce code is uploaded to google code


Will make reference to Dargens.com and Digiworld Ltd who paid for the work as well as Casper. Will put link on kerjodando development site.


2007-10-8

Make work with all versions of Java


The ObjectInputStream handshaking problem, this problem may exist in jre1.6.03The problem is stated at http://forum.java.sun.com/thread.jspa?threadID=649207&messageID=3820132 add keyAgreementOutStream.flush() to SecureServerSocketThread.java and SecureClientSocketThread.java


2007-10-8

Java problem


Jre 1.6.0_03 concerning problem1.setup environment, all peers should use the new java version


2007-10-8

Don't forget that this is also for week one:Try one connection method until connected.Only try to connect if not connected and then try internal, direct and stunt in that order. Also, make sure STUNT is working correctly by investigating error messages.


Added ConnectionThreadManager.java to solve this problem. Now, if one site is connecting, no more retries until the connecting process is finished.

Monday, February 12, 2007

itsDargens.com Person to Person Download Service Back Online

ItsDargens.com is back online.

Looking to have new look and feel up by end of Tuesday Chinese time.

Then sort out bugs and get working Beta by end of week.

Aim of the site is to allow people to download files from their old or new friends person to person rather than via internet.

This will make transfers quicker and more private.

The site will also list groups of people and the type of files they are sharing in both a public and private searchable index.

Friday, February 09, 2007

Nearly There With New Look

Nearly there for Dargens the file sharing meeting place website.

Aiming to have beta ready for 15th February.

Make new friends - be intimate share your life - share your files!

Thursday, February 08, 2007

How to Install Ruby on Rails on CentOS 4.4


I thought that others might find it useful if I listed how I re-installed Ruby on Rails on to my server after its recent disk failure.

The steps:

  1. Ruby
  2. Gems
  3. Ruby on Rails
  4. Mongrel
  5. Website
  6. Configuration of Rails
  7. Apache http configuration








Ruby

change directory to a temporary and get the Ruby rpm files from the web:
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-devel-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-docs-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-irb-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-libs-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-mode-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-mysql-2.7-8.el4.centos.i386.rpm (NO NEED TO LOAD IF YOU HAVE A DB)
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-postgres-0.7.1-4.el4.centos.i386.rpm
(NO NEED TO LOAD IF YOU HAVE A DB)
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-rdoc-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-ri-1.8.5-1.el4.centos.i386.rpm
wget http://dev.centos.org/centos/4/testing/i386/RPMS/ruby-tcltk-1.8.5-1.el4.centos.i386.rpm

Use rpm –ivh packagename to install


Gems
Download latest Gems:
wget http://rubyforge.org/frs/download.php/17190/rubygems-0.9.2.tgz
tar zxf rubygems-0.9.2.tgz
cd rubygems-0.9.2
sudo ruby setup.rb



Ruby on Rails
Install rails
sudo gem install rails

Install mysql bindings
sudo gem install mysql -- --with-mysql-include=/usr/include/mysql\ --with-mysql-lib=/usr/lib/mysql --with-mysql-config

Update to latest version of Rails.

Mongrel
sudo gem install mongrel

change directory to the root directory of website then:

mongrel_rails start -p 4000


Website
FTP the contents of the Ruby on Rails directory to the root of the public http directory on the server.


Configuration of Rails
If you already have a database for your Ruby on rails application dump it then use phpmyadmin to create a database then upload the dumped database.

Then update the config/database.yml file onthe sever for user, passwords, socket and database name.


Apache http configuration
I use Direct Admin on my server so it is easy to change the apache configuration.

You may have to change httpd.conf to include the proxy module first take the # from these lines:
#LoadModule proxy_module modules/libproxy.so
#AddModule mod_proxy.c

Then add the following lines to the http config file:
ProxyPass / http://www.itsdargens.com:4000/
ProxyPassReverse / http://
www.itsdargens.com:4000/
Backslash very important!




Links
http://railswiki.involution.com/index.php/Main_Page

Wednesday, February 07, 2007

We're Going Cuckoo About Look of Site


Still have not got the look and feel as we want it. Trine has been pulling her hair out - we are aiming to launch a beta 15th Feb 2007 so we are running out of time. P2P F2F file sharing is complex enough without a poor website.

Tuesday, January 23, 2007

Anonymous P2P in Work Place and University | Websense bypass | Web proxy avoidance


As an experiment I tried to use kerjodando p2p file sharing client in my work place behind the firewall and a websense proxy.

A difficult environment for p2p file sharing similar to that faced by many university students.

Kerjodando p2p (an ANts p2p mod originally developed by Italian student Gwren, Roberto Rossi) connected and I could upload and download files.

Moreover the connection was secure, encrypted and "anonymous" (friend to friend so IP address hidden as file location not linked to IP address as in ordinary file sharing applications).

Generally, to connect to a p2p file sharing network you need to meet three conditions:

  1. Your IP address needs to be externally visible to the internet
  2. You need an open communications port
  3. You need access to the internet to upload and download
Kerjodando p2p met these three contions as follows:
  1. When you click on a swarm "start" link at the swarm index site http://www.itsdargens.com/ the p2p client automatically downloads and sets up your external IP address even if you're behid a firewall, NAT or proxy.
  2. Kerjodando p2p spoofs SSL and uses port 443. So if you can surf the internet then it will connect and you can file share. Port 80 and 443 are used for web surfing.
  3. Again if you can surf the internet via a browser you can file share. You just need to set-up kerjodando p2p in the same way that the browser was set-up. In my case I looked in the Options|Advanced|connections and found the proxy port and address. I then entered these into kerjodando's proxy setting.
The great thing about this is that while you're file sharing it looks like you either using VOIP, SSL FTP or a secure connection to a website.

So all those students at Zeropaid.com who think that they have been locked out of file sharing now can do it in a secure way.

I am currently testing kerjodando p2p on this page click START KERJODANDO to download the Java client and connect to the test swarm.

You can also set up your own swarms to test.

There is no need to register or log in to use this website.

Monday, June 26, 2006

The Three Laws of File Sharing


My ideas for a fast private p2p network are based on the three laws of file sharing.



1st Law of P2P File Sharing:

Every bit of data downloaded must have been uploaded.


So overall no network is faster than any other as uploads must equal downloads on any network.

Multi-source or swarming by itself does not increase download speed.

Networks that have high download speed have a greater number of users that upload more than they download.

For example, the majority of Bit Torrent users feel that they should at the very least maintain an upload/download ratio of one for every file they download even if they can download faster than they can upload.

This leads to faster downloads for everyone.



2nd Law of P2P File Sharing:

The size of a network's user base is indirectly and inversely related to download speed. Networks with a large user base have slower downloads than those with a small one.


The majority of files on a P2P network are provided a small minority of enthusiastic users who often join networks early on.

As the network becomes more popular it attracts a greater proportion of users who want to download files but who don't have the technical skill or motivation to provide files to the network.

Law one states that uploads have to equal downloads, therefore downloads slow as there are more users demanding files without a corresponding increase in the number of users providing files.

For example, the ed2k network, a very large network, is often slower than say a DC hub which has a smaller user base of enthusiasts.

BT is fast as it is many thousands of small networks controlled by a tracker, with all downloaders uploading, rather than one enormous network.



3rd Law of P2P File Sharing:

The more upload bandwidth donated by users of a network then the faster that network.


It is often social pressure or a technical feature of the p2p file sharing application that ensures that users donates a high proportion of their available upload bandwidth to the network and that they don't leach.

For example, leachers on Winmx often receive messages telling them to mend their ways.

Many DC hubs have rules to discourage leachers from joining.

To download on Bit Torrent you have to upload.



Proxy Networks (such as kerjodando p2p):

It should be noted that due to laws 1, 2 and 3 proxy networks have slower download speeds than direct connect** networks.

This is due to proxy data having to be downloaded and uploaded more than once (law 1).

kerjodando reduces this by have many small networks controller by a tracker rather than one big network.

As file providers also proxy data their upload bandwidth is used up even faster than on direct connect networks (law 2).

kerjodando reduces proxy traffic by clustering users according to their interests.

Also, proxy networks need users to donate much more upload bandwidth than direct connect networks making them even slower (law 3).

kerjodando when operational will provide dedicated servers with extra upload bandwidth.

Fast proxy networks need an efficient node layout (topology) so fewer hops(less bandwidth) used for each download(law 1); to be small(law 2) and to attract users who want to share rather than download (law 3).

A prime example of this is "Share" an off-shoot of Winny (Japanese).

kerjodando does not cache files but does cluster users according to interest like winny so attracting users who want to share content that they want to promote like their favourite band, movie or hobby.

The price for users wanting to share anonymously is slower downloads.

However, the Japanese have shown that networks like kerjodando can speed-up downloads while still hiding their users' identity and keeping file transfers private.


**Direct connect networks are ordinary p2p networks such as edonkey and winmx as oppose to proxy networks that don't connect users directly"


Hornet