04-12-2002
On FreeBSD, you should check your /etc/inetd.conf file to make sure that all the services you don't want has a # at the front of the line.
Then, edit the /etc/rc.conf and let (I think) portmap=NO
Actually, I have an OpenBSD box that I don't run any services but sshd - I have disabled both portmap and inetd.
The easiest way to clear this up may be to reboot, unless you want to try to kill everything thats running that you just turned off.
Check again to see what ports are open, and keep adjusting and researching until it's how you want it!
Also, you figure out what process is opening port 1433 and 1533 for sure is to use "lsof", a wonderful free tool that may already be installed on your system.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, given this 111.22.31.123:1554, isnt this 1554 defined in /etc/services? i am on aix. and this 1554 is a port?
thanks (7 Replies)
Discussion started by: yls177
7 Replies
2. Filesystems, Disks and Memory
How can I check the architecture version on a sun box?
So far I've tried;
arch -k which gives
sun4u
and uname -a which gives
SunOS <hostname> 5.8 Generic_108528-22 sun4u sparc SUNW,Ultra-4
but nothing which definitively states sparc11 or 111 - any ideas? (2 Replies)
Discussion started by: mattd
2 Replies
3. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
4. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
5. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT DEBIAN
umad_get_port
UMAD_GET_PORT(3) OpenIB Programmer's Manual UMAD_GET_PORT(3)
NAME
umad_get_port, umad_release_port - open and close an InfiniBand port
SYNOPSIS
#include <infiniband/umad.h>
int umad_get_port(char *ca_name, int portnum, umad_port_t *port);
int umad_release_port(umad_port_t *port);
DESCRIPTION
umad_get_port() fills the port structure with the IB port attributes specified by ca_name and portnum , or the default port if ca_name is
NULL and portnum is zero. If only one of ca_name and portnum are specified, the other is used as a filter. For example, passing a NULL
ca_name and 2 for the portnum means get a port from any of the local IB devices, as long as it is the second port. Note that the library
may use some reference scheme to support port caching therefore umad_release_port() should be called before the port structure can be deal-
located. The argument port is an umad_port_t struct, as specified in <infiniband/umad.h>.
typedef struct umad_port {
char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */
int portnum; /* Physical port number */
uint base_lid; /* Base port LID */
uint lmc; /* LMC of LID */
uint sm_lid; /* SM LID */
uint sm_sl; /* SM service level */
uint state; /* Logical port state */
uint phys_state; /* Physical port state */
uint rate; /* Port link bit rate */
uint64_t capmask; /* Port capabilities */
uint64_t gid_prefix; /* Gid prefix of this port */
uint64_t port_guid; /* GUID of this port */
} umad_port_t;
umad_release_port() releases the resources that were allocated by the umad_get_port() function for the specified IB port.
RETURN VALUE
umad_get_port() and umad_release_port() return 0 on success, and a negative value on error.
AUTHORS
Hal Rosenstock <halr@voltaire.com>
Dotan Barak <dotanb@mellanox.co.il>
OpenIB May 21, 2007 UMAD_GET_PORT(3)