Sending data beyond port 65535?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
meoiswa
Prole
Posts: 48
Joined: Wed Mar 14, 2012 8:13 pm
Location: Venezuela

Sending data beyond port 65535?

Post by meoiswa »

Please help me figure out how is this happening o.o

I made a little program in love to spam udp packets on all ports and capture them on my server with ngrep to test firewall rules.
Doing some testing I forgot to stop the port at the "max" 65535 and the program kept "sending" data on further ports.
Then it happened, somehow my server recieved a packet on port 65659. How did it happen? how can it happen? if 65535 is not the max port then what is it?

Image

I've tested it over and over and I can successfully send data to the server on that magical port.
Write the ö of Löve with Alt+numPad(148) or Alt+numPad(153)
meoiswa
Prole
Posts: 48
Joined: Wed Mar 14, 2012 8:13 pm
Location: Venezuela

Re: Sending data beyond port 65535?

Post by meoiswa »

And I found the answer, ports repeat after 65535, so port 65659 - 65536 (ports 0 to 65535) = 123, which is the open port in my firewall
Write the ö of Löve with Alt+numPad(148) or Alt+numPad(153)
Post Reply

Who is online

Users browsing this forum: Gunroar:Cannon(), Majestic-12 [Bot] and 0 guests