FW: [ircd-ratbox] IRC packet parsing.

Paul-Andrew Joseph Miseiko esoteric at teardrop.ca
Sun Feb 8 18:51:55 EST 2004


Since we are on the subject of clients that can not follow the RFC, has
anybody ever seen an IRC client send a zero length packet?  i.e. no content
just a \n or \r\n.

-----Original Message-----
From: Aaron Sethman [mailto:androsyn at ratbox.org] 
Sent: February 8, 2004 1:25 PM
To: Paul-Andrew Joseph Miseiko
Cc: ircd-ratbox at lists.ratbox.org
Subject: Re: FW: [ircd-ratbox] IRC packet parsing.



On Sun, 8 Feb 2004, Paul-Andrew Joseph Miseiko wrote:

> Actually would seem that odd packet lengths do not work in this case.
> Should have assumed as much; I personally blame the overdose on caffeine
and
> sugar.  Though I must admit I like the idea of starting 1-into the buffer
> rather then 0-into the buffer.  :-)

The other problem is, you got to deal with getting only a \n from a
client, which isn't standard, but plenty do it.

Aaron



More information about the ircd-ratbox mailing list