New ADC Implementation

Technical discussion about the NMDC and <a href="http://dcpp.net/ADC.html">ADC</A> protocol. The NMDC protocol is documented in the <a href="http://dcpp.net/wiki/">Wiki</a>, so feel free to refer to it.

Moderator: Moderators

Locked
goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

New ADC Implementation

Post by goodtim » 2006-03-02 17:22

Hi,

I have started my own ADC implementation in a new DC hub. Its called DCHSharp. Right now is pretty much alpha/beta software as is not feature complete. However, its coming along.

Features Include:
  • * C# Language - Runs on both .NET and Mono
    * XML Configuration - Easily Configurable
    * Plugins - Server plugins and protocol exensions
    * Protocol Support - Supports ADC protocol and NMDC
    * Logging - 4 different logging levels for your viewing pleasure
    * Multi-Threaded Design - Multithreaded goodness

Things that Dont Work:
  • * NMDC - Protocol is broke. Dont use it.
    * User Authentication - subsystem is in place
    * Password Verification
    * Ban/Allow Lists
    * Permission Levels - subsystem is in place
    * HubRules plugin - its talked about in the config, but it doesnt exist
    * Millions of other things. Remember this is still beta.
Anyway, if you would like to check it out, the svn can be accessed at this url:

svn://trixy.res.wpi.net/dchsharp_repos/

Let me know what ya'll think. Thanks.

Quattro
Posts: 166
Joined: 2006-01-11 09:23

Post by Quattro » 2006-03-03 06:51

looks nice =)
but hardly the place to discuss this :P
You can send a message around the world in 1/7 of a second; yet it may take several years to move a simple idea through a 1/4 inch of human skull.

Todi
Forum Moderator
Posts: 699
Joined: 2003-03-04 12:16
Contact:

Post by Todi » 2006-03-03 10:34

Moved.

Quattro
Posts: 166
Joined: 2006-01-11 09:23

Post by Quattro » 2006-03-05 05:22

checking it out now
what hubsoft did you take as an example?
You can send a message around the world in 1/7 of a second; yet it may take several years to move a simple idea through a 1/4 inch of human skull.

Quattro
Posts: 166
Joined: 2006-01-11 09:23

Post by Quattro » 2006-03-05 05:27

i get an error...
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
both in release build and debug build

Extra information
Additional information: File or assembly name DCHSharp.Plugins.MotdPlugin.dll, or one of its dependencies, was not found.
You can send a message around the world in 1/7 of a second; yet it may take several years to move a simple idea through a 1/4 inch of human skull.

Carraya
Posts: 112
Joined: 2004-09-21 11:43

Post by Carraya » 2006-03-05 05:46

The solution is for MSVS 2002 is that on purpose... :S

Also I needed to copy all the xml files to the output dir by myself, would be neet if the solution did that for me...

And finally I got the same assembly error, that the motdplugin or one of it's dependencies wasn't found...

(oh and I compiled it in both 2003 and 2005, I no longer have 2002 installed..., even if the best ressource optimization still is C++ 2002, if you need to use MSVS)
Last edited by Carraya on 2006-03-05 05:54, edited 2 times in total.
<random funny comment>

Quattro
Posts: 166
Joined: 2006-01-11 09:23

Post by Quattro » 2006-03-05 05:49

noticed that too...
You can send a message around the world in 1/7 of a second; yet it may take several years to move a simple idea through a 1/4 inch of human skull.

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Post by goodtim » 2006-03-06 23:04

The problem with MotdPlugin not being found is because of a difference in the structure of the build directory. You can change the location of the MotdPlugin in the Plugins.xml file.

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Changes

Post by goodtim » 2006-03-06 23:07

I've made a lot of changes since I posted, most notably the creation of tag and trunk suprepositories. I have branched what I am calling the 0.5 version, which largely changed the internal workings of the Client system. I also broke some plugin stuff, but I am fixing that in the trunk.

I am also having some trouble getting the password authication to work. If anyone has experence with this, any help would be appreciated.

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Post by goodtim » 2006-03-07 12:48

Updates:

I updated the solution to MSVS 2003. Which I had lying around but was too lazy to install. So yeah. I also added all the csproj.user files to svn. Please make sure you change your "Working Directory" to wherever the Config.xml and Plugins.xml files are before you build the solution. And also make sure all the plugins in the Plugins.xml point to the right dll file.

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Post by goodtim » 2006-03-16 18:31

I moved everything over to sourceforge. The new project location is http://dchsharp.sourceforge.net/. So there. Oh and this includes the SVN which has been moved to https://svn.sourceforge.net/svnroot/dchsharp.

Mummy
Posts: 9
Joined: 2006-09-13 06:19

Post by Mummy » 2006-09-25 07:27

near version 1.0 beta 1 (according to the last news i remember), the sourceforge-project has now been removed... why? are you still working on it and does it just have a new URL? oh and... is it supporting encrypted transmissions (not only encrypted user2user file transfers)

thank you for your work!
Mummy

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Post by goodtim » 2006-09-25 08:44

Mummy wrote:near version 1.0 beta 1 (according to the last news i remember), the sourceforge-project has now been removed... why? are you still working on it and does it just have a new URL? oh and... is it supporting encrypted transmissions (not only encrypted user2user file transfers)
I have actually renamed the project after doing a rewrite. The new name is adch.NET. However I haven't gotten around to creating a new website. The old page is located at http://adchnet.sourceforge.net.

Anyway, I will upload the source to SVN after I get home from work. Also, after this rewrite I scaled back down to version 0.2 beta.

Mummy
Posts: 9
Joined: 2006-09-13 06:19

Post by Mummy » 2006-09-25 10:57

thank you for this info ;o)

just two questions:
-> will it be capable of encryption of the whole traffic?
-> will it be buildable on linux? the bug report on sourceforge says that there are currently no build scripts or Makefiles

thx in advance and good luck with your project,
Mummy

goodtim
Posts: 16
Joined: 2006-02-13 16:06
Location: Worcester, MA
Contact:

Post by goodtim » 2006-09-25 11:36

Mummy wrote:thank you for this info ;o)

just two questions:
-> will it be capable of encryption of the whole traffic?
-> will it be buildable on linux? the bug report on sourceforge says that there are currently no build scripts or Makefiles

thx in advance and good luck with your project,
Mummy
Yes I plan on adding SSL support as specified by the ADC protocol. However the ADC protocol support for SSL is still a work in progress so I do not execpt full SSL support until a later version.

Also, Linux support will be available under the Mono Project (http://www.mono-project.com/Main_Page). This will include both binary releases and buildable sources using the NANT package. I will test the Linux support for the rewrite in short order, however I do not except any problems.

I am very familir with Linux so if you have any questions about Mono just let me know.

Locked