Sponsored Content
Operating Systems Linux How To Open Ports in RedHat ? Post 39974 by cbkihong on Saturday 6th of September 2003 05:46:36 AM
Old 09-06-2003
This port range is > 1024. You don't have to be root to run this program. You don't have to manually open them. The program will open them as needed.
 

9 More Discussions You Might Find Interesting

1. Cybersecurity

closing open ports

/* Linux Slackware */ Nmap shows the following ports open on the gateway. 21/tcp ftp 22/tcp ssh 23/tcp telnet 25/tcp smtp 37/tcp time 80/tcp http 113/tcp auth 515/tcp printer 587/tcp submission 1024/tcp kdm 6000/tcp x11 ------------------------------- i would like to close as... (10 Replies)
Discussion started by: LowOrderBit
10 Replies

2. UNIX for Advanced & Expert Users

determining open ports

hi all 1) how to determine available ports in a box (solaris) do i have to go for a netstat on all the ports? 2) how to block a particular port for a particular type of connection. Any help would be greatly appreciated Thanks (7 Replies)
Discussion started by: matrixmadhan
7 Replies

3. Shell Programming and Scripting

Check open ports every ...

Hello, i need a script (bash type maybe?..), which would check open ports on 127.0.0.1 and then compare open ports with "registered/allowed" port list and try to kill the program who uses unregistered ports. It would be great that script would be started lets say every 5 or 10 minutes. You see i... (2 Replies)
Discussion started by: MorchiuS
2 Replies

4. AIX

Open Ports on System

Hi Every body, What is the command on AIX 5.2 that can be used to get all open ports? (2 Replies)
Discussion started by: aldowsary
2 Replies

5. UNIX for Dummies Questions & Answers

open ports solaris 8

Hello, I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1012-1020 (which are reserved ports according to the IANA. Lsof does not identify these. One server has all these on and one server just has 1017. *.1023 ... (3 Replies)
Discussion started by: csross
3 Replies

6. Solaris

open ports solaris 8

Hello, I have a number of Solaris 8 Sun servers that have open ports that I cannot identify. I see some with 1013-1023 (which are reserved ports according to the IANA. Lsof does not identify these. I rebooted the server and they went off, but this morning I saw they were all back on again. Any... (1 Reply)
Discussion started by: csgonan
1 Replies

7. Solaris

Open ports in solaris 10

hi guys, may i know the exact steps to open a port in solaris.i have some rough idea - which is adding the port number in /etc/services. but i am not sure the correct conventions, steps or any other steps. kindly advise.thanks guys ! (1 Reply)
Discussion started by: cromohawk
1 Replies

8. UNIX for Dummies Questions & Answers

open ports and services

just a quick question: a. whats the simplest command to check open port and the corresponding services? example: bash-2.05# netstat -an | grep LISTEN *.199 *.* 0 0 49152 0 LISTEN *.8989 *.* 0 0 49152 ... (1 Reply)
Discussion started by: lhareigh890
1 Replies

9. IP Networking

Open/close of ports

Hi, I have read some forum theads about the open and close ports. some points are clear and it is not working on my machine or something am i missing? I have commented out a port /etc/services, one application uses then when i use the telnet <hostname> <port_blocked> it shows connected..... (1 Reply)
Discussion started by: balamv
1 Replies
IEEE1284_OPEN(3)						     Functions							  IEEE1284_OPEN(3)

NAME
ieee1284_open - open a port SYNOPSIS
#include <ieee1284.h> int ieee1284_open(struct parport *port, int flags, int *capabilities); DESCRIPTION
In order to begin using a port it must be opened. Any initial set-up of the port is done at this stage. When an open port is no longer needed it should be closed with ieee1284_close(3). The possible flags are: F1284_EXCL This device cannot share the port with any other device. If this is the case it must be declared at this stage, so that other drivers trying to access the port know not to bother; otherwise they will wait until this driver releases the port, i.e. never. The iopl/dev-port access methods don't support this yet, but the ppdev ones do. If capabilities is not NULL it must point to storage for an int, which will be treated as a set of flags, one per bit, which the library sets or clears as appropriate. If a capability is present it will be used when asked for. They are: CAP1284_RAW Pin-level access is available. If this capability is present then the following functions are effective: ieee1284_write_data, ieee1284_read_status, ieee1284_wait_status, ieee1284_write_control, ieee1284_read_control, ieee1284_frob_control. CAP1284_NIBBLE There is an implementation of nibble mode for this port. CAP1284_BYTE There is an implementation of byte mode for this port. CAP1284_COMPAT There is an implementation of compatibility mode for this port. CAP1284_ECP There is a hardware implementation of ECP mode for this port. CAP1284_ECPRLE There is an RLE-aware implementation of ECP mode for this port (the F1284_RLE flag is recognised by the ECP transfer functions). CAP1284_ECPSWE There is a software implementation of ECP mode for this port. CAP1284_BECP There is an implementation of bounded ECP mode for this port. CAP1284_EPP There is a hardware implementation of EPP mode for this port. CAP1284_EPPSWE There is a software implementation of EPP mode for this port. CAP1284_IRQ An interrupt line is configured for this port and interrupt notifications can be received using ieee1284_get_irq_fd(3). CAP1284_DMA A DMA channel is configured for this port. RETURN VALUE
E1284_OK The port is now opened. E1284_INIT There was a problem during port initialization. This could be because another driver has opened the port exclusively, or some other reason. E1284_NOMEM There is not enough memory. E1284_NOTAVAIL One or more of the supplied flags is not supported by this type of port. E1284_INVALIDPORT The port parameter is invalid (for instance, the port may already be open). E1284_SYS There was a problem at the operating system level. The global variable errno has been set appropriately. SEE ALSO
ieee1284_close(3) AUTHOR
Tim Waugh <twaugh@redhat.com> Author. COPYRIGHT
Copyright (C) 2001-2003 Tim Waugh 09/18/2007 IEEE1284_OPEN(3)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy