-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 29 April 2001 05:13, Michael Earls wrote:
> What file do i need to edit to close open ports, > > ex, port 111 /tcp sunrpc > 515/ tcp printer > 2000/ tcp callback > Another usefull thing to do when the port you want to close is not listed on /etc/services and you don't have a clue of what service is binded to that port is to run (as root) fuser -a -n proto port, where proto may be tcp, udp or file. For example, if you are serving http with apache at port 80: #fuser -a -n tcp 80 It will return the pid(s) that apache is using. - -- - ------------------------------------------ echo "[EMAIL PROTECTED]" | tr -d A-Z "...one ring to rule them all... ...one ring to find them... ...one ring to bring them all and in the darkness bind them..." - ------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD4DBQE67GluReiO4HOP+5gRAgELAJdsvg734metfVA4rpu86yv6KO/MAJwKGkiW hWO9GC4MFlUX2iILe29aJw== =8Auw -----END PGP SIGNATURE-----