hobbyjobs / miranda

Automatically exported from code.google.com/p/miranda
0 stars 0 forks source link

Yahoo! denied auth requests not sent to yahoo servers. #1388

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Miranda Version                  : 0.9.19
Unicode Build                    : Yes
Test Build # (if applicable)     :
Plugin Version # (if applicable) : 0.9.19

What steps will reproduce the problem?
1.  Reject a Yahoo! authorisation request.  Check Miranda's database.  You will 
see that person in there.  After a few dozen (or more) spammer auth requests, 
your database can become quite full of unwanted entries.

2.  Open the stock Yahoo! Messenger, and you will receive auth requests for the 
people you already rejected inside Miranda.  After rejecting them in the stock 
Yahoo! Messenger, they will finally be removed inside Miranda the next time 
Miranda syncs its database with the yahoo servers.

3.  It seems that instead of sending the correct "I reject this person's auth 
request" message to the Yahoo! servers, Miranda's Yahoo! plugin is instead just 
telling Miranda to ignore those people.  So they are hidden from Miranda's 
buddy list... but they still have entries in the database, and you will still 
have to deny them all over again if you launch the stock Yahoo! Messenger.

4.  I have thoroughly tested disabling plugins, and even using a fresh download 
in a new folder.  This will occur regardless of what plugins you have loaded.  
This is a problem with either the yahoo plugin or Miranda itself.  

What is the expected result?
Miranda should be sending the correct authorisation denial message to Yahoo.

What happens instead?
Miranda instead seems to ignore the rejected "buddies".

Please attach or post your VersionInfo.
[quote][size=1]CPU: Intel(R) Core(TM)2 Quad CPU    Q6700  @ 2.66GHz [Intel64 
Family 6 Model 15 Stepping 11] [DEP enabled] [4 CPUs]
Installed RAM: 8192 MBytes
Operating System: Windows 7 Ultimate [version: 6.1.7601 Service Pack 1]
Shell: explorer.exe, Internet Explorer 9.0.8112
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 318420 MBytes
Miranda path: C:\SOFTWARE\NETWORK\miranda
Miranda IM version: 0.9.19 Unicode [running inside WOW64]
Build time: 22:58:10 on 04 April 2011
Profile path: C:\Users\user\AppData\Roaming\Miranda IM
Profile size: <error 2 at FileOpen>C:\Users\user\AppData\Roaming\Miranda 
IM\user.dat
Profile creation date: <error 2 at 
FileOpen>C:\Users\user\AppData\Roaming\Miranda IM\user.dat
Language pack: icolib [] v. N/A, modified: 08 Mar 2006 at 14:56:26 (UTC -7:00)
Nightly: No
Unicode core: Yes

[b]Active Plugins (23):[/b]
¤ addcontactplus.dll v.[b]0.9.8.6[/b] [11 Apr 2010] - AddContact+ |Unicode 
aware|
¤ advaimg.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Miranda Image services
¤ Aim.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - AIM Protocol |Unicode aware|
¤ avs.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Avatar service (Unicode)
¤ clist_classic.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Classic contact list 
|Unicode aware|
  dbeditorpp.dll v.[b]3.1.3.6[/b] [05 Aug 2006] - Database Editor++
¤ dbx_mmap.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Miranda mmap database driver 
|Unicode aware|
¤ historypp.dll v.[b]1.5.1.4[/b] [24 Feb 2010] - History++ (2in1)
¤ ICQ.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - IcqOscarJ Protocol |Unicode aware|
¤ import.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Import contacts and messages 
|Unicode aware|
¤ jabber.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Jabber Protocol |Unicode aware|
¤ msn.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - MSN Protocol |Unicode aware|
  mToolTip.dll v.[b]0.0.1.6[/b] [22 May 2006] - mToolTip
¤ NewAwaySysW.dll v.[b]0.3.8.2[/b] [13 Oct 2007] - New Away System (Unicode)
¤ NewEventNotify.dll v.[b]0.2.2.3[/b] [14 Jul 2009] - NewEventNotify |Unicode 
aware|
¤ otr.dll v.[b]0.7.0.0[/b] [02 Jun 2008] - OTR
¤ smileyaddw.dll v.[b]0.2.3.15[/b] [12 Jul 2009] - SmileyAdd Unicode
¤ spellcheckerW.dll v.[b]0.2.5.0[/b] [22 Nov 2009] - Spell Checker |Unicode 
aware|
  StatusChange.dll v.[b]0.1.2.2[/b] [30 Jun 2005] - Contacts Status Notification
¤ svc_vi.dll v.[b]1.4.3.3[/b] [14 Apr 2008] - Version Information |Unicode 
aware|
¤ tabsrmm.dll v.[b]3.0.13.0[/b] [04 Apr 2011] - TabSRMM (Unicode)
¤ updater.dll v.[b]0.5.3.0[/b] [29 Jul 2007] - Updater (Unicode)
¤ Yahoo.dll v.[b]0.9.19.0[/b] [04 Apr 2011] - Yahoo Protocol Beta/Nightly 
|Unicode aware|

[b]Unloadable Plugins (3):[/b]
  changeinfo.dll v.[b]0.3.2.0[/b] [16 Jun 2005] - Change User Details
    Plugin does not have an UUID and will not work with Miranda 0.8.

  help.dll v.[b]0.1.2.2[/b] [11 Jan 2007] - Help
    Plugin does not have an UUID and will not work with Miranda 0.8.

  icolib.dll v.[b]0.0.1.6[/b] [26 Oct 2006] - Icons Library Manager (Unicode)
    Plugin does not have an UUID and will not work with Miranda 0.8.

[/size][/quote]

Other Resources:
Attach a Network Log:  http://wiki.miranda-im.org/Network_log
Attach a Crash Report: http://wiki.miranda-im.org/Crash_report

Original issue reported on code.google.com by ltwa...@gmail.com on 18 Jul 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Please use the latest version of Miranda and disable 3rd party plugins when you 
report issues.

Crash Dumper plugin is recommended to create version info reports.

Original comment by sami%mir...@gtempaccount.com on 18 Jul 2011 at 8:00

GoogleCodeExporter commented 9 years ago
Miranda 0.9.19 is not supported. Please update Mireanda and all the plugins to 
the latest version. If you have a problem after that let us know.

Original comment by borkra on 18 Jul 2011 at 11:37

GoogleCodeExporter commented 9 years ago
This is not a bug specific to 0.9.19.  Or to 0.9.x.   This bug has existed for 
literally YEARS.  (I just never got around to doing all the work to track down 
what was happening.)

The problem is that Miranda (or Miranda's Yahoo plugin) is not correctly 
telling the Yahoo servers to reject a buddy-authorisation request.  Instead, 
Miranda is internally just ignoring that person.

I have tried disabling plugins.  They have no impact to this issue.

For further reading, I have a post on the Miranda forums:
http://forums.miranda-im.org/showthread.php?25870-Deleted-contacts-still-in-data
base.

Original comment by ltwa...@gmail.com on 7 Aug 2011 at 6:27

GoogleCodeExporter commented 9 years ago
Yes and VersionInfo shows tons of outdated plugins. In your forums thread, you 
said you hit X button, that was not intended to do what you are trying to do. 
Then you posted, some very long post about how you try many different things 
but nothing specific enough to look into. Thus your post have been ignored.

Bottom line, I do not have such problems that you have. Contacts get rejected 
and deleted just fine. So unless you can provide an evidence of the problem and 
a method to duplicate, nothing to talk about and the issue will be closed.

and BTW, these plugins are outdated, not compatible with latest Miranda and 
thus need to be removed or replaced with later compatible version:

¤ addcontactplus.dll v.[b]0.9.8.6[/b] [11 Apr 2010] - AddContact+ |Unicode 
aware|
  mToolTip.dll v.[b]0.0.1.6[/b] [22 May 2006] - mToolTip   (Use Tipper)
¤ NewAwaySysW.dll v.[b]0.3.8.2[/b] [13 Oct 2007] - New Away System (Unicode)
¤ updater.dll v.[b]0.5.3.0[/b] [29 Jul 2007] - Updater (Unicode)
¤ smileyaddw.dll v.[b]0.2.3.15[/b] [12 Jul 2009] - SmileyAdd Unicode
¤ svc_vi.dll v.[b]1.4.3.3[/b] [14 Apr 2008] - Version Information |Unicode 
aware| (Use Crash Dumper)
  StatusChange.dll v.[b]0.1.2.2[/b] [30 Jun 2005] - Contacts Status Notification

And again please update 0.9.26

Original comment by borkra on 7 Aug 2011 at 8:22

GoogleCodeExporter commented 9 years ago
Just to make sure you're understanding me:

It does NOT matter what my outdated/unsupported plugins you see in my 
versioninfo list.  Why?  Because I have tested and replicated this error with 
every single one of those plugins disabled.  Therefore, we can safely rule that 
those plugins are not related to the issue at hand.

I have since updated to 0.9.26.  

Nothing has change; Miranda still pollutes its database with rejected 
"buddies", and when I log into the official Yahoo! messenger I am asked again 
about the buddy.  Only after rejecting it inside the official Yahoo! messenger 
is the entry deleted from Miranda.

Original comment by ltwa...@gmail.com on 16 Aug 2011 at 9:51

GoogleCodeExporter commented 9 years ago
Ok, well. You do not want to do what you've been asked to do. Your test with 
disabling plugins one by one is bogus, as mor ethen one plugin could cause the 
problem. 

Bottom line, your problem is impossible to duplicate. As such I am closing this 
as not an issue. 

If you will ever decide to follow instructions let us know. And in the mean 
time think about why you have a problem and I for instance do not.

Issue is closed.

Original comment by borkra on 17 Aug 2011 at 12:04

GoogleCodeExporter commented 9 years ago
I'd like to re-open this issue because I've also been experiencing it for ages. 
I use a basic install of Miranda with no plugins. I just upgraded to the latest 
(0.9.42) and it still happens every time. If I get an invite request 
(unfortunately every week or two it happens with yahoo that I get a spam chat 
invite), the Deny response is just ignored, I have to login to mail.yahoo.com 
to deny/block it.

---
[quote][size=1]CPU: Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz [x86 Family 6 
Model 23 Stepping 6] [DEP Enabled] [2 CPUs]
Installed RAM: 3583 MBytes
Operating System: Microsoft Windows 7 Business Edition, 32-bit Service Pack 1 
(build 7601)
Internet Explorer: 9.0.8112.16421 (build 98112)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : English/English | English/English
Free disk space on Miranda partition: 52415 MBytes

Miranda IM Version: 0.9.42 Unicode
Build time: 2012-01-24 03:31:32+1100
Profile: C:\Users\Rob\AppData\Roaming\Miranda\Work\Work.dat
Profile size: 3276800 Bytes
Profile creation date: 2009-11-17 16:45:39+1100
Language pack: No language pack installed
Nightly: No
Unicode: Yes
Service Mode: No

[b]Active Plugins (15):[/b]
¤ advaimg.dll v.[b]0.9.42.0[/b] [2012-01-24 03:29:38+1100] - Miranda Image 
services 
¤ Aim.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:14+1100] - AIM Protocol |Unicode 
aware|
¤ avs.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:20+1100] - Avatar service 
(Unicode) |Unicode aware|
¤ chat.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:26+1100] - Chat |Unicode aware|
¤ clist_classic.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:28+1100] - Classic 
contact list |Unicode aware|
¤ dbx_mmap.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:34+1100] - Miranda mmap 
database driver |Unicode aware|
¤ GG.dll v.[b]0.9.42.0[/b] [2012-01-24 03:29:46+1100] - Gadu-Gadu Protocol 
¤ ICQ.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:50+1100] - IcqOscarJ Protocol 
|Unicode aware|
¤ import.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:54+1100] - Import contacts 
and messages |Unicode aware|
¤ IRC.dll v.[b]0.9.42.0[/b] [2012-01-24 03:29:56+1100] - IRC protocol |Unicode 
aware|
¤ jabber.dll v.[b]0.9.42.0[/b] [2012-01-24 03:31:10+1100] - Jabber Protocol 
|Unicode aware|
¤ msn.dll v.[b]0.9.42.0[/b] [2012-01-24 03:32:22+1100] - MSN Protocol |Unicode 
aware|
¤ srmm.dll v.[b]0.9.42.0[/b] [2012-01-24 03:32:58+1100] - Send/Receive 
Messages |Unicode aware|
¤ svc_crshdmp.dll v.[b]0.0.4.19[/b] [2012-01-31 09:12:56+1100] - Crash Dumper 
Unicode |Unicode aware|
¤ Yahoo.dll v.[b]0.9.42.0[/b] [2012-01-24 03:30:06+1100] - Yahoo Protocol 
|Unicode aware|

[b]Protocols and Accounts:[/b]
-------------------------------------------------------------------------------
AIM                      0 - Enabled 0 - Disabled  Loaded
GG                       0 - Enabled 0 - Disabled  Loaded
ICQ                      0 - Enabled 0 - Disabled  Loaded
IRC                      1 - Enabled 0 - Disabled  Loaded
JABBER                   3 - Enabled 0 - Disabled  Loaded
MSN                      1 - Enabled 0 - Disabled  Loaded
YAHOO                    1 - Enabled 0 - Disabled  Loaded

[b]Icon Packs:[/b]
-------------------------------------------------------------------------------
 proto_AIM.dll [2009-08-02 08:22:36+1100]
 proto_GG.dll [2009-08-02 08:22:38+1100]
 proto_ICQ.dll [2009-08-02 08:22:38+1100]
 proto_IRC.dll [2009-08-02 08:22:40+1100]
 proto_JABBER.dll [2009-08-02 08:22:40+1100]
 proto_MSN.dll [2009-08-02 08:22:42+1100]
 proto_YAHOO.dll [2009-08-02 08:22:44+1100]
 xstatus_ICQ.dll [2012-01-24 03:29:50+1100]
 xstatus_jabber.dll [2012-01-24 03:30:02+1100]
[/size][/quote]
---

Part of the protocol dump...

---
00000000  59 4d 53 47 00 10 00 00  00 00 00 4c 00 00 00 00 YMSG.... ...L....
00000010  00 00 00 00                                      ....
    00000000  59 4d 53 47 00 00 00 00  00 00 00 4c 00 00 00 01 YMSG.... ...L....
    00000010  00 00 00 00                                      ....
00000014  59 4d 53 47 00 10 00 00  00 13 00 57 00 00 00 00 YMSG.... ...W....
00000024  00 00 00 00 31 c0 80 72  6f 62 6d 75 65 6c 6c 65 ....1..r obmuelle
00000034  72 xx xx xx xx c0 80                             rxxxx..
    00000014  59 4d 53 47 00 10 00 00  00 55 00 57 00 00 00 01 YMSG.... .U.W....
    00000024  00 40 c1 7f 31 c0 80 72  6f 62 6d 75 65 6c 6c 65 .@..1..r obmuelle
    00000034  72 xx xx xx xx c0 80 31  33 c0 80 32 c0 80 39 34 rxxxx..1 3..2..94
... more back and forth including buddy list ...
    00000834  59 4d 53 47 00 10 00 00  00 8d 00 d6 00 00 00 03 YMSG.... ........
    00000844  00 40 c1 7f 34 c0 80 73  61 6d 69 72 6b 72 69 6c .@..4..s amirkril
    00000854  69 6e 31 32 c0 80 35 c0  80 xx xx xx xx 6d 75 65 in12..5. .xxxxmue
    00000864  6c 6c 65 72 c0 80 31 34  c0 80 48 69 21 20 50 6c ller..14 ..Hi! Pl
    00000874  65 61 73 65 20 61 64 64  20 6d 65 20 74 6f 20 79 ease add  me to y
    00000884  6f 75 72 20 59 61 68 6f  6f 21 20 4d 65 73 73 65 our Yaho o! Messe
    00000894  6e 67 65 72 20 63 6f 6e  74 61 63 74 20 6c 69 73 nger con tact lis
    000008A4  74 20 73 6f 20 77 65 20  63 61 6e 20 63 68 61 74 t so we  can chat
    000008B4  2e 20 54 68 61 6e 6b 73  21 c0 80 32 31 36 c0 80 . Thanks !..216..
    000008C4  62 68 6f c0 80 32 35 34  c0 80 68 6a 68 67 62 c0 bho..254 ..hjhgb.
    000008D4  80 59 4d 53 47 00 10 00  00 00 06 00 0b 00 00 00 .YMSG... ........
... and more stuff ...
    00000B74  c0 80 33 31 35 c0 80                             ..315..
0000024E  59 4d 53 47 00 10 00 00  00 14 00 c6 00 00 00 00 YMSG.... ........
0000025E  00 40 c1 7f 31 30 c0 80  30 c0 80 31 39 c0 80 c0 .@..10.. 0..19...
0000026E  80 39 37 c0 80 31 c0 80                          .97..1.. 
00000276  59 4d 53 47 00 10 00 00  00 32 00 c6 00 00 00 00 YMSG.... .2......
00000286  00 40 c1 7f 31 30 c0 80  39 39 c0 80 31 39 c0 80 .@..10.. 99..19..
00000296  59 65 70 2c 20 49 27 6d  20 68 65 72 65 2e c0 80 Yep, I'm  here...
000002A6  39 37 c0 80 31 c0 80 34  37 c0 80 30 c0 80 31 38 97..1..4 7..0..18
000002B6  37 c0 80 30 c0 80                                7..0..
000002BC  59 4d 53 47 00 10 00 00  00 32 00 d6 00 00 00 00 YMSG.... .2......
000002CC  00 40 c1 7f 31 c0 80 72  6f 62 6d 75 65 6c 6c 65 .@..1..r obmuelle
000002DC  72 xx xx xx xx c0 80 35  c0 80 73 61 6d 69 72 6b rxxxx..5 ..samirk
000002EC  72 69 6c 69 6e 31 32 c0  80 31 33 c0 80 32 c0 80 rilin12. .13..2..
000002FC  31 34 c0 80 c0 80                                14....
----

One thing I notice in that data, the chat request was sent to a yahoo alias 
address I have, not my primary yahoo address. Might that be part of the 
problem? The deny is being done with my primary address, not the alias?

Original comment by robmuel...@gmail.com on 30 Jan 2012 at 10:30

GoogleCodeExporter commented 9 years ago
This is pointless. Network logs supposed be sent completely without omissions 
or alterations of any kind. 

Your problem is impossible to reproduce. Network Log is impossible to 
interpret. Nothing to talk about.

Original comment by borkra on 31 Jan 2012 at 2:10

GoogleCodeExporter commented 9 years ago
Hmmm, I actually tried to ommitted bits that I thought weren't relevant to the 
problem, to try and narrow it down.

I also gave a theory to the cause of the problem:

One thing I notice in that data, the chat request was sent to a yahoo alias 
address I have, not my primary yahoo address. Might that be part of the 
problem? The deny is being done with my primary address, not the alias?

I was hoping someone who knew the code could check out if that might be the 
cause of the problem.

Original comment by robmuel...@gmail.com on 15 Feb 2012 at 4:42

GoogleCodeExporter commented 9 years ago
I do not understand, where alias came from?

Original comment by borkra on 15 Feb 2012 at 10:36

GoogleCodeExporter commented 9 years ago
1. Login to your yahoo account.
2. Go to: http://edit.yahoo.com/config/list_alias

You can add an extra email address/yahoo id there.

From the network trace I included above, it appears that the new friend request 
is being sent to the alias id I have setup, not my primary id.

So my question, when you deny a friend request, can you include the id that's 
doing the "denying"? If so, does it always use the primary login id, or does it 
use the id sent in the friend request in the first place?

Original comment by robmuel...@gmail.com on 16 Feb 2012 at 10:48

GoogleCodeExporter commented 9 years ago
Any update on this? Have you been able to reproduce the problem by creating an 
alias for your yahoo account, and then trying to send an IM invite to the alias 
rather than your regular account name?

Original comment by robmuel...@gmail.com on 6 Mar 2012 at 11:59

GoogleCodeExporter commented 9 years ago

Original comment by borkra on 7 Mar 2012 at 12:48

GoogleCodeExporter commented 9 years ago
Robmuel:

I checked just to be certain:  I do not have any alias on my yahoo account.

Original comment by ltwa...@gmail.com on 19 Mar 2012 at 3:01

GoogleCodeExporter commented 9 years ago
Well, without alias works for me...

Original comment by borkra on 19 Mar 2012 at 9:06

GoogleCodeExporter commented 9 years ago
So create an alias then!

1. Login to your yahoo account.
2. Go to: http://edit.yahoo.com/config/list_alias
3. Add an extra email address/yahoo id there

Then use another account to send an invitation to the alias address you just 
created, and try and "Deny" that request in Miranda.

I think you'll find that each time you disconnect/reconnect to Yahoo, you'll 
get the request again and again.

Original comment by robmuel...@gmail.com on 27 Apr 2012 at 12:21

GoogleCodeExporter commented 9 years ago
Is there any update on looking into this. It's still quite annoying to have to 
login to mail.yahoo.com regularly to block these requests...

Original comment by robmuel...@gmail.com on 20 May 2012 at 2:05

GoogleCodeExporter commented 9 years ago
I did not have time yet to try alias... If you could create a test case it 
would speedup things.

Original comment by borkra on 20 May 2012 at 3:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r14282.

Original comment by borkra on 3 Jun 2012 at 9:17

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r14283.

Original comment by borkra on 3 Jun 2012 at 9:20