Author Topic: SNU 0.5 Beta .NET release Win32/Linux  (Read 10107 times)

0 Members and 1 Guest are viewing this topic.

Offline Markus

  • Administrator
  • Elite
  • *****
  • Posts: 5740
  • Karma: +25/-8
    • View Profile
    • http://www.planetpeer.de
SNU 0.5 Beta .NET release Win32/Linux
« on: August 09, 2004, 08:52:24 PM »
I am actually trying to learn C# and therefore I tried to port SNU 0.3 (SeedNode Updater) to a console version for Windows and Linux.

And here it is: The first beta of SNU 0.4 .NET is out now  \:D/

Please note that this version is really a Beta. I tested it successfully with Debian unstable and Windows XP and got not problems so far, but maybe you get some...:mrgreen:

If you want test it you can download it from the download section on Planet Peer, but first off you have to install the necessary .NET environment for your OS.

This is a super short "How to", but I guess that you guys know how to install this crap 8)


1. Download Mono and install it. If you prefer the original .NET Framework from Microsoft you can find the download link here

2. Copy snudotnet to your MUTE settings directory and start it with  snudotnet

Thatīs all - itīs quiet easy, isnīt it? :mrgreen:


Cheers,
Markus

Offline Markus

  • Administrator
  • Elite
  • *****
  • Posts: 5740
  • Karma: +25/-8
    • View Profile
    • http://www.planetpeer.de
SNU 0.5 Beta preview
« Reply #1 on: August 11, 2004, 08:59:45 PM »
Hereīs a short preview of SNU 0.5 with an extra gadget....:mrgreen:

[code:1]
c:\Dev\Mono-1.0\bin>mono snudotnet.exe --webcacheupdate
SeedNode Updater 0.5 Beta .NET release (C)opyright 2004 by Planet Peer
Written by Markus Speckmeier (markus@planetpeer.de)

Fetching data, please wait...

82.82.222.198 4900
84.128.106.18 4900
217.17.233.135 4900
134.234.187.3 4900
172.180.52.203 4900
65.71.169.147 4900
80.126.125.23 4900
145.253.4.135 4900
217.233.235.120 4900

*** New seedHosts.ini has been generated ***
Attempting to update webHostCaches.ini, please wait...
*** Fetched successfully a new version ***
[/code:1]

Yes, you are right: I am testing an additional update option for the MUTE web caches, becauses it makes sense that if you are going to update your seedHosts.ini you perform an update with the webHostsCaches.ini as well.


Cheers,
Markus

Offline Nemo

  • Global Moderator
  • Elite
  • *****
  • Posts: 1303
  • Karma: +27/-0
    • View Profile
Re: SNU 0.5 Beta preview
« Reply #2 on: August 12, 2004, 08:52:59 AM »
Quote from: Markus
I am testing an additional update option for the MUTE web caches, becauses it makes sense that if you are going to update your seedHosts.ini you perform an update with the webHostsCaches.ini as well.

Where do you get this IP addresses and the URLs for the GWebCaches? Do you host this information on Planetpeer?

About the IP adresses: How do you get them from new and active MUTE nodes?

Greetings,
Nemo.

Offline Markus

  • Administrator
  • Elite
  • *****
  • Posts: 5740
  • Karma: +25/-8
    • View Profile
    • http://www.planetpeer.de
Re: SNU 0.5 Beta preview
« Reply #3 on: August 12, 2004, 09:43:59 AM »
Quote from: Nemo

Where do you get this IP addresses and the URLs for the GWebCaches? Do you host this information on Planetpeer?

Yep, SNU tries to download a most recent ini file with the cache entries.

Quote

About the IP adresses: How do you get them from new and active MUTE nodes?

I fetch them from the seednode database located on crimsonreport.com


Cheers,
Markus

Offline Nemo

  • Global Moderator
  • Elite
  • *****
  • Posts: 1303
  • Karma: +27/-0
    • View Profile
Re: SNU 0.5 Beta preview
« Reply #4 on: August 12, 2004, 11:49:25 AM »
Quote from: Markus
Quote

About the IP adresses: How do you get them from new and active MUTE nodes?

I fetch them from the seednode database located on crimsonreport.com

The IP addresses from http://www.crimsonreport.com/mute-net/ are manually posted by MUTE users, isn't it? Or does one of the MUTE clients post it's IP after startup to this database?

Greetings,
Nemo.

Offline Markus

  • Administrator
  • Elite
  • *****
  • Posts: 5740
  • Karma: +25/-8
    • View Profile
    • http://www.planetpeer.de
SNU 0.5 Beta available
« Reply #5 on: August 20, 2004, 09:42:16 PM »
You can download the latest version of SNU (SeedNode Updater) with additional support for MUTE web caches here


Cheers,
Markus

Offline Markus

  • Administrator
  • Elite
  • *****
  • Posts: 5740
  • Karma: +25/-8
    • View Profile
    • http://www.planetpeer.de
Re: SNU 0.5 Beta .NET release Win32/Linux
« Reply #6 on: December 09, 2005, 08:40:50 PM »
FYI: I noticed that the seednode database for MUTE over at crimsonreport.com doesnīt live anymore. So, in case you use SNU to update the seedHosts.ini (SeedNodeUpdater.exe --seednodesupdate) youīll most probably get an exception like this:

Quote
c:\Apps\P2P\MUTE MFC Release\settings>SeedNodeUpdater.exe --seednodesupdate
SeedNode Updater 0.5 Beta .NET release (C)opyright 2004 by Planet Peer
Written by Markus Speckmeier (markus@planetpeer.de)

Usage: snudotnet options
Attempting to update seedHosts.ini, please wait...
The process failed: System.NullReferenceException: Object reference not set to an instance of an object.
   at snu_ng.ProcessFile.CreateIni()

*** New seedHosts.ini has been generated ***

Unhandled Exception: System.IO.IOException: The process cannot access the file "seedHosts.tmp" because it is being used
by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String str)
   at System.IO.File.Delete(String path)
   at snu_ng.Class1.Main(String[] args)

CU,
Markus



Cheers,
Markus