identd is a simple protocol typically used to identify the user name of a process running something, such as a IRC client.
[login to view URL]
We need a special identd daemon that
- binds to all IP addresses in the server
- When a connection is established on IP A.B.C.D, it looks up a file such
/etc/identd_users/A.B.C.D and returns its contents as ID.
- If the files does not exist or contains anything other than exactly one line, return "unknown" as ID.
The deliverable wil be
- The daemon source code, which can be written in python, C, or any other resonable language for which a compiler can be expected to be found in a not very old linux system.
- A start/stop/script, Debian style
- Build script if needed
- Install script
- A README will basic information about the program (how to do each)
Additional notes
- All executables must have some basic help
- Program must be stable: Don't count on files existing, permissions being correct, etc. Check stuff. A daemon shouldn't crash.