egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Uptime module - any known bugs?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming
View previous topic :: View next topic  
Author Message
Exterus
Voice


Joined: 09 Feb 2008
Posts: 13

PostPosted: Sat Feb 09, 2008 5:30 pm    Post subject: Uptime module - any known bugs? Reply with quote

Hi!

I have a question that touches both the uptime module and the eggheads uptime contest. I know this site isn't directly involved in the contest, but the eggheads page links here, so I thought I'd give it a go anyway.

Alright, I loaded the module and the bot showed up at the uptime contest page fine at first, but after a few days it was labelled "untrustworthy". Plus, another entry with the same bot name showed up, with the exact same stats. On the info page for the bot, it also says it has only sent 1 packet, even though its uptime is at 10 days by now.

So, are there any known bugs in that module that might cause this? I know about the .restart bug in some earler versions of eggdrop, but that was resolved, right?

http://uptime.eggheads.org/?botnick=Pajsaren
Back to top
View user's profile Send private message
starpossen
Op


Joined: 10 Jan 2006
Posts: 139

PostPosted: Sat Feb 09, 2008 9:50 pm    Post subject: Reply with quote

Maybe it's because you got 3 eggs running?
Im no guru in this module, so i'm just guessing.

For me the module works just fine using version v1.6.18
Back to top
View user's profile Send private message
YooHoo
Owner


Joined: 13 Feb 2003
Posts: 939
Location: Redwood Coast

PostPosted: Sat Feb 09, 2008 10:12 pm    Post subject: Reply with quote

eggheads.org wrote:
"Why is my bot marked as untrustworthy?"

Your bot's uptime is based off the original uptime value you send -- for some reason people cheat and change this original value to make their bot look like it has a higher uptime than it really does. So to help prevent cheating if the first packet your bot sends has an uptime greater than 4 days it will be marked as untrustworthy. There is also a bug in the uptime module for Eggdrop v1.6.10 and below, where if you type ".restart" the module will be unloaded and reloaded -- and the uptime value changes because of this. This bug has been corrected in Eggdrop v1.6.11 and your bot should no longer be marked as untrustworthy if you ".restart".

_________________
Mr. Green
Johoho's TCL for beginners
Mr. Green
Back to top
View user's profile Send private message Send e-mail
Exterus
Voice


Joined: 09 Feb 2008
Posts: 13

PostPosted: Sun Feb 10, 2008 10:32 am    Post subject: Reply with quote

I have one eggdrop running. No more.

And yes, I have read the entry about untrustworthiness on the uptime site. It does not explain WHY my bot has been marked as untrustworthy when I know I'm not cheating. That why I asked if there are any known bugs in the uptime module (except the restart bug, which I mentioned I knew about) that could cause this, or if I have somehow managed to screw it up on my end.
Back to top
View user's profile Send private message
Soth
Voice


Joined: 23 Aug 2008
Posts: 1

PostPosted: Sat Aug 23, 2008 5:17 pm    Post subject: Uptime module (apparently) stops reporting Reply with quote

My bot just stops being listed at all over about a day or so of uptime. Anybody else have similar problems?
Back to top
View user's profile Send private message
Joori
Voice


Joined: 24 Mar 2006
Posts: 34
Location: Sydney

PostPosted: Tue Nov 25, 2008 1:01 pm    Post subject: Reply with quote

Bit of an old thread and sorry to bump it up, but yeah, I'm having the same problem. My eggdrop has been up a day less than my box's uptime ~58 day mark.. and despite a .restart it still shows my eggdrop as being untrustworthy and with no rank number! ...running eggdrop 1.6.19. I thought this bug was fixed? Rolling Eyes
_________________
No Haters, No Spies, Just the love 'tween my thighs!
Back to top
View user's profile Send private message Visit poster's website
evilchen
Voice


Joined: 17 Apr 2008
Posts: 9
Location: Germany - near Cologne

PostPosted: Thu Jan 01, 2009 8:08 am    Post subject: Reply with quote

Hi there,

i've got the same problem.
I'm running 2 eggdrops V 1.6.18

after an hard Restart of the Eggdrops, they are shown for a view days in the List.
after a couple of days they send only 3 or 4 uptime packets.
after maybe 2 or 3 weeks they aren't listet anymore.

i'm sad about this, bcaus my bots are mostly running for Jears without a reboot.
it wouldn't be a Problem to be on one of the highest places of the Score Wink
_________________
Nichts ist so langweilig wie ein Klogang ohne buch.
Oder doch?
Back to top
View user's profile Send private message Visit poster's website
ZubaZ
Voice


Joined: 25 Oct 2007
Posts: 2

PostPosted: Fri Apr 03, 2009 4:22 am    Post subject: uptime problem Reply with quote

So in fact there are only problems and no solution.

I did some testing with tcpdump by grepping the ip of uptime.eggheads.org and find out that actually the port on which the module should send the packet, is giving connection refused. There is any blacklist that we should know of? Or maybe there are some wrong parameters in the module souce.

Code:
chuck:~# tcpdump -vvv -n -i eth2|grep 208.68.107.168
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes
^@11:00:00.323766 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 90) XXXXXXXXX.32773 > 208.68.107.168.9969: UDP, length 62

chuck:~# telnet 208.68.107.168 9969
Trying 208.68.107.168...
telnet: Unable to connect to remote host: Connection refused


This could be the reason of the failure?
Any feedback from developers appreciated!
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2846

PostPosted: Fri Apr 03, 2009 8:02 am    Post subject: Reply with quote

The uptime 'pings' are sent using UTP-packets, which are connectionless. As such, you cannot use the telnet application for testing.
_________________
NML_375, idling at #eggdrop@IrcNET


Last edited by nml375 on Sun May 17, 2009 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
DOSman
Voice


Joined: 17 May 2009
Posts: 2

PostPosted: Sun May 17, 2009 2:31 pm    Post subject: Uptime Contest - Any idea's? Reply with quote

I have an eggdrop bot v6.15 with v1.2 uptime module. This should meet the minimum requirements. My bot used to be on the list but now it is not.
A search on the site did not find it. My bot currently has an uptime of 415 days, and I have reached over a year on other occasions. I just think if might be fun to compete the next time I restart a bot.

That said, and having read and complied with the info page and checked the forums does anyone have any concrete suggestions on how to approach entering this contest? Is there a point of contact?
Back to top
View user's profile Send private message
evilchen
Voice


Joined: 17 Apr 2008
Posts: 9
Location: Germany - near Cologne

PostPosted: Mon May 18, 2009 2:15 pm    Post subject: Reply with quote

At this time i don't have any solutions.

I'm still in hope.
_________________
Nichts ist so langweilig wie ein Klogang ohne buch.
Oder doch?
Back to top
View user's profile Send private message Visit poster's website
DOSman
Voice


Joined: 17 May 2009
Posts: 2

PostPosted: Mon May 18, 2009 7:01 pm    Post subject: Uptime contest Reply with quote

Thanks for the reply evilchen, We are boh hoping, just wish there was something we could do in the meantime.
Back to top
View user's profile Send private message
grnbrg
Voice


Joined: 08 May 2010
Posts: 1

PostPosted: Sat May 08, 2010 11:47 am    Post subject: Uptime contest fixed. Reply with quote

I spent some time working with the devs early in the year, and the uptime contest is now working properly. The main issue was that the logging daemon on the uptime.eggheads.org host was for some reason losing it's connection to the MySQL database that records the contest.

Changes were made to the daemon to fix this, and to drop many bots that were behaving suspiciously. I also produced a patch to the uptime module that randomizes the time that the updates are sent. Originally (and for the foreseeable future, until the patch becomes more widely used) the uptime module sent it's update packets around the top of the hour, and the server would see a noticeable spike in traffic. The patch sends an update every 0-(12 hours * 3600) seconds, which averages out to once every 6 hours or so.

So, if you're running a bot with the uptime module enabled that has been started since around January, check the contest -- you're probably in it and up to date. If you've got an uptime of more than 6 months or so, you're probably flagged as "untrustworthy". Sad Patch your uptime module, and restart your bot.

It's on!


grnbrg.
Back to top
View user's profile Send private message Visit poster's website
evilchen
Voice


Joined: 17 Apr 2008
Posts: 9
Location: Germany - near Cologne

PostPosted: Mon May 10, 2010 6:38 am    Post subject: Reply with quote

thanks for the time u send.
I'll test the patches u made when i find the Time to do so.

I'll report here...
_________________
Nichts ist so langweilig wie ein Klogang ohne buch.
Oder doch?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Modules & Programming All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber