Ticket #1445 (assigned defect)

Opened 2 years ago

Last modified 2 months ago

licq 1.3.4 does not receive message from icq 5.1

Reported by: chaos Owned by: emostar
Priority: highest Milestone:
Component: licq daemon Version: 1.3.4
Keywords: icq5 Cc:

Description

Sorry for my english! BUG: I use licq 1.3.4 with qt plugin I send message to icq 5.1 (windows), icq 5.1 understand messages from licq 1.3.4, BUT When people write me message from icq 5.1 , i Don't receive NOTHING(anything), And I see, that status icq 5.1 change to another, for example, (not awaylable or Do not Distrub), but people from icq 5.1 not change status! My OS Slackware 10.1 Thanks

Attachments

licq-1445-no-rtf.patch (0.9 kB) - added by erijo 2 years ago.
Don't send RTF cap. flag
icqd.cpp.patch (0.5 kB) - added by emostar 2 years ago.
patch for ProcessMessage?
licq-1445.patch (1.6 kB) - added by emostar 2 years ago.
Updated patch
licqlog.txt (10.0 kB) - added by dehpeh 2 years ago.
licq-1445_2.patch (1.8 kB) - added by emostar 23 months ago.
newdiff.patch (6.1 kB) - added by emostar 21 months ago.
Protocol upgrade

Change History

  Changed 2 years ago by chaos

  • component changed from chat to None

Sorry for duplicate Ticket #1446, but i can not submit new ticket( , because my tickets reject as spam!

I reinstall licq to version 1.3.2 and now i receive message from icq 5.1, but icq 5.1 not see me(i invisible for icq 5.1):) I hope, that you change bug at licq 1.3.4 Thanks

  Changed 2 years ago by root_42

Please start licq with -d 32. This will generate a log of all the packets generated during your session. Make sure to include packets of your ICQ 5.1 contact. Then attach this logfile to this bugreport. This way we may be able to help.

  Changed 2 years ago by root_42

I forgot: use licq 1.3.4 or newer, that is the SVN version.

  Changed 2 years ago by victor

http://trac.licq.org/ticket/1426 - this is the same bug I think. I can confirm this with Licq 1.3.4 RC3 and 1.3.4 Final on Slackware 11.0 and Debian Unstable.

The problem exists only when ICQ5.1 is used. If QiP, Miranda or ICQ 2003 Pro is used, the problem is gone.

I can not say what is the situation with ICQ 5.0

People can recieve my messages, I can see them typing a message. But when they hit "Enter" (Send), I do not recieve their message. And their status is changed to DND or N/A

follow-up: ↓ 11   Changed 2 years ago by victor

  • priority changed from high to highest

  Changed 2 years ago by root_42

I installed ICQ 5.1 just now and tried to replicate this bug, but without success! I could write myself messages fine, no problems there. I tried with Licq 1.3.4 and with latest SVN version. Could someone please submit package logs and/or try the SVN version of licq? That would really help, thanks.

  Changed 2 years ago by victor

So I started my 1.3.4 with -d 32 The problem exists. Which log I have to paste here?

I mean... /root/.licq/ Here I have log.errors but it is empty.

Where is this log?

  Changed 2 years ago by victor

19:49:48: [PKT] Packet (SRVv0, 61 bytes) sent:

(192.168.1.2:3260 -> 205.188.9.57:5190)

0000: 2A 02 1B 97 00 37 00 04 00 06 00 00 00 00 00 1B *....7.......... 0010: 00 00 00 00 00 00 00 00 00 01 07 37 31 31 37 35 ...........71175 0020: 38 30 00 02 00 17 05 01 00 01 01 01 01 00 0E 00 80.............. 0030: 00 00 00 74 61 6D 20 6C 69 20 73 69 3F ...tam li si?

19:49:52: [PKT] Packet (SRVv0, 36 bytes) received:

(192.168.1.2:3260 <- 205.188.9.57:5190)

0000: 2A 02 86 02 00 1E 00 04 00 14 00 00 81 0D F2 15 *.............Ñ‚. 0010: 00 00 00 00 00 00 00 00 00 01 07 37 31 31 37 35 ...........71175 0020: 38 30 00 02 80..

19:49:53: [PKT] Packet (SRVv0, 36 bytes) received:

(192.168.1.2:3260 <- 205.188.9.57:5190)

0000: 2A 02 86 03 00 1E 00 04 00 14 00 00 81 0D F3 26 *.............у& 0010: 00 00 00 00 00 00 00 00 00 01 07 37 31 31 37 35 ...........71175 0020: 38 30 00 01 80..

19:49:53: [PKT] Packet (SRVv0, 431 bytes) received:

(192.168.1.2:3260 <- 205.188.9.57:5190)

