Date: Wed, 25 Aug 1999 12:30:28 -0400 From: Christopher Michaels <ChrisMic@clientlogic.com> To: 'Alejandro Ramirez' <ales@megared.net.mx>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: RE: tcp wrappers Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105BE9@site2s1>
next in thread | raw e-mail | index | archive | help
Ok. You don't need to sighup inetd. From one of your previous postings you're getting the following error: Aug 25 03:37:05 unix inetd[82105]: warning: /etc/hosts.allow, line 13: can't verify hostname: gethostbyname(customer18-197.telmex.net.mx) failed What appears to be happening, is that since the address can't be verified to be from that domain it is not denying. That error, if you didn't know, is saying it cannot resolve "customer18-197.telmex.net.mx". They appear to have DNS resolution problems. What I would suggest is to see if you can find out the range of ip addresses they use and try denying that, e.g. telnetd : 200.33.146. : deny See if that works. Also I do not know if there is a way to deny all addresses that do not resolve. I will look into that, because I'd like to know myself. -Chris > -----Original Message----- > From: Alejandro Ramirez [SMTP:ales@megared.net.mx] > Sent: Wednesday, August 25, 1999 11:23 AM > To: Christopher Michaels; FreeBSD Questions > Subject: RE: tcp wrappers > > Hi, > > This are the only 3 lines that I have uncommented in my > /etc/hosts.allow > file: > > telnetd : .telmex.net.mx : deny > telnetd : .itesm.mx : deny > ALL : ALL : allow > > the rest of the file its commented. I have telnet accounts in servers in > those domains, and after I put this lines, and SIGHUP inetd, I can still > log > in via telnet to my server from this servers. > > Thanks in Advance > > Ales > > > ----- Original Message ----- > From: Christopher Michaels <ChrisMic@clientlogic.com> > To: 'Alejandro Ramirez' <ales@megared.net.mx>; FreeBSD Questions > <freebsd-questions@FreeBSD.ORG> > Sent: Wednesday, August 25, 1999 10:02 AM > Subject: RE: tcp wrappers > > > > Maybe if you posted what was listed in your hosts.allow file it would > help > > us. > > Also, what aspect of it is NOT working? > > > > -Chris > > > > > -----Original Message----- > > > From: Alejandro Ramirez [SMTP:ales@megared.net.mx] > > > Sent: Tuesday, August 24, 1999 7:12 PM > > > To: FreeBSD Questions > > > Subject: tcp wrappers > > > > > > Hi, > > > > > > I know that tcp wrappers are included in 3.2 Release, so I have > > > modified > > > the /etc/hosts.allow file, and HUP the inetd daemon, but it doesnt > work, > > > its > > > there some documentation that could help me, or do you know what am I > > > missing??? > > > > > > Thanks in Advance > > > > > > Ales > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105BE9>
