1832440 Members
3131 Online
110042 Solutions
New Discussion

tcpwrapper configuration

 
Jaime Loreto
New Member

tcpwrapper configuration

I had installed the tcpwrapper into the server, and in order to show a banner to
all the users before they connect to
server via telnet, I used the Banner.Makefile, and I saw that the banner appeared with the operating system name and the version, Do you have any idea to get off this information? Thanks in advance!
2 REPLIES 2
Brian Markus
Valued Contributor

Re: tcpwrapper configuration

Do you know where it's pulling the info from? Try changeing the following files

/etc/issue
/etc/issue.net

Those are the standard "banners" for telnet logins. That might do it.
Also, in your inetd.conf file you can add a statement after the telnet or in your case the wrapper statement with the banner. Check the man page on that. I don't recall the syntax off the top of my head.

Hope that helps,

Brian
When a sys-admin say's maybe, they don't mean 'yes'!
Frederic Soriano
Honored Contributor

Re: tcpwrapper configuration

Hi Jaime,

You should have a look at files /etc/hosts.allow and /etc/hosts.deny; on the last field, there is probably a "banners" statement, as in the following example (excerpt of one of my hosts.allow):

--snip--
rlogind : @tchsgdt-hosts : banners /etc/banners/allow
--snip--

So if this is really the case, then remove banners statements from these files, and they should not bother you anymore.

I hope this helps !

Regards,

Fred.