Saturday, September 30, 2006

Java Made Easy

I thought I'd explain some of the coding that has been done to mod ANtsp2p. Have a look even if you don't program as it is written in java so it is easy to understand. Check out this tutorial if you fancy a crack yourself.

Antsp2pManager.java

Code to update ipfilter, settings and trusted peers files by reloading them from online directory shared by swarm users.

public class Antsp2pManager
{
public void updateIpfilter()
{
InetAddressWatchdog.getInstance().loadFilterFile("ipfilter.dat");
}
public void updateSettings()
{
FrameAnt.getInstance("").getGuiAnt().getSettingsAntPanel().loadStaticSettings(); FrameAnt.getInstance("").getGuiAnt().getSettingsAntPanel().updatesettingsUI();
}
public void updateTrustip()
{
InetAddressEngine.loadTrustedPeers(); FrameAnt.getInstance("").getGuiAnt().getConnectionAntPanel().updatetrustedpeersUI();
}
}


Common.java

Get the names of the files to update and their location.


InternetFile.java

/**
* A class that will get a file from a web or ftp server.
*
* You may use this code as you wish, just don't pretend
* that you wrote it yourself, and don't hold me liable for
* anything that it does or doesn't do. If you're feeling
* especially honest, please include a link to nsftools.com
* along with the code.
*
* For updates and more information, please visit
* www.nsftools.com
*
* @author Julian Robichaux
* @version 0.9
*/


Main.java

Starts kerjodando p2p by lauching ANts p2p and code to share ipfilter.dat (swarm).


Messages.java

Load kerjodando resource message bundle.


getfile.java

Save settings as files.


messages.properties

State names of files to updload.


runThread.java

Extend logger to to report on new code.

Tuesday, September 26, 2006

Do Your Own kerjodando Alpha Test


To test the part of kerjodando that shares ipfilter.dat between swarm members do the following:

1. Write a ipfilter.dat list to exclude all ip addresses except of those users you want to directly connect to see this article for instructions (only list ip addressses you want to exclude).

2. Save file to a url e.g. www.kerjodando.com/desperate_house_wives/

3. Run Java server script to launch kerjodano with url as server in parameter. script located at http://221.130.4.100:8080/swm/Dev-test/kerjodando.jnlp so complete link to launch kerjodando and use ipfilter.dat file located at url is:

http://221.130.4.100:8080/swm/Dev-test/kerjodando.jnlp?server=http://www.kerjodando.com/desperate_house_wives/

4. Accept all java webstart questions to start kerjodando client (same as Ants p2p client).

5. Use right click request connection in irc channel to connect to friends per ipfilter.dat.

6. You now can download from your swarm.

7. Email me feedback please or your details to join alpha testers.

Monday, September 25, 2006

How Kerjodando P2P Works



  1. One webpage for each interest or topic

  2. Users can publish or email webpage URL (link)

  3. Friends and other users go to the webpage and click on link to launch kerjodando

  4. kerjodando connects to other users who have visited the page and clicked the link (the swarm)

  5. Users share files with others in the swarm

  6. By having an account users can be in more than one swarm

  7. Entire swarm is a "small world" network

  8. All connections encrypted

  9. User keep webpage link private or publish it on their website so that they only directly connect to friends or other that share their interests

  10. Users can share files with anyone in the swarm not only those they are directly connected to
  11. Users ip address (identity) only visible to friends or others that share their interests
  12. No user can tell what files other users are sharing
  13. Client for downloading same as latest version of Ants p2p

Friday, September 22, 2006

News on Kerjodando P2P Development


Just heard from my developer v****t. He has told me that the reason the project has been delayed is that he has to complete his professional exams.

We have agreed to start work again on 27th September 2006.

First priority will be to publish a working model where users can select a swarm to share media with.

Also, there seems to have been a bit of chatter on the internet about kerjodando.

See English translation of chatter at Planet Peer Community a German board here.

Here are some extracts (translated form German into English by Google):

Strangely this person cannot program but is a P2P developer?

Sounds like vapourware.

My assumption is the following:

Since he cannot really program but instead pays others to program so he must be only interested in money.

Can't find source code so he must be doing it for money.

With file sharing alot of money can be earned.

The operators from Morpheus and Napster became rich.

(Private home address and telephone number removed, because Elliott has announced himself here, so will be upset to find his private data in a public forum.) - Forum Admin


My Reply to the accusation that I'm only in it for the money:


Sorry I don't speak much German.

For this I appologise so I am going to have to write this in English.

I have been participating in the ANts p2p project since its start.

I was one of the first testers.

I have over many months, no years, learned to program in Java by looking at its code and trying to understand it.

I have attempted on one previous occassion to write a mod (not H****t p2p that was Bitz).

However, my lack of knowledge of the basics really slowed me down.

I could code sending encrypted messages between peers etc but I could not redesign the GUI which I would have thought was easier.

I have spoke to G***n over the years by email.

Some time he has been very helpful at other times less so.

But after starting to code kerjodando, I now really fully understand where he is coming from and why the coding, testing and updating of ANts p2p is so stop and start.

For example, after I made the first beta of kerjodano p2p, I found a major bug in ANts p2p (does not involve security but really slows down file transfer).

So I, along with my developer in China, tested it and tested it but could not find a reason for this bug.

So I contacted Gwren and told him about it.

