Closed
Bug 40879
Opened 25 years ago
Closed 20 years ago
Add ident server
Categories
(Other Applications Graveyard :: ChatZilla, enhancement, P3)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: danmorg, Assigned: rdmsoft)
References
()
Details
(Whiteboard: [cz-0.9.71])
Attachments
(1 file, 1 obsolete file)
|
21.55 KB,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
Certain operating systems, such as, Windows 95 and NT (I'm not sure about
98 or 2000) do not come with the Ident Server that adheres to RFC 1413. Unix
and GNU/Linux systems typically come with this Identification server.
Sometimes, this server isn't setup properly on GNU/Linux systems.
There are many IRC hosts that require a running Ident server running, ie., many
hosts on the EFNet IRC network require a properly configured ident server.
Because there is no running identd server or there is a improperly configured
identd server, the user is not allowed to connect to these hosts.
I have a feature request that a built-in RFC 1413 compliant Identification
server be added to ChatZilla so a ChatZilla user can connect to these
identd-required hosts. Both mIRC for Windows and OpenChat/2 for OS/2 have a
built-in identd server.
By default, the built-in identification server should be disabled for those
platforms/operating systems that include identd.
I do ask for help on how this could be accomplished.
Comment 1•25 years ago
|
||
Removing feature designation from summary, made it sound like a feature w-i-p
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Feature: add ident server to OSes that don't come with it → [RFE] Add ident server to OSes that don't come with it
Comment 3•25 years ago
|
||
mass accepting chatzilla bugs and marking "future"
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Moving to All/All. Just because os's come w/ identd doesn't mean that the
admins set it up or want to use it. This should be an XP feature not win
specific. Mac OS also doesn't usually come w/ an identd server so this would
have to be All/All anyways.
OS: Windows NT → All
Hardware: PC → All
Comment 5•25 years ago
|
||
*MASS SPAM*
Changing QA contact on all open or unverified ChatZilla bugs to me, David
Krause, as I am now the QA contact for this component.
QA Contact: rginda → David
Comment 6•24 years ago
|
||
This is probably dependant on bug #74045.
Summary: [RFE] Add ident server to OSes that don't come with it → [RFE] Add ident server
Comment 8•23 years ago
|
||
Remove myself from QA of 33 open Chatzilla bugs and change to default QA
contact, since I have no way to verify these easily. Still no working Mozilla
on my primary platform and it doesn't look like it will happen anytime soon. :(
QA Contact: mozilla → samuel
Comment 9•23 years ago
|
||
*** Bug 149188 has been marked as a duplicate of this bug. ***
Comment 10•23 years ago
|
||
There are several free identd servers for Windows which are standalone.
I propose to just include a download link in the help file to one or two of them
and have the user install it herself if seh needs identd (at least as solution
on Win) Don't bloat the standard distribution with this (my opinion).
see e.g.: http://freeware.teledanmark.no/identd/ (GPL, 330kb zip)
or: http://www.tinyirc.net/identd.shtml
# Supports IPv4 and IPv6
# Miniscule 22K executable
# Sits inobtrusively in your system tray
# Full logging support
# Built-in setup to create shortcuts
Updated•21 years ago
|
Product: Core → Other Applications
Comment 11•21 years ago
|
||
> I propose to just include a download link in the help file to one or two of them
> and have the user install it herself if seh needs identd (at least as solution
> on Win)
I like this suggestion, would it not be possible to simply have a FAQ entry for
this?
Comment 12•20 years ago
|
||
Here's a plugin to do it: http://rdmsoft.com/dlfs/cz/identd.js
Comment 13•20 years ago
|
||
(In reply to comment #12)
> Here's a plugin to do it: http://rdmsoft.com/dlfs/cz/identd.js
In light of that plugin, I think that it's now up to Rob, James and Samuel to
decide if this should remain a plugin/script, or if this should be integrated.
In the first case, this bug should be wontfixed, in the second, probably
assigned to Robert Marshall (who wrote the plugin) in order to integrate it
(assuming he wouldn't mind doing so).
Rob, James, Samuel, any ideas? :-)
Comment 14•20 years ago
|
||
Since we have a FAQ entry, and it is not nessessary for the majority of servers,
my vote is for WONTFIX.
Comment 15•20 years ago
|
||
most of undernet refuses to allow me to connect w/o an identd
Comment 16•20 years ago
|
||
I can't connect to Dalnet for the very same reason.
Prog.
Comment 17•20 years ago
|
||
So some servers on two networks are stuck in the last decade... doesn't change
my personal opinion.
Comment 18•20 years ago
|
||
Personally, I think that any server requiring identd is broken. However, there
are a lot of broken irc servers out there. I would be inclined to put it in if
someone wants to put it together, including prefs for managing it. Remember
that it can't break chatzilla on anything back to Mozilla 1.0, so the code will
have to check for server socket support. See the dcc code for example.
Updated•20 years ago
|
Assignee: rginda → rdmsoft
Status: ASSIGNED → NEW
| Assignee | ||
Comment 19•20 years ago
|
||
Taking, I'll create an ident server based on my plugin that is off by default, and only enables itself during the connection process for user-selected networks.
Adding rfc link so I don't forget. ;)
Status: NEW → ASSIGNED
| Assignee | ||
Comment 20•20 years ago
|
||
This depends on one small change in connection-xpcom.js (replacing this._serverSock.close() with this.close() in accept()).
Attachment #210614 -
Flags: review?(silver)
Comment 21•20 years ago
|
||
Comment on attachment 210614 [details]
js/lib/ident.js
>IdentListener.prototype.onStreamDataAvailable =
>function ident_listener_sda(request, inStream, sourceOffset, count)
>{
> var ev = new CEvent ("ident-listener", "data-available", this,
> "onDataAvailable");
Nit: no space before parenthesis.
> if (incomplete)
> this.savedLine = lines.pop()
>
> for (i in lines)
> {
> ev = new CEvent ("ident-listener", "rawdata", this, "onRawData");
Nit: same.
>IdentListener.prototype.onParsedRequest =
>function ident_listener_request(e)
>{
> function response(str)
> {
> return e.localPort + " , " + e.remotePort + " : " + str + "\r\n";
> }
Nit: semi-colon after inner functions.
> var found, responses = this.server.responses;
> for (var i = 0; i < responses.length; ++i)
> {
> if (e.remotePort == responses[i].port &&
> this.connection._transport.host == responses[i].ip)
Nit: add parens around the binary ops (even though they have higher precedence).
Otherwise, looks good. Perhaps could do with some more comments just explaining that (for example) it keeps a single listening connection open when any network is connecting, and only closes when there are not doing so.
| Assignee | ||
Comment 22•20 years ago
|
||
ident.js is the same, except:
- picked nits, added more comments
- removed space after "USERID : CHATZILLA :" because technically it was part
of the username (RFC1413, section 5, note 1)
- moved var keyword in IdentListener.onDataAvailable, no change in logic
The identd pref defaults to false, and is hidden on Linux and Mac (because it would only work as root, and those OSes should include an identd). removeNetwork is always called, regardless of the pref, just in case the pref was changed during connection.
Attachment #210614 -
Attachment is obsolete: true
Attachment #211188 -
Flags: review?(silver)
Attachment #210614 -
Flags: review?(silver)
Comment 23•20 years ago
|
||
Comment on attachment 211188 [details] [diff] [review]
diff -N
>+ client.prefManager.identGroup = ".connect";
>+ // Linux and OS X won't let non-root listen on port 113.
>+ if((client.platform == "Linux") || (client.platform == "Mac"))
I see you're not completely trained yet. ;)
>+ client.prefManager.identGroup = "hidden";
Interesting use of randomly setting a prop - probably shouls put a quick comment to note that this is so that network pref managers get the same group.
r=silver with the nit fixed, and a comment.
Attachment #211188 -
Flags: review?(silver) → review+
Comment 24•20 years ago
|
||
Checked in --> FIXED
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Whiteboard: [cz-0.9.71]
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 months ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•