A flexible and extensible Python identd that can behave as a reverse proxy.
Project description
Based on Twisted-2.0. Has the following features:
- Easily extensible
- Supports multiple profiles to allow changes in behaviour
The profiles that are implemented so far include behaviours:
- "octomonkey" profile:
- Looks up usernames and maps them to idents from a config file
- Can return a static ident if the user is not listed in the config file
- Can respond to invalid ident requests (e.g. if the request is for a host behind a NAT router)
- "standard" profile:
- Behaves as a standard, non-proxying identd
- "static" profile:
- Always returns the same, static identd, even for invalid requests
- "random" profile:
- Returns a random ident, even for invalid requests
The basic identd (that these profiles extend) can:
- Proxy ident requests to hosts currently being NAT'd
- Drop root privileges immediately after starting
- Easily extensible
- Supports multiple profiles to allow changes in behaviour
The profiles that are implemented so far include behaviours:
- "octomonkey" profile:
- Looks up usernames and maps them to idents from a config file
- Can return a static ident if the user is not listed in the config file
- Can respond to invalid ident requests (e.g. if the request is for a host behind a NAT router)
- "standard" profile:
- Behaves as a standard, non-proxying identd
- "static" profile:
- Always returns the same, static identd, even for invalid requests
- "random" profile:
- Returns a random ident, even for invalid requests
The basic identd (that these profiles extend) can:
- Proxy ident requests to hosts currently being NAT'd
- Drop root privileges immediately after starting