Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32800 - SIM 0.9 fails to connect to ICQ Servers
Summary: SIM 0.9 fails to connect to ICQ Servers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sergey Kuleshov (RETIRED)
URL: http://sourceforge.net/forum/forum.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 08:37 UTC by Robert Führicht
Modified: 2003-11-05 10:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Führicht 2003-11-05 08:37:36 UTC
See here: 
http://sourceforge.net/forum/forum.php?thread_id=965127&forum_id=190534

Reproducible: Sometimes
Steps to Reproduce:
1. start sim
2. try to connect


Actual Results:  
tells you something about rate limit and doesn't connect

Expected Results:  
connect to the stupid server...

possible Solution here:

Patch for ebuild:

--- /usr/portage/net-im/sim/sim-0.9.ebuild      2003-11-04 07:57:17.000000000 +0000
+++ /usr/local/portage/net-im/sim/sim-0.9.ebuild        2003-11-05
17:25:36.060671816 +0000
@@ -27,6 +27,7 @@
        sed -i "s:head -\([0-9]\):head -n \1:g" acinclude.m4 aclocal.m4 configure
        sed -i "s:\.\/Makefile:Makefile:g" configure
        sed -i 's:rm -rf $(sim_plugindir)/.*::g' plugins/*/Makefile.in
+       epatch ${FILESDIR}/${P}-anti_blacklist.diff
 }
 
 src_compile() {

sim-0.9-anti_blacklist.diff:

diff -Nur sim-0.9-orig/plugins/icq/icqlogin.cpp sim-0.9/plugins/icq/icqlogin.cpp
--- sim-0.9-orig/plugins/icq/icqlogin.cpp       2003-11-05 17:14:46.920356144 +0000
+++ sim-0.9/plugins/icq/icqlogin.cpp    2003-11-05 17:18:54.343742072 +0000
@@ -134,15 +134,15 @@
         m_socket->writeBuffer << 0x00000001L;
         m_socket->writeBuffer.tlv(0x0001, uin);
         m_socket->writeBuffer.tlv(0x0002, pass, n);
-        m_socket->writeBuffer.tlv(0x0003, "ICQBasic");
+        m_socket->writeBuffer.tlv(0x0003, "ICQ Inc. - Product of ICQ
(TM).2001b.5.17.1.3642.85");
         m_socket->writeBuffer.tlv(0x0016, 0x010A);
-        m_socket->writeBuffer.tlv(0x0017, 0x0014);
-        m_socket->writeBuffer.tlv(0x0018, 0x0009);
-        m_socket->writeBuffer.tlv(0x0019, 0x0000);
-        m_socket->writeBuffer.tlv(0x001A, 0x04E5);
-        m_socket->writeBuffer.tlv(0x0014, 0x0000043DL);
-        m_socket->writeBuffer.tlv(0x000f, "en");
+        m_socket->writeBuffer.tlv(0x0017, 0x0005);
+        m_socket->writeBuffer.tlv(0x0018, 0x0011);
+        m_socket->writeBuffer.tlv(0x0019, 0x0001);
+        m_socket->writeBuffer.tlv(0x001A, 0x0E3A);
+        m_socket->writeBuffer.tlv(0x0014, 0x00000055L);
         m_socket->writeBuffer.tlv(0x000e, "us");
+        m_socket->writeBuffer.tlv(0x000f, "en");
         sendPacket();
         return;
     }
Comment 1 Sergey Kuleshov (RETIRED) gentoo-dev 2003-11-05 09:02:41 UTC
Testing this now, if it works out will commit it to cvs.
Comment 2 Sergey Kuleshov (RETIRED) gentoo-dev 2003-11-05 09:03:49 UTC
Testing this now, if it works out will commit it to cvs.
Comment 3 Robert Führicht 2003-11-05 09:09:49 UTC
just completed compiling, works over here.
Comment 4 Sergey Kuleshov (RETIRED) gentoo-dev 2003-11-05 10:39:17 UTC
Add the patch. Thanks for reporing :)