Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Jan 17, 2006 2:56 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Hey All,

From some tests I've done it would seem that UDP traffic is not being allowed out from my node. Is this normal? Is there something I can do or configure to allow UDP traffic (on a specific port) out from my node?

I'm a bit of a linux networking n00b so please be patient :)

Thanks

_________________
-Kevin
thomber.net Directory
http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Tue Jan 17, 2006 3:55 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
How have you been testing this? What type of UDP traffic is this?

There's nothing turned on by default that would prohibit UDP traffic that I know of.


Top
   
 Post subject:
PostPosted: Tue Jan 17, 2006 4:13 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
I'm using a 3rd party MailServer product that has an Administration Client that uses TCP and UDP port 44337. It transmits the log data over UDP, and based on some tests here it would seem to indicate that the UDP traffic is not getting back to me.

I tested on the same scenario on another machine (not a linode) and had no issues, which makes me think there is some issue with the UDP traffic going out from my linode.

_________________
-Kevin

thomber.net Directory

http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Tue Jan 17, 2006 11:08 pm 
Offline
Senior Member

Joined: Sat Dec 13, 2003 12:39 pm
Posts: 98
I can confirm that UDP services work on linode with a default install. I have OpenVPN in UDP mode with several remote clients and no problems.

Was your test machine on the same LAN as your client, perhaps? If that's the case, maybe your ISP or firewall is filtering? For testing, perhaps you could set up X/VNC on your linode and try to run your client from the same machine to see if UDP packets even make it to localhost.

Since UDP works for me, it's likely your packets are either getting dropped at your server before making it to the (virtual) NIC or in your ISP/client LAN. If you run the test client from your linode and it also fails, the packets are probably not leaving your linode. If it works, and if your other test machine is also remote relative to your current client, perhaps a linode support ticket is in order.


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 2:06 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Unfortunately I do not have any X windows stuff installed on my linode.

I know that the issue is not my ISP or my Firewall here at my location. I tested the exact same setup to a friend's server, and did not have the issue.

Oh, I also had somebody in a seperate location connect to my linode with the admin client, and he observed the same thing as I did from my location, so everything is pointing to an issue with my linode, but I have no idea what it might be.

Is there a command line utility that I can use to test this? Is there some configuration I need to check on my linode?

_________________
-Kevin

thomber.net Directory

http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 2:09 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
chapterthree wrote:
Is there a command line utility that I can use to test this? Is there some configuration I need to check on my linode?


You can start by running:
Code:
$ iptables --flush


Just to make sure that you don't have any iptables rules in there that would be preventing UDP traffic.


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 2:14 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
I don't think I have any iptables setup, as I ran iptables -L yesterday and it displayed the same info as today:

Code:
root@g [/etc]# iptables --flush

root@g [/etc]# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

_________________
-Kevin

thomber.net Directory

http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 2:21 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
Well if that's the case, I'm not sure what else to suggest. My suspicion still points to a routing/firewalling issue, but you seem pretty adamant that that's not the issue.

I run UDP-intensive apps daily on my linode and have never had to do anything special to get them working.

Maybe it would be worth trying another UDP app just to make sure it's not a problem specific to your mail server app.


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 2:39 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
anderiv wrote:
Maybe it would be worth trying another UDP app just to make sure it's not a problem specific to your mail server app.

This is exactly what I want to do to help isolate the issue, but I'm clueless as to what tools or programs I can use to test to see if UDP packets are travelling from my linode to me. Any suggestions?

_________________
-Kevin

thomber.net Directory

http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 9:42 pm 
Offline
Senior Member

Joined: Sat Dec 13, 2003 12:39 pm
Posts: 98
Would traceroute do it? I think traceroute is UDP based.


Top
   
 Post subject:
PostPosted: Wed Jan 18, 2006 11:05 pm 
Offline
Junior Member

Joined: Fri Aug 20, 2004 10:32 am
Posts: 38
Well I found a UDP ping tool, hping3. After some testing I determined this was in fact a firewall issue. My firewall at home and work was not allowing UDP traffic in. Yeah I know, I'm a tard :)

Thanks for all the help

_________________
-Kevin

thomber.net Directory

http://pingmyhost.net


Top
   
 Post subject:
PostPosted: Thu Jan 19, 2006 9:05 pm 
Offline
Senior Member

Joined: Sat Dec 04, 2004 5:36 pm
Posts: 145
Also, btw, for future reference, you can test easily with nmap, too.

Example:
Code:
# nmap -sU -P0 -p <portnum> <hostname or IP>

The -sU says to do UDP only, -P0 disables an initial ping check for host up or down, -p <portnum> says to send a query to a specific port, and <hostname or IP> is self explanatory. :)

Good stuff. I use it all the time for TCP or UDP (or both) scans or specific ports to see how things looks for a response if debugging ACLs.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group