Ethereal-cvs: Re: [ethereal-cvs] cvs commit: ethereal packet-tcp.c

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Thu, 9 Dec 1999 13:39:38 -0800 (PST)
> I suggest that we make HTTP a fallback test, and look to see if the first
> four bytes of the packet are
> 
> 	"GET " or "POST"
> 
> That would likely eliminate all of these extra wired ports. Just make sure
> that it is checked last.

There's stuff other than GET or POST that we might want to check for,
e.g. CONNECT.

> I know of a few dozen ports locally that we run HTTP on, but there is no
> reason to wire all those into ethereal.

Another possibility would be to use Olivier's plugin stuff for built-in
dissectors, so you can specify "tcp.port == XXXX" for HTTP.