0000: 2A 02 86 04 01 A9 00 04 00 07 00 00 81 0D F3 28 *....©........у( 0010: F4 CF 27 00 0A 4D 00 00 00 02 07 37 31 31 37 35 фП'..M.....71175 0020: 38 30 00 00 00 05 00 01 00 02 00 50 00 06 00 04 80.........P.... 0030: 10 00 00 00 00 1D 00 14 00 08 01 10 A2 C1 E5 1E ............ўБе. 0040: 90 F8 3E 9A AC 93 47 97 90 09 A4 4E 00 0F 00 04 .ш>.¬.G...¤N.... 0050: 00 00 09 99 00 03 00 04 45 52 0F 34 00 05 01 42 ........ER.4...B 0060: 00 00 F4 CF 27 00 0A 4D 00 00 09 46 13 49 4C 7F ..фП'..M...F.IL. 0070: 11 D1 82 22 44 45 53 54 00 00 00 0A 00 02 00 01 .С."DEST........ 0080: 00 0F 00 00 27 11 01 1A 1B 00 09 00 00 00 00 00 ....'........... 0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 ................ 00A0: 00 00 00 EF 03 0E 00 EF 03 00 00 00 00 00 00 00 ...п...п........ 00B0: 00 00 00 00 00 0C 9B 6C 00 01 00 9E 00 7B 5C 72 .......l.....{\r 00C0: 74 66 31 5C 61 6E 73 69 5C 61 6E 73 69 63 70 67 tf1\ansi\ansicpg 00D0: 31 32 35 31 5C 64 65 66 66 30 5C 64 65 66 6C 61 1251\deff0\defla 00E0: 6E 67 31 30 32 36 7B 5C 66 6F 6E 74 74 62 6C 7B ng1026{\fonttbl{ 00F0: 5C 66 30 5C 66 6E 69 6C 5C 66 63 68 61 72 73 65 \f0\fnil\fcharse 0100: 74 30 20 41 72 69 61 6C 3B 7D 7D 0D 0A 7B 5C 63 t0 Arial;}}..{\c 0110: 6F 6C 6F 72 74 62 6C 20 3B 5C 72 65 64 30 5C 67 olortbl ;\red0\g 0120: 72 65 65 6E 36 34 5C 62 6C 75 65 31 32 38 3B 7D reen64\blue128;} 0130: 0D 0A 5C 76 69 65 77 6B 69 6E 64 34 5C 75 63 31 ..\viewkind4\uc1 0140: 5C 70 61 72 64 5C 63 66 31 5C 66 73 32 30 20 64 \pard\cf1\fs20 d 0150: 61 5C 70 61 72 0D 0A 7D 0D 0A 00 53 E4 5F 7F C0 a\par..}...Sд_.А 0160: A8 76 0C 00 00 00 00 04 00 00 10 00 00 40 80 00 Ёv...........@.. 0170: FF FF FF 00 26 00 00 00 7B 39 37 42 31 32 37 35 яяя.&...{97B1275 0180: 31 2D 32 34 33 43 2D 34 33 33 34 2D 41 4

19:49:53: [TCP] Bunny (7117580) is Not Available to us. 19:49:53: [WRN] Invalid unknown event:

0000: 1B 00 09 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 0010: 00 00 00 00 00 00 01 00 00 00 00 EF 03 0E 00 EF ...........п...п 0020: 03 00 00 00 00 00 00 00 00 00 00 00 00 0C 9B 6C ...............l 0030: 00 01 00 9E 00 7B 5C 72 74 66 31 5C 61 6E 73 69 .....{\rtf1\ansi 0040: 5C 61 6E 73 69 63 70 67 31 32 35 31 5C 64 65 66 \ansicpg1251\def 0050: 66 30 5C 64 65 66 6C 61 6E 67 31 30 32 36 7B 5C f0\deflang1026{\ 0060: 66 6F 6E 74 74 62 6C 7B 5C 66 30 5C 66 6E 69 6C fonttbl{\f0\fnil 0070: 5C 66 63 68 61 72 73 65 74 30 20 41 72 69 61 6C \fcharset0 Arial 0080: 3B 7D 7D 0D 0A 7B 5C 63 6F 6C 6F 72 74 62 6C 20 ;}}..{\colortbl 0090: 3B 5C 72 65 64 30 5C 67 72 65 65 6E 36 34 5C 62 ;\red0\green64\b 00A0: 6C 75 65 31 32 38 3B 7D 0D 0A 5C 76 69 65 77 6B lue128;}..\viewk 00B0: 69 6E 64 34 5C 75 63 31 5C 70 61 72 64 5C 63 66 ind4\uc1\pard\cf 00C0: 31 5C 66 73 32 30 20 64 61 5C 70 61 72 0D 0A 7D 1\fs20 da\par..} 00D0: 0D 0A 00 53 E4 5F 7F C0 A8 76 0C 00 00 00 00 04 ...Sд_.АЁv...... 00E0: 00 00 10 00 00 40 80 00 FF FF FF 00 26 00 00 00 .....@..яяя.&... 00F0: 7B 39 37 42 31 32 37 35 31 2D 32 34 33 43 2D 34 {97B12751-243C-4 0100: 33 33 34 2D 41 44 32 32 2D 44 36 41 42 46 37 33 334-AD22-D6ABF73 0110: 46 31 34 39 32 7D EF 03 00 00

  Changed 2 years ago by root_42

Thanks, next time, please attach it as a file -- that's much more readable. :)

  Changed 2 years ago by chaos

Unfortunately, I can not create log, because I talk with users of ICQ 5.1 very rarely. But If you have installed ICQ 5.1 you can send me message to my licq 1.3.4 and i'll can create logs.

in reply to: ↑ 5   Changed 2 years ago by dehpeh

Replying to victor:

Yes, it is the same problem like http://trac.licq.org/ticket/1426 (I have marked it as duplicate).

Crazy is, when i change my status from invisible to online while the icq-5.x user is online, the problem is gone.

  Changed 2 years ago by victor

Yeah, I hope it will be fixed soon... As I use ICQ/Licq only in invisible mode :/ Any news from the devs?

  Changed 2 years ago by root_42

I was finally also able to reproduce the behaviour. Although I am not yet able to fix this. I asked emostar for help, since I am not yet an expert on this. ;) Hope he'll be able to give me some hints on what's going wrong.

  Changed 2 years ago by chaos

I think, you must compare licq 1.3.4 with licq 1.3.2, because at licq 1.3.2 all ok! I use Licq ONLY in invisible mode too'''

  Changed 2 years ago by KasimirK

same problem here, and it definitely occurred when i upgraded from 1.3.2 to 1.3.4

  Changed 2 years ago by emostar

  • owner set to emostar
  • status changed from new to assigned
  • component changed from None to licq daemon

It appears to be a problem with parsing RTF messages. A fix for this will be made soon, things are really busy for me, sorry for the delay.

Perhaps a quick workaround can be to not send the RTF compatiblity flag for now.

Jon

Changed 2 years ago by erijo

Don't send RTF cap. flag

  Changed 2 years ago by erijo

Please try attachment:licq-1445-no-rtf.patch and see if it solves the problem.

  Changed 2 years ago by erijo

  • keywords icq5 added; icq 5.1 removed
  • milestone set to 1.3.5

  Changed 2 years ago by dehpeh

Hey =)

After a few tests, it works fine for me with 1.3.4 and the removed ICQ_CAPABILITY_RTFxMSGS. (I tested it only with final 1.3.4, because with the current SVN i have to many TCP-handshake errors).

  Changed 2 years ago by dehpeh

Hm... now with removed ICQ_CAPABILITY_RTFxMSGS i could not send files to icq-5.1 users :(

i'm invisible:
[SRV] Sending file transfer to Dennis (#38091).
[SRV] File transfer request through server accepted from Dennis (***uin***).
[TCP] Local TCP server started on port 8301.
[TCP] Requesting reverse connection from Dennis.
[TCP] File Transfer: Waiting for reverse connection.
[TCP] File Transfer: Received connection.
[WRN] Handshake error, remote side closed connection.
[TCP] File Transfer: Remote end disconnected.

when i go online:
...same as before
[TCP] File Transfer: Received connection.
[WRN] Spoofed connection from 80.134.*.* as uin ***uin***.
[TCP] File Transfer: Remote end disconnected.

Changed 2 years ago by emostar

patch for ProcessMessage?

  Changed 2 years ago by emostar

Please apply attachment:icqd.cpp.patch and report the debug output here please.

  Changed 2 years ago by dehpeh

i have tested the patch for logging more verbosely. (licq 1.3.4 final)

i build the whole scenario again. it is very confused, i try to describe:

i install the www.pro7.de icq version 5.1 on my second computer. create a icq-account and add this user in my licq, that is currently invisible. now my contact in icq-5.1 is offline, but i can write messages from icq-5.1 to licq without problems. when i put the testuser in licq visiblelist, following happens on messages from icq-5.1:

10:34:56: Msg Type: 18865, Mask: 0, Sequence: 1002, Ack 0
Text: uio
10:34:56: [WRN] Ungültige(r) Unbekanntes Ereignis:
     0000: 1B 00 09 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     0010: 00 00 00 00 00 00 01 00  00 00 00 EA 03 0E 00 EA   ................
     0020: 03 00 00 00 00 00 00 00  00 00 00 00 00 B1 49 B8   ..............I.
     0030: 0E 01 00 EA 00 7B 5C 72  74 66 31 5C 61 6E 73 69   .....{\rtf1\ansi
     0040: 5C 61 6E 73 69 63 70 67  31 32 35 32 5C 64 65 66   \ansicpg1252\def
     0050: 66 30 5C 64 65 66 6C 61  6E 67 31 30 33 31 7B 5C   f0\deflang1031{\
     0060: 66 6F 6E 74 74 62 6C 7B  5C 66 30 5C 66 73 63 72   fonttbl{\f0\fscr
     0070: 69 70 74 5C 66 70 72 71  32 5C 66 63 68 61 72 73   ipt\fprq2\fchars
     0080: 65 74 30 20 43 6F 6D 69  63 20 53 61 6E 73 20 4D   et0 Comic Sans M
     0090: 53 3B 7D 7B 5C 66 31 5C  66 6E 69 6C 5C 66 63 68   S;}{\f1\fnil\fch
     00A0: 61 72 73 65 74 30 20 41  72 69 61 6C 3B 7D 7D 0D   arset0 Arial;}}.
     00B0: 0A 7B 5C 63 6F 6C 6F 72  74 62 6C 20 3B 5C 72 65   .{\colortbl ;\re
     00C0: 64 30 5C 67 72 65 65 6E  30 5C 62 6C 75 65 32 35   d0\green0\blue25
     00D0: 35 3B 5C 72 65 64 35 36  5C 67 72 65 65 6E 35 36   5;\red56\green56
     00E0: 5C 62 6C 75 65 35 36 3B  7D 0D 0A 5C 76 69 65 77   \blue56;}..\view
     00F0: 6B 69 6E 64 34 5C 75 63  31 5C 70 61 72 64 5C 63   kind4\uc1\pard\c
     0100: 66 31 5C 66 30 5C 66 73  32 30 20 75 69 6F 5C 63   f1\f0\fs20 uio\c
     0110: 66 32 5C 66 31 5C 70 61  72 0D 0A 7D 0D 0A 00 54   f2\f1\par..}...T
     0120: BA FA 29 C0 A8 01 02 00  00 00 00 04 00 00 10 00   ..).............
     0130: 00 00 FF 00 FF FF FF 00  26 00 00 00 7B 39 37 42   ........&...{97B
     0140: 31 32 37 35 31 2D 32 34  33 43 2D 34 33 33 34 2D   12751-243C-4334-
     0150: 41 44 32 32 2D 44 36 41  42 46 37 33 46 31 34 39   AD22-D6ABF73F149
     0160: 32 7D EA 03 00 00                                  2}....

Msg Type is always 18865.

now i'm going with licq online and invisible again and then i can receive the messages:

10:38:12: Msg Type: 1, Mask: 0, Sequence: 1005, Ack 0
Text: ghuihi
10:38:12: [SRV] Nachricht von testuser (****).

i reboot the windows computer, connect icq-5.1 (nothing changed on licq) and the messages from icq-5.1 arrive licq without problems. but after restart licq i have the problems again. seems to me, that the icq-server must see me online for few seconds and not the icq-5.1 user?!

i hope i could help you :)

  Changed 2 years ago by emostar

Sorry, but can you include the entire packet? You can get that from running licq -d31 from an xterm. Include the packet, the debug out put and the warning "unknown event" that you get. All 3 parts together are needed. Thanks!

  Changed 2 years ago by dehpeh

hey emostar, i hope, this is all you need:

09:27:58: [PKT] Packet (SRVv0, 428 bytes) received:
                (192.168.2.3:54794 <- 64.12.28.149:5190)
     0000: 2A 02 4E 60 01 A6 00 04  00 07 00 00 98 03 7E 23   *.N`..........~#
     0010: F9 7F 03 00 69 4B 00 00  00 02 09 32 34 36 39 35   ....iK.....24695
     0020: 38 35 31 33 00 00 00 04  00 01 00 02 00 50 00 06   8513.........P..
     0030: 00 04 10 00 00 00 00 0F  00 04 00 00 00 4E 00 03   .............N..
     0040: 00 04 45 66 AC BF 00 05  01 55 00 00 F9 7F 03 00   ..Ef.....U......
     0050: 69 4B 00 00 09 46 13 49  4C 7F 11 D1 82 22 44 45   iK...F.IL...."DE
     0060: 53 54 00 00 00 0A 00 02  00 01 00 0F 00 00 27 11   ST............'.
     0070: 01 2D 1B 00 09 00 00 00  00 00 00 00 00 00 00 00   .-..............
     0080: 00 00 00 00 00 00 00 00  01 00 00 00 00 E9 03 0E   ................
     0090: 00 E9 03 00 00 00 00 00  00 00 00 00 00 00 00 B1   ................
     00A0: 49 B8 0E 01 00 B1 00 7B  5C 72 74 66 31 5C 61 6E   I......{\rtf1\an
     00B0: 73 69 5C 61 6E 73 69 63  70 67 31 32 35 32 5C 64   si\ansicpg1252\d
     00C0: 65 66 66 30 5C 64 65 66  6C 61 6E 67 31 30 33 31   eff0\deflang1031
     00D0: 7B 5C 66 6F 6E 74 74 62  6C 7B 5C 66 30 5C 66 73   {\fonttbl{\f0\fs
     00E0: 77 69 73 73 5C 66 70 72  71 32 5C 66 63 68 61 72   wiss\fprq2\fchar
     00F0: 73 65 74 30 20 41 72 69  61 6C 3B 7D 7D 0D 0A 7B   set0 Arial;}}..{
     0100: 5C 63 6F 6C 6F 72 74 62  6C 20 3B 5C 72 65 64 30   \colortbl ;\red0
     0110: 5C 67 72 65 65 6E 30 5C  62 6C 75 65 32 35 35 3B   \green0\blue255;
     0120: 7D 0D 0A 5C 76 69 65 77  6B 69 6E 64 34 5C 75 63   }..\viewkind4\uc
     0130: 31 5C 70 61 72 64 5C 63  66 31 5C 66 30 5C 66 73   1\pard\cf1\f0\fs
     0140: 32 30 20 54 45 53 54 4D  45 53 53 41 47 45 5C 70   20 TESTMESSAGE\p
     0150: 61 72 0D 0A 7D 0D 0A 00  54 BA C7 CD C0 A8 01 02   ar..}...T.......
     0160: 00 00 00 00 04 00 00 10  00 00 00 FF 00 FF FF FF   ................
     0170: 00 26 00 00 00 7B 39 37  42 31 32 37 35 31 2D 32   .&...{97B12751-2
     0180: 34 33 43 2D 34 33 33 34  2D 41 44 32 32 
09:27:58: [TCP] testuser (246958513) is Occupied to us.
09:27:58: Msg Type: 18865, Mask: 0, Sequence: 1001, Ack 0
Text: TESTMESSAGE
09:27:58: [WRN] Invalid unknown event:
     0000: 1B 00 09 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     0010: 00 00 00 00 00 00 01 00  00 00 00 E9 03 0E 00 E9   ................
     0020: 03 00 00 00 00 00 00 00  00 00 00 00 00 B1 49 B8   ..............I.
     0030: 0E 01 00 B1 00 7B 5C 72  74 66 31 5C 61 6E 73 69   .....{\rtf1\ansi
     0040: 5C 61 6E 73 69 63 70 67  31 32 35 32 5C 64 65 66   \ansicpg1252\def
     0050: 66 30 5C 64 65 66 6C 61  6E 67 31 30 33 31 7B 5C   f0\deflang1031{\
     0060: 66 6F 6E 74 74 62 6C 7B  5C 66 30 5C 66 73 77 69   fonttbl{\f0\fswi
     0070: 73 73 5C 66 70 72 71 32  5C 66 63 68 61 72 73 65   ss\fprq2\fcharse
     0080: 74 30 20 41 72 69 61 6C  3B 7D 7D 0D 0A 7B 5C 63   t0 Arial;}}..{\c
     0090: 6F 6C 6F 72 74 62 6C 20  3B 5C 72 65 64 30 5C 67   olortbl ;\red0\g
     00A0: 72 65 65 6E 30 5C 62 6C  75 65 32 35 35 3B 7D 0D   reen0\blue255;}.
     00B0: 0A 5C 76 69 65 77 6B 69  6E 64 34 5C 75 63 31 5C   .\viewkind4\uc1\
     00C0: 70 61 72 64 5C 63 66 31  5C 66 30 5C 66 73 32 30   pard\cf1\f0\fs20
     00D0: 20 54 45 53 54 4D 45 53  53 41 47 45 5C 70 61 72    TESTMESSAGE\par
     00E0: 0D 0A 7D 0D 0A 00 54 BA  C7 CD C0 A8 01 02 00 00   ..}...T.........
     00F0: 00 00 04 00 00 10 00 00  00 FF 00 FF FF FF 00 26   ...............&
     0100: 00 00 00 7B 39 37 42 31  32 37 35 31 2D 32 34 33   ...{97B12751-243
     0110: 43 2D 34 33 33 34 2D 41  44 32 32 2D 44 36 41 42   C-4334-AD22-D6AB
     0120: 46 37 33 46 31 34 39 32  7D E9 03 00 00            F73F1492}....
09:28:01: [PKT] Packet (SRVv0, 6 bytes) sent:
                (192.168.2.3:54794 -> 64.12.28.149:5190)
     0000: 2A 05 56 8A 00 00                                  *.V...

  Changed 2 years ago by emostar

Thanks! That is very helpful. Unfortunately this new message id requires some investigation work. But this new patch, attachment:licq-1445.path should fix the messages disappearing. It may have other side effects that I don't know about. For example, sending files, chats, urls, contacts. Could you test out this patch and report any abnormalities? As you see in the patch, this is a hack and not a permament fix.

  Changed 2 years ago by emostar

Bad link... here it is again. I fixed an endian issue as well.

attachment:licq-1445.patch

  Changed 2 years ago by dehpeh

i added the patch, but same problem (but other message type) :(

17:54:51: [PKT] Packet (SRVv0, 461 bytes) received:
                (192.168.2.3:58371 <- 64.12.28.149:5190)
     0000: 2A 02 96 B2 01 C7 00 04  00 07 00 00 9B D3 F2 FF   *...............
     0010: DA C6 60 01 14 4E 00 00  00 02 09 32 31 30 31 38   ..`..N.....21018
     0020: ** ** ** ** 00 00 00 05  00 01 00 02 00 50 00 06   ****.........P..
     0030: 00 04 10 00 00 00 00 1D  00 14 00 01 01 10 79 89   ..............y.
     0040: A3 D5 78 40 6C 4A 83 E1  91 11 10 99 4D 77 00 0F   ..x@lJ......Mw..
     0050: 00 04 00 00 11 F7 00 03  00 04 45 68 63 65 00 05   ..........Ehce..
     0060: 01 5E 00 00 DA C6 60 01  14 4E 00 00 09 46 13 49   .^....`..N...F.I
     0070: 4C 7F 11 D1 82 22 44 45  53 54 00 00 00 0A 00 02   L...."DEST......
     0080: 00 01 00 0F 00 00 27 11  01 36 1B 00 09 00 00 00   ......'..6......
     0090: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     00A0: 01 00 00 00 00 FE 03 0E  00 FE 03 00 00 00 00 00   ................
     00B0: 00 00 00 00 00 00 00 D8  2D 87 0C 01 00 BA 00 7B   ........-......{
     00C0: 5C 72 74 66 31 5C 61 6E  73 69 5C 61 6E 73 69 63   \rtf1\ansi\ansic
     00D0: 70 67 31 32 35 32 5C 64  65 66 66 30 5C 64 65 66   pg1252\deff0\def
     00E0: 6C 61 6E 67 31 30 33 31  7B 5C 66 6F 6E 74 74 62   lang1031{\fonttb
     00F0: 6C 7B 5C 66 30 5C 66 73  63 72 69 70 74 5C 66 70   l{\f0\fscript\fp
     0100: 72 71 32 5C 66 63 68 61  72 73 65 74 30 20 43 6F   rq2\fcharset0 Co
     0110: 6D 69 63 20 53 61 6E 73  20 4D 53 3B 7D 7D 0D 0A   mic Sans MS;}}..
     0120: 7B 5C 63 6F 6C 6F 72 74  62 6C 20 3B 5C 72 65 64   {\colortbl ;\red
     0130: 32 35 35 5C 67 72 65 65  6E 30 5C 62 6C 75 65 30   255\green0\blue0
     0140: 3B 7D 0D 0A 5C 76 69 65  77 6B 69 6E 64 34 5C 75   ;}..\viewkind4\u
     0150: 63 31 5C 70 61 72 64 5C  63 66 31 5C 62 5C 66 30   c1\pard\cf1\b\f0
     0160: 5C 66 73 32 32 20 6A 6F  6F 6F 6F 6F 6F 6F 6F 5C   \fs22 joooooooo\
     0170: 70 61 72 0D 0A 7D 0D 0A  00 50 86 63 C6 00 00 00   par..}...P.c....
     0180: 00 00 00 00 00 04 00 00  10 00 FF 00 00 
17:54:51: [TCP] Johannes (21018****) ist Nicht stören für uns.
17:54:51: Msg Type: 11736, Mask: 0, Sequence: 1022, Ack 0
Text: joooooooo
17:54:51: [WRN] Ungültige(r) Unbekanntes Ereignis:
     0000: 1B 00 09 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     0010: 00 00 00 00 00 00 01 00  00 00 00 FE 03 0E 00 FE   ................
     0020: 03 00 00 00 00 00 00 00  00 00 00 00 00 D8 2D 87   ..............-.
     0030: 0C 01 00 BA 00 7B 5C 72  74 66 31 5C 61 6E 73 69   .....{\rtf1\ansi
     0040: 5C 61 6E 73 69 63 70 67  31 32 35 32 5C 64 65 66   \ansicpg1252\def
     0050: 66 30 5C 64 65 66 6C 61  6E 67 31 30 33 31 7B 5C   f0\deflang1031{\
     0060: 66 6F 6E 74 74 62 6C 7B  5C 66 30 5C 66 73 63 72   fonttbl{\f0\fscr
     0070: 69 70 74 5C 66 70 72 71  32 5C 66 63 68 61 72 73   ipt\fprq2\fchars
     0080: 65 74 30 20 43 6F 6D 69  63 20 53 61 6E 73 20 4D   et0 Comic Sans M
     0090: 53 3B 7D 7D 0D 0A 7B 5C  63 6F 6C 6F 72 74 62 6C   S;}}..{\colortbl
     00A0: 20 3B 5C 72 65 64 32 35  35 5C 67 72 65 65 6E 30    ;\red255\green0
     00B0: 5C 62 6C 75 65 30 3B 7D  0D 0A 5C 76 69 65 77 6B   \blue0;}..\viewk
     00C0: 69 6E 64 34 5C 75 63 31  5C 70 61 72 64 5C 63 66   ind4\uc1\pard\cf
     00D0: 31 5C 62 5C 66 30 5C 66  73 32 32 20 6A 6F 6F 6F   1\b\f0\fs22 jooo
     00E0: 6F 6F 6F 6F 6F 5C 70 61  72 0D 0A 7D 0D 0A 00 50   ooooo\par..}...P
     00F0: 86 63 C6 00 00 00 00 00  00 00 00 04 00 00 10 00   .c..............
     0100: FF 00 00 00 FF FF FF 00  26 00 00 00 7B 39 37 42   ........&...{97B
     0110: 31 32 37 35 31 2D 32 34  33 43 2D 34 33 33 34 2D   12751-243C-4334-
     0120: 41 44 32 32 2D 44 36 41  42 46 37 33 46 31 34 39   AD22-D6ABF73F149
     0130: 32 7D FE 03 00 00                                  2}....

follow-up: ↓ 29   Changed 2 years ago by dehpeh

okay, i tested a few things and found out, that every user have another Msg-Type-ID. Then, of course, the patch couldn't work ;)

in reply to: ↑ 28   Changed 2 years ago by emostar

Replying to dehpeh:

okay, i tested a few things and found out, that every user have another Msg-Type-ID. Then, of course, the patch couldn't work ;)

Yes, the message type has been changed to be the user's UIN. I'm trying to see how to differentiate these messages from normal RTF. It looks like a new version is out. How does the latest SVN work for you?

Changed 2 years ago by emostar

Updated patch

  Changed 2 years ago by emostar

follow-up: ↓ 32   Changed 2 years ago by dehpeh

Hey emostar,

the patch didn't work correct for me. I tested this with current SVN and the normal 1.3.4. With the patch i can receive the messages, but e.g. filetransfers didn't work. When i'm invisibe, i became 0-byte files and when i'm online, i became empty text messages.

I think, it must be another solution. Because the problem exists only, when i connect invisible to the icq-server.

At the moment, i use the current SVN from today (without patch). Until now it works fine with the exception of this problem.

When you have a new idea/patch, i will test it.

Thanks :)

in reply to: ↑ 31   Changed 2 years ago by emostar

Replying to dehpeh:

the patch didn't work correct for me. I tested this with current SVN and the normal 1.3.4. With the patch i can receive the messages, but e.g. filetransfers didn't work. When i'm invisibe, i became 0-byte files and when i'm online, i became empty text messages.

Can you post a packet dump of a filetransfer?

I think, it must be another solution. Because the problem exists only, when i connect invisible to the icq-server.

And how about a packet dump of when you are not invisible as well?

For me, if I am invisible or not invisible, the current SVN version works for me. For some reason the data being sent to you is different. (Contains the remote user's UIN where the message type code has been up to now).

  Changed 2 years ago by dehpeh

hey, sorry for the delay. now i attach a logfile (current svn from today, without any patch): i'm inivisble, receive a message, going online, receive a message again. hope, that helps.

Changed 2 years ago by dehpeh

follow-up: ↓ 35   Changed 2 years ago by dehpeh

:(

in reply to: ↑ 34   Changed 2 years ago by emostar

Replying to dehpeh:

:(

How about this? attachment:licq-1445_2.patch

  Changed 23 months ago by dehpeh

hey emostar =)

sorry, now i couldn't receive any message, whatever i'm online or invisible... *G*

00:31:14: [PKT] Packet (SRVv0, 421 bytes) received:
                (192.168.2.3:35681 <- 205.188.11.25:5190)
     0000: 2A 02 E6 8B 01 9F 00 04  00 07 00 00 84 3A 66 D6   *............:f.
     0010: 17 F5 0F 00 06 7A 00 00  00 02 09 32 34 36 39 35   .....z.....24695
     0020: 38 35 31 33 00 00 00 04  00 01 00 02 00 50 00 06   8513.........P..
     0030: 00 04 10 00 00 00 00 0F  00 04 00 00 02 EF 00 03   ................
     0040: 00 04 45 9D 8B 54 00 05  01 4E 00 00 17 F5 0F 00   ..E..T...N......
     0050: 06 7A 00 00 09 46 13 49  4C 7F 11 D1 82 22 44 45   .z...F.IL...."DE
     0060: 53 54 00 00 00 0A 00 02  00 01 00 0F 00 00 27 11   ST............'.
     0070: 01 26 1B 00 09 00 00 00  00 00 00 00 00 00 00 00   .&..............
     0080: 00 00 00 00 00 00 00 00  01 00 00 00 00 E9 03 0E   ................
     0090: 00 E9 03 00 00 00 00 00  00 00 00 00 00 00 00 B1   ................
     00A0: 49 B8 0E 01 00 AA 00 7B  5C 72 74 66 31 5C 61 6E   I......{\rtf1\an
     00B0: 73 69 5C 61 6E 73 69 63  70 67 31 32 35 32 5C 64   si\ansicpg1252\d
     00C0: 65 66 66 30 5C 64 65 66  6C 61 6E 67 31 30 33 31   eff0\deflang1031
     00D0: 7B 5C 66 6F 6E 74 74 62  6C 7B 5C 66 30 5C 66 73   {\fonttbl{\f0\fs
     00E0: 77 69 73 73 5C 66 70 72  71 32 5C 66 63 68 61 72   wiss\fprq2\fchar
     00F0: 73 65 74 30 20 41 72 69  61 6C 3B 7D 7D 0D 0A 7B   set0 Arial;}}..{
     0100: 5C 63 6F 6C 6F 72 74 62  6C 20 3B 5C 72 65 64 30   \colortbl ;\red0
     0110: 5C 67 72 65 65 6E 30 5C  62 6C 75 65 32 35 35 3B   \green0\blue255;
     0120: 7D 0D 0A 5C 76 69 65 77  6B 69 6E 64 34 5C 75 63   }..\viewkind4\uc
     0130: 31 5C 70 61 72 64 5C 63  66 31 5C 66 30 5C 66 73   1\pard\cf1\f0\fs
     0140: 32 30 20 74 65 73 74 5C  70 61 72 0D 0A 7D 0D 0A   20 test\par..}..
     0150: 00 54 BA B8 E3 C0 A8 01  02 00 00 00 00 04 00 00   .T..............
     0160: 10 00 00 00 FF 00 FF FF  FF 00 26 00 00 00 7B 39   ..........&...{9
     0170: 37 42 31 32 37 35 31 2D  32 34 33 43 2D 34 33 33   7B12751-243C-433
     0180: 34 2D 41 44 32 32 2D 44  36 41 42 46 37
00:31:14: Msg Type: 170, Mask: 0, Sequence: 1001, Ack 0
Text: f1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\cf1\f0\fs20 test\par
}
00:31:14: [WRN] Ungültige(r) Unbekanntes Ereignis:
     0000: 1B 00 09 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     0010: 00 00 00 00 00 00 01 00  00 00 00 E9 03 0E 00 E9   ................
     0020: 03 00 00 00 00 00 00 00  00 00 00 00 00 B1 49 B8   ..............I.
     0030: 0E 01 00 AA 00 7B 5C 72  74 66 31 5C 61 6E 73 69   .....{\rtf1\ansi
     0040: 5C 61 6E 73 69 63 70 67  31 32 35 32 5C 64 65 66   \ansicpg1252\def
     0050: 66 30 5C 64 65 66 6C 61  6E 67 31 30 33 31 7B 5C   f0\deflang1031{\
     0060: 66 6F 6E 74 74 62 6C 7B  5C 66 30 5C 66 73 77 69   fonttbl{\f0\fswi
     0070: 73 73 5C 66 70 72 71 32  5C 66 63 68 61 72 73 65   ss\fprq2\fcharse
     0080: 74 30 20 41 72 69 61 6C  3B 7D 7D 0D 0A 7B 5C 63   t0 Arial;}}..{\c
     0090: 6F 6C 6F 72 74 62 6C 20  3B 5C 72 65 64 30 5C 67   olortbl ;\red0\g
     00A0: 72 65 65 6E 30 5C 62 6C  75 65 32 35 35 3B 7D 0D   reen0\blue255;}.
     00B0: 0A 5C 76 69 65 77 6B 69  6E 64 34 5C 75 63 31 5C   .\viewkind4\uc1\
     00C0: 70 61 72 64 5C 63 66 31  5C 66 30 5C 66 73 32 30   pard\cf1\f0\fs20
     00D0: 20 74 65 73 74 5C 70 61  72 0D 0A 7D 0D 0A 00 54    test\par..}...T
     00E0: BA B8 E3 C0 A8 01 02 00  00 00 00 04 00 00 10 00   ................
     00F0: 00 00 FF 00 FF FF FF 00  26 00 00 00 7B 39 37 42   ........&...{97B
     0100: 31 32 37 35 31 2D 32 34  33 43 2D 34 33 33 34 2D   12751-243C-4334-
     0110: 41 44 32 32 2D 44 36 41  42 46 37 33 46 31 34 39   AD22-D6ABF73F149
     0120: 32 7D E9 03 00 00                                  2}....

  Changed 23 months ago by emostar

Updated attachment:licq-1445_2.patch to fix receiving messages. Was a byte alignment issue. This may work.. but a real fix is updating the protocol, which I'm currently looking into.

  Changed 23 months ago by dehpeh

Sorry, no changes :(

btw: I've testet it with a friend, he has licq-1.3.4 too. When he start licq in inivible mode, he couln't receive icq-5.1 messages, too.

11:30:53: [PKT] Packet (SRVv0, 421 bytes) received:
                (192.168.2.3:57440 <- 205.188.11.24:5190)
     0000: 2A 02 D2 20 01 9F 00 04  00 07 00 00 8A 84 C0 E0   *.. ............
     0010: F2 F7 04 00 96 13 00 00  00 02 09 32 34 36 39 35   ...........24695
     0020: 38 35 31 33 00 00 00 04  00 01 00 02 00 50 00 06   8513.........P..
     0030: 00 04 10 00 00 00 00 0F  00 04 00 00 00 5A 00 03   .............Z..
     0040: 00 04 45 A0 CB 84 00 05  01 4E 00 00 F2 F7 04 00   ..E......N......
     0050: 96 13 00 00 09 46 13 49  4C 7F 11 D1 82 22 44 45   .....F.IL...."DE
     0060: 53 54 00 00 00 0A 00 02  00 01 00 0F 00 00 27 11   ST............'.
     0070: 01 26 1B 00 09 00 00 00  00 00 00 00 00 00 00 00   .&..............
     0080: 00 00 00 00 00 00 00 00  01 00 00 00 00 E9 03 0E   ................
     0090: 00 E9 03 00 00 00 00 00  00 00 00 00 00 00 00 B1   ................
     00A0: 49 B8 0E 01 00 AA 00 7B  5C 72 74 66 31 5C 61 6E   I......{\rtf1\an
     00B0: 73 69 5C 61 6E 73 69 63  70 67 31 32 35 32 5C 64   si\ansicpg1252\d
     00C0: 65 66 66 30 5C 64 65 66  6C 61 6E 67 31 30 33 31   eff0\deflang1031
     00D0: 7B 5C 66 6F 6E 74 74 62  6C 7B 5C 66 30 5C 66 73   {\fonttbl{\f0\fs
     00E0: 77 69 73 73 5C 66 70 72  71 32 5C 66 63 68 61 72   wiss\fprq2\fchar
     00F0: 73 65 74 30 20 41 72 69  61 6C 3B 7D 7D 0D 0A 7B   set0 Arial;}}..{
     0100: 5C 63 6F 6C 6F 72 74 62  6C 20 3B 5C 72 65 64 30   \colortbl ;\red0
     0110: 5C 67 72 65 65 6E 30 5C  62 6C 75 65 32 35 35 3B   \green0\blue255;
     0120: 7D 0D 0A 5C 76 69 65 77  6B 69 6E 64 34 5C 75 63   }..\viewkind4\uc
     0130: 31 5C 70 61 72 64 5C 63  66 31 5C 66 30 5C 66 73   1\pard\cf1\f0\fs
     0140: 32 30 20 54 45 53 54 5C  70 61 72 0D 0A 7D 0D 0A   20 TEST\par..}..
     0150: 00 54 BA B0 43 C0 A8 01  02 00 00 00 00 04 00 00   .T..C...........
     0160: 10 00 00 00 FF 00 FF FF  FF 00 26 00 00 00 7B 39   ..........&...{9
     0170: 37 42 31 32 37 35 31 2D  32 34 33 43 2D 34 33 33   7B12751-243C-433
     0180: 34 2D 41 44 32 32 2D 44  36 41 42 46 37
11:30:53: Msg Type: 23675, Mask: 0, Sequence: 1001, Ack 0
Text: f1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\cf1\f0\fs20 TEST\par
}
11:30:53: [WRN] Ungültige(r) Unbekanntes Ereignis:
     0000: 1B 00 09 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
     0010: 00 00 00 00 00 00 01 00  00 00 00 E9 03 0E 00 E9   ................
     0020: 03 00 00 00 00 00 00 00  00 00 00 00 00 B1 49 B8   ..............I.
     0030: 0E 01 00 AA 00 7B 5C 72  74 66 31 5C 61 6E 73 69   .....{\rtf1\ansi
     0040: 5C 61 6E 73 69 63 70 67  31 32 35 32 5C 64 65 66   \ansicpg1252\def
     0050: 66 30 5C 64 65 66 6C 61  6E 67 31 30 33 31 7B 5C   f0\deflang1031{\
     0060: 66 6F 6E 74 74 62 6C 7B  5C 66 30 5C 66 73 77 69   fonttbl{\f0\fswi
     0070: 73 73 5C 66 70 72 71 32  5C 66 63 68 61 72 73 65   ss\fprq2\fcharse
     0080: 74 30 20 41 72 69 61 6C  3B 7D 7D 0D 0A 7B 5C 63   t0 Arial;}}..{\c
     0090: 6F 6C 6F 72 74 62 6C 20  3B 5C 72 65 64 30 5C 67   olortbl ;\red0\g
     00A0: 72 65 65 6E 30 5C 62 6C  75 65 32 35 35 3B 7D 0D   reen0\blue255;}.
     00B0: 0A 5C 76 69 65 77 6B 69  6E 64 34 5C 75 63 31 5C   .\viewkind4\uc1\
     00C0: 70 61 72 64 5C 63 66 31  5C 66 30 5C 66 73 32 30   pard\cf1\f0\fs20
     00D0: 20 54 45 53 54 5C 70 61  72 0D 0A 7D 0D 0A 00 54    TEST\par..}...T
     00E0: BA B0 43 C0 A8 01 02 00  00 00 00 04 00 00 10 00   ..C.............
     00F0: 00 00 FF 00 FF FF FF 00  26 00 00 00 7B 39 37 42   ........&...{97B
     0100: 31 32 37 35 31 2D 32 34  33 43 2D 34 33 33 34 2D   12751-243C-4334-
     0110: 41 44 32 32 2D 44 36 41  42 46 37 33 46 31 34 39   AD22-D6ABF73F149
     0120: 32 7D E9 03 00 00                                  2}....

  Changed 23 months ago by emostar

Are you applying the patch from a fresh SVN checkout? The msg type is becoming the "{\" which seems very strange.

follow-up: ↓ 41   Changed 23 months ago by dehpeh

Yes, i tested it with svn from yesterday and now again with an actual checkout. Same output ;(

in reply to: ↑ 40   Changed 23 months ago by emostar

Replying to dehpeh:

Yes, i tested it with svn from yesterday and now again with an actual checkout. Same output ;(

Sorry, I made a mistake with variable names... I'll have a new patch for you to test in a few minutes.

Changed 23 months ago by emostar

  Changed 23 months ago by emostar

Just updated attachment:licq-1445_2.patch It works for me in the sense that I can receive messages and files, but then again I have never had the issue you do while being invisible.

  Changed 23 months ago by dehpeh

sorry, same problem like at the beginning.

in reference to your last message, it works always while being invisible (BUT when i go online for one second before!). e.g. you start and connect normal online and then switch to invisible, all works fine.

the problem occurs only when you start and connect invisible and the problem is gone, when you switch to normal online. after switching online, i can go invisible again with no problems.

so i think, it is possible a login problem?

with your last patch:

19:50:19: Msg Type: 18865, Mask: 0, Sequence: 1001, Ack 0
Text: TEST12345

follow-up: ↓ 45   Changed 22 months ago by dehpeh

no idea? :(

in reply to: ↑ 44   Changed 22 months ago by emostar

Replying to dehpeh:

no idea? :(

I'm quite serious when I saw that I can't reproduce it. So, perhaps you can help me out by letting me have access to a UIN that you experience this with. Also, can you please check the ICQ build number, there are multiple builds for ICQ 5.1 I believe.

Jon

  Changed 22 months ago by dehpeh

weird, i have the problems after a fresh install (german language icq). and my friends have several builds. on my testcomputer i have build 3000.

  Changed 21 months ago by dehpeh

Hello :)

just for information: I have tested the actual svn with rm -rf ~/.licq, but same error. I'm so sad... :(

  Changed 21 months ago by emostar

As I said before, perhaps you can allow me to login with your UIN and password to debug it. I am unable to reproduce it, following the method you have said.

Changed 21 months ago by emostar

Protocol upgrade

  Changed 21 months ago by emostar

give attachment:newdiff.patch a try. It upgrades the icq protocol to version 9, and sends some more capabilities. It's got some extra un-committed stuff in there... but it should compile and run. Let me know how it goes.

  Changed 21 months ago by dehpeh

hey :)

sorry, this patch don't fix this error. but now the user didn't go DND, after i received a (unknown) message. same way, when i change the status from inivisible to online for few seconds and invisible again, all works fine... :(

later i will reg a new icq number for test. i will tell you the result.

  Changed 16 months ago by dehpeh

Hello emostar, i will only inform you, that i have still the problem, but i have no time for help you to debug. I will have plenty of time in few weeks... bye!

  Changed 14 months ago by stephan2503

Hello, i have the same problem with the actual build. does yet exist a temporarily resolution for this problem ? the way i understood the bugreport all the patches does not really work ?

  Changed 14 months ago by dehpeh

Hey, (with svn from 2007-09-27) i can receive messages from ICQ-6 clients, when starting invisible. The problem with ICQ-5.1 clients still exists...

  Changed 12 months ago by dehpeh

I can't recall the moment when my problem started. Is it maybe related to my system change to UTF8?

  Changed 2 months ago by flynd

  • milestone 1.3.6 deleted

  Changed 2 months ago by flynd

#1532 closed as duplicate of this ticket.

Note: See TracTickets for help on using tickets.