tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* How omit O.S. from ftp initial message
@ 2000-02-01 11:04 emanuele.lombardi
  0 siblings, 0 replies; only message in thread
From: emanuele.lombardi @ 2000-02-01 11:04 UTC (permalink / raw)
  To: tru64-unix-managers


This question is concerning security in some sense. I noticed that
ftp-ing to our alphas t64 Unix (4.0d & 5.0) results in such messages:

220 HOSTNAME.DOMAIN FTP server (Digital UNIX Version 5.60) ready

I would like to omit the "(Digital UNIX Version 5.60)" string not to
help hackers knowing the O.S. of my machines.

For the same purpose I have modified /etc/gettydefs so that hackers
trying telnet are not aware of the kind of machine they are attacking.

cat /etc/gettydefs

default# B9600#B9600#\r\nWelcome to %h\r\n#default

console# B9600 HUPCL CS8 CLOCAL IXON OPOST ONLCR # B9600 SANE IXANY TAB3 CLOCAL #\r\n\r\n%v (%h) %t\r\n\r\n\rlogin: #console


The question is: 
Is there any way to avoid the O.S. name from the ftp message?
I tried /etc/banner but its contents are displayed before the unwanted
line, not instead of it.

Any suggestions?
Thanks and ciao from Italy to everybody,

Emanuele
 
-- 
$$$ Emanuele Lombardi
$$$ mail:  AMB-GEM-CLIM ENEA Casaccia
$$$        I-00060 S.M. di Galeria (RM)  ITALY
$$$ mailto:lele@mantegna.casaccia.enea.it
$$$ tel	+39 06 30483366 fax	+39 06 30483591
$$$
$$$                                |||
$$$                                \|/  ;_;
$$$ What does a process need        |   /"\
$$$ to become a daemon ?            |   \v/
$$$                                 |    | 
$$$ - a fork                        o---/!\---
$$$                                 |   |_|
$$$                                 |  _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$  It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are. 
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-01 11:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-01 11:04 How omit O.S. from ftp initial message emanuele.lombardi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox