Search found 34 matches

by FarCry
2007-01-10 03:07
Forum: Protocol Alley
Topic: ADC 0.12 open issues
Replies: 7
Views: 5934

The distinction between U4 and U6 for INF fields seems to be redundant, because using both is impractical and the (verifiable) protocol version is already given by I4/I6. The port field could simply be UP for "UDP port".
by FarCry
2006-12-31 10:40
Forum: Protocol Alley
Topic: ADC 0.12 open issues
Replies: 7
Views: 5934

arnetheduck wrote:2.4.1 - changed (also added that 0 is always the hub itself).
We've been there before, haven't we? What does the hub need an SID for?
by FarCry
2006-12-27 14:59
Forum: Protocol Alley
Topic: ADC 0.12 open issues
Replies: 7
Views: 5934

Unless I have missed the obvious, there is also a problem with client-to-client download connections, especially from the perspective of passive mode clients. With an active mode client (AC) as source and a passive mode client (PC) as downloader, the connection request always looks like this over th...
by FarCry
2006-12-27 13:15
Forum: Protocol Alley
Topic: Extending ADC's C-C with MSG
Replies: 6
Views: 5242

His suggestion was to use a different protocol identifier in CTM/RCM. Eg, CTM CCMP/1.0 port... That is only if there is a need for the hub to see what the connection will be used for. I still think we need no difference in CTM/RCM at all for that functionality. Allow MSG in C-C context. Problem sol...
by FarCry
2006-12-23 15:51
Forum: Protocol Alley
Topic: ADC 0.12 open issues
Replies: 7
Views: 5934

ADC 0.12 open issues

Most of the issues and open questions regarding the current ADC protocol draft (V0.12) have already been discussed on the developer's hub, but I'd like to repeat them here, where they are less likely to be forgotten and perhaps reach others to comment on them: 2.4.1 Session ID "The hub may reuse SID...
by FarCry
2006-12-20 12:55
Forum: Protocol Alley
Topic: PID and CID
Replies: 4
Views: 38512

Re: PID and CID

Also, while I'm at it, I'm wondering if there's any specific purpose of defining the SID and its base32-encoded version separately. Is there any particular reason for not just defining it as 4 arbitrary characters instead of a 20-bit number? Getting a well-defined specification is unfortunately oft...
by FarCry
2006-12-07 21:03
Forum: Protocol Alley
Topic: ADC support for "tracker"
Replies: 8
Views: 6206

I think this is worth a discussion again with ADCS enabling fairly reliable identity verification. There is already a strong incentive to introduce another type of service into the network: a separate entity to verify your PID and sign certificates, to simplify SSL (or actually make it usable) and r...
by FarCry
2006-09-24 05:26
Forum: Proposals
Topic: A option that enables so that files without TTH is allowed
Replies: 20
Views: 11735

Besides the well known benefits of hashing in general, removing the possibility to download non-TTH files simplified the implementation significantly, which means less bugs and higher runtime efficiency. That's something everybody wants, I assume. The proposed option invalidates that advantage. I ha...
by FarCry
2006-09-13 05:30
Forum: Programmer's Help
Topic: Text functions
Replies: 2
Views: 3052

Re: Text functions

This occurs in a number of places. For consistency, shouldn't only the non-temporary functions be used? Or am I missing some important point? You brought the point up yourself: Operating on an object passed by the caller by reference involves less copying and (more importantly) fewer heap operation...
by FarCry
2006-08-16 17:48
Forum: Protocol Alley
Topic: SUP vs. INF SU
Replies: 4
Views: 4087

Not quite, read again what PseudonympH wrote. SUP holds information that directly pertains to the connection it is sent on (not only client-to-hub, but also client-to-client). It only specifies what features both parties can use for communication on that connection. That includes the set of commands...
by FarCry
2006-08-16 17:33
Forum: Protocol Alley
Topic: ADC encryption and compression
Replies: 3
Views: 3534

The encryption is of course the lowest layer. Anything else would be technically complicated.
by FarCry
2006-04-10 06:05
Forum: Programmer's Help
Topic: Processing HI1 and then HI
Replies: 5
Views: 4535

