Skip to content

RFC 1413 compliant fake identd

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

simnalamburt/fakeidentd

Repository files navigation

fakeidentd

RFC 1413 compliant fake identd. It is an implementation of the Ident Protocol, but it lies to the clients and always returns fake identities of queried users.

go build

# The Ident Protocol uses TCP port 113
sudo setcap 'cap_net_bind_service=+ep' fakeidentd

./fakeidentd

Use build-all to create binaries of all supported targets.

fakeidentd in action

$ nc -vv 127.0.0.1 113 <<'EOF'
1,1
123,123
54321,12345
EOF

localhost [127.0.0.1] 113 (ident) open
1, 1 : USERID : UNIX : SwHd2g         
123, 123 : USERID : UNIX : S3vdoA     
54321, 12345 : USERID : UNIX : nzHt4g      

 


fakeidentd is primarily distributed under the terms of both the Apache License (Version 2.0) and the MIT license. See COPYRIGHT for details.