Re: hosts.allow does not resolve names



On Tue, 27 Nov 2007 07:13:05 GMT, Bit Twister wrote:
hosts.allow does not work with network names.
Would some kind soul tell me why it does not work?

/etc/hosts.allow fails with
ALL: .home.invalid
but ALL: 192.168.1.0/255.255.255.0 works.

Sorry, forgot the error messages.

From /var/log/messages I would get
Nov 26 18:56:24 m2008 portmap[5640]: connect from 192.168.1.130 \
to getport(nfs): request from unauthorized host

when using ALL: .home.invalid
I would get the NFS mount with ALL: 192.168.1.0/255.255.255.0



Hosts.deny mails me this message

TCP Wrappers: Connection Refused
By: m2008.home.invalid
Process: portmap (pid 3676)

User: unknown
Host: 192.168.1.130
Date: Mon Nov 26 18:56:23 CST 2007

.



Relevant Pages

  • Re: Finding hardlinks
    ... error messages (coreutils 5 work fine). ... library fails to walk directories returning FTS_DC error. ... I didn't hardlink directories, I just patched stat, lstat and fstat to ...
    (Linux-Kernel)
  • Re: Finding hardlinks
    ... error messages (coreutils 5 work fine). ... library fails to walk directories returning FTS_DC error. ... collisions are archivers and other programs that recursively try to copy ...
    (Linux-Kernel)
  • Re: Backup Problems using Xcopy
    ... > Adding the /d switch prevents lots of unnecessary copying. ... > Now what about the error messages I mentioned in my ... If it fails then it fails for one of ... >>> Other backup tools will suffer from exactly the same problems. ...
    (microsoft.public.win2000.networking)
  • Re: RpcNsBindingLookupBegin() returns 1761:The entry is not found
    ... No warning error messages when it compiles. ... Is there any info on how to read the map file. ... Now it fails almost every time. ... The error code is 1761:'The ...
    (microsoft.public.vc.mfc)
  • Re: office 2002 cannot open or send files
    ... When you say, "Whenever they try to open the file, it fails", what error messages to these other people see, or what makes them ... When you say, "I can no longer open files that other people send me", what happens when you try? ... I've installed office 2003 and am having the same problem. ...
    (microsoft.public.word.application.errors)