Subject: bin/20911: identd -L invents a new response type
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 03/27/2003 17:26:31
>Number: 20911
>Category: bin
>Synopsis: identd -L invents a new response type
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 27 14:27:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: der Mouse
>Release: Any (noticed on 1.6.x, present in -current and 1.4T)
>Organization:
Dis-
>Environment:
Any that uses identd's -L flag
>Description:
When identd is used with -L, the response type string in its
responses is USER-ID, which is not an acceptable response type
per RFC 1413. (I suppose this could be looked on as a feature,
a warning that the response is a blatant lie, but it _is_
nonconformant.)
>How-To-Repeat:
Use identd with -L. Have software that actually verifies the
responses query it - or query it by hand and inspect the
response.
>Fix:
Relative to parse.c,v 1.12:
--- parse.c.old Thu Mar 27 17:18:55 2003
+++ parse.c Thu Mar 27 17:19:11 2003
@@ -232,7 +232,7 @@
gethost(faddr),
lport, fport);
- printf("%d , %d : USER-ID : OTHER :%s\r\n",
+ printf("%d , %d : USERID : OTHER :%s\r\n",
lport, fport, lie_string);
continue;
}
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
>Release-Note:
>Audit-Trail:
>Unformatted: