| View previous topic :: View next topic |
| Author |
Message |
ovigo22
Joined: 15 May 2006 Posts: 130
|
montanarry, i see
so you want my /etc/services file? :) |
| |
|
|
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Like tomcat uses 80:80 i.e a webserver it serves jsp and servlets |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
It has a list of port -> protocol
oh it's not common
8080 is not a standard port |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Ok tell me how many protocols are there
And what ports they use
Then could you please tell me out of those ports which are/can be used by java applications |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| there are an infinite number of protocols, everyone uses his own... |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| montanarry, there are too many if you are looking for non-standard ports |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| so how many stars are there, exactly? |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
| |
Koplaf
Joined: 28 May 2006 Posts: 130
|
| there are 2^16 ports, you can use them all in java... |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Infinite
What about standard ports |
| |
|
|
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| look at /etc/services |
| |
|
|
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| montanarry, using some ports might require admin/root rights |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Ernmimril, what standard ports you are talking about?
I dont have unix system buddy, i am on windows |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
| |
AmeliaR
Joined: 31 May 2006 Posts: 142
|
| montanarry, then why worry about ports? You're vulnerable regardless :) |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| montanarry, are you just trolling? |
| |
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| No it's not :) |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| AmeliaR, you got that right man |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
| montanarry,did you google for the services file yet? that is the list of standard services (ports+applications) |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
For windows
? |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
yes
Windows systems: %SystemRoot%\System32\drivers\etc\services for example: C:\WINDOWS\system32\driver\etc
do you know how to use google? |
| |
|
|
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
Yup i got it
So Koplaf: standar protocols are tcp/ip and udp right?
Standard* |
| |
|
|
Koplaf
Joined: 28 May 2006 Posts: 130
|
go and buy some books on network programming
how old are you? 7?
"unix network programming" may be a good book to read
tcp/udp and ip are network protocols on a low level, your applications generally use a higher level protocol like http
http typically runs on top of tcp/ip |
| |
|
|
PaulKolin
Joined: 25 May 2006 Posts: 108
|
| IP is in the network layer, tcp and udp are in the transport layer, http is in the application layer - each dependent upon and "riding on" the previous. |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| So java programs can use any port, right ? |
| |
|
|
|