Closed
Bug 93186
Opened 24 years ago
Closed 23 years ago
[HAVE FIX] mozbot may not connect on dual-homed boxes
Categories
(Webtools Graveyard :: Mozbot, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2
People
(Reporter: kiko, Assigned: ian)
Details
Attachments
(1 file, 2 obsolete files)
3.41 KB,
patch
|
kiko
:
review+
|
Details | Diff | Splinter Review |
When doing the initial run of mozbot, boxes with two network cards may be unable
to connect to an IRC server. This is caused by Net::IRC trying to connect with
the address of the internal interface when the correct address would be the
external one. mozbot hangs for a while and then complains:2001-08-02 02:23:54
UTC (27334) Subject: Help! I can't talk to irc.openprojects.net:6667!
2001-08-02 02:23:54 UTC (27334)
Hello Sir or Madam!
I'm afraid I could not connect to the IRC server. I tried, and will
try and try again (unless you kill me...) but it was fruitless.
Could you kick the IRC server for me? Give it a right ol' booting.
And hit the network connection while you are at it, would you please?
Thanks.
Reporter | ||
Comment 1•24 years ago
|
||
Jake has provided me with a workable patch from justdave, which I have in turn
changed a bit.
There are two patches, actually: one to Net::IRC's Connection.pm, and the other
to mozbot.pl itself. I guess the patch to Connection.pm could be distributed
with mozbot since it's a common problem AFAICS. mozbot's patch might be
considered intrusive, but what's the big deal with specifying an IP address :)
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
fwiw Net::IRC was deprecated in favor of a much more complicated module which i
vowed never to use in mozbot. and then mozbot was rewritten for 2.0.
other than that the patches look ok (Net::IRC is modifable under Perl's
Artistic License - no known license problems :-).
the only other question is what the checkin rules are for mozbot. I think
we're going w/ module owner + strong perl hacker. but i'm not sure.
Assignee | ||
Comment 5•24 years ago
|
||
Since the patches are interconnected, I don't know what to do. I don't think we
can require everyone who uses mozbot to patch their Net::IRC, for one some of
them (including me in one case) haven't got write access to the relevant files.
Is Net::IRC still being maintained at all?
you can install a local copy of Net::IRC it should override the non local copy,
that's what i do on windows. as for maintenance i don't understand that stuff
ask zach the resident cpan expert.
Comment 7•24 years ago
|
||
you SHOULD be able to install a local copy and add it to @INC, but many
CPAN modules don't understand how to do this. The CPAN.pm README
has more info on this topic.
Zach
Resident CPAN Guru
zlipton@cpan.org
Assignee | ||
Comment 8•23 years ago
|
||
Removing 'review' keyword since the comments from the last review haven't yet
been addressed.
Keywords: review
Reporter | ||
Comment 9•23 years ago
|
||
We should bother Net::FTP maintainers, if they exist, to apply the patch, and
fix mozbot to ask for an IP address, I guess.
I really have no idea for another solution.
Comment 10•23 years ago
|
||
I was just pointed at this bug by an email from Hixie...
This is already fixed in Net::IRC as of version 0.71.
If you require Net::IRC 0.71 as a minimum version you only need the mozbot half
of this patch.
Assignee | ||
Comment 11•23 years ago
|
||
Oh, cool, I had no idea anything had changed. Ok, I'll investigate the mozbot
part of the patch further.
Updated•23 years ago
|
Attachment #44334 -
Attachment is obsolete: true
Assignee | ||
Comment 12•23 years ago
|
||
An alternative approach (doesn't have a UI for changing the localAddr setting).
What do people think?
Attachment #44333 -
Attachment is obsolete: true
Reporter | ||
Comment 13•23 years ago
|
||
Comment on attachment 69057 [details] [diff] [review]
Patch version 2
looks fine to me
r=kiko
Attachment #69057 -
Flags: review+
Assignee | ||
Comment 14•23 years ago
|
||
cool, thanks
Summary: mozbot may not connect on dual-homed boxes → [HAVE FIX] mozbot may not connect on dual-homed boxes
Assignee | ||
Comment 15•23 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
QA Contact: timeless → kerz
Updated•19 years ago
|
QA Contact: kerz → mozbot
Updated•16 years ago
|
Target Milestone: --- → 2.2
Updated•6 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•