Releases: ColumPaget/pam_ihosts
added dyndns support
v1.6 version bump
travis integration. sawdustdood@github's suggestions to build under freebsd
v1.5.7 version bump
Config file can now contain comments starting with #
v1.5.6 Config file can now contain comments starting with #
Makefile change to allow compiling with -D_FORTIFY_SOURCE
v1.5.5 change to compile command to prevent issues when compiling with -D_FO…
Added environment variables describing login
Added environment variables IHOSTS_ADDRESS, IHOSTS_MAC and IHOSTS_REGION that describe the source of a connection/login to processes serving that connection
Debug printf removed. Code tidyups to fix gcc warnings
Minor bugfix release. A debugging printf had been left in, and gcc prints out a number of warnings on compilation. Both these have been corrected.
Memory-mapped files support
mmap: prefix is now supported on file paths for region (ip registrar) files and blacklist/whitelist files. If a path has this prefix, then the file will be loaded as a shared mmap. If another long-lived program already has the file shared mapped, then it won't have to be loaded from disk, giving a performance boost.
Builds on 64-bit linux. DNS black/white list support. Manpage extensively debugged.
Now builds on 64-bit linux. Now can blacklist or whitelist hosts by looking up in a DNS list (like zen.spamhaus.org. DNS lists work by looking up a fake hostname made up of the reversed-quads of an IP address, and the domain name of the list. So to lookup 192.168.55.10 at zen.spamhaus.org we'd query 10.55.168.192.xen.spamhaus.org. If we get back an IP address for this nonsense hostname, then it means the IP 192.168.55.10 is in the list, and pam_ihosts can either reject a host from logging in, or allow login to continue, on the basis of this information. Manpage has been fixed to work with more terminal types.
Bugfix: Script called correctly if arguments are null
If a script is called on allow/deny and one of the arguments of the script (like IP region for instance) cannot be obtained, and is NULL, then the script is not successfully run. This has been fixed along with a minor memory leak.
rhost segfault fixed
don't segfault if caller doesn't set rhost