Linux Weird rh 6.1 question

Discussion in 'Software' started by RR5, 9 Nov 2004.

  1. RR5

    RR5 What's a Dremel?

    Joined:
    7 Dec 2003
    Posts:
    710
    Likes Received:
    0
    Alright we got this office with red hat 6.1 as a server/firewall.

    I found this to open ports so something could work for someone but hit a :wallbash:

    Login to server and su to root.
    type /usr/sbin/lokkit
    I get lokkit not a file or directory.

    Investigating tells me Lokkit is a firewall service. So how can I check if its installed and if not, install it so I can allow ports 20 and 21.

    Secondly, how can I list services on rh and is there built in port filtering of some sort without needed lokkit?

    Many thanks.
     
  2. trigger

    trigger Procrastinator

    Joined:
    22 Mar 2004
    Posts:
    1,097
    Likes Received:
    30
    IIRC, to check if it is installed:
    > rpm -q lokkit

    To see what ports are open (if you have nmap installed - likely):
    > nmap localhost

    Not sure about other options for port filtering though.
     
  3. SeT

    SeT What's a Dremel?

    Joined:
    7 Oct 2003
    Posts:
    648
    Likes Received:
    15
    not sure about how to see if it's installed but you could try stopping/restarting the process if lokkit is the name:

    /etc/rc.d/init.d/lokkit stop
    /ect/rc.d/init.d/lokkit start

    see if either of those give errors.

    past that, I'd say if at all possible, upgrade the os - 6.1 is very old and very vulnerable.
     
  4. RR5

    RR5 What's a Dremel?

    Joined:
    7 Dec 2003
    Posts:
    710
    Likes Received:
    0
  5. woodshop

    woodshop UnSeenly

    Joined:
    14 Oct 2003
    Posts:
    1,408
    Likes Received:
    8
    ps -A

    That'll give you all running processes
     
Tags:

Share This Page