Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » General Jazz Jackrabbit Talk

Ports 1332 and 1336

Link Link's Avatar

Untitled

Joined: Apr 2001

Posts: 2,099

Link is doing well so far

Jan 23, 2007, 11:28 AM
Link is offline
Reply With Quote
Ports 1332 and 1336

I got an email message from someone who apparently had success from behind a router by forwarding ports 1332 and 1336. Does anyone else know anything about this? Would JJ2 use these ports at all?

Quote:
Hi i have seens i got my router (almost a year) tried to get rid of the
anoying Time Out errors!
But all the port forwarding didn't work, but now i have finally fixed it!
You have to port forward port 1332 and 1336 to.
I thought it would be helpfull to others so i just wanted you to know...
__________________
With our extreme gelatinous apology,
We beg to inform your Imperial Majesty,
Unto whom be dominion and power and glory,
There still remains that strange precipitate
Which has the quality to resist
Our oldest and most trusted catalyst.
It is a substance we cannot cremate
By temperatures known to our Laboratory.

~ E.J. Pratt
 
Xplosive

JCF Member

Joined: May 2006

Posts: 103

Xplosive is notorious for his worthless posts

Jan 23, 2007, 11:36 AM
Xplosive is offline
Reply With Quote
Thats intresting but I don't think it could be true im sure people would of found this out a while back.
__________________
Please visit the RR Forum and perhaps sigh up.


Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,984

Violet CLM has disabled reputation

Jan 23, 2007, 05:52 PM
Violet CLM is offline
Reply With Quote
Doesn't work for me.
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 23, 2007, 06:08 PM
Neobeo is offline
Reply With Quote
I strongly doubt its plausability.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
Monolith

JCF Member

Joined: Mar 2001

Posts: 2,221

Monolith is doing well so far

Jan 23, 2007, 11:02 PM
Monolith is offline
Reply With Quote
Those could just be the ports JJ2 used in the temporary port range on that person's computer. I don't imagine those ports will be consistant, even for him.
__________________
<div style="float: right; width: 100px; height: 70px; margin: 5px 15px;"><img src="http://madskills.org/monolith/idleserver.gif" style="width: 98px; height: 65px;"><img src="http://madskills.org/monolith/theserver.gif" style="width: 98px; height: 65px; position: relative; top: -65px;"></div><div style="margin: 0 3em; font-size: 80%; font-style: italic;">Love is patient, love is kind. It does not envy, it does not boast, it is not proud. It is not rude, it is not self-seeking, it is not easily angered, it keeps no record of wrongs. Love does not delight in evil but rejoices with the truth. It always protects, always trusts, always hopes, always perseveres.</div><div style="text-align: right; text-size: 80%;">1 Corinthians 13:4-7</div>
Cpp Cpp's Avatar

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Jan 23, 2007, 11:45 PM
Cpp is offline
Reply With Quote
Hmm I've never seen that before in my 4 years of jj2 traffic logging (server-side). I think its totally plausable on clinet side however. Jj2 will reserve random ports to receive/send traffic when connected as a client to another server each time it starts up.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Jan 24, 2007, 10:06 AM
blurredd is offline
Reply With Quote
From what I've seen, JJ2 from startup uses the same UDP port chosen from the ephemeral port range until the exe is closed. I'm guessing it wouldn't be too hard to force JJ2 to use a specific port, although I imagine that would have its own problems. Alternatively (and much easier to do) JJ2 could indicate to the user which UDP port is being used and thus which port should be forwarded, but that of course lacks practicality. I should really learn more about sockets.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 24, 2007, 10:50 AM
Grytolle is offline
Reply With Quote
Adding a setting to 1.23+ for forcing usage of certain ports would be a good idea.
__________________
<center></center>
Neobeo

JCF Member

Joined: Sep 2002

Posts: 409

Neobeo is an asset to this forumNeobeo is an asset to this forum

Jan 24, 2007, 02:02 PM
Neobeo is offline
Reply With Quote
It really isn't any difficult to force a UDP port on the client side. By default, JJ2 uses port 0, which lets winsock randomly choose an unused port. It really wouldn't be a bad idea to hardcode a fixed port number. Drawbacks would be if some other program happens to already be using that port, or similarly problems playing online on more than one JJ2.
__________________
<TABLE border=1><TR><TD>Facts:
Jazz Sprite Dynamite (JSD)
Tileset Extractor
Neobeo's Firetruck

</TD><TD>Myths:
Jazz Creation Station Plus (JCS+) - 10%
Coming soon - a dedicated server! - 25%
Jazz Sprite Dynamite v2 (JSDv2) - 2%
Another generic single-player level - 0%
</TD></TR></TABLE>
blurredd blurredd's Avatar

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Jan 24, 2007, 07:13 PM
blurredd is offline
Reply With Quote
Hmm... I managed to force JJ2 to use a specific UDP port, and indeed it wasn't hard. Neobeo might've figured this all out already, but at least it was a learning experience of sorts. Ditto everything else he said.

Edit: I still don't know why some people are able to join a server through GIP or similar when they couldn't otherwise.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.


Last edited by blurredd; Jan 24, 2007 at 07:58 PM.
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Jan 24, 2007, 10:37 PM
Grytolle is offline
Reply With Quote
Quote:
Originally Posted by Neobeo
It really isn't any difficult to force a UDP port on the client side. By default, JJ2 uses port 0, which lets winsock randomly choose an unused port. It really wouldn't be a bad idea to hardcode a fixed port number. Drawbacks would be if some other program happens to already be using that port, or similarly problems playing online on more than one JJ2.
So let's make a setting!
__________________
<center></center>
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 03:32 AM.