Previous Thread
Next Thread
Print Thread
Rate Thread
#7228 07/15/02 08:51 AM
Joined: Apr 2002
Posts: 730
UGN Supporter
OP Offline
UGN Supporter
Joined: Apr 2002
Posts: 730
Would someone kindly explain how ports work wink


2 people can keep a secret as long as one is dead
#7229 07/15/02 11:44 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
I would run out of numbers before I ran out of ways to interpret the meaning of ports in the Anarchy forum...


Domain Registration, Hosting, Management
http://www.dollardns.net
#7230 07/15/02 02:08 PM
Joined: Apr 2002
Posts: 730
UGN Supporter
OP Offline
UGN Supporter
Joined: Apr 2002
Posts: 730
my bad, i posted in the wrong [censored] forum.


2 people can keep a secret as long as one is dead
#7231 07/15/02 06:15 PM
Joined: Mar 2002
Posts: 185
M
Member
Offline
Member
M
Joined: Mar 2002
Posts: 185
A port is basically the entrance to your computer from the outside world. Think of it as a door. A socket from a program opens up a port, (an example is apache opens up port 80 because that's the http port), and then other programs can connect to the computer trough port 80 once it's opened and something is listning. So the basic definition is a door into your computer. A port scanner will tell you what doors are open on the computer you are scanning.


Cha want some w***up?

http://www.dopeskill.com
#7232 07/16/02 09:11 PM
Joined: Jun 2002
Posts: 17
Junior Member
Offline
Junior Member
Joined: Jun 2002
Posts: 17
LOL PORT SCANNERS ARE FOR N00BS MDOS is for advanced

#7233 07/16/02 10:16 PM
Joined: Mar 2002
Posts: 860
Likes: 1
Der �belt�ter
Offline
Der �belt�ter
Joined: Mar 2002
Posts: 860
Likes: 1
Well Mac-10Daddy, while you telnet to each of the 65000+ TCP ports in DOS, we'll keep using port scanners...

#7234 07/16/02 11:08 PM
Joined: Mar 2002
Posts: 71
C
Junior Member
Offline
Junior Member
C
Joined: Mar 2002
Posts: 71
/me kicks Mac-10Daddy on the balls
you are an idiot. and don't even try to give me a smart-[censored] answer i can already tell you know [censored]. unless you were trying to be sarcastic which i know you weren't


"If you let your wife stand on your toe tonight, she'll stand on your face tomorrow morning" - Sir/Saint Thomas More

-CryptoKnight-
#7235 07/17/02 12:34 AM
Joined: Mar 2002
Posts: 815
S
nobody
Offline
nobody
S
Joined: Mar 2002
Posts: 815
Wtf is MDOS? is it like DDOS? or maybe the retard is thinking of MSDOS... anyways enough flaming. Think of ports as gateways, doorways, openings, or um ports on your computer that allow people to access the information on it, whether its in the form of a webserver, telnet server, mail server, or other things of the sort. Ports on your computer only to be opened if your acting as a server and for direct connections. Firewalls work by not allowing TCP conections to these ports, although they are still open...
The best way to close open ports is to shut down the service thats keeping them open such as NetBEUI that keeps 137 138 139 open I believe. How people acn do NBTstat look ups on you and all that. If you wanna learn more read about TCP/IP as you can cause that what the nets based on. Theirs shitloads that I could go into about ports but I dont wanna take the time. (If Im wrong about anything feel free to correct me).

#7236 07/17/02 01:29 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Quote:
Originally posted by unreal:
Well Mac-10Daddy, while you telnet to each of the 65000+ TCP ports in DOS, we'll keep using port scanners...
65535 wink


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#7237 07/17/02 05:29 PM
Joined: Mar 2002
Posts: 860
Likes: 1
Der �belt�ter
Offline
Der �belt�ter
Joined: Mar 2002
Posts: 860
Likes: 1
Yes Gizzy...and "65000+" covers that. wink

#7238 07/18/02 09:23 PM
Joined: Mar 2002
Posts: 185
M
Member
Offline
Member
M
Joined: Mar 2002
Posts: 185
Gizzy is just trying to show off that he knows exactly the number of ports wink


Cha want some w***up?

http://www.dopeskill.com
#7239 07/19/02 05:30 PM
Joined: Mar 2002
Posts: 524
D
Member
Offline
Member
D
Joined: Mar 2002
Posts: 524
lol
how old is this topic?
anyway. heh. MDOS is l33t! heh
does this mean that guy cant tell the difference between an OS and a port scanner, sad...
anyway, a port is where ships go.
think of your comp as a body of water, people are boats, and ports are places in which they can dock or enter it. Sometimes u need harbor passes like user names or passwords or bohemian slave girls. Sometimes the harbor cant be entered because its blocked off for the day(firewall). And maybe its just there because a program has to open a port to make a connection with another port. i.e. internet explorer to a website, and theres nothing u can do after u access the port. Basically like the port is there so 2 merchants can trade privately back and forth <img border="0" alt="[Thumb]" title="" src="graemlins/thumb.gif" />

ph33r my analogy.

#7240 07/19/02 06:11 PM
Joined: Mar 2002
Posts: 256
Likes: 1
UGN Security Staff
Offline
UGN Security Staff
Joined: Mar 2002
Posts: 256
Likes: 1
Quote:
Originally posted by Mac-10Daddy:
LOL PORT SCANNERS ARE FOR N00BS MDOS is for advanced
lmfao

MsDos = lame not port scanners

Where the [censored] do you come off saying Port Scanners are lame? It is one of the fastest if not the fastest way to see if there is any ports open.

MsDos at least the commands I know would be about the SLOWEST and least effective method of scanning for ports on a range let alone a single IP address..

#7241 07/22/02 07:45 AM
Joined: Mar 2002
Posts: 48
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2002
Posts: 48
Hm...just to note a few things that haven't been made clear enough:

1. There are two types of ports: TCP and UDP. TCP create three-way-handshake connections, UDP just receives packets.
2. I thought there were 32676 ports, not 65000+? Possibly I am wrong - 32676 is the limit on an int, but a unsigned int (this is for C datatypes) would run up to 65000+.
3. You should close all the ports you can on your computer.
4. You don't just "open" ports. You have to assign a program (known to the unix world as a daemon!) to listen to the port.

Now for some Mac-10Daddy bashing:
You are a worthless [censored]. Why the [censored] do you contaminate these boards with your worthless comments. I can't believe I just gave up 1x10^-8375 cents worth of bandwidth and time to download and read the HTML that comprised your message. It's your kind that disgusts me. Get the [censored] off this board you worthless turd. Go find an ugly girl to finger, or better yet, your dog.

What a worthless [censored].

#7242 07/22/02 08:00 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
Scallion Corrections:

An int may consist of 2 bytes in 16-bit operating systems. But the int has 4 bytes on 32-bit systems. Output sizeof(int) on your machine to verify my words.

Yes, there are most DEFINATELY 65536 ports. 0-65535. Port 0 is reserved for a randomly selected available port by the system. In the TCP/IP protocol there is 2 bytes reserved for the port specs. So naturally they'll use it to its full potential.


Domain Registration, Hosting, Management
http://www.dollardns.net
#7243 07/22/02 09:54 AM
Joined: Mar 2002
Posts: 48
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2002
Posts: 48
I think my comment related two things of interest to me:

1. I am unsure of how many ports are on a system (Although this has changed; you have now informed me!)
2. Did the developers of whatever system you're using use an int or an unsigned int or a different datatype.

I never claimed there's only 32676 ports I expressed my lack of knowledge concerning the total number of ports on a system and provided a possible number that might be there, lol.

#7244 07/22/02 10:20 AM
Joined: Mar 2002
Posts: 256
Likes: 1
UGN Security Staff
Offline
UGN Security Staff
Joined: Mar 2002
Posts: 256
Likes: 1
jebus christ, Scallion you dont have to be so elite hehehe. smile SR: I think you have competition

this was just to comment on how l33t Scallion's post was

#7245 07/22/02 10:35 AM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
"2. Did the developers of whatever system you're using use an int or an unsigned int or a different datatype."

signed or unsigned is irrelevent to my point. You said:

"32676 is the limit on an int, but a unsigned int (this is for C datatypes) would run up to 65000+"

This would be true on a 16 bit system. For a 32-bit system I'd rewrite it like this:

"2147483648 is the limit on an int, but a unsigned int (this is for C datatypes) would run up to 4294967295"

A lot of long-time programmers think that int is only 2 bytes. Lots of people make that mistake. But now in the days of 32-bit systems, it's 4. Just letting you know. I'm 100% sure on this.

Here, I'll diagram it again like this for ya - just trying to express myself in a way that is easily understood:

unsigned int on a 16-bit system
0 to 65535

signed int on a 16-bit system
-32768 to 32767

unsigned int on a 32-bit system
0 to 4294967295

signed int on a 32-bit system
-2147483648 to 2147483647

---

Now, for proof, write a small C program. Output the return value of 'sizeof(int)' and you'll get 4 on 32-bit systems, and 2 on 16-bit systems.


Domain Registration, Hosting, Management
http://www.dollardns.net
#7246 07/22/02 11:56 AM
Joined: Mar 2002
Posts: 48
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2002
Posts: 48
SR, dude, you're freakin' out!

As to whether something is signed or unsigned has to do a lot with the maximum value that can be assigned to that variable.

The first bit of a signed int is a 1 or a 0 (duh, bit!) that determines what the sign of the value is. This takes 1 bit away from the overall size of the int - hence, if we count up our powers of two, then we'll realize that for every bit that is lost, the total value a int can hold is decreased by a power of 2.

I totally understand your 16-bit and 32-bit explanations (NEWS FLASH: contrary to public belief, no, i am not a total idiot! lol) and I'll even bet I could find out what it would be for a 64-bit system too!

And...um, I know C too, I can write a quick program. Thanks. Yep. C++ too, i'm leet out the wazoo. NONO, i'm not "elite", only lamers can be "elite".

#7247 07/22/02 01:33 PM
Joined: Mar 2002
Posts: 1,273
DollarDNS Owner
Offline
DollarDNS Owner
Joined: Mar 2002
Posts: 1,273
heh, nah, I'm not freakin out. When my point isn't coming across properly, I get very verbose. I was just trying to tell you about var sizes, and you think I'm talking about max values. Two subtly different things. The conflict probably arose cause you look at var types in terms of value, and I look at them in terms of size. When considering a var's size, sign is irrelevent - that's my point.

I just felt compelled to tell ya that int is actually 32-bit and why cause you said it was 16-bit so-to-speak.

(you don't have to prove that you're not an idiot by proving you know how negative numbers is translated from binary. wink )


Domain Registration, Hosting, Management
http://www.dollardns.net
#7248 07/22/02 02:17 PM
Joined: Mar 2002
Posts: 524
D
Member
Offline
Member
D
Joined: Mar 2002
Posts: 524
hmm, good point, i forgot to mention programs must be listening on ports. guess it was just implied.

#7249 07/23/02 09:44 AM
Joined: Mar 2002
Posts: 48
S
Junior Member
Offline
Junior Member
S
Joined: Mar 2002
Posts: 48
Ok. Max values vs. var sizes understood.

Hurrah...someone valued my comment that you have to put a listener on ports...

#7250 07/23/02 02:44 PM
Joined: Mar 2002
Posts: 524
D
Member
Offline
Member
D
Joined: Mar 2002
Posts: 524
yeah, ur j33t smirk


Link Copied to Clipboard
Member Spotlight
Phatal
Phatal
Houston, TX
Posts: 298
Joined: April 2004
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Cyrez 1
Girlie 1
unreal 1
Crime 1
Powered by UBB.threads™ PHP Forum Software 7.7.5