Skip to content
Main menu
  • Main page
  • Discover
  • Unexpected connections
  • Topics
  • Random article
  • Search
Your library
  • Saved articles
  • Recent discoveries
  • Rabbit-hole trails
Topic areas
  • Computer Science
  • Mathematics
  • Physics
  • Engineering
  • Biology
  • Economics
  • Curiosities
WikiholeDeeper into Wikipedia
EnglishEN
  • Saved
  • History

  • Article text and media come live from Wikipedia via the official MediaWiki API and are available under the Creative Commons Attribution-ShareAlike 4.0 License; additional terms may apply. Each article links to its source and revision.
  • WikiHole is an independent project and is not affiliated with the Wikimedia Foundation.
  • How ranking works
  • All topics
  • Reading history
  • Random article
  • MediaWiki API

Ident protocol

  • Article
  • Rabbit hole
  • Read
  • View history
Tools
Actions
  • Read
  • View history
General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
3 min
Topic
Computer Science
Quality
C-class
Views
175 in 14 days
Last edited
17 Oct 2026
Print/export
  • Printable version
In other projects
  • Wikidata item
From Wikipedia, the free encyclopedia
Rabbit hole:
  1. Ident protocol
Ident protocol
PurposeIdentification
DeveloperMichael C. St. Johns at US Department of Defense
IntroductionFebruary 1993 (1993-02)
Based onRFC 931
OSI layerApplication layer (Layer 7)
PortTCP/113
RFC1413

The Ident protocol (Identification Protocol, often just ident) is an application-layer protocol specified in RFC 1413.1 Given a pair of TCP port numbers corresponding to an existing connection, an Ident server returns a short string that identifies the owner of that connection on the server’s host. The protocol listens on TCP port 113.2 It obsoletes the earlier “Authentication Server” protocol.31

Loading the rest of the article…

Recent changes

Rabbit hole

Where Ident protocol leads. Every connection below has a source: a link in this article, a shared Wikipedia category, or CirrusSearch text similarity. Articles already on your trail are left out.

Contents
  • (Top)
  • Function
  • Usefulness of ident
  • Protocol
  • Security and Privacy
  • Deployment and Usage
  • History
  • See also
  • References
  • Further reading
  • Recent changes
  • Rabbit hole
Contents
Contents11 sections
  • (Top)
  • Function
  • Usefulness of ident
  • Protocol
  • Security and Privacy
  • Deployment and Usage
  • History
  • See also
  • References
  • Further reading
  • Recent changes
  • Rabbit hole
Study aids for Ident protocol

Terminology

ident
The Ident protocol (Identification Protocol, often just ident) is an application-layer protocol specified in RFC 1413.

Terms the article defines in bold, quoted in context.

Categories:
  • Internet protocols
  • Email authentication
  • Protocols related to IRC

897 words · 6 references · revision 1380670320 · CC BY-SA 4.0

General
  • Recent changes
  • Related articles
  • Random discovery
This article
Reading time
3 min
Topic
Computer Science
Quality
C-class
Views
175 in 14 days
Last edited
17 Oct 2026

Key concepts

  • Daemon (computer software)1
  • User (computing)1
  • Port (computer networking)1
  • TCP and UDP port1
  • ASCII1
  • Telnet1
  • Operating system1
  • End of line1
  • Cryptographically strong1
  • Unix shell1

The articles this one links to most, weighted towards the introduction.

Print/export
  • Printable version
In other projects
  • Wikidata item

Function

The Ident Protocol is designed to work as a server daemon, on a user's computer, where it receives requests to a specified TCP port, generally 113. In the query, a client specifies a pair of TCP ports (a local and a remote port), encoded as ASCII decimals and separated by a comma (,). The server then sends a response that identifies the username of the user who runs the program that uses the specified pair of TCP ports, or specifies an error.

Suppose host A wants to know the name of the user who is connecting to its TCP port 23 (Telnet) from the client's (host B) port 6191. Host A would then open a connection to the ident service on host B, and issue the following query:

6191, 23

As TCP connections generally use one unique local port (6191 in this case), host B can unambiguously identify the program that has initiated the specified connection to host A's port 23, should it exist. Host B would then issue a response, identifying the user ("stjohns" in this example) who owns the program that initiated this connection and the name of its local operating system:

6193, 23 : USERID : UNIX : stjohns

But if it would turn out that no such connection exists on host B, it would instead issue an error response:

6195, 23 : ERROR : NO-USER

All ident messages should be delimited by an end of line sequence consisting of the carriage return and linefeed characters (CR+LF).1

Usefulness of ident

Dialup hosts or shared shell servers often provide ident to enable abuse to be tracked back to specific users. In the case that abuse is handled on this host, the concern about trusting the ident daemon is mostly irrelevant. Spoofing of the service and privacy concerns can be avoided by providing varying cryptographically strong tokens instead of real usernames.

If abuse is to be handled by the administrators of the service that users connect to using the ident providing host, then the ident service must provide information identifying each user. Usually, it is impossible for the administrators of the remote service to know whether specific users are connecting via a trustable server or from a computer they themselves control. In the latter case the ident service provides no reliable information.

The usefulness of Ident for proving of a known identity to a remote host is limited to circumstances when:

  • The user connecting is not the administrator of the machine. This is only likely for hosts providing Unix shell access, shared servers using a suEXEC-like construction and the like.
  • One trusts the administrators of the machine and knows their user policy. This is most likely for hosts in a common security domain such as within a single organization.
  • One trusts that the machine is the machine it claims to be and knows that machine. This is only easily arranged for hosts on a local area network or virtual network where all hosts on the network are trusted and new hosts cannot easily be added due to physical protection. On remote and normal local networks false ident replies can be accomplished by ip spoofing and, if DNS is used, by all kinds of DNS trickery. The ident daemon may provide cryptographically signed replies which, if they can be confirmed, solves these last, but not the first, concerns.
  • There exist no intermediate obstacles to connecting to identd such as firewall, NAT, or proxy (such as if you were using ident with Apache httpd). These are common occurrences when going between security domains (as with public HTTP or FTP servers).

Protocol

Ident is a simple request/response service over TCP. A client connects to the server on port 113 and sends the server’s TCP port and the client’s TCP port as ASCII decimals separated by a comma (e.g. 6191, 23). The server replies with either a USERID response, which includes an operating-system tag and an identifier string, or an ERROR code such as NO-USER or HIDDEN-USER.1

Security and Privacy

The specification notes that Ident information is only as trustworthy as the host returning it and may reveal information that would normally be considered private. It warns against using Ident for access control.1

The IETF’s security-guidance BCP also describes use of Ident for sender authentication (for example in mail systems) as “a bad idea”, citing risks including relaying, TCP hijacking and the possibility of misleading or false replies; it also notes operational issues due to many sites dropping or black-holing Ident queries.4

Deployment and Usage

Historically, Ident was used on multi-user systems to aid auditing and abuse handling (for example, on IRC networks). Modern IRC specifications treat Ident as optional: servers MAY use the Ident protocol to look up a client’s “real username”, and (if enabled) often mark client-supplied names as unverified when no Ident reply is received.5

In practice, widespread use of firewalls and network address translation (NAT) reduces the usefulness of Ident across networks, since inbound connections to client hosts are commonly blocked or translated.6

History

Ident was published as a Proposed Standard in February 1993, replacing the earlier “Authentication Server”.31 The service name “auth/ident” remains assigned to TCP port 113 in the IANA registry.2

See also

  • oidentd (for Unix-like systems)
  • SMTP
  • NNTP
  • SSH
  • SOCKS proxies

References

  1. 1RFC 1413. IETF. doi:10.17487/RFC1413.
  2. 2"Service Name and Transport Protocol Port Number Registry". IANA. Retrieved 2025-09-15.
  3. 3RFC 931. IETF. doi:10.17487/RFC0931.
  4. 4RFC 3552. IETF. doi:10.17487/RFC3552.
  5. 5"IRCv3 Client Protocol (modern specification)". modern.ircdocs.horse. Retrieved 2025-09-15.
  6. 6. . :.

Further reading

  • RFC 912 – Authentication Service
  • RFC 931 – Authentication Server
  • Daniel J. Bernstein: TAP Internet Draft, June 1992
  • Daniel J. Bernstein: Why TAP? A White Paper, 1992-08-20
  • RFC 1413 – Identification Protocol
  • RFC 1414 – Identification MIB
  • Peter Eriksson: TAPvsIDENT, 1993-11-03
  • Damien Doligez: Why encrypt ident/TAP replies?, 1994-02-22
RFC 3022
IETF
doi
10.17487/RFC3022
Created
7 Jul 2004
History
282 edits
142 contributors
1 edit in the last 30 days
Last edited
17 Oct 2026

282 revisions in total · 142 contributors · +4 / 0 bytes across 1 edits by 1 contributor in the last 30 days

  1. 17 Oct 2026, 04:43 UTCSingh6789§ growthexperiments-addlink-summary-summary:1|0|0+4diff
  2. 17 Nov 2025, 08:25 UTCBunnysBotFix CW Errors with GenFixes (T1)−1diff
  3. 14 Oct 2025, 02:02 UTCKvngrestore missing+15diff
  4. 16 Sept 2025, 02:29 UTCMatthewrbCombine references and clean up−1,098diff
  5. 14 Sept 2025, 12:13 UTCFallingOyenThis protocol was quite aged. Updated to note that. Updated intro text, added protocol section, updated security and uses section, added history section.+1,477diff
  6. 13 Aug 2025, 20:25 UTCKvngmformat RFCs+14diff
  7. 9 Feb 2025, 14:42 UTCJanan2025Added a comma.+1diff
  8. 9 Feb 2025, 14:40 UTCJanan2025Added a comma.+1diff

View full revision history

Created
7 Jul 2004
History
282 edits
142 contributors
1 edit in the last 30 days
Last edited
17 Oct 2026

Related articles are unavailable right now.

Wikipedia is rate limiting us right now. Try again in a minute.