Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blocking UDP is Possible? Testing UDP Leaks?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Fri Jul 21, 2006 7:50 pm    Post subject: Blocking UDP is Possible? Testing UDP Leaks? Reply with quote

Hi all,

I'm wondering whether it's possible / practical to block the entire outgoing UDP traffic of an intranet? I mean, I want to limit the UDP traffic only in the intranet, and thus I'd like to block all outgoing UDP ports. Is there any ramifications in doing this? Is it really worth it?

Moreover, once I block the entire UDP traffic, how can I test for the leaks? As far as I know, all firewall testers are testing only TCP traffic.

Do you have any idea of how to break / circumvent any of such ban? I can think of some tunneling can get around of this UDP traffic ban. Is there another way?

Thanks a lot. :D
Back to top
View user's profile Send private message
azuriel
Apprentice
Apprentice


Joined: 27 Feb 2005
Posts: 166

PostPosted: Fri Jul 21, 2006 8:18 pm    Post subject: Reply with quote

Generally speaking, most firewalls block inbound traffic, not outbound (look at http://www.securityfocus.com/infocus/1867, an article on Desktop Firewalls). However, blocking outbound UDP shouldn't interfere with basic web browsing and SSL and such.

Stateless protocols like UDP can be really annoying to make work with firewalls, just my warning before you slap down a blanket DROP rule.
_________________
Adopt an unanswered post
TJGames.org

The folly of mistaking a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Valery
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Fri Jul 21, 2006 9:06 pm    Post subject: Reply with quote

You might want to monitor that traffic first so you are aware of what you are blocking.

For example, DNS lookups will require outbound connections on UDP port 53.


You can use apps like tcpdump or ethereal to check for outbound UDP traffic.

Here's an example of using tcpdump to watch outbound UDP traffic on my DSL connection:
Code:

# tcpdump -i ppp0 udp and src host $MYIP



troymc
Back to top
View user's profile Send private message
robbyjo
Guru
Guru


Joined: 06 Apr 2003
Posts: 462

PostPosted: Mon Jul 24, 2006 3:12 pm    Post subject: Reply with quote

Thanks a lot. I'll monitor the UDP traffic first for a week or so and then decide whether it's a good idea or not.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum