I also run Gentoo on my Linode, with the same kernel. I run both IPv4 and IPv6 on the host, and have had v4 and v6 entries in TCP wrappers working ok. (Tested.)
What does your /etc/hosts.deny entry look like? Can you give an example?
It could look something like this:
Code:
sshd: [2001:499:23f::5e]
or
Code:
sshd: [2001:499:23f::5e]/120
First form is for a single IP (aka /128 in IPv6)
Second form is for a subnet (in this case, a /120 subnet, aka 256 hosts)
Make sure you do not have 'sshd: ALL' in your /etc/hosts.allow file or it will not check /etc/hosts.deny for sshd at all.
(See the man page for hosts.allow to see how it processes both file. It has some subtle behavior you need to be aware of.)
Also, what is the name of this program? It sounds interesting.