[Xitami] devices problem

Ewen McNeill xitami@lists.xitami.org
Sun, 30 Dec 2001 10:14:09 +1300


In message <3C2DC7F8.1000402@freesbee.fr>, Francis Turner writes:
>Jason Ozin at Technica Solutions wrote:
>>Ewen says:
>> > Can anyone else reproduce this issue on another version of Windows?
>>
>>I would remind you that I can produce a similar effect see our previous
>>thread: RE: [Xitami] DoS Bug still in v2.4d9 (W2K service)
>
>I have now just reproduced Jason's bug. http://localhost/lpt1 kills 
>xitami if a printer is installed on win2k

And doesn't if no printer is installed?  (Can someone check this:
temporarily uninstall the printer in Windows, and try again to see if it
locks up.)

I'm wondering if the key difference from the last set of problems is
whether or not there is an actual device (modem, printer, whatever) 
installed on the particular port name in question (aux, lpt, etc).

The fix in Xitami 2.4d9/2.5b4 was to take each filename it was asked to
open, open it, and ask Windows "is this a file?" -- if Windows said
anything other than "yes, it's a normal file", then Xitami closed it
again and backed away quickly (returning 403 etc).  

Possibly this test is either (a) getting an unexpected result when there
is a real device installed, or (b) something about doing the test that
way causes problems when there is a real device installed.

Also, can those who have crashes with "http://localhost/lpt1" please try
"http://localhost/prn" (which ought to be the same device, according to
DOS tradition), and see if it gives the same effect.

Please report:
(a) the exact URL used during testing (including the exact upper/lower 
    case, etc)
(b) the version of Xitami being used (2.4d9, 2.5b5, windows gui, windows
    console, nt service)
(c) the version of Windows you have
(d) what web browser you used (name, and version)
(e) any service packs, patches, etc that you have
(f) what devices you have installed (modem, printer, etc)
(g) what crashes (eg, just xitami so you can kill it off and keep going;
    the OS freezes so you need to ctrl-alt-del and reboot; the OS
    freezes so hard that you can only turn the machine off/hit reset)

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com