Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ident(n) [mojave man page]

ident(n)						  Identification protocol client						  ident(n)

__________________________________________________________________________________________________________________________________________________

NAME
ident - Ident protocol client SYNOPSIS
package require Tcl 8.3 package require ident ?0.42? ::ident::query socket ?callback? _________________________________________________________________ DESCRIPTION
The ident package provides a client implementation of the ident protocol as defined in RFC 1413 (http://www.rfc-edi- tor.org/rfc/rfc1413.txt). ::ident::query socket ?callback? This command queries the ident daemon on the remote side of the given socket, and returns the result of the query as a dictionary. Interpreting the dictionary as list the first key will always be resp-type, and can have one of the values USERID, ERROR, and FATAL. These response types have the following meanings: USERID This indicates a successful response. Two more keys and associated values are returned, opsys, and user-id. ERROR This means the ident server has returned an error. A second key named error is present whose value contains the error-type field from the server response. FATAL Fatal errors happen when no ident server is listening on the remote side, or when the ident server gives a response that does not conform to the RFC. A detailed error message is returned under the error key. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category ident of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. KEYWORDS
ident, identification, rfc 1413 CATEGORY
Networking COPYRIGHT
Copyright (c) 2004 Reinhard Max <max@tclers.tk> ident 0.42 ident(n)

Check Out this Related Man Page

IDENT(8)						    InterNetNews Documentation							  IDENT(8)

NAME
ident - nnrpd ident resolver SYNOPSIS
ident [-p port] [-t] DESCRIPTION
This program attempts to resolve usernames for nnrpd by using the ident protocol to query the remote host. It contacts the remote host using either IPv4 or IPv6 depending on which protocol was used for the incoming NNTP connection. OPTIONS
-p port If this option is given, attempt to contact identd on the specified remote port (which can be a numeric or symbolic specification). Non-numeric values will be looked up using getservbyname(3). The default value is the result of "getservbyname("ident")" if available, or port 113 otherwise. -t If this option is given, the identity returned will never have a domain part. That is, if the remote server returns a result containing an "@" character, ident truncates the response at the "@". This is useful to allow the default-domain parameter in reaers.conf to override the domain supplied by the remote host (particularly if the supplied domain part is an unqualified local machine name rather than a full domain name). EXAMPLE
The following readers.conf(5) fragment tells nnrpd to trust ident information for hosts on a local network, but to replace the domain returned from the ident query: auth LAN { hosts: "192.168/16" res: "ident -t" default-domain: "internal.example.com" } access LAN { users: "*@internal.example.com" newsgroups: example.* } Access is granted to the example.* groups for all users on the local network whose machines respond to ident queries. HISTORY
This documentation was written by Jeffrey M. Vinocur <jeff@litech.org>. $Id: ident.pod 8200 2008-11-30 13:31:30Z iulius $ SEE ALSO
nnrpd(8), readers.conf(5) INN 2.5.2 2009-05-21 IDENT(8)
Man Page