Wilders Security Forums  

Go Back   Wilders Security Forums > Security Products > other firewalls
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old July 8th, 2003, 05:06 PM
Karl_Menshy Karl_Menshy is offline
Regular Poster
 
Join Date: Apr 2003
Posts: 135
Default SPF and DNS problem

I have been recently trying Sygate Personal Firewall free; however it is a little too good in blocking : when I disable the server rights for applications, no DNS server can be addressed and thus no IPs resolved. This and similar topics are discussed in the sygate forums, but more in a "guessing...try this or that" way, so maybe the experts in here can help:

I want to set up a rule to allow DNS resolution for a choice of applications. Is it safe to set up a rule which allows UDP remote port 53/local ports 1024-4999, connections only to the DNS-server ip and for the selected applications, both incoming and outgoing.

As for the problem: it works! But is it the safe and best way to set up a DNS rule?

Thanks for your help.
  #2  
Old July 8th, 2003, 08:38 PM
root's Avatar
root root is offline
Retired Moderator
 
Join Date: Feb 2002
Location: Missouri, USA
Posts: 1,723
Default Re:SPF and DNS problem

Don't remember much about how to set SPF rules, but with Outpost it can be done safely, two ways.
One is to have a global DNS rule allowing UDP to remote port 53, to the DNS IP address. No direction or local port needed.
It is even safer to set it up on each application that needs it, UDP remote port 53, remote IP of DNS server(s).
Sometimes my computer tries to use TCP port 53 for DNS and I have allowed that also.
It is important to use the DNS servers IP on DNS rules as there are exploits that can be used on port 53.
__________________
"There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man (and a woman) in everlasting igonorance- that principle is: Contempt prior to Investigation."
-Herbert Spencer
  #3  
Old July 9th, 2003, 05:46 AM
Karl_Menshy Karl_Menshy is offline
Regular Poster
 
Join Date: Apr 2003
Posts: 135
Default Re:SPF and DNS problem

Hi root,

thanks for the advice...I was afraid that there are exploits... ...
  #4  
Old July 9th, 2003, 06:56 AM
jvmorris jvmorris is offline
Firewall Moderator
 
Join Date: Feb 2002
Posts: 618
Default Re:SPF and DNS problem

Quote:
quoting: root link=board=23;threadid=11135;start=0#msg72361 date=1057711112]Sometimes my computer tries to use TCP port 53 for DNS and I have allowed that also.
root,

I've never experienced this with TCP, but I know someone else who has, on occasions. Do you know why some people see this, but not others? Just curious.
__________________
Regards,
Joseph V. Morris
  #5  
Old July 9th, 2003, 07:01 AM
jvmorris jvmorris is offline
Firewall Moderator
 
Join Date: Feb 2002
Posts: 618
Default Re:SPF and DNS problem

Quote:
quoting: Karl_Menshy link=board=23;threadid=11135;start=0#msg72441 date=1057744009]
...I was afraid that there are exploits... ...

You can find a short discussion of this at DSLR Security Forum in http://www.dslreports.com/forum/rema...ty,1~mode=flat . Specifically, you might want to take a look at the URL in TheWiseGuy's first response on DNS. That was one I hadn't been aware of.



Added URL tags
__________________
Regards,
Joseph V. Morris
  #6  
Old July 9th, 2003, 07:23 AM
Karl_Menshy Karl_Menshy is offline
Regular Poster
 
Join Date: Apr 2003
Posts: 135
Default Re:SPF and DNS problem

Very interesting reading, thanks for the link.
So I guess (if I read and understood everything correctly ) most of the exploits are prevented by tying the DNS rule to an app + limiting it to the DNS server ip. Good to know.
  #7  
Old July 9th, 2003, 07:34 AM
Cynder^
 
Posts: n/a
Default Re:SPF and DNS problem

Whether or not you specify the Source IP Addresses, unless the users Software Firewall uses Stateful Packet Inspection Technology over UDP Protocols it’s still very possible for one to exploit using Spoofed IP Sources…
  #8  
Old July 9th, 2003, 09:00 AM
root's Avatar
root root is offline
Retired Moderator
 
Join Date: Feb 2002
Location: Missouri, USA
Posts: 1,723
Default Re:SPF and DNS problem

Hi JV. David H told me that sometimes UDP 53 gets too busy or something like that and the browser will switch to TCP to continue resolving.
What I have noticed is that there is usually a site or two that would trigger this request for TCP port 53. I now have it allowed, but if you block it, I don't think you would ever notice the difference.

Quote:
Whether or not you specify the Source IP Addresses, unless the users Software Firewall uses Stateful Packet Inspection Technology over UDP Protocols it?s still very possible for one to exploit using Spoofed IP Sources
Cynder^, I'm not sure this would be the case with every firewall. For instance, Outpost version 1 did not have SPI as such but it did look to see if the machine had originated the conversation or not. I think that every firewall vendor out there has a different concept of what SPI is, and some probably run a partial SPI firewall like Outpost did.
I am beginning to appreciate more and more the benefits of having a software firewall with a router with SPI
__________________
"There is a principle which is a bar against all information, which is proof against all arguments and which cannot fail to keep a man (and a woman) in everlasting igonorance- that principle is: Contempt prior to Investigation."
-Herbert Spencer
 

Wilders Security Forums > Security Products > other firewalls « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 07:37 AM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums