05-06-2004
If you want block, unblock...etc
Normal, almost OS Unix as:
Solaris/Solaris-x86
SunOS
NetBSD
FreeBSD
BSD/OS-1.1 - 4
IRIX
OpenBSD
HP-UX 11.00 (IPFilter 4.0alpha*)
Tru64 5.1a (IPFilter 4.0alpha*)
QNX Port
Use ipf as a network filter! You need read document about ipf at:
http://coombs.anu.edu.au/~avalon/
7 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
When I try to view these forums from work, I get a message that my IP has been blocked. Please advise as to how to fix this situation. My IP at work comes from the following class B network: 128.226.X.X (Binghamton University)
Thanks. (1 Reply)
Discussion started by: debcav
1 Replies
2. IP Networking
Hi. I ran nmap on my server, and I get the following:
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT
Interesting ports on -------- (-----):
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
6881/tcp open bittorrent-tracker
The... (0 Replies)
Discussion started by: Rledley
0 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. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
5. 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
6. 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
7. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
LEARN ABOUT SUSE
port_alert
port_alert(3C) Standard C Library Functions port_alert(3C)
NAME
port_alert - set a port in alert mode
SYNOPSIS
#include <port.h>
int port_alert(int port, int flags, int events, void *user);
DESCRIPTION
The port_alert() function transitions a port into or out of alert mode. A port in alert mode immediately awakens all threads blocked in
port_get(3C) or port_getn(3C). These threads return with an alert notification that consists of a single port_event_t structure with the
source PORT_SOURCE_ALERT. Subsequent threads trying to retrieve events from a port that is in alert mode will return immediately with the
alert notification.
A port is transitioned into alert mode by calling the port_alert() function with a non-zero events parameter. The specified events and
user parameters will be made available in the portev_events and the portev_user members of the alert notification, respectively. The flags
argument determines the mode of operation of the alert mode:
o If flags is set to PORT_ALERT_SET, port_alert() sets the port in alert mode independent of the current state of the port. The
portev_events and portev_user members are set or updated accordingly.
o If flags is set to PORT_ALERT_UPDATE and the port is not in alert mode, port_alert() transitions the port into alert mode. The
portev_events and portev_user members are set accordingly.
o If flags is set to PORT_ALERT_UPDATE and the port is already in alert mode, port_alert() returns with an error value of EBUSY.
PORT_ALERT_SET and PORT_ALERT_UPDATE are mutually exclusive.
A port is transitioned out of alert mode by calling the port_alert() function with a zero events parameter.
Events can be queued to a port that is in alert mode, but they will not be retrievable until the port is transitioned out of alert mode.
RETURN VALUES
Upon succesful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The port_alert() function will fail if:
EBADF The port identifier is not valid.
EBADFD The port argument is not an event port file descriptor.
EBUSY The port is already in alert mode.
EINVAL Mutually exclusive flags are set.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |all |
+-----------------------------+-----------------------------+
|Availability |SUNWcsr, SUNWhea |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
port_associate(3C), port_create(3C), port_get(3C), port_send(3C), attributes(5)
SunOS 5.10 1 Oct 2003 port_alert(3C)