[icq-devel] ICQ Proxy



Jens Olsson jeod02 at student.bth.se
Tue Jan 7 12:57:32 CET 2003


Hi all,

I am trying to create a proxy between icq and the icq server so that I can 
add some extra features.

First I attempted to just make the proxy forward traffic between icq
and the icq server. Doing this by running my "proxy" on 127.0.0.1 and
setting 127.0.0.1 in ICQ settings instead of login.icq.com.

This would be how it is connected:
ICQ(127.0.0.1) <<-->> Proxy(127.0.0.1) <<-->> ICQSERVER(login.icq.com)

Anyway... the ICQSERVER sends a redirect so that ICQ connects to
another server instead (205.188.10.* or something).

My thoughts was then to catch the package containing the redirect in
my Proxy after it is sent from the ICQSERVER and then modify the
redirect from 205.188.10.* to 127.0.0.1 before sending it threw to
ICQ. This however does not seem to work. ICQ refuses to answer to the
package, and it doesn't try to open a new connection either.

I have attached the packages at the end of this message

Maybe someone can take a look at this?
Thanks
//Jens

00000000 2A04 FF78 0128 0001 0009 3137 3637 3237 *..x.(....176727
00000010 3233 3000 0500 1332 3035 2E31 3838 2E31 230....205.188.1
00000020 302E 3138 323A 3531 3930 0006 0100 2B31 0.182:5190....+1
00000030 51DD D9D8 64A7 AE85 7FB0 1D6E 5E9F C79D Q...d......n^...
00000040 BDBE 26B8 C736 78E1 240F 256D B64A E4A8 ..&..6x.$.%m.J..
00000050 E86B 463E 9569 6C3A B029 CC12 E8D9 083D .kF>.il:.).....=
00000060 88AB 377F 018E A1BC E961 1D6A 6C89 C8EC ..7......a.jl...
00000070 8254 B364 E5FB 80DF 978F 1349 2A2A 74FB .T.d.......I**t.
00000080 AC1F 087C 3F58 7B7D C9AD D76A 6EEF CA55 ...|?X{}...jn..U
00000090 42F7 C226 F775 B9F3 2FA1 775B 0202 4824 B..&.u../.w[..H$
000000A0 4ED0 5442 0BD5 10BF C7EF 8EB1 9FB1 3176 N.TB..........1v
000000B0 F456 DB38 C50C D1F8 C2EB 2FBF A7B0 84C0 .V.8....../.....
000000C0 CE67 7723 77CF A032 F23F 6CEA 3F5A 08FB .gw#w..2.?l.?Z..
000000D0 0AFC 5DFA DA41 55E5 D8C2 744D CC2B 7EBA ..]..AU...tM.+~.
000000E0 2B26 FFA4 0719 6FA0 F53A FC6B 7832 38FC +&....o..:.kx28.
000000F0 7F6F AC1B 0C97 1D1B 72E9 0E80 F0CF 8606 .o......r.......
00000100 6E85 B2E1 9363 72A1 7E1A DB16 1B20 954A n....cr.~.... .J
00000110 89FD 622E 2AC9 F98E F685 4BB8 EE93 3D41 ..b.*.....K...=A
00000120 0390 3E13 96DF A858 F05C 8F64 3779      ..>....X.\.d7y

00000000 2A04 FF78 0128 0001 0009 3137 3637 3237 *..x.(....176727
00000010 3233 3000 0500 0E31 3237 2E30 2E30 2E31 230....127.0.0.1
00000020 3A35 3139 3000 0601 002B 3151 DDD9 D864 :5190....+1Q...d
00000030 A7AE 857F B01D 6E5E 9FC7 9DBD BE26 B8C7 ......n^.....&..
00000040 3678 E124 0F25 6DB6 4AE4 A8E8 6B46 3E95 6x.$.%m.J...kF>.
00000050 696C 3AB0 29CC 12E8 D908 3D88 AB37 7F01 il:.).....=..7..
00000060 8EA1 BCE9 611D 6A6C 89C8 EC82 54B3 64E5 ....a.jl....T.d.
00000070 FB80 DF97 8F13 492A 2A74 FBAC 1F08 7C3F ......I**t....|?
00000080 587B 7DC9 ADD7 6A6E EFCA 5542 F7C2 26F7 X{}...jn..UB..&.
00000090 75B9 F32F A177 5B02 0248 244E D054 420B u../.w[..H$N.TB.
000000A0 D510 BFC7 EF8E B19F B131 76F4 56DB 38C5 .........1v.V.8.
000000B0 0CD1 F8C2 EB2F BFA7 B084 C0CE 6777 2377 ...../......gw#w
000000C0 CFA0 32F2 3F6C EA3F 5A08 FB0A FC5D FADA ..2.?l.?Z....]..
000000D0 4155 E5D8 C274 4DCC 2B7E BA2B 26FF A407 AU...tM.+~.+&...
000000E0 196F A0F5 3AFC 6B78 3238 FC7F 6FAC 1B0C .o..:.kx28..o...
000000F0 971D 1B72 E90E 80F0 CF86 066E 85B2 E193 ...r.......n....
00000100 6372 A17E 1ADB 161B 2095 4A89 FD62 2E2A cr.~.... .J..b.*
00000110 C9F9 8EF6 854B B8EE 933D 4103 903E 1396 .....K...=A..>..
00000120 DFA8 58F0 5C8F 6437 79                  ..X.\.d7y
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://vic20.blipp.com/pipermail/icq-devel/attachments/20030107/d2a4b0d8/attachment.htm 


More information about the icq-devel mailing list