On Sun, 2005-06-26 at 20:51 +0200, Enrique Perez-Terron wrote:
> I just installed licq-1.3.0-1.fc2.i386.rpm on Fedora Core 3 and started
> the program.
....
> 20:18:33: [SRV] Registering a new user...
> 20:18:38: [WRN] Registration error.
> 20:18:38: [ERR] Unable to sign on: NewServer: (null), cookie: (null).
I just made another attempt some six hours later, this time logging the
network traffic in ethereal. The log seems to indicate that the problem
was with the server, but I know nothing about the protocol.
In the packet description lines below only the lowest protocol level is
shown. So, packets carrying AOL data are shown without TCP details.
Licq sends a UIN request, the server sends a TCP ack counting the bytes
of the UIN request (so it has received it)
My PC sets up the TCP connection by sending the first SYN packet
7 TCP 54129 > 5190 [SYN] Seq=0 Ack=0 Win=5840 Len=0
8 TCP 5190 > 54129 [SYN, ACK] Seq=0 Ack=1 Win=16384 Len=0
9 TCP 54129 > 5190 [ACK] Seq=1 Ack=1 Win=5840 Len=0
The server is the first to transmit data over the connection:
10 AIM New Connection
My pc tcp-ack's the packet but sends its own New Connection:
11 TCP 54129 > 5190 [ACK] Seq=1 Ack=11 Win=5840 Len=0
12 AIM New Connection
Thew server tcp-ack's the last data from the pc, then my PC requests an
UIN:
13 TCP 5190 > 54129 [ACK] Seq=11 Ack=11 Win=16384 Len=0
14 AIM Signon AIM Signon, Request UIN
Again the server tcp-ack's the data from my PC, but then the server
sends a refusal. The details further down show a reason for the refusal.
15 TCP 5190 > 54129 [ACK] Seq=11 Ack=88 Win=16384 Len=0
16 AIM Close Connection
Here are the details of the UIN request. The hex dump at the end
includes all protocol layers:
AOL Instant Messenger
Command Start: 0x2a
Channel ID: SNAC Data (0x02)
Sequence Number: 24188
Data Field Length: 71
FNAC: Family: AIM Signon (0x0017), Subtype: Request UIN (0x0004)
Family: AIM Signon (0x0017)
Subtype: Request UIN (0x0004)
FNAC Flags: 0x0000
.... .... .... ...0 = Followed By SNAC with related information:
Not set
0... .... .... .... = Contains Version of Family this SNAC is in:
Not set
FNAC ID: 0x00000001
AIM Signon, Request UIN
TLV: Registration Info
Value ID: Registration Info (0x0001)
Length: 57
Value
0000 00 04 02 00 00 00 00 00 00 00 00 00 00 00 08 00 ................
0010 45 00 00 75 8a 1d 40 00 3f 06 cc df 53 6d af 53 [EMAIL PROTECTED]
0020 40 0c a1 b9 d3 71 14 46 b0 18 21 51 f4 a2 41 c7 @....q.F..!Q..A.
0030 50 18 16 d0 85 6f 00 00 2a 02 5e 7c 00 47 00 17 P....o..*.^|.G..
0040 00 04 00 00 00 00 00 01 00 01 00 39 00 00 00 00 ...........9....
0050 28 00 03 00 00 00 00 00 00 00 00 00 82 27 00 00 (............'..
0060 82 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .'..............
0070 00 00 00 00 07 00 78 78 78 78 78 78 00 82 27 00 ......xxxxxx..'.
0080 00 00 00 19 02 .....
(I have doctored the password)
And here are the details of the refusal:
AOL Instant Messenger
Command Start: 0x2a
Channel ID: SNAC Data (0x02)
Sequence Number: 64897
Data Field Length: 42
FNAC: Family: AIM Signon (0x0017), Subtype: Error (0x0001)
Family: AIM Signon (0x0017)
Subtype: Error (0x0001)
FNAC Flags: 0x0000
.... .... .... ...0 = Followed By SNAC with related information:
Not set
0... .... .... .... = Contains Version of Family this SNAC is in:
Not set
FNAC ID: 0x00000001
AIM Signon, Error
SNAC Error: Requested service unavailable (0x0005)
TLV: Unknown
Value ID: Unknown (0x0021)
Length: 26
Value
AOL Instant Messenger
Command Start: 0x2a
Channel ID: Close Connection (0x04)
Sequence Number: 64898
Data Field Length: 0
0000 00 00 02 00 00 00 00 00 00 00 00 00 00 00 08 00 ................
0010 45 00 00 5e 05 a6 40 00 66 06 2a 6e 40 0c a1 b9 [EMAIL PROTECTED]@...
0020 53 6d af 53 14 46 d3 71 f4 a2 41 c7 b0 18 21 9e Sm.S.F.q..A...!.
0030 50 18 40 00 df aa 00 00 2a 02 fd 81 00 2a 00 17 [EMAIL PROTECTED]
0040 00 01 00 00 00 00 00 01 00 05 00 21 00 1a 00 00 ...........!....
0050 00 00 00 00 27 82 00 03 8c 8b d3 71 53 6d af 53 ....'......qSm.S
0060 68 8b ff bf 57 67 22 08 2a 04 fd 82 00 00 h...Wg".*.....
This seems (to me, anyway :) to indicate the reason is with the server,
not with licq. What I find strange is that i could use gaim between
failed attempts to use licq. I did a dns lookup at the time of the first
failure, and got an ip address different from the one used here.
Regards, Enrique
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
LICQ-Main mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-main