Ethereal

[ethereal-dev] SMTP Dissect routine
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: February 1999


Hi,

well, I have POP being dissected OK, but that gave me false hope that SMTP
would be as easy.

Unfortunately, it is not, and I believe that I need a state mechanism to
handle SMTP properly.

With POP I was able to look for the space separating a command and its arg
or a response and its arg (but I have not tested with enough data.

With SMTP, there are some odd bits, like the DATA command that has no
arguments and thus I can't search for a space, and then the actual data.  I
need to write a parser that figure out what we have been given, and it
needs to keep state!



Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx, NIC-Handle:RJS96
NS Computer Software and Services P/L, 
Ph: +61-8-8281-0063, FAX: +61-8-8250-2080, 
Samba (Team member), Linux, Apache, Digital UNIX, AIX, C, ...


Powered by MHonArc 2.6.10