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 

What is This?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
chandra Sha
Voice


Joined: 31 Oct 2006
Posts: 12
Location: South Borneo

PostPosted: Tue Dec 12, 2006 10:25 am    Post subject: What is This? Reply with quote

on my LOG, I found this:

[21:13] CTCP CHAT: from Mundo^meida (mundo@Ip.xx.xx.xx)
[21:13] -Mundo^meida (mundo@Ip.xx.xx.xx)- DCC Chat (Ip.xx.xx.xx)
[21:13] Refused DCC chat (no access): Mundo^meida!mundo@Ip.xx.xx.xx
[21:13] CTCP CHAT: chat 2107653895 1024 from Mundo^meida (mundo@Ip.xx.xx.xx)

What mean: 2107653895 1024 ? what i know 2107653895 is not unixtime, because i try convert it and result for 2107653895 is 10/15/2036 at 03:24:55 GMT

thx.
Back to top
View user's profile Send private message Yahoo Messenger
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Tue Dec 12, 2006 10:38 am    Post subject: Reply with quote

2107653895 would be a "longip", basically a different format of an ip-address. In this case, the ip would be 125.160.63.7. the second number is a randomly chosen port-number.

Basically, Mundo^media tried to dcc-chat your bot, yet your bot could'nt find a matching user in it's database with access to the partyline, and thus it rejected the connection
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
ZEXEL
Halfop


Joined: 27 Jun 2006
Posts: 45

PostPosted: Wed Dec 13, 2006 10:25 am    Post subject: Re: What is This? Reply with quote

chandra Sha wrote:
on my LOG, I found this:

[21:13] CTCP CHAT: from Mundo^meida (mundo@Ip.xx.xx.xx)
[21:13] -Mundo^meida (mundo@Ip.xx.xx.xx)- DCC Chat (Ip.xx.xx.xx)
[21:13] Refused DCC chat (no access): Mundo^meida!mundo@Ip.xx.xx.xx
[21:13] CTCP CHAT: chat 2107653895 1024 from Mundo^meida (mundo@Ip.xx.xx.xx)

What mean: 2107653895 1024 ? what i know 2107653895 is not unixtime, because i try convert it and result for 2107653895 is 10/15/2036 at 03:24:55 GMT

thx.


Haloo "komenggg"
convert LongIP into StringIP: http://www.elfqrin.com/LongIP.html

I hope it help you...
Wink Wink Wink Salam Banjarmasin dr me and Kobe... Wink Wink Wink
_________________
.:[ Knowledge Is The Power ]:.
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Dec 14, 2006 2:04 am    Post subject: tcl inet_ntoa convert longip to dotted quad Reply with quote

I found this:

Code:

# convert long ip to dotted quad ip
proc inet_ntoa { ipaddr } {
        set bin [binary format i $ipaddr]
        binary scan $bin cccc a b c d
        set a [expr { ($a + 0x100) % 0x100 }]
        set b [expr { ($b + 0x100) % 0x100 }]
        set c [expr { ($c + 0x100) % 0x100 }]
        set d [expr { ($d + 0x100) % 0x100 }]
        #
        # Note: this is what was in the original, it presents the dotted quad ip *backwards*...
        # I don't know if that is how inet_ntoa normally behaves -rosc
        #return "$a.$b.$c.$d"
        #
        # So, for my purposes, I present the dotted quad ip in the right order.
        return "$d.$c.$b.$a"
}

I also posted a question in the help forum, to figure out how to convert the dotted quad ip to a longip.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help 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