Professional Web Applications Themes

How to disable ports? - Linux / Unix Administration

I need to disable ports 80, 443 and 137,138,139 on HPUX 11v2. Can I just comment them out in /etc/services file and restart inetd or does this change entail something more extensive?...

  1. #1

    Default How to disable ports?

    I need to disable ports 80, 443 and 137,138,139 on HPUX 11v2.

    Can I just comment them out in /etc/services file and restart inetd or
    does this change entail something more extensive?

    SQ Guest

  2. #2

    Default Re: How to disable ports?

    > Can I just comment them out in /etc/services file and restart inetd or 

    Commenting them out of /etc/services doesn't really get you anything.

    Commenting the services out of /etc/inetd.conf (and restarting inetd)
    will work fine *if* the software bound to these ports is actually
    running out of inetd. If it's running as a daemon, you'll have to stop
    the appropriate process.

    -- Lars

    --
    Lars Kellogg-Stedman <net>
    This email address will expire on 2005-11-23.

    Lars Guest

  3. #3

    Default Re: How to disable ports?

    In comp.unix.admin SQ <com>: 
     

    No, commenting them in "/etc/services" won't do much. In addition
    those ports are usually not used by apps running from inetd.

    In any case, if you aren't running anything on those ports
    there's not much sense in disabling them.

    You might want to look for some basic admin guide for your OS
    that should speed you up.

    Good luck

    BTW
    Please read this before posting anything else:

    http://cfaj.freeshell.org/google

    --
    Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
    mail: echo qr | perl -pe 'y/a-z/n-za-m/'
    #bofh excuse 154: You can tune a file system, but you can't
    tune a fish (from most tunefs man pages)
    Michael Guest

Similar Threads

  1. How to disable copy/past (selectable='disable') fromTextArea
    By Dronius in forum Macromedia Flex General Discussion
    Replies: 5
    Last Post: April 10th, 09:48 PM
  2. TCP/IP Ports
    By Brooks in forum FileMaker
    Replies: 3
    Last Post: January 5th, 02:31 PM
  3. TCP/IP ports in use
    By Feridun Fildis in forum Windows Networking
    Replies: 1
    Last Post: July 15th, 12:50 PM
  4. UDP ports
    By C.C. in forum Windows Networking
    Replies: 0
    Last Post: July 12th, 03:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139