Ethereal-dev: Re: [Ethereal-dev] RADIUS Access Request weird behaviour

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 28 Jan 2003 08:33:04 -0800
On Tue, Jan 28, 2003 at 11:09:52AM +0000, Flavio Poletti wrote:
>   I notice a different behaviour in Windows and Linux regarding RADIUS 
> Access Request messages dissection. In particular, the User Password field 
> (id #2) is displayed correctly under Linux, but is completely "ignored" in 
> Windows (i.e. an empty line is shown; however, it is correctly selected in 
> the hex dump).

Is the password an ASCII text string?  If not - which could mean it
contains either non-ASCII text or is binary - there is a problem in the
way Ethereal uses GTK+ that causes it to have problems with displaying
non-ASCII text on Windows (and might cause it to have problems with GTK+
2.x on UNIX as well).

That problem has been fixed in some places, but not in others; one place
it hadn't yet been fixed is in the RADIUS dissector.

I've just checked in a fix (workaround, actually) for that.  (The *fix*
would be to fix up Ethereal to deal properly with GTK+ versions that
assume UTF-8 strings - but, as long as we're doing that, we might also
want to fix it to deal properly with versions that don't when non-ISO
8859/1 fonts are being used, fix it to handle printing to text files and
to printers, and perhaps even to generally clean up the way it deals
with various flavors of "extended ASCII".)