I don't want the client to hide any information from me just because the hub or another client asks it to. Therefor I'd like to have users with HI1 displayed with a different icon and sorted to the bottom of the list by default. Or alternatively ignore HI1 in dc++ completely. Or remove HI from the p...
by FarCry
2006-04-10 05:58
Forum: Protocol Alley
Topic: ADC inform, an idea
Replies: 14
Views: 9621

Not necessarily. The hub can throttle the rate as necessary. The connect-transfer-disconnect only takes a fraction of a second anyway. Establishing a connection can easily take much longer than a second. The hub also doesn't know how many connections per second a user's setup (firewall) will tolera...
by FarCry
2006-04-08 18:27
Forum: Protocol Alley
Topic: ADC inform, an idea
Replies: 14
Views: 9621

That's certainly a good idea in general, but there are several issues in practice. On a large hub, a newly connecting user would suddenly get thousands of incoming connections at once from clients trying to get their info through. Firewalls won't like that and socket systems tend to break or not wor...
by FarCry
2006-03-26 18:25
Forum: Proposals
Topic: TTH Hash to ignore metadata (particularly id3)
Replies: 9
Views: 7569

A plugin interface would not necessarily be much easier to add, but more practical for that kind of functionality. 3rd-party plugins could then add meta-information to the file list, like an "audio hash" in this case, keeping the basic raw file hash intact, but adding the ability to search supportin...
by FarCry
2006-03-22 05:19
Forum: Protocol Alley
Topic: Errors on connect
Replies: 9
Views: 8387

Did you try delaying the disconnection by a couple of seconds?

DC++ also has an ADC debug mode, which you can enable by adding "<AdcDebug>1</AdcDebug>" to the settings xml. With that it should be possible to tell if dc++ processes the ISTA before the connection is closed.
by FarCry
2006-02-17 17:39
Forum: Protocol Alley
Topic: ADC 0.10
Replies: 9
Views: 15593

What is supposed to be hashed and in which form is the MAC address and time supposed to be represented or is this not really important as long as the PID is a unique 192 bit Tiger hash? Uniqueness is of course the desired goal and I agree that the draft is not specific enough here. And do I underst...
by FarCry
2006-02-04 09:02
Forum: Developer's resort
Topic: ADC message layout
Replies: 0
Views: 3924

ADC message layout

I've already mentioned most of it on the dev hub, but I'd like to wrap the topic up here for a hopefully more conclusive discussion: I see the separation of message type and action type in ADC messages as a fundamental concept and, although the message is always there as a whole and whatever layout ...
by FarCry
2006-01-28 08:56
Forum: Developer's resort
Topic: STLPort CVS
Replies: 5
Views: 4124

Provide an operator==() for File and compare the objects, not the iterators.
by FarCry
2006-01-07 11:13
Forum: Proposals
Topic: New $Support: SmartProtcol
Replies: 25
Views: 13525

Im allmost sure if we sat down and thought about the $Search exploit in my implementation, we could devise a solution that removes the risks Others sat down about this and the only possible solution seems to be signing those searches to avoid identities being spoofed, which is inacceptably complica...
by FarCry
2006-01-07 11:10
Forum: Proposals
Topic: New $Support: SmartProtcol
Replies: 25
Views: 13525

Im not sure what ur pointing towards there sorry FarCry Just like Pur explained to you (and the wiki article describes in detail), your idea comes with a vulnerability to client and hub DDoS attacks, which makes it only usable in environments where every client trusts every other client. You should...
by FarCry
2006-01-07 10:54
Forum: Proposals
Topic: New $Support: SmartProtcol
Replies: 25
Views: 13525

ADC is a new protocol and isnt based on the current dc protocol whatsoever. The problems are the same for both protocols. In ADC 0.10, UDP searches will be restricted to trusted environments, because of the dangers brought up in that wiki article. Your goal was to increase the number of users a hub...
by FarCry
2006-01-07 09:55
Forum: Proposals
Topic: New $Support: SmartProtcol
Replies: 25
Views: 13525

ADC offers that and the risks have already been discussed here.
by FarCry
2006-01-06 16:29
Forum: Proposals
Topic: Mp4 files [video]
Replies: 7
Views: 4355

For this to work, the client you're searching has to be aware of the .mp4 video extension, not your own. So this will only become usable when the majority of users have upgraded to a client version that supports it.
by FarCry
2005-12-14 00:01
Forum: Programmer's Help
Topic: Namespace vs Class
Replies: 4
Views: 3355

Re: Namespace vs Class

Namespace vs Class For example, since Util and Text are collections of functions, and not collections of objects, shouldn't the be defined as a namespace, instead of a class. ? They should indeed. Besides the fact that neither Util nor Text describe a single concept or even something you might want...
by FarCry
2005-11-19 05:44
Forum: Programmer's Help
Topic: CVS HubFrame Cleanup
Replies: 6
Views: 3939

Re: CVS HubFrame Cleanup

Since the code relies on duplication of operator status in two objects to detect when that flag changes, simply using the identity class isn't possible. The "identity" local variable is not the same as the "identity" UserInfo member in that function, but a reference to the updated identity. A chang...
by FarCry
2004-03-22 14:27
Forum: Protocol Alley
Topic: Java, Singletons and Uniformity
Replies: 13
Views: 7761

It won't help you with your problem, but I'd like to note that declaring the getInstance() method synchronized is very inefficient as it will force synchronization for each function call to a Singleton. It's better to move the Singleton construction to a second function (like the web page example do...
by FarCry
2004-03-13 06:42
Forum: Protocol Alley
Topic: Version tag for XML preference file
Replies: 3
Views: 2378

The DCPlusPlus.xml has

Code: Select all

<ConfigVersion type="string">0.306</ConfigVersion>
which is already used for legacy settings support.

A more structured settings file is desirable, but would need more complete XML support than the current (well, V0.306) SimpleXML parser implementation provides.
by FarCry
2004-02-14 05:54
Forum: Protocol Alley
Topic: Download/Upload control - AntiLeech feuture
Replies: 18
Views: 9514

I guess it would make more sense the other way: asking uploaders about their downloaders and then sending the udp request to those, but yes, that's what I suggested as an alternative to logging into the downloaders hub, establishing a connection and asking him via TCP... If I'm not mistaken, clients...
by FarCry
2004-02-13 19:14
Forum: Protocol Alley
Topic: Download/Upload control - AntiLeech feuture
Replies: 18
Views: 9514

I think the idea was to retrieve a list of downloaders from the client and then ask the downloaders if they're actually downloading from that user. As I mentioned, you can get around the problem that downloaders might be sitting on different hubs, but you will need support from both sides to get use...
by FarCry
2004-02-13 17:38
Forum: Protocol Alley
Topic: Download/Upload control - AntiLeech feuture
Replies: 18
Views: 9514

Verifying the claimed downloaders would probably better be done by asking them via UDP, making a connection to the hub and client unnessecary. There would still be the problem that slots can be opened/closed and downloads can be finished any time during and after the verification process, which may ...
by FarCry
2004-01-31 07:49
Forum: Programmer's Help
Topic: Download only first 5K of file.
Replies: 8
Views: 4451

Big Muscle wrote:It works.
Tried a source with compressed transfers disabled or one that doesn't support it, like any non-dc++ client?
by FarCry
2004-01-30 18:52
Forum: Programmer's Help
Topic: Download only first 5K of file.
Replies: 8
Views: 4451

Big Muscle wrote:I will try to change si->sr->getSize() to 5kB.
That won't work and there's no single-call solution to fit your needs.
by FarCry
2004-01-23 23:00
Forum: Protocol Alley
Topic: ADC
Replies: 22
Views: 13725

I think the idea is to keep the BASE requirements as simple as possible to allow for fast development of compliant implementations. Everything not necessary for basic dc-style file sharing should be left up to future extensions - this option is one of the key features after all. With that in mind I ...