Ethereal-dev: Re: [ethereal-dev] state tracking? (SSL support)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Richard Sharpe <sharpe@xxxxxxxxxx>
Date: Wed, 06 Sep 2000 22:17:53 +0900
At 01:21 PM 9/6/00 -0700, Jeff Enderwick wrote:
>I'm adding SSL support. To properly
>decode later messages, I need to track
>state created by earlier messages. Does
>ethereal have a generic facility for
>this?

Have a look at the latest packet-smtp.c, it does state tracking. It keeps
per-packet state info as well as some initial per-session info.

There was a long discussion on per-session state being destroyed on a
rescan, so you might want to look at that too.

I hope to get to doing a developer's guide in the near future that would
look at this stuff.

>Also - SSL will pack multiple messages
>into a single TCP segment. What is the
>correct way to deal with searchable
>header fields? Do you just set the value
>to the last found? Has ethereal addressed
>this sort of situation before?

Each message would have their own tree item, each searchable.

>Thanks!
>
>Jeff
>
>jeff_enderwick@xxxxxxxxx
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Mail - Free email you can access from anywhere!
>http://mail.yahoo.com/
>

Regards
-------
Richard Sharpe, sharpe@xxxxxxxxxx
Samba (Team member, www.samba.org), Ethereal (Team member, www.zing.org)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba