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 

bot dont recognize because of dynamic ip
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Sun Dec 11, 2005 6:14 am    Post subject: bot dont recognize because of dynamic ip Reply with quote

i got the eggy to work for 1 month, and everything was fine until my ip changed. the bot dont recognize me and i can't dcc chat. i have set my settings to :

set protect-telnet 1
set open-telnets 1

how can i make the bot recognize me agian and how can i prevent this from happening? (to make the bot recognize me even tho my ip changes with just username and password)
Back to top
View user's profile Send private message
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Sun Dec 11, 2005 9:33 am    Post subject: Reply with quote

You can try these methods:
1. add to yourself a host -telnet!*@* to use telnet from everywhere
2. We say that your dynamic host looks like dynamic-18.somehost.com You can add to yourself a host *!Ident@*.somehost.com
3. You can add to yourself by nick: Nick!*@*
4. You can add to yourself by ident: *!ident@*
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Sun Dec 11, 2005 11:50 am    Post subject: Reply with quote

where do i add that? can you give me a link or show me the steps plz? i never have added a host before? is it in the conf file?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Sun Dec 11, 2005 12:19 pm    Post subject: Reply with quote

Adding nick!*@* or *!ident@* is very insecure and is never recommended. You simply need to telnet to your bot and add your new host to your handle. Another things to look at are the private ident and addhost commands in the .conf file.
Quote:
# Many takeover attempts occur due to lame users blindly /msg ident'ing to
# the bot and attempting to guess passwords. We now unbind this command by
# default to discourage them. You can enable these commands by commenting the
# following two lines.
unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost

Read the comments carefuly, you've been warned.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Sun Dec 11, 2005 11:10 pm    Post subject: Reply with quote

but in what lines do i add my nick with host in?
and how the format should be like this:
add ~chubby@*.telenor.net
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Dec 11, 2005 11:30 pm    Post subject: Reply with quote

Code:
.+host chubbychub *!chubby@*.telenor.net

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
IRCNick
Halfop


Joined: 12 Oct 2005
Posts: 64
Location: Germany

PostPosted: Mon Dec 12, 2005 6:02 am    Post subject: Reply with quote

Alchera wrote:
Code:
.+host chubbychub *!chubby@*.telenor.net


If u are using a 9 handle eggdrop, u handle have to be only 9 chars long and u eggdrop will cut u nick to chubbychu . Just telnet or dcc to u bot and try:

Code:
.+host chubbychu *!chubby@*.telenor.net
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Mon Dec 12, 2005 6:14 am    Post subject: Reply with quote

oh.. you mean thru dcc chat.. i thought it was the conf file that i was supposed to add. I can't dcc chat to it now since it dont recognizes me.
how else can i add myself in? someone on irc told me to telnet in but i dunno how and he wasn't specific and didn't tell me more than that. thaks in advance.
do i need to edit a new conf file , msg hello , then add my host ? is there a way to get around making a new conf file?
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Mon Dec 12, 2005 7:09 am    Post subject: Reply with quote

Quote:
telnet <my-ip> <listen-port>

this is the same as DCC chat, <my-ip> is the my-ip setting in your config and <listen-port> is the port you specify in the config (example: listen 3333 all)

Another solution would be to delete the .user file and restart the bot, then you can /msg <bot> hello again.
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Mon Dec 12, 2005 9:42 pm    Post subject: Reply with quote

when i ssh into the shell and remover the bot.user file, with this command: rm bot.user
then ls
i dont see the file but when i restart the bot the file appears agian
why??
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Dec 12, 2005 9:45 pm    Post subject: Reply with quote

Because you are supposed to kill the bot for a start and then delete BOTH .user and .user~bak
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Tue Dec 13, 2005 8:16 pm    Post subject: Reply with quote

ok.. i got it to work and to recognized me
by adding the host.. but i need it to add this command in:
.+host *chubby*
now it works.. but i dunno what that command does if someone could tell me plz. someone on irc told me to do that.
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Tue Dec 13, 2005 8:35 pm    Post subject: Reply with quote

.+host *chubby*!*@* and now anybody that has 'chubby' in his nick can access your eggdrop, good luck Smile
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
chubbychub
Voice


Joined: 09 Oct 2005
Posts: 38
Location: gotham city

PostPosted: Tue Dec 13, 2005 10:36 pm    Post subject: Reply with quote

they will need to know my password to be able to dcc chat with them right? if they dont get the right password.. it will drop the connection.. is this correct?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Tue Dec 13, 2005 11:11 pm    Post subject: Reply with quote

chubbychub wrote:
they will need to know my password to be able to dcc chat with them right? if they dont get the right password.. it will drop the connection.. is this correct?

yes
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
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 -> Eggdrop Help All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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