jtorchat / jtorchat-old

Academic, Java, p2p, Messaging, Messenger, cyptography
21 stars 12 forks source link

Status packets bombardment #30

Closed meh closed 12 years ago

meh commented 12 years ago

I'm receiving an unholy amount of status packets from a jTorchat user (JTC [T2] 0.7.8).

[2012-04-25 18:16:28 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:16:32 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:16:33 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:16:43 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:16:46 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:01 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:04 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:08 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:14 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:18 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:23 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:28 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:33 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>
[2012-04-25 18:17:38 +0200] << b2g5ekglc4j4dgrp #<Torchat::Packet[status]: :available>

It shouldn't send so many status packets, once every 120 seconds is enough, and obviously on status change.

ghost commented 12 years ago

Interesting, have it any negative effect?

meh commented 12 years ago

Mainly it's annoying by filling my logs and it's useless by protocol.

Just send it every 120 seconds and it will be good.

ghost commented 12 years ago

Normally it does not send so often new messages. I show in the code by the next update.

zerotamaitsu commented 12 years ago

shouldn't be too hard to adjust

ghost commented 12 years ago

jtorchat has ever send one status message always all 100 seconds, when you change the status you can see it in facts in these time. The only ground to send this more is by a new connection.

meh commented 12 years ago

It wasn't a new connection so there's some bug somewhere that makes it keep sending status packets every ~5 seconds.

Is there some GUI thing to check if the user isn't doing anything and autoset the away? It could be in that part.

ghost commented 12 years ago

The user have no control over this, he can only change the buddy status (only away..) But not automatically...

meh commented 12 years ago

The user have no control over this, he can only change the buddy status (only away..) But not automatically...

I'm talking about automatic away.

ghost commented 12 years ago

Facts: jtorchat send a status message every 100 second. jtorchat send a status message by a change. jtorchat send a status message when the status change.

Are you sure that this jtorchat client is from us?

meh commented 12 years ago

Yes, I'm sure. But well, didn't happen again yet, I'll tell you if it happens again.