[icq-devel] Why won't my cookie ever work for me????



Douglas McLaughlin stricq at owlnet.net
Sat Mar 23 05:15:16 CET 2002


At 09:00 PM 3/22/2002, you wrote:
>Sorry, still having the same problem.  I even took out the CLI_GOODBYE
>packet, and switched the sequence number from Little Endian to Big Endian
>(as I notice the server using after all, and Massimo's docs says it is
>that), and it still won't work.  I also notice the server starting with
>fresh sequence numbers from the second server, but I guess that's to be
>expected, huh?
>
>I've attached my latest hex dump.
>
>It can't possibly this hard to do, it's such a simple concept.  What the
>hell am I missing?????

With Ethereal, filter you packets with the text 'aim' and your life will be 
easier!  :-)

Ok, let me hit the problems I see, packet by packet:

[--- server 1 to client ---]
Data size: 10
Data:
2A 01 55 87 04 00 00 00 00 01                    : *.U‡......

First packet, why is the packet length field reversed?  It should be 00 04, 
not 04 00 as you display.  I have never seen this.  I have about a meg of 
packet dumps and this never happens.

[--- client to server 1 ---]
Data size: 139
Data:

Second packet, all looks perfect.

[--- server 1 to client ---]
Data size: 299
Data:
2A 04 56 87 25 01 00 01 00 08 36 38 31 35 31 34  : *.V‡%.....681514

Third packet, again the packet length is reversed.  Why is that?

[--- server 2 to client ---]
Data size: 10
Data:
2A 01 9F 99 04 00 00 00 00 01                    : *.Ÿ™......

Fourth packet, the packet length is still reversed.

[--- client to server 2 ---]
Data size: 270
Data:
2A 01 5B 01 01 08 00 00 00 01 00 06 01 00 29 89  : *.[...........)‰

Fifth packet, all looks ok here, too.

All I can see wrong is the reversed packet lengths on the incoming 
packets.  Watch your Ethereal dumps carefully in this regard, both incoming 
and outgoing packets, this may provide a clue as to your problem.

Doug

--
Douglas F. McLaughlin      [Chancellor's List - Spring/Fall 2001,
STR Programming Services    University of North Carolina - Pembroke]
stricq at owlnet.net
http://www.stricq.com/     { while(!sleep) sheep++; }
Team Amiga                 http://www.amiga.com/





More information about the icq-devel mailing list