tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY : How to prevent TCP port 25 from opening automatically at
@ 2001-11-20 17:29 Arturo
  0 siblings, 0 replies; only message in thread
From: Arturo @ 2001-11-20 17:29 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to all the people that answer this one.
Here is the answer:

1)To prevent TCP port 25 from opening automatically do:

        cd /sbin/rc3.d
	mkdir #OFF              {#OFF as example, or any folder name with meaning to you}
	./S40sendmail stop  
	mv S40sendmail #OFF

2)Someone mentioned also to :

Comment it out of your /etc/services file  {the line that refers to port smtp}

I didn't modified the services file because doing step #1 worked fine.
2)To prevent a service form exposing his release version upon a telnet session opened for it:
  In the case of FTP service:  open /usr/sbin/ftpd with emacs {or your preferred editor} and do a search for "Version x.yz" {x.yz is your server version number}, replace the real number with something like x.xx  be careful in keeping the same amount of characters and leave the period where it was. (file size can not be changed). Save the buffer an that's it. Next time you do a telnet to your ftp port the version name is not going do reveal version number.
Another approach is to replace the FTP server with a different one like the one found at ftp://ftp.astro.su.se this one does not reveal any info after the 220 line.




hello listers
this is an easy one:

(Tru64  V4.0E), how do I prevent that port 25 (smtp) gets open 
automatically every time my server boots up. I also want to dissable the 
banner for ports that I have to deal with like FTP for example. I'm 
refering to the banner whe you do a telnet to port 21 for example, that 
presents the ftp host name ftp version etc.

Thanks in advance



_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com


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

only message in thread, other threads:[~2001-11-20 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-20 17:29 SUMMARY : How to prevent TCP port 25 from opening automatically at Arturo

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