Documents Project
The Documents Project, formerly known as Doco-Com, is responsible for creating and maintaining useful resource documentation for the Undernet community. Both new and experienced IRC users will find information here on everything from downloading an IRC client to explanation of the various protocols.
Posted on 24th Jan 2022 23:46:29 in Technical Docs
Identd is a service that sends a username in plain text across port 113 when requested. You specify a text name in the application (typically a username) and run the service. The original purpose of identd is to “validate” a user was who they are saying they are when they cross over the Internet. Identd is commonly used for IRC and FTP sites. When connecting to an IRC server the leading tilde (~) Basically, your client sends your required ident as part of the initiation commands when you connect to Undernet. The server then checks to see whether you have an identd running and uses the ident reported by that in your hostmask. If the server does not find identd running on your machine, it adds the tilde (~) to your ident. Install and Setting up ident on Linux. To use Ident authentication, you must install one or more packages, depending on your operating system, To install and configure Ident authentication, follow the appropriate steps for your operating system: Install Install Install Install Allow incoming TCP traffic on port 113 Enable ident on macOS How does identd work? There was once an application that enabled and disabled the identd service in Mac X. This application no longer works in the latest versions of Mac. Luckily, someone wrote a Unix executable that creates an identd service and can be started automatically when your Mac boots. Step 1: Download the new version of identd located here and extract to your Desktop. # Prepare sudo mkdir -p /usr/local/identd # Install cd ~/Desktop/identd/ # Load and set to Auto Start on Mac X boot sudo launchctl load /Library/LaunchDaemons/org.macmax.identd.plist Step 3: Test your new identD installation and ensure the service started and is running. Type in Terminal: telnet localhost 113 Step 4: Change your identD username. Go to /usr/local/identd/identd.conf. You can open identd.conf in TextEdit. Type in the username. Use the format listed below in the screenshot. Ensure you have a "1" in front of the username to enable identd. NOTE: I enabled IDENT but i still have ~, what do I do now? Enable ident on IRC clients. How do you enable identd on your IRC client? Many clients either have Identd built in or include the option to turn it on. Check the documentation for your particular client. Note however that there are clients that will not provide support. Enable identd
nickname!~ident@host/ip
indicates that you are not running identd on your machine. Identd is an age-old service that runs on port 113 and was designed for shared shells. It’s essentially a process that confirms that you are who your ident says you are. For the full, geeky details on identd, see RFC 1413.
1. Linux
oidentd
is an RFC 1413 compliant ident daemon which runs on Linux, FreeBSD, OpenBSD, NetBSD, DragonFly BSD, and some versions of Darwin and Solaris..References
External links
Red Hat 6.x/CentOS 6.x
oidentd
on Red Hat 6.x or CentOS 6.x by running this command:$ yum install oidentd
Red Hat 7.x/CentOS 7.x
oidentd
on Red Hat 7.x or CentOS 7.x by running this command:$ yum install oidentd
Ubuntu/Debian
oidentd
on Ubuntu or Debian by running this command:$ sudo apt-get install oidentd
FreeBSD/OpenBSD
oidentd
on FreeBSD or OpenBSD by running this command:# pkg install oidentd
Firewall
2. macOS X
Step 2: Run these commands to properly configure identd in Mac X Terminal.
sudo chown root:wheel /usr/local/identd
sudo cp ./identd /usr/local/identd/
sudo cp ./identd.conf /usr/local/identd/
sudo cp ./org.macmax.identd.plist /Library/LaunchDaemons/
sudo chown root:wheel /usr/local/identd/identd
sudo chmod 755 /usr/local/identd/identd
sudo chown root:wheel /usr/local/identd/identd.conf
sudo chmod 644 /usr/local/identd/identd.conf
sudo chown root:wheel /Library/LaunchDaemons/org.macmax.identd.plist
sudo chmod 644 /Library/LaunchDaemons/org.macmax.identd.plist
This should return:
Trying ::1...
Connected to localhost.
Escape character is '^]'.
Many users running behind routers/modems will need to forward port 113 in order to be able to successfully use ident. Please refer to Port Forward for more information on how to achieve this.3. IRC clients.