Find the answer to your Linux question:
Results 1 to 10 of 10
every night the ports i open shut themselves off, i use lokkit to open them, but i want to keep them open, how do i do that? i use linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8

    Ports keep closing, how to keep them open?


    every night the ports i open shut themselves off, i use lokkit to open them, but i want to keep them open, how do i do that? i use linux redhat enterprise 3

  2. #2
    Linux Engineer
    Join Date
    May 2003
    Location
    Greece / Athens
    Posts
    1,169
    you don't have to open the manual.to see the status of your ports download nmap-frontend :
    http://www.insecure.org/nmap/
    .the only thing to do is to start the services running by editing your inetd or xinetd file and the selected services(ftp,ssh or something else) should work.don't forget to start the appropriate daemons(e.g:for ssh the sshd,ftp the ftpd daemon)
    good luck
    Linux For Ever!

  3. #3
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8
    How does nmap keep them open?

  4. #4
    Linux Newbie
    Join Date
    Jul 2004
    Location
    www.syracuse.com
    Posts
    119
    nmap is just a really nice port scanner. it scans any computer you want and it will tell you all ports and services that computer is offering. for instance to check the localhost you would use the command 'nmap localhost' or 'nmap 127.0.0.1' and it would display which ports you have open. assuming you allready installed it. it does nothing to change the status of ports.

  5. #5
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8
    So that still leaves me with the problem >.> the company that i leese the server off suggested portsentry's conf and I added everything there but the ports still close during the nightly maintenence

  6. #6
    Linux Newbie
    Join Date
    Jul 2004
    Location
    www.syracuse.com
    Posts
    119
    i would just reiterate the point of checking /etc/xinet.d out. this is really the only place i can think of to look.

  7. #7
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8
    xinet.d is empty

  8. #8
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Quote Originally Posted by Nasedo
    So that still leaves me with the problem >.> the company that i leese the server off suggested portsentry's conf and I added everything there but the ports still close during the nightly maintenence
    What nightly maintenence? If it is this "nightly maintenence" that is "closing" the ports, then that would be the place to look. I assume the application that opens the port is still running, and it is just the firewall that starts blocking them?

  9. #9
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8
    I dunno but it happens at night, and as soon as i open them in lokkit they work so I assume that it the case.

  10. #10
    Just Joined!
    Join Date
    Jul 2004
    Posts
    8
    Code:
    microcode_ctl   0:off   1:off   2:on    3:on    4:on    5:on    6:off
    kudzu           0:off   1:off   2:off   3:on    4:on    5:on    6:off
    syslog          0:off   1:off   2:on    3:on    4:on    5:on    6:off
    netfs           0:off   1:off   2:off   3:on    4:on    5:on    6:off
    network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    random          0:off   1:off   2:on    3:on    4:on    5:on    6:off
    rawdevices      0:off   1:off   2:off   3:on    4:on    5:on    6:off
    saslauthd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
    proftpd         0:off   1:off   2:on    3:on    4:off   5:on    6:off
    mdmonitor       0:off   1:off   2:on    3:on    4:on    5:on    6:off
    irda            0:off   1:off   2:off   3:off   4:off   5:off   6:off
    nscd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
    psacct          0:off   1:off   2:off   3:off   4:off   5:off   6:off
    isdn            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    iptables        0:off   1:off   2:on    3:on    4:on    5:on    6:off
    ip6tables       0:off   1:off   2:on    3:on    4:on    5:on    6:off
    irqbalance      0:off   1:off   2:off   3:on    4:on    5:on    6:off
    chkservd        0:off   1:off   2:off   3:on    4:on    5:on    6:off
    smartd          0:off   1:off   2:off   3:off   4:off   5:off   6:off
    autofs          0:off   1:off   2:off   3:on    4:on    5:on    6:off
    netdump         0:off   1:off   2:off   3:off   4:off   5:off   6:off
    sshd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    nfs             0:off   1:off   2:off   3:off   4:off   5:off   6:off
    nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off
    snmptrapd       0:off   1:off   2:off   3:off   4:off   5:off   6:off
    rhnsd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    xinetd          0:off   1:off   2:off   3:on    4:on    5:on    6:off
    cups            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    snmpd           0:off   1:off   2:off   3:off   4:off   5:off   6:off
    ntpd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
    dc_client       0:off   1:off   2:off   3:off   4:off   5:off   6:off
    winbind         0:off   1:off   2:off   3:off   4:off   5:off   6:off
    smb             0:off   1:off   2:off   3:off   4:off   5:off   6:off
    arptables_jf    0:off   1:off   2:on    3:on    4:on    5:on    6:off
    dc_server       0:off   1:off   2:off   3:off   4:off   5:off   6:off
    aep1000         0:off   1:off   2:off   3:off   4:off   5:off   6:off
    bcm5820         0:off   1:off   2:off   3:off   4:off   5:off   6:off
    squid           0:off   1:off   2:off   3:off   4:off   5:off   6:off
    named           0:off   1:off   2:off   3:off   4:off   5:off   6:off
    tux             0:off   1:off   2:off   3:off   4:off   5:off   6:off
    rhdb            0:off   1:off   2:off   3:off   4:off   5:off   6:off
    mdmpd           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    bandmin         0:off   1:off   2:on    3:on    4:on    5:on    6:off
    portsentry      0:off   1:off   2:off   3:on    4:on    5:on    6:off
    mysql           0:off   1:off   2:on    3:on    4:on    5:on    6:off
    cpanel          0:off   1:off   2:off   3:on    4:on    5:on    6:off
    ipaliases       0:off   1:off   2:on    3:on    4:on    5:on    6:off
    filelimits      0:off   1:off   2:on    3:on    4:on    5:on    6:off
    antirelayd      0:off   1:off   2:on    3:on    4:on    5:on    6:off
    exim            0:off   1:off   2:on    3:on    4:on    5:on    6:off
    mrtg            0:off   1:off   2:off   3:on    4:off   5:off   6:off
    xinetd based services:
            pop-3:  on
            ntalk:  on
            talk:   on
            telnet: on
            cpimap: on
    Would any of these be cuasing it?[/list]

Posting Permissions

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