hi all,
My OS is solaris 8 with core system installation only. so far everything works fine. by i do some testing from my xp pc as client to nmap and scan opening port to my solaris. the result as below:
Initiating SYN Stealth Scan against 10.10.10.10 at 16:25
Discovered open port 21/tcp on... (3 Replies)
Hi
I am on solaris 8. And using xdm Xsun for X windows capabilities. Is it possible to close port 6000 and still have xdm Xsun for X windows capabilities.
I came across http://www.sunmanagers.org/pipermail/summaries/2004-May/005208.html
and neither i can close off port 6000
Rgds (2 Replies)
Hi all, can anyone help me with this?
I'm running AIX 5L v5.3 base and installed CDE is 1.0. I've seen recommendations to add "-nolisten tcp" to the args for X but anytime I try that it simply fails to start. I've tried adding it as an arg to /usr/dt/config/Xservers as well as trying to add it... (0 Replies)
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)
Hi,
What iptables command do I need to run in order to open up the following port for incomming traffic on the following server:
# telnet 127.0.0.1 1521
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection... (3 Replies)
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)
Hi there,
I tried just open a port but I failed ;-(
# telnet localhost 9876
That should work so I did ...
# vi /etc/services
myport 9876/tcp # my port
# svcadm restart inetd
-> New pid, see ps - ef | grep inet
# netstat -an | grep 9876
No port 9876 is waiting ;(
#... (4 Replies)
I need a script on which if i will pass the port number and the host name as external parameter then it should respond me if the port is open or not
thread moved (0 Replies)
Discussion started by: patitapaban
0 Replies
LEARN ABOUT DEBIAN
socket_connect4
socket_connect4(3) Library Functions Manual socket_connect4(3)NAME
socket_connect4 - attempt to make a TCP connection
SYNTAX
#include <socket.h>
int socket_connect4(int s,const char ip[4],uint16 port);
DESCRIPTION
socket_connect4 attempts to make a connection from TCP socket s to TCP port port on IP address ip.
socket_connect4 may return
o 0, to indicate that the connection succeeded (and succeeded immediately, if the socket is non-blocking)
o -1, setting errno to error_inprogress or error_wouldblock, to indicate that the socket is non-blocking
o -1, setting errno to something else, to indicate that the connection failed (and failed immediately, if the socket is non-blocking).
When a background connection succeeds or fails, s becomes writable; you can use socket_connected to see whether the connection succeeded.
If the connection failed, socket_connected returns 0, setting errno appropriately.
Once a TCP socket is connected, you can use the read and write system calls to transmit data.
You can call socket_connect4 without calling socket_bind4. This has the effect as first calling socket_bind4 with IP address 0.0.0.0 and
port 0.
EXAMPLE
#include <socket.h>
int s;
char ip[4];
uint16 p;
s = socket_tcp4();
socket_bind4(s,ip,p);
socket_connect4(s,ip,p);
SEE ALSO socket_connect6(3)socket_connect4(3)