User Tools

Site Tools


tips:openbsd:identd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tips:openbsd:identd [2010/01/10 22:56]
mattieu created
tips:openbsd:identd [2010/01/10 23:53] (current)
mattieu
Line 1: Line 1:
 ====== Very simple and secure identd ====== ====== Very simple and secure identd ======
 Save the code below as identd.c. Then compile it: Save the code below as identd.c. Then compile it:
-<code bash>$ cc identd.c -o fake_identd</code>+<code bash>$ cc identd.c -o fake_identd 
 +$ sudo cp fake_identd /usr/local/libexec</code>
  
-Then use it in ''/etc/inetd.conf''.+Then use it in ''/etc/inetd.conf''
 +<file>ident stream tcp nowait _identd /usr/local/libexec/fake_identd fake_identd</file>
  
 <file c identd.c> <file c identd.c>
Line 114: Line 116:
  exit(0);  exit(0);
 } }
- 
 </file> </file>
 +~~NOTOC~~
tips/openbsd/identd.1263160584.txt.gz · Last modified: 2010/01/10 22:56 by mattieu