08-04-2006
If I understand you correctly, you'd have to use raw sockets.
My advice would be, don't, for a couple reasons.
- A "Port Scanner" isn't exactly the kind of program that will make the birds sing and the world a greener place. Spyware sucks. Please don't do it.
- You won't be able to run this awful contraption without root.
- Using bits and pieces of protocols without using the whole thing doesn't sound particularly reliable anyway.
Plus, my understanding of the TCP/IP protocol at this level might be incorrect. Maybye you can't
use ports at all if all you've got is syn and ack.
p.s. It's spelled "please". You obviously know how to spell it, and I'm pretty sure you've got at least the minimum 104 keys required.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi.
how to search a range of IP:s for their registed IP names?
Like nslookup or host for all IPs 130.xxx.xxx.1 to 130.xxx.xxx.254
//nicke (2 Replies)
Discussion started by: nicke30
2 Replies
2. Linux
Hi,
Recently I install a package and try to do a make and make install.
However, in the make it gives me below error:-
make:Nothing to be done for 'install-exec-am'
make:Nothing to be done for 'install-data-am'
Can anyone please explain to me what does this mean? I have been trying... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
3. Solaris
I attached a README file that I will refer to.
I successfully completed everything in the README file until step 4.
# pwd
/gani/gani-2.4.4
# ls
COPYING Makefile.macros gem.c
Makefile Makefile.sparc_gcc gem.h
Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
While installation of apache on linux, we perform the below tasks.
1) Untar
2) configure
3) make
4) make install.
I wanted to understand the difference and working of configure/make/make install.
Can any one help me understanding this?
Thanks in advance. (1 Reply)
Discussion started by: praveen_b744
1 Replies
5. Cybersecurity
ipables - stealth port 80
This is how I did set up my iptables. It's basic, easy and simple, but it suits my needs.
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
... (6 Replies)
Discussion started by: wiluni
6 Replies
6. Programming
I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk,
trunk/bld
trunk/src/
trunk/src/src_server
trunk/makefile.linux
In the make file, I have compile rules
SOURCELOC = src
# compile src c++... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
7. UNIX for Dummies Questions & Answers
i want to scan all open and closed ports on a server. how can i do this.
i intend on using nmap, but if there are better ways to do it, please let me know.
i understand there are a total of 6335 allowable ports on a server.
so out of that 6335, i want to know which is open or closed. id... (1 Reply)
Discussion started by: SkySmart
1 Replies
8. Shell Programming and Scripting
Hi
What I'm trying to do(manually) is logging into the server
and running the below mentioned commands
ls /sys/class/scsi_device/ | while read i; do echo "- - -" > /sys/class/scsi_device/$i/device/rescan;done
lsblk
echo -e "o\nn\np\n1\n\n\nw" | fdisk /dev/sdd
partx -a /dev/sdd1... (7 Replies)
Discussion started by: James0806
7 Replies
BPLAY(1) General Commands Manual BPLAY(1)
NAME
bplay, brec - buffered sound recording/playing
SYNOPSIS
bplay [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [[-j secs] | [-J samples]] [-D level] [file]
brec [-d device] [-B buffersize] [-S] [-s speed] [-b bits] [[-t secs] | [-T samples]] [-r|-v|-w] [-D level] [file]
DESCRIPTION
bplay copies data from the named sound file (or the standard input if no filename is given) to the audio device.
brec copies data from the audio device to the named sound file (or the standard output if no filename is present).
These programs are intended to be drop-in replacements for the vplay and vrec programs by Michael Beck (beck@informatik.hu-berlin.de).
OPTIONS
-B buffersize
Use the supplied audio buffer size instead of the default.
-d device
Use the supplied audio device instead of the default.
-S Sound file is stereo.
-s speed
The speed in samples per second.
-b bits
The number of bits per sample. Only 8 and 16 are currently supported.
-t secs
The number of seconds to be played or recorded.
-T samples
The number of samples to be played or recorded.
-j secs
When playing, the number of seconds to skip at the beginning of the input before playing.
-J samples
When playing, the number of samples to skip at the beginning of the input before playing.
-r When recording, write raw sound file.
-v When recording, write Creative Labs VOC sound file.
-w When recording write Microsoft Wave sound file. Note that the WAVE file format is limited to 4GiB filesize. Recording more data is
possible, but the length info won't be consistent.
-q Quiet mode. No messages are displayed.
-D level
Print debug information to stderr. Debug level ranges from 0 to 2, where 0 is no debug information.
FILES
/dev/dsp The audio device.
BUGS
The -t, -T, -j and -J options may do strange things when playing VOC files.
There are limitations on recording VOC format files - specifically VOC files are only recorded in the 1.20 version of the format, which
some player programs may choke on. There is also currently a limit of around 16M on the size of a VOC file which will be recorded. This is
probably not a problem since I don't think anybody really uses VOC files anymore.
This program prefers to run setuid root. This is because it wants to use setpriority() to run at the highest possible priority, and also
locks down the buffers it uses to avoid them being swapped out.
AUTHOR
David Monro (davidm@amberdata.demon.co.uk or davidm@cs.usyd.edu.au)
The option parsing code was originally taken from vplay to maintain compatibility.
20 September 1999 BPLAY(1)