Wihtin minutes he replied pointing out, in so many words what I have long suspected, that ANts p2p code was now a "mud ball".

It has so many features and changes that even Gwren can't sort out the bugs.


So I have decided to do the following:

1.Code a mod for ME and MY friends to use (if anyone else wants to use it they are free to do so).

2.Not to permanetly alter any ANts p2p code in my mod without Gwren's approval and him making the same alteration to the ANts p2p code.

3.To put ease of use at the top of my priorities.

4. As this software is for my personal use, to pay to have it coded, as I have a day job and four children and a wife.
They would not be very impressed if I spent all my time coding.
Plus others want to code and can do it better than me.

5.kerjodando p2p will be open source and documented.

6.If you want to be involved in the project (you don't need to speak English) please email (ezzy.elliott@gmail.com) me.

7. BTW I am a Capitalist though my day job is working for a non-profit international humanitarian organisation.
Eventually I hope kerjodando p2p will be good enough to be popular but if it is not, no problem, as long as my friends LOVE it, that's fine.

8.Once I have developed kerjodando p2p as far as it can go I then propose to start to pay for the clean up of the ANts p2p "mud ball" code.
This will however be with the agreement and co-operation of G***n.
The work to be done either via bountys; volunteers for free; or by Chinese professionals (paid for).

There, that is the plan.

So far it has been going great.

While testing I have discovered loads of new music.I have had some hold ups.

My wife is pissed off from me being on the PC so much so I have had to cut back.

My coder in China is not immune to the same issues as he has been held up several times by family commitments.

Also, I am moving to Paris from London to learn French and expand my network of friends.

So that's it.

« Last Edit: August 04, 2006, 11:09:27 AM by ezzye »

Thursday, September 21, 2006

Kerjodando Sorce Code Published



I have published the source code on http://code.google.com/p/kerjodando/source .

The folder that contains the client part of the modification is in http://kerjodando.googlecode.com/svn/trunk/kerjondando/vicent/ .

The server part of the source code that runs on tomcat is missing as I have not got it from the developer yet but it is based on java webstart macro for passing parameters by Micheal Mandel: http://lopica.sourceforge.net/faq.html#hrefargs .

This is used to produce a jnpl file kerjodando that passes parameters about the tracker to an instance of kerjodando.

The syntax is for example:

href=http://221.130.4.100:8080/swm/Dev-test/kerjodando.jnlp?server=http://www.kerjodando.com/desperate_house_wives/

where http://www.kerjodando.com/desperate_house_wives/ is where the swarms ipfilter file is stored.

Sorry for garbled explanation but I am working on a easy to use model.

Thanks Ez

New Mailing Group for Project


Help code this projec by joining the mail group below.

No previous coding experience necessary.





Just subscribe to the mailing list below:


Thanks Ez

Google Groups



Subscribe to kerjodando developer
Email:








Browse Archives at groups.google.co.uk

Thursday, September 14, 2006

The Mad the Bad and the Sad (British Red Cross Refugee Unit Away Day)


Normally, I work at head office but for one day only I got a chance to personally immerse myself in the work of the British Red cross Refugee Unit.

This is my away day.

"Would you take a look at this case. He's just come out of prison and is homeless"

"Why was he in prison"

"Indecent assault, he sexually assaulted a woman."

"Oh!"

"He's been badly affected by what happened to him in Somalia."

"You mean he's mentally ill. What do we do for such people in the Red Cross."

"Nothing - we don't offer psychiatric help."

"I bet he has post traumatic stress disorder"

"Anyway look on the net and see if you can find a solicitor that does legal aid work that can help him. He still thinks that he was innocent and picked on because he was a refugee."

"OK, I'll google it."

It was the hottest day of the year. The air was thick and oppressive. The office reminded me of countless boring back offices that answer invoice queries and send out bills for electricity.

The full time worker that greeted me, smartly dressed in fashionable top and skirt, radiated passion and commitment.

The government didn't care. The public were hostile. The Red Cross gave out food stamps and phoned around for accommodation and free legal help.

It was grim.

I sat in on an interview of an Eritrean refugee.

He wanted money. He had previously got a council house for himself, wife and 3 children under 5. The Red Cross worker patronised him, explaining to him like a child that he would have to fill in a new application to the Social Security.

The interview dragged on. You could see he felt violated by having to tell the young female worker about his personal circumstances. Several times he became very agitated and angry. When the interview concluded he warmly thanked me for being there as if I was some long lost brother. He found it difficult to believe that I was not from his part of Africa.

I enjoyed the heat and sweated buckets. The day passed very quickly. I really felt that I had made a difference and experienced life at the sharp end. Now I knew what the Red Cross was really about.


Refugee services - true stories:
Every year, the British Red Cross helps thousands of refugees and asylum seekers adjust to a new life in a new country>>>

Ants P2P Big in Paris


Work on kerjodando has been on a stand still for the past month due to me being in Paris France and the developer being away from their home city in China.

Hopefully, development will commence again next week when I'm back.

While in Paris found a wonderful glossy magazine call P2Pmag.com it had a mention of Ants p2p.

Autre logiciel connu dans cette catégorie [chiffrage et anonymat], Ants est écrit en java, ce qui le rend indépendant de la plate-forme. Le chiffrement des requêtes est assuré par un système de clés asymétriques. La recherche de fichier se fait par le biais de liens spécifiques à l'instar de BitTorrent.