Wireshark-dev: Re: [Wireshark-dev] [patch] YMSG dissector update
From: "Gennady Feldman" <gena01@xxxxxxxxx>
Date: Mon, 30 Oct 2006 11:21:04 -0400
Did anybody have a chance to look over my patch?
Gena01
Gena01
On 10/25/06, Gennady Feldman <gena01@xxxxxxxxx> wrote:
Here is an updated patch. Should be pretty safe. Just added a couple of constants and changed some strings to be cleaner and easier to read.
Gena01On 9/18/06, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:Hi,
Checked in, with the additional change in the version number
Thanx,
Jaap
On Mon, 18 Sep 2006, Gena01 wrote:
> This should cover most of the services for Yahoo 7. (protocol version 13)
>
> Gena
>
> On 9/18/06, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
> >
> > Hi,
> >
> > So which protocol version is it supporting i.s.o version 9?
> > That should be stated in the header of the file.
> >
> > Thanx,
> > Jaap
> >
> > On Mon, 18 Sep 2006, Gena01 wrote:
> >
> > > My patch provides new codes for the yahoo_status. I just didn't remove
> > the
> > > old constants.
> > >
> > > I guess it could be split into two parts:
> > > 1. New Service constants
> > > 2. New packet statuses which replace the old yahoo_status codes
> > >
> > > Gena
> > >
> > > On 9/18/06, Jaap Keuter <jaap.keuter@xxxxxxxxx > wrote:
> > > >
> > > > Hi,
> > > >
> > > > This patch turns over the yahoo_status stuff completely. Sounds not
> > very
> > > > backwards compatible to me?
> > > >
> > > > Thanx,
> > > > Jaap
> > > >
> > > > On Thu, 14 Sep 2006, Gena01 wrote:
> > > >
> > > > > I am Yahoo plugin developer for Miranda IM
> > http://www.miranda-im.org
> > > > >
> > > > > I have put together a patch for YMSG packet dissector. This is based
> > on
> > > > my
> > > > > own code and service lists (this should match Gaim and Kopete
> > service
> > > > > lists). This new code should bring the code up to par to most of the
> > > > known
> > > > > services. Which should cover up to Yahoo 7.x or most of it.
> > > > >
> > > > > I have also setup a new set of constants which are specific to YMSG
> > > > packets.
> > > > > These are the types that I've seen in miranda network logs and they
> > > > should
> > > > > reveal more information. The other constants are mostly for buddy
> > > > statuses
> > > > > and need nor apply to the YMSG header. I have left them in the code
> > > > (for
> > > > > now). These constants are currently used in my own code.
> > > > >
> > > > > P.S. I haven't touched the copyright or author pieces, since I am
> > not
> > > > sure
> > > > > how those should be updated.
> > > > >
> > > > > Thank you,
> > > > >
> > > > > G.F. aka Gena01
> > > > >
> > > >
> > > > _______________________________________________
> > > > Wireshark-dev mailing list
> > > > Wireshark-dev@xxxxxxxxxxxxx
> > > > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> > > >
> > >
> >
> > _______________________________________________
> > Wireshark-dev mailing list
> > Wireshark-dev@xxxxxxxxxxxxx
> > http://www.wireshark.org/mailman/listinfo/wireshark-dev
> >
>
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@xxxxxxxxxxxxx
http://www.wireshark.org/mailman/listinfo/wireshark-dev
Index: packet-ymsg.c =================================================================== --- packet-ymsg.c (revision 19694) +++ packet-ymsg.c (working copy) @@ -197,10 +197,12 @@ YPACKET_STATUS_DEFAULT = 0, YPACKET_STATUS_SERVERACK = 1, YPACKET_STATUS_GAME = 0x2, + YPACKET_STATUS_AWAY = 0x4, YPACKET_STATUS_CONTINUED = 0x5, YPACKET_STATUS_INVISIBLE = 12, YPACKET_STATUS_NOTIFY = 0x16, /* TYPING */ - YPACKET_STATUS_WEBLOGIN = 0x5a55aa55 + YPACKET_STATUS_WEBLOGIN = 0x5a55aa55, + YPACKET_STATUS_OFFLINE = 0x5a55aa56 }; struct yahoo_rawpacket @@ -233,7 +235,7 @@ {YAHOO_SERVICE_ADDIDENT, "Add Identity"}, {YAHOO_SERVICE_ADDIGNORE, "Add Ignore"}, {YAHOO_SERVICE_PING, "Ping"}, - {YAHOO_SERVICE_GOTGROUPRENAME, "YAHOO_SERVICE_GOTGROUPRENAME"}, + {YAHOO_SERVICE_GOTGROUPRENAME, "Got Group Rename"}, {YAHOO_SERVICE_SYSMESSAGE, "System Message"}, {YAHOO_SERVICE_SKINNAME, "YAHOO_SERVICE_SKINNAME"}, {YAHOO_SERVICE_PASSTHROUGH2, "Passthrough 2"}, @@ -251,51 +253,51 @@ {YAHOO_SERVICE_GAMEMSG, "Game Message"}, {YAHOO_SERVICE_FILETRANSFER, "File Transfer"}, {YAHOO_SERVICE_VOICECHAT, "Voice Chat"}, - {YAHOO_SERVICE_NOTIFY, "YAHOO_SERVICE_NOTIFY"}, - {YAHOO_SERVICE_VERIFY, "YAHOO_SERVICE_VERIFY"}, - {YAHOO_SERVICE_P2PFILEXFER, "YAHOO_SERVICE_P2PFILEXFER"}, - {YAHOO_SERVICE_PEERTOPEER, "YAHOO_SERVICE_PEERTOPEER"}, - {YAHOO_SERVICE_WEBCAM, "YAHOO_SERVICE_WEBCAM"}, - {YAHOO_SERVICE_AUTHRESP, "YAHOO_SERVICE_AUTHRESP"}, - {YAHOO_SERVICE_LIST, "YAHOO_SERVICE_LIST"}, - {YAHOO_SERVICE_AUTH, "YAHOO_SERVICE_AUTH"}, - {YAHOO_SERVICE_ADDBUDDY, "YAHOO_SERVICE_ADDBUDDY"}, - {YAHOO_SERVICE_REMBUDDY, "YAHOO_SERVICE_REMBUDDY"}, - {YAHOO_SERVICE_IGNORECONTACT, "YAHOO_SERVICE_IGNORECONTACT"}, - {YAHOO_SERVICE_REJECTCONTACT, "YAHOO_SERVICE_REJECTCONTACT"}, - {YAHOO_SERVICE_GROUPRENAME, "Group Renamed"}, - {YAHOO_SERVICE_CHATONLINE, "YAHOO_SERVICE_CHATONLINE"}, - {YAHOO_SERVICE_CHATGOTO, "YAHOO_SERVICE_CHATGOTO"}, - {YAHOO_SERVICE_CHATJOIN, "YAHOO_SERVICE_CHATJOIN"}, - {YAHOO_SERVICE_CHATLEAVE, "YAHOO_SERVICE_CHATLEAVE"}, - {YAHOO_SERVICE_CHATEXIT, "YAHOO_SERVICE_CHATEXIT"}, - {YAHOO_SERVICE_CHATADDINVITE, "YAHOO_SERVICE_CHATADDINVITE"}, - {YAHOO_SERVICE_CHATLOGOUT, "YAHOO_SERVICE_CHATLOGOUT"}, - {YAHOO_SERVICE_CHATPING, "YAHOO_SERVICE_CHATPING"}, - {YAHOO_SERVICE_COMMENT, "YAHOO_SERVICE_COMMENT"}, - {YAHOO_SERVICE_GAME_INVITE,"YAHOO_SERVICE_GAME_INVITE "}, - {YAHOO_SERVICE_STEALTH_PERM, "YAHOO_SERVICE_STEALTH_PERM"}, - {YAHOO_SERVICE_STEALTH_SESSION, "YAHOO_SERVICE_STEALTH_SESSION"}, - {YAHOO_SERVICE_AVATAR, "YAHOO_SERVICE_AVATAR"}, - {YAHOO_SERVICE_PICTURE_CHECKSUM, "YAHOO_SERVICE_PICTURE_CHECKSUM"}, - {YAHOO_SERVICE_PICTURE, "YAHOO_SERVICE_PICTURE"}, - {YAHOO_SERVICE_PICTURE_UPDATE, "YAHOO_SERVICE_PICTURE_UPDATE"}, - {YAHOO_SERVICE_PICTURE_UPLOAD, "YAHOO_SERVICE_PICTURE_UPLOAD"}, - {YAHOO_SERVICE_YAB_UPDATE,"YAHOO_SERVICE_YAB_UPDATE"}, - {YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, "YAHOO_SERVICE_Y6_VISIBLE_TOGGLE"}, - {YAHOO_SERVICE_Y6_STATUS_UPDATE, "YAHOO_SERVICE_Y6_STATUS_UPDATE"}, - {YAHOO_SERVICE_PICTURE_STATUS, "YAHOO_SERVICE_PICTURE_STATUS"}, - {YAHOO_SERVICE_VERIFY_ID_EXISTS, "YAHOO_SERVICE_VERIFY_ID_EXISTS"}, - {YAHOO_SERVICE_AUDIBLE, "YAHOO_SERVICE_AUDIBLE"}, - {YAHOO_SERVICE_Y7_CONTACT_DETAILS,"YAHOO_SERVICE_Y7_CONTACT_DETAILS"}, - {YAHOO_SERVICE_Y7_CHAT_SESSION, "YAHOO_SERVICE_Y7_CHAT_SESSION"}, - {YAHOO_SERVICE_Y7_AUTHORIZATION,"YAHOO_SERVICE_Y7_AUTHORIZATION"}, - {YAHOO_SERVICE_Y7_FILETRANSFER,"YAHOO_SERVICE_Y7_FILETRANSFER"}, - {YAHOO_SERVICE_Y7_FILETRANSFERINFO,"YAHOO_SERVICE_Y7_FILETRANSFERINFO"}, - {YAHOO_SERVICE_Y7_FILETRANSFERACCEPT,"YAHOO_SERVICE_Y7_FILETRANSFERACCEPT"}, - {YAHOO_SERVICE_Y7_CHANGE_GROUP, "YAHOO_SERVICE_Y7_CHANGE_GROUP"}, - {YAHOO_SERVICE_WEBLOGIN, "YAHOO_SERVICE_WEBLOGIN"}, - {YAHOO_SERVICE_SMS_MSG, "YAHOO_SERVICE_SMS_MSG"}, + {YAHOO_SERVICE_NOTIFY, "Notify"}, + {YAHOO_SERVICE_VERIFY, "Verify"}, + {YAHOO_SERVICE_P2PFILEXFER, "P2P File Transfer"}, + {YAHOO_SERVICE_PEERTOPEER, "Peer To Peer"}, + {YAHOO_SERVICE_WEBCAM, "WebCam"}, + {YAHOO_SERVICE_AUTHRESP, "Authentication Response"}, + {YAHOO_SERVICE_LIST, "List"}, + {YAHOO_SERVICE_AUTH, "Authentication"}, + {YAHOO_SERVICE_ADDBUDDY, "Add Buddy"}, + {YAHOO_SERVICE_REMBUDDY, "Remove Buddy"}, + {YAHOO_SERVICE_IGNORECONTACT, "Ignore Contact"}, + {YAHOO_SERVICE_REJECTCONTACT, "Reject Contact"}, + {YAHOO_SERVICE_GROUPRENAME, "Group Rename"}, + {YAHOO_SERVICE_CHATONLINE, "Chat Online"}, + {YAHOO_SERVICE_CHATGOTO, "Chat Goto"}, + {YAHOO_SERVICE_CHATJOIN, "Chat Join"}, + {YAHOO_SERVICE_CHATLEAVE, "Chat Leave"}, + {YAHOO_SERVICE_CHATEXIT, "Chat Exit"}, + {YAHOO_SERVICE_CHATADDINVITE, "Chat Invite"}, + {YAHOO_SERVICE_CHATLOGOUT, "Chat Logout"}, + {YAHOO_SERVICE_CHATPING, "Chat Ping"}, + {YAHOO_SERVICE_COMMENT, "Comment"}, + {YAHOO_SERVICE_GAME_INVITE,"Game Invite"}, + {YAHOO_SERVICE_STEALTH_PERM, "Stealth Permanent"}, + {YAHOO_SERVICE_STEALTH_SESSION, "Stealth Session"}, + {YAHOO_SERVICE_AVATAR,"Avatar"}, + {YAHOO_SERVICE_PICTURE_CHECKSUM,"Picture Checksum"}, + {YAHOO_SERVICE_PICTURE,"Picture"}, + {YAHOO_SERVICE_PICTURE_UPDATE,"Picture Update"}, + {YAHOO_SERVICE_PICTURE_UPLOAD,"Picture Upload"}, + {YAHOO_SERVICE_YAB_UPDATE,"Yahoo Address Book Update"}, + {YAHOO_SERVICE_Y6_VISIBLE_TOGGLE, "Y6 Visibility Toggle"}, + {YAHOO_SERVICE_Y6_STATUS_UPDATE, "Y6 Status Update"}, + {YAHOO_SERVICE_PICTURE_STATUS, "Picture Sharing Status"}, + {YAHOO_SERVICE_VERIFY_ID_EXISTS, "Verify ID Exists"}, + {YAHOO_SERVICE_AUDIBLE, "Audible"}, + {YAHOO_SERVICE_Y7_CONTACT_DETAILS,"Y7 Contact Details"}, + {YAHOO_SERVICE_Y7_CHAT_SESSION, "Y7 Chat Session"}, + {YAHOO_SERVICE_Y7_AUTHORIZATION,"Y7 Buddy Authorization"}, + {YAHOO_SERVICE_Y7_FILETRANSFER,"Y7 File Transfer"}, + {YAHOO_SERVICE_Y7_FILETRANSFERINFO,"Y7 File Transfer Information"}, + {YAHOO_SERVICE_Y7_FILETRANSFERACCEPT,"Y7 File Transfer Accept"}, + {YAHOO_SERVICE_Y7_CHANGE_GROUP, "Y7 Change Group"}, + {YAHOO_SERVICE_WEBLOGIN,"WebLogin"}, + {YAHOO_SERVICE_SMS_MSG,"SMS Message"}, {0, NULL} }; @@ -304,9 +306,11 @@ {YPACKET_STATUS_DEFAULT,""}, {YPACKET_STATUS_SERVERACK,"Server Ack"}, {YPACKET_STATUS_GAME,"Playing Game"}, + {YPACKET_STATUS_AWAY, "Away"}, {YPACKET_STATUS_CONTINUED,"More Packets??"}, {YPACKET_STATUS_NOTIFY, "Notify"}, {YPACKET_STATUS_WEBLOGIN,"Web Login"}, + {YPACKET_STATUS_OFFLINE,"Offline"}, {0, NULL} };
- Follow-Ups:
- Re: [Wireshark-dev] [patch] YMSG dissector update
- From: Jaap Keuter
- Re: [Wireshark-dev] [patch] YMSG dissector update
- References:
- Re: [Wireshark-dev] [patch] YMSG dissector update
- From: Gennady Feldman
- Re: [Wireshark-dev] [patch] YMSG dissector update
- Prev by Date: Re: [Wireshark-dev] Wireshark and real-time network issue detection?
- Next by Date: [Wireshark-dev] Is using a locally defined (ie defined in the function) memory , to store the structure elements in tvb --safer?
- Previous by thread: Re: [Wireshark-dev] [patch] YMSG dissector update
- Next by thread: Re: [Wireshark-dev] [patch] YMSG dissector update
- Index(es):