[icq-devel] SNAC4-6,7 for file transfer



sharc sharc at tut.by
Fri Oct 3 10:03:27 CEST 2003


Hi all!
I parsed SNAC 4,6 for file transfere request, but some data still unknown for me. I advert to different docs but couldn't find same format of this packet. This packet was generated with Miranda and ICQ2003b. Maybe someone know what info is keeping at unparsed data.
There is the packet format:
00 04
00 06
00 00
00 0A 00 06
-----------------
xx xx xx xx
xx xx xx xx		// msg cookie
00 02			// msg channel
xx			// receiver UIN length
xx ... 			// receiver UIN

TLV 5 (...)
	00 00			// zero
	xx xx xx xx
	xx xx xx xx		// msg cookie (duplicate)
	xx xx xx xx xx xx xx xx
	xx xx xx xx xx xx xx xx //{09461349-4C7F-11D1-8222-444553540000}
	TLV 0A		(00 01, 2)
	TLV 0F		(EMPTY)
	TLV 03		(IP OF USER, 4)
	TLV 05		(17 1B, 2)
	TLV 2711	(WITH INTERNAL DATA)
TLV 3 (empty)
----------------


structure of TLV 2711	// notice that all data of TLV2711 is Low - endian

1B 00 			// length of first block (always 27)
	0A 00			// protocol version
	00 00 00 00 00 00 00 00
	00 00 00 00 00 00 00 00	// empty capability
	00 00			// zero (?)
	03 00 00 00		// client features
	04			// firewall deatails
	xx xx			// word counter (from FFFF to 8001)
0E 00			// length of second block
	xx xx			// word counter (from FFFF to 8001) (duplicate)
	xx xx xx xx		// list ID (?)
	00 00 00 00		// zero
	00 00 00 00		// zero
1a 00			// message types: 1a00-plugin 0300-filetransfer 0200-chat 0100-message

	// now i have some troubles with this part of packet
00 00 01 00 01 00 00 29 00 F0 2D 12 D9 30 91 D3
11 8D D7 00 10 4B 06 46 2E 00 00 04 00 00 00 46
69 6C C5 00 00 01 00 00 01 00 00 00 00 00 00 00
00 00
	// <--
xx xx xx xx		// length of block
	xx xx xx xx		// length of description
	xx ..			// file description
	00 00 00 00		// zero (?)
	xx xx			// length of filename
	xx ...			// filename (null-terminated)
	xx xx xx xx		// length of file
	00 00 00 00

There are only 50 Bytes , that harras me at night :-)
Hope to your help...



More information about the icq-devel mailing list