Bookmark and Share

Author Topic: Simple Doubt  (Read 25400 times)

0 Members and 1 Guest are viewing this topic.

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Simple Doubt
« on: February 01, 2011, 07:34:42 AM »
Hi
Well I have a simple doubt about the simple port tester.

look what happens:
*I use the router WRT54GL and I port forward the ports I want to test and everything(TCP/UDP) goes clear.  :cheesy:

*When I test the forwarded ports in my grandma's router (WRT120N) the UDP ports fail the test(the TCP Port works). It just works in the first time. When I click begin again it allways go UDP Failed even it's opened.

Could it be a problem with the router(WRT120N)?  :sarcastic:

Could anyone help me?

thanks very much!!
« Last Edit: February 01, 2011, 07:39:02 AM by mateus »

PcWinTech.com Forums

Simple Doubt
« on: February 01, 2011, 07:34:42 AM »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #1 on: February 01, 2011, 08:59:48 AM »
If TCP passes but UDP doesn't then it is normally her firewall software on her system blocking the UDP :wink:

A lot of antivirus software has a built in firewall, so make sure to check :wink:

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #2 on: February 01, 2011, 10:11:51 AM »
i tested in the same computer... (firewall is turned on)
in WRT54GL check both clear..
in wrt120n only TCP
ˆˆ

thanks

*we are using mac
« Last Edit: February 01, 2011, 10:26:40 AM by mateus »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #3 on: February 01, 2011, 10:41:12 AM »
Then this should be in the correct forum thread :-)

I will move it.

So you used the same system. Tested with the WRT54GL and they both pass. On the same system you tested the wrt120n and only TCP passed.

Good testing :wink:

By doing that you have confirmed it is not your system. The problem is in the wrt120n. So we may need to check some of the settings in it. We should also check for a firmware update, perhaps it is a bug and it has been fixed.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #4 on: February 01, 2011, 11:22:47 AM »
So it's a problem with the wrt120n..

look I did another test with it.
I updated the firmware to the latest one..

Just the first time I click Begin it gets all correct!
When i check again it's closed..

So it's not a problem in my sistem and not with your program.. right?

wrt120n problem .. is there anything to do?

thanks,
mateus

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #5 on: February 01, 2011, 11:26:19 AM »
If it was a problem with your system or my program then it would be failing on both routers :wink:

I have a linksys that I will be replacing. The port forwarding on it is totally screwed. When I use the port range forwarding page the rules only work once after I reboot the router and then fail every time after. But if I use the single port forwarding page or DMZ it passes every time.

Sounds like you have the same bug as me!

This is why I like Netgear lol

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #6 on: February 01, 2011, 11:48:36 AM »
ooh
something like that!
in wrt120n:
look.. I port forward the TCP/UDP port. I click to test and both are opened (great) . Click again (opened) (GREAT)
I disable the port forward (TCP goes down) (ok) and UDP continues saying (Successful)

it's crazy!

hah

what do you think?

thanks!

*this is what is happening after I update today to the latest firmware!
« Last Edit: February 01, 2011, 11:52:33 AM by mateus »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #7 on: February 01, 2011, 03:03:31 PM »
Sounds like you got it working  :wink:

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #8 on: February 01, 2011, 03:56:44 PM »
almost ;)

look what I said:

When I test the first time its ok both tcp udp ports =)

but when I cancel the port forward both tcp/udp .. the TCP goes down(normal) and the UDP continues successful(wrong) even it's off!

ˆˆ
 :sarcastic:

what should I do?
=p

***just for curious , at this forum:

http://homecommunity.cisco.com/t5/Wireless-Routers/Problem-with-port-forwarding-on-a-WRT120N/m-p/373761

look what the guy said:
4. In addition, please remember that testing for open UDP ports is not really possible. Do not trust test results for open/closed UDP ports.

How could he say that?
 :shocked:

what do you think?
=o

thnx bro,
mateus
« Last Edit: February 01, 2011, 04:29:17 PM by mateus »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #9 on: February 01, 2011, 04:55:43 PM »
Don't worry about what the guy said about testing UDP.

My program listens on the UDP port and looks for data coming in from my site. This is how it tests if UDP is working correctly.

UDP is a connectionless protocol. That means there is no way to tell a connection state of a UDP port. Thats why he says that. That also why my program looks for data coming in for it to pass.

So if you have something on your system send anything to that UDP port while my program is listening on it, my program will report it open.

So enable the rules, test and if they pass your all set. Like I said before, my linksys has a very strange bug, but only with the port forward range page, DMZ and single port page work fine. :wink:

Sorry to take so long responding, been in bed all day. When you have kids in school you get sick a lot LOL

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #10 on: February 01, 2011, 05:07:41 PM »
Great Shane!

You are very good in what you do! hehe great teacher too hah .. should be a great dad too =)

You programs like, simple port tester, simple port forwarding .. any programs u did  are the best i ever see!

so.. it's a firmware router bug! right? do u think if i get another firmware version ..? could fix it?

thankss

I have a suggestion too: port forwarding for mac!

thanks again bro!

;)

« Last Edit: February 01, 2011, 05:15:07 PM by mateus »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #11 on: February 01, 2011, 05:22:49 PM »
Its a firmware bug :wink:
If you have the same bug I do then use this page
http://www.pcwintech.com/files/screenshots/linksys-wrt120n/005.png
and not
http://www.pcwintech.com/files/screenshots/linksys-wrt120n/006.png

And you should be just fine :wink:

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #12 on: February 01, 2011, 05:29:44 PM »
humm..
I tested it and got the same

but no problem! I am looking for an older firmware version that possible fixit!

=)

So everything is allright now!

Does that guy that said udp ports can't be checked .. why he did say that? was he referring to an webpage tester?

thanks again =)

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 16,846
  • Location: USA
  • Karma: 523
  • "Knowledge should be shared not hidden."
Re: Simple Doubt
« Reply #13 on: February 01, 2011, 05:31:03 PM »
I don't know why he said it lol.

Shane
(My weekends belong to my wife and kids, I will try my best to answer all posts daily during the work week)

(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 5 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com

Offline mateus

  • PcWinTech Full Member
  • **
  • Join Date: Feb 2011
  • Posts: 24
  • Karma: 0
Re: Simple Doubt
« Reply #14 on: February 01, 2011, 05:34:18 PM »
humm
lol!

look what he specified:

It's true for UDP. It's UDP: it's packet-based. Unlike TCP where you have a "handshake" before you have a working connection, UDP is best-effort packet delivery.

Thus, a UDP test sends something to that port and checks if something comes back.

If an ICMP error comes back you know for sure that the port is closed. However, too many firewalls are set too tight and filter this ICMP message, or it doesn't go through the router correctly, or, or, or is filtered somewhere...

If a data packet comes back then you know that it's open. Of course, to get something back you must have something to the port which caused the application listening on that port to respond. Now most of the time, applications won't answer to packets which they don't understand. Of course, a UDP test cannot know which application runs on that port, i.e. what it has to send to get something back.

That means most of the time a UDP test won't get anything back and most of the time the test thus has to guess whether it means the port is open or not. And unfortunately, most tests won't correctly tell you the result "I don't know" but tell you either "open" or "closed" depending on the test developer's preference because who would use a test which tells you most of the time "I don't know"??

is that what u said? "UDP is a connectionless protocol. That means there is no way to tell a connection state of a UDP port. Thats why he says that. "

thhhnx

PcWinTech.com Forums

Re: Simple Doubt
« Reply #14 on: February 01, 2011, 05:34:18 PM »

 

email