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 

DCC connect issue with VPN?

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


Joined: 16 Jan 2022
Posts: 9

PostPosted: Tue Feb 22, 2022 4:22 pm    Post subject: DCC connect issue with VPN? Reply with quote

Hiyas!

I can CTCP to my bots when I first start them. No issues at all.

When my IP changes because of my VPN, CTCP connects, but I never get a username prompt. I need to restart the bot(s) to get it working again. That's a hassle, as I need to move clients into channels to hold them with Ops, etc..

Rehash and restart don't resolve the issue - I have to kill the process or bot die, then restart, and then it works flawlessly the rest of the day.

Any ideas how I can prevent this from happening? Other than "don't use a VPN", lol Smile

Hosted externally, no SSL, using basic DCC/Telnet settings.

Thanks in advance for any insight!
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Tue Feb 22, 2022 6:50 pm    Post subject: Reply with quote

Probably related to https://github.com/eggheads/eggdrop/issues/1174

Try to set resolve-timeout 0, but no garantee
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
fusionx
Voice


Joined: 16 Jan 2022
Posts: 9

PostPosted: Wed Feb 23, 2022 1:53 am    Post subject: Reply with quote

Thanks very much! This is driving me crazy.. heh..

I tried that, restarted the bots, connected first time with ctcp, and dc'ed. And waited.. my VPN eventually dc'ed me, reconnected right away, and.. can't fully connect with ctcp again. So that didn't solve it.

It's got to be something about the VPN, though I can't see why that would matter at all. We should be able to ctcp from any IP.

Hmmm.. I'm also on ZNC on the same server.. and why that would matter I have no clue. I'm not a networking guy.. or a Linux guy.

I'm not really rambling - lol. Trying to put down my experience in case anyone else is looking for answers.

CrazyCat wrote:
Probably related to https://github.com/eggheads/eggdrop/issues/1174

Try to set resolve-timeout 0, but no garantee
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1168

PostPosted: Wed Feb 23, 2022 10:17 am    Post subject: Reply with quote

Can you telnet into the bot's partyline?
If you can, and just sit there, staying connected - maybe you'll see something in the partyline that could be a clue?

Even experiment with the console flags, allowing yourself to see more, sometimes.


Just a thought.....
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
willyw
Revered One


Joined: 15 Jan 2009
Posts: 1168

PostPosted: Wed Feb 23, 2022 10:20 am    Post subject: Re: DCC connect issue with VPN? Reply with quote

fusionx wrote:

... as I need to move clients into channels to hold them with Ops, etc..
...



Put two or more bots in those channels. Have them op each other.

( This doesn't solve your original problem - I just couldn't help but say it. Smile )
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Wed Feb 23, 2022 1:37 pm    Post subject: Reply with quote

With your VPN, peharps is it a trouble with your hostmask in the eggdrop
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
fusionx
Voice


Joined: 16 Jan 2022
Posts: 9

PostPosted: Thu Feb 24, 2022 12:44 pm    Post subject: Reply with quote

Hi CrazyCat,

Do you recall the setting in the conf you are referring to? I don't see a setting in the full conf file for my IP. Only the vhost settings. The bot is using an external KVM shell, so it's not behind my router, etc.

CrazyCat wrote:
With your VPN, peharps is it a trouble with your hostmask in the eggdrop
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 972
Location: France

PostPosted: Thu Feb 24, 2022 1:57 pm    Post subject: Reply with quote

Connect to the PL and do a .whois <your nick>
See how the eggdrop knows you (the hostmask you have in it) and check your host on IRC when you are connected with your VPN.
_________________
https://www.eggdrop.fr
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
fusionx
Voice


Joined: 16 Jan 2022
Posts: 9

PostPosted: Thu Feb 24, 2022 3:03 pm    Post subject: Reply with quote

Thanks - I was confused Smile

I use Undernet's host mask, and that's how the bot(s) know me - that never changes as long as I'm logged in.

CrazyCat wrote:
Connect to the PL and do a .whois <your nick>
See how the eggdrop knows you (the hostmask you have in it) and check your host on IRC when you are connected with your VPN.
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