- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing FTP banner - altogether
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:14 AM
11-15-2004 02:14 AM
220 hostname FTPserver (Version 1.1.214.4 PHNE_29461) ready.
We would like to disable this, as it's clear that it gives a hostname, a version and a patch level, all useful for a hacker to determine the potential use/vulnerability of a host.
I know we can add a banner using the banner clause in /etc/ftpd/ftpaccess, but this keeps this version banner in place.
Is there a way to remove this?
On the same subject, we'd also like to remove this for SMTP and SSH if possible?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:17 AM
11-15-2004 02:17 AM
SolutionMaybe this will help,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062974927
The itrc doc id is UARPAKBQA00000205.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:20 AM
11-15-2004 02:20 AM
Re: Removing FTP banner - altogether
to remove the banner from ssh, check/ comment the banner line in sshd_config.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:21 AM
11-15-2004 02:21 AM
Re: Removing FTP banner - altogether
See Craig's final response here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=112737
I don't know about SSH, though.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:36 AM
11-15-2004 02:36 AM
Re: Removing FTP banner - altogether
suppresshostname yes
suppressversion yes
Uncomment the "#Banner /some/path" line in the /opt/ssh/etc/sshd_config file to "Banner /etc/issue"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:37 AM
11-15-2004 02:37 AM
Re: Removing FTP banner - altogether
1.)http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=204670
2.) see manpage of ftpaccess (#man ftpaccess)
Also you can put banner for your security warnings by specifing the file name.
eg: banner /etc/issue
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:39 AM
11-15-2004 02:39 AM
Re: Removing FTP banner - altogether
The SSH doesn't work quite that way though. It's not so much the banner given by the SSH client, it's the banner advertised by the SSH daemon itself.
For example: -
% telnet localhost 22
Trying...
Connected to localhost.
Escape character is '^]'.
SSH-2.0-OpenSSH_3.8
Similarly for SMTP: -
% telnet localhost 25
Trying...
Connected to localhost.
Escape character is '^]'.
220 hostname ESMTP Sendmail 8.9.3 (PHNE_29774)/8.9.3; Mon, 15 Nov 2004 15:39:05 GMT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:40 AM
11-15-2004 02:40 AM
Re: Removing FTP banner - altogether
Try this for email, changes to the /etc/mail/sendmail.cf file:
From: O SmtpGreetingMessage=$j Sendmail $v/$Z; $b
To: O SmtpGreetingMessage=
and
From: O PrivacyOptions=authwarnings
To: O PrivacyOptions=goaway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:43 AM
11-15-2004 02:43 AM
Re: Removing FTP banner - altogether
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2004 02:54 AM
11-15-2004 02:54 AM
Re: Removing FTP banner - altogether
http://projects.vanscherpenseel.nl/documents/howto_banners.html
The way to disable the version on sshd is to edit the version string in version.h and recompile the source.
Given we use the (supported) HP delivered depot rather than compiling OpenSSH from scratch (and therefore unsupported I guess?) I guess this leaves us high and dry?