Search found 48 matches

by Dj_Offset
2004-01-05 15:47
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

Another solution would be if the hub list (for example at hublist.org) carried the public keys for all hubs. And the public key for hublist.org will be issued by a CA (or provided with implementations). If a hub isn't listed in the hublist (like if you type it in manually), you would use SSH-like ke...
by Dj_Offset
2003-08-19 03:54
Forum: Feature Discussion (Archived)
Topic: Bouncer or login to remotely control DC++
Replies: 7
Views: 3547

The "easy solution" is making a telnet interface for DC++ with a telnet server running. Using simple telnet commands you can control certain parts of the application like getting the transfer list, queues, hubs, nicknames etc. And add some web admin pages (php, asp or jsp) on top of the telnet inter...
by Dj_Offset
2003-07-31 11:42
Forum: Feature Discussion (Archived)
Topic: Speed limiters
Replies: 16
Views: 6379

You remembered to update the changelog? ;)
by Dj_Offset
2003-07-31 05:15
Forum: Feature Discussion (Archived)
Topic: Speed limiters
Replies: 16
Views: 6379

Linux QoS implementation works great. :-)
by Dj_Offset
2003-07-31 03:18
Forum: Protocol Alley
Topic: Client <-> protocol questions
Replies: 33
Views: 23977

Havn't got a decoder to? :wink: I will be testing later to day or tomorrow :D Nah, I wrote the above in two minutes... The decoder have to decompress if the data is compressed, thus cannot be a quick and dirty hack the same way as the encoder... ;-) That being said, I remember someone trying to do ...
by Dj_Offset
2003-07-30 11:17
Forum: Protocol Alley
Topic: Client <-> protocol questions
Replies: 33
Views: 23977

Totally lame, untested and non-compressing PHP version of the HE3 encoder ;-) (It should work without much hassle at least... :-) param: your plain text list as a string returns: the encoded string function encode($in) { $datalen = strlen($in); $out = "HE3" . chr(0xD); $checksum = 0; if ($datalen ==...
by Dj_Offset
2003-07-30 09:26
Forum: Feature Discussion (Archived)
Topic: Improvement of the search engine
Replies: 6
Views: 2861

Ehh. I don't like that idea. Granted, neither would the other idea. But, I don't see how the substring ordering will really improve search accuracy. How about the simple pull-down menu of "all" or "any" or "exact"? I guess the same problems occur. But I don't think there would be any noticable "dra...
by Dj_Offset
2003-07-30 06:47
Forum: Feature Discussion (Archived)
Topic: Improvement of the search engine
Replies: 6
Views: 2861

Re: Improvement of the search engine

I have a suggestion, a improvement of the search engine. When searching on the internet with ex. Yahoo, you can add ? symbols, witch would be very useful. I tried to search for a band named The polis , it gave a lot of results, but none of the mp3s were made by the right band. The result were a lot...
by Dj_Offset
2003-07-29 10:35
Forum: Feature Discussion (Archived)
Topic: DC++ Decription Tag as a Prefix??
Replies: 11
Views: 5201

All in all, I consider the description field to be quite useless... I'm considering removing (not showing) it for future releases, since it's only a "mess" anyway. Same thing with the email field. Not many people use it, and when they do, they only show some crappy hotmail address anyway... perhaps ...
by Dj_Offset
2003-07-29 10:27
Forum: Other Direct Connect tools
Topic: One DC++ client to rule them all
Replies: 13
Views: 11579

Re: One DC++ client to rule them all

powerup25 wrote: Yesssssssssssssss, that one supports mp3 files tag!!, greeaaat!!!!!!!!!!,
It does? I mean... I should probably know.. but this I didn't know... :)
by Dj_Offset
2003-07-14 07:23
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

And what about the encryption key?
by Dj_Offset
2003-07-11 08:19
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

DJ offset: We probably won't as you say.. Cheating will always be possible and if you don't screw up and I don't belive you will there won't be a way of telling your client from DC++. But I think this isn't what you should aim at.. I belive you're sad beacause nowone knows about your client etc. An...
by Dj_Offset
2003-07-11 07:33
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

Yeah, sure but if my "emulation" works, you will not even know it... so how are you going to lock me out for not doing anything wrong except sitting in a free operating system?
by Dj_Offset
2003-07-11 07:10
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

I will, and I've started working on it... Why? Who would benefit out of that? We know you can do it Dj_Offset, grow up and argue how YOU would like it to be done instead of destoying for others! Why? - Because QuickDC has the same capabilities as DC++, but _some_ scripts discriminate it because it ...
by Dj_Offset
2003-07-11 06:47
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

$ClientVersion reminds me of HTTP User-Agent - most browsers send it, so that the servers could collect statistics, however some servers (*cough*MSN*cough*) discriminate on this information. I remember when I just started using GetRight (long time ago), some servers didn't allow me to download with...
by Dj_Offset
2003-07-10 09:32
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

cyberal wrote:
Dj_Offset wrote:Ok, and lets see how hard is it to do locate "V:" doing a backward search?
what about oDC users?
Yeah, sure... this just proves why this form of client "checking" is broken.
by Dj_Offset
2003-07-10 08:55
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

Dj_Offset : It seems you haven't got it. Client ID sent on very begining of the handshake will save traffic. First of all, my client will not send it. Parsing simple ID string is faster. Now count with 2000 users hub where you have new connection almost every second and make simple multiplication. ...
by Dj_Offset
2003-07-10 06:22
Forum: Protocol Alley
Topic: $ClientVersion <version>|
Replies: 70
Views: 48175

Ok, now... my turn ;) Let me add few cents: Fact I wont talk about: anything can be faked. Bingo! Question: Why we should wait for MyINFO with version/hubs/slots and waste additional traffic? I don't see the difference here betweeen a delayed login where you cannot send a $GetNickList until _after_ ...
by Dj_Offset
2003-07-01 04:03
Forum: Protocol Alley
Topic: Dj_Offset's DCTNG
Replies: 5
Views: 3571

The 2nd draft is here after some discussion with several people in the DC++ Developer Lounge. Changes to search mainly aswell as UTF8 support etc. I don't think regexp searches are realistic for extreme user counts, so those are removed. However mime and encoding types are included in the search req...
by Dj_Offset
2003-06-19 09:27
Forum: Protocol Alley
Topic: Scalability issue: extreme user counts and searching
Replies: 3
Views: 6378

And the search handling is running in it's own thread in DC++?
by Dj_Offset
2003-06-18 05:12
Forum: Protocol Alley
Topic: Scalability issue: extreme user counts and searching
Replies: 3
Views: 6378

Scalability issue: extreme user counts and searching

How many users can search my files? I mean, if I join multiple hubs with 1000+ users each things start to go slow due to excessive incoming search requests. Does anyone have any numbers here? I saw from the screentshots of the intra dc client it had built in support for dropping search requests if l...
by Dj_Offset
2003-06-04 02:53
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

My main issue with SSL is that (1) implementing such a complex protocol oneself, especially when openssl has had such security issues and was written by more competent people than many in this thread (including me), is stupid., and (2) there are no GPL-compatible libraries for it I've found on Wind...
by Dj_Offset
2003-06-03 07:46
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

You could encrypt the favourites file with a symmetric cipher requireing a password to decrypt it (each time you start the DC client). - But this is implementation specific stuff. I don't see the point in protocol extensions for encryption. <paranoia> - If one would need crypto, I vote for using SSL...
by Dj_Offset
2003-04-12 17:56
Forum: Protocol Alley
Topic: Version issues... (mainly for developers)
Replies: 1
Views: 1795

My experience is that unexperienced users choose the version with the highest number.
by Dj_Offset
2003-04-06 13:59
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

But if my ISP really want to snif my trafic it's trivial for them to do a man in the middle attack. - Who on DC would buy an SSL certificate? Heh it is hard to believe, that ISPs would have resources to do man in the middle attacks to all your encrypted connections :) Now they're making problems be...
by Dj_Offset
2003-04-06 12:40
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

But if my ISP really want to snif my trafic it's trivial for them to do a man in the middle attack.
- Who on DC would buy an SSL certificate?
by Dj_Offset
2003-04-05 11:16
Forum: Protocol Alley
Topic: Encryption?
Replies: 78
Views: 91794

Hm, encryption is fun --> More bloat to an already bloated protocol implementation.

And, what do we actually gain by adding it?
by Dj_Offset
2003-04-05 10:54
Forum: Protocol Alley
Topic: Developer Hub
Replies: 22
Views: 10437

Moch: do you know about other linux clients, QT-DCgui , QuickDC , DCTC... QT-DCGui is divided into a library that implements DC protocol and a GUI linked to that library, in DCTC the GUI is a separate program communicating with the downoader through sockets (I'm not sure how QuickDC works, I never ...
by Dj_Offset
2003-03-11 04:57
Forum: Hubs and scripts
Topic: 512 user limit :(
Replies: 5
Views: 3059

Try setting max lower...you gotta remember that if you set max users to 1000 the hub has to allocate that many spaces in memory even if you only have 1 user...your disconnects could be bandwith or resources or both...just play with the settings and find a good trade-off where you don't lose users.....
by Dj_Offset
2003-03-11 04:52
Forum: Protocol Alley
Topic: $ and | Character Escaping
Replies: 22
Views: 9525

i would have gone for the irc-way of escaping CRLF, but i guess its to late todo it now in dc... so well.. i don't care.. i don't see the point of escaping $. No not really for chat atleast. But the | (pipe) must be escaped (I think it's annoying to not have a pipe, but then again... I'm a UNIX dud...
by Dj_Offset
2003-03-11 04:00
Forum: Protocol Alley
Topic: $ and | Character Escaping
Replies: 22
Views: 9525

Okay, let's do it the HTML-way, will the & be escaped or what happens if someone wants to write exactly &#124; in a chat session?
If not, you've just moved the problem around, not removed it...
by Dj_Offset
2003-03-10 16:52
Forum: Hubs and scripts
Topic: DC Linux/Unix Hub Software??
Replies: 14
Views: 6348

Opendchub is the best hub I've found on Unix. It uses select() and spawns multiple processess for each 500 users (default, but configurable). I've tested it with ~600 "fake" (perl script) users on a p200/32mb and it ran without problems. Why does it do this? I know theres a limit on select() with r...
by Dj_Offset
2003-03-10 15:12
Forum: Protocol Alley
Topic: upload check flaw?
Replies: 2
Views: 1951

Too obvious
by Dj_Offset
2003-03-10 15:06
Forum: Off Topic
Topic: What is your connection?
Replies: 39
Views: 18326

1Mbit SDSL (1024Kbit/1024Kbit) no restrictions, fixed IP.
Catch Communications, Oslo, Norway

~120 Euros/month
by Dj_Offset
2003-03-10 15:01
Forum: Hubs and scripts
Topic: DC Linux/Unix Hub Software??
Replies: 14
Views: 6348

1. what's wrong with 1 thread/user? Apache uses 1 thread per connection, too - that's usual in the *nix world. The hub I'm developing (currently for Windows, but I intend to port it to linux) uses 1 thread per user, too. On Linux a thread is a lightweight process. Each process gets a default of 1ms...
by Dj_Offset
2003-03-06 10:04
Forum: Protocol Alley
Topic: Question to Arne about original design of DC
Replies: 25
Views: 14113

I disagree. No need to add bloat to the existing protocol. Make an entirely new protocol based on the same ideas and concepts as DC. Right now there are many different interpretations of the DC protocol, and you are not guaranteed that something which works with DC++ works with another DC client. St...
by Dj_Offset
2003-02-27 05:30
Forum: Protocol Alley
Topic: Question to Arne about original design of DC
Replies: 25
Views: 14113

A few others; - The protocol doesn't handle certain characters (like: |, $, <, >, character 0x5 or even spaces in some cases) Need some escaping scheme here, this is done only in the lock computation (for some weird reason!). - The whole network relies on a nickname that can be changed or taken by s...
by Dj_Offset
2003-02-25 05:57
Forum: Protocol Alley
Topic: Version Authentication
Replies: 14
Views: 7107

the protocol really is flawed. I'm working on a new protocol design codename "DCng", I'm trying to find all pitfalls in todays protocol... and that's quite a few! I disagree pretty strongly. The systemic model of DC is flawed, and only in a few but very basic ways. The protocol itself just needs a ...
by Dj_Offset
2003-02-24 12:35
Forum: Protocol Alley
Topic: Keeping idle conncetions
Replies: 4
Views: 2793

That worked with DC++. I'll test it with the others aswell (dctc gives some really weird results most of the times...)
by Dj_Offset
2003-02-24 12:34
Forum: Protocol Alley
Topic: Version Authentication
Replies: 14
Views: 7107

I think you are looking the wrong here... You want to authenticate the software
when the protocol really is flawed. I'm working on a new protocol design codename "DCng", I'm trying to find all pitfalls in todays protocol... and that's quite a few!
I'll post it here when it's mostly done.
by Dj_Offset
2003-02-24 04:43
Forum: Protocol Alley
Topic: Keeping idle conncetions
Replies: 4
Views: 2793

It can't (currently). I didn't consider this to be very important considering that bz lists seldom become larger than a few 100 k's... OK, but what about other files in general? If a file is n bytes long should I: SEND: $Get file$n+1| RECV: $FileLength n| SEND: $Send| (nothing happens) and the conn...
by Dj_Offset
2003-02-23 09:34
Forum: Protocol Alley
Topic: Propose $Supports SHA1
Replies: 6
Views: 3365

According to the Botan project 's benchmarks (previously known as OpenCL) they can do 160-bit SHA with ~68 MB/s on a 1.4Ghz (the harddrive is the bottleneck really). MD5 has a throughput of ~125MB/s. The hashes should be created in the background when you first fire up the dc client and stored in a ...
by Dj_Offset
2003-02-23 05:34
Forum: Protocol Alley
Topic: DC++ Ports
Replies: 5
Views: 4242

Hubs usually listens to port 411 (tcp).
The NMDC client uses default port 412 (tcp AND udp).
DC++ uses default random port settings IIRC, but please set it to whatever you like (1412 is good). QuickDC use 1412 because ports below 1024 are privileged on UNIX.
by Dj_Offset
2003-02-22 21:59
Forum: Protocol Alley
Topic: Question on detecting dc++ clients
Replies: 19
Views: 9919

Re: How to do this with a script.

QuickDC (quickdc.sf.net) actually has that in the lock too (it might have changed since I last looked in the source though). I wrote a client side bot which detects what client you are using and I noticed that they were the same....though how popular it is I have no idea, so you probably are right....
by Dj_Offset
2003-02-22 20:59
Forum: Protocol Alley
Topic: Compleate DC Protocol Documentation
Replies: 11
Views: 21433

I found some errors in the client-client description: (ACTIVE FILE DOWNLOAD ---------------------- D = downloader U = uploader H = hub D>H: $ConnectToMe <U's username> <D's IP and port>| H>U: $ConnectToMe <U's username> <D's IP and port>| U>D: Connection U>D: $MyNick <U's nick>|$Lock <new lock with ...
by Dj_Offset
2003-02-22 20:29
Forum: Protocol Alley
Topic: placing a search query
Replies: 5
Views: 2242

Is your UDP listener "losing" packets? - Verify with a packet sniffer...
by Dj_Offset
2003-02-22 20:07
Forum: Protocol Alley
Topic: Propose $Supports SHA1
Replies: 6
Views: 3365

Propose $Supports SHA1

Hi, I see dcgui supports downloading files by "chunks" to be able to do multiple downloads. Multiple downloads is good, but how do we know if two files are equal? 1) File size doen't mean anything 2) File name doesn't mean anything 3) File size + file name, doesn't neccesarily mean anything either (...
by Dj_Offset
2003-02-22 19:36
Forum: Protocol Alley
Topic: Keeping idle conncetions
Replies: 4
Views: 2793

Keeping idle conncetions

Hi, I have a question. How can one keep an idle connection after "download complete" if there was no download. I know that sounds weird, but here is an example; I'm working on QuickDC and click "Browse user" on a DC++ user. I request a connection, log in properly and send; $Get MyList.bz2$xxxx| I ge...