View previous topic :: View next topic |
Author |
Message |
chandra Sha Voice

Joined: 31 Oct 2006 Posts: 12 Location: South Borneo
|
Posted: Tue Dec 12, 2006 10:25 am Post subject: What is This? |
|
|
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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Dec 12, 2006 10:38 am Post subject: |
|
|
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 |
|
 |
ZEXEL Halfop

Joined: 27 Jun 2006 Posts: 45
|
Posted: Wed Dec 13, 2006 10:25 am Post subject: Re: What is This? |
|
|
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...
Salam Banjarmasin dr me and Kobe...  _________________ .:[ Knowledge Is The Power ]:. |
|
Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Dec 14, 2006 2:04 am Post subject: tcl inet_ntoa convert longip to dotted quad |
|
|
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 |
|
 |
|