Update: I tried to fix this problem myself, but after a while I see
that Yahoo has changed a lot of packet structure:

(19:48:30) yahoo: 56 bytes to read, rxlen is 412
(19:48:30) yahoo: 17 bytes to read, rxlen is 336
(19:48:30) yahoo: 7 bytes to read, rxlen is 299
(19:48:30) yahoo: 157 bytes to read, rxlen is 272
(19:48:30) yahoo: 348 bytes to read, rxlen is 95
(19:48:30) yahoo: 348 bytes to read, rxlen is 368
(19:48:31) yahoo: 73 bytes to read, rxlen is 93
(19:49:59) yahoo: 161 bytes to read, rxlen is 181
(19:50:00) yahoo: 54 bytes to read, rxlen is 74

And for the pager log off packet, the size field  only includes the
data part but not the header, so that is why we are seeing something
like this:

16:18:08) yahoo: 16 bytes to read, rxlen is 36

The first 20 bytes is the header (service + code + etc...), since
pidgin expected and only read the first 16 bytes, the rest of the data
is discarded -> can't update the status when someone logs out.

So I gave up, can't hope to sniff and fix a whole bunch of packets.
_______________________________________________
POST RULES : http://wiki.hanoilug.org/hanoilug:mailing_list_guidelines
_______________________________________________
HanoiLUG mailing lists: http://lists.hanoilug.org/
HanoiLUG wiki: http://wiki.hanoilug.org/
HanoiLUG blog: http://blog.hanoilug.org/

Trả lời cho