10-28-2008
Quote:
Well, perhaps there's a firewall (or at least IP packet filter) dropping the packets.
You are right. This port scanner is made so simple, not stealthy & does not pass any firewall. Otherwise, it should scan normally.
It works best if you use it in your network internally, or use against your machine.
I opened a port from terminal by doing
sudo nc -l -p AnyPortNumber
Then tested the program, It worked!
Note - Instead of doing this
struct sockaddr_in *specifyPort = (struct sockaddr_in *)results->ai_addr;
specifyPort->sin_port = htons(startingPort);
Do this,
status = getaddrinfo(remoteIP, startingPort , &hints, &results);
Better & easier.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I connect to a Sun Box through telnet but it timed out in couple of minutes.
Advance thanks for any idea...help... (2 Replies)
Discussion started by: s_aamir
2 Replies
2. UNIX for Advanced & Expert Users
We recently installed a new release of SCO UNIX (5.0.6) and when I try to relay e-mail from the UNIX box to my NT server (the mail server) I get the following message from sendmail.
Deferred: Connection timed out with nt
I have nt set up as my relay server in sendmail.cf and the mail seems to... (8 Replies)
Discussion started by: jmossman
8 Replies
3. UNIX for Advanced & Expert Users
I am unable to find any TCP scanner for data captruing for a Remote or local server. Can anybody please help. i need it to read TCP port and capture the incoming/outgoing data , (3 Replies)
Discussion started by: fahadsiddiqui
3 Replies
4. Linux Benchmarks
Hai All,
I have problem during HTTP benchmarking with polygraph tool on EM64T machine.
Benchmarking results are getting problem bcas of connection timed out system errors. Machine log information is as,
/var/log/messages.3:Feb 18 16:17:44 proxy64 network: Bringing up interface eth0: ... (0 Replies)
Discussion started by: muthukumar
0 Replies
5. HP-UX
I am trying to connect with my hp machine using "dialup networking." It times out after 30 seconds. Is there a way to adjust this time. Would it have anything to do with rexec?
thanks (0 Replies)
Discussion started by: paschal
0 Replies
6. UNIX for Dummies Questions & Answers
I want my server socket to listen on two ports in my machine. How do i achieve it? I will have two clients one connecting to 1 port and another to a different port. So my server needs to listen to both.
Thanks. (1 Reply)
Discussion started by: abc.working
1 Replies
7. Programming
Hello everybody,
I've coded a multi-client server based on internet sockets using the scheme
listen on port X-accept-fork, exactly like beej's guide
At some point I would like to establish a secondary connection between a client and the server-child serving him.
I was considering the... (4 Replies)
Discussion started by: jonas.gabriel
4 Replies
8. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
9. Programming
I want to send packets through single socket() but using two different port numbers in UDP. Anybody give some idea on this.
Thanks in advance.:) (2 Replies)
Discussion started by: naresh046
2 Replies
10. AIX
Hello,
I have two AIX6.1 machines that can communicate with each other through ssh.
The problem is that one of them somehow closes the connection after some time and i don't know the reason of that.
For example today i send through rsync command 7 files from one server to the other. It send... (7 Replies)
Discussion started by: omonoiatis9
7 Replies
LEARN ABOUT DEBIAN
scan-view
SCAN-VIEW(1) SCAN-VIEW(1)
NAME
scan-view
scan-view(1) -- The clang(1) static analyzer results viewer.
SYNOPSIS
scan-view options results directory
DESCRIPTION
scan-view a companion comannd line utility to scan-build(1), scan-view is used to view analysis results generated by scan-build(1). There
is an option that one can pass to scan-build to cause scan-view to run as soon as it the analysis of a build completes
OPTIONS
-h, --help
show the help message and exit.
--host=HOST
Host interface to listen on. (default=127.0.0.1)
--port=PORT
Port to listen on. (default=8181)
--debug
Print additional debugging information.
--auto-reload
Automatically update module for each request.
--no-browser
Don't open a webbrowser on startup.
--allow-all-hosts
Allow connections from any host (access restricted to "127.0.0.1" by default)
AUTHORS
Maintained by the Clang / LLVM Team http://clang.llvm.org.
This manual page was written by Ermenegildo Fiorito fiorito.g@gmail.com for the Debian Project.
SEE ALSO
clang(1) scan-build(1) http://clang-analyzer.llvm.org
December 2010 SCAN-VIEW(1)