<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: New malware spotted that answers to DHCP-Requests to send clients to malicious DNS-servers</title>
	<atom:link href="http://blog.pfsense.org/?feed=rss2&#038;p=308" rel="self" type="application/rss+xml" />
	<link>http://blog.pfsense.org/?p=308</link>
	<description>News, reviews and more related to the pfSense firewall project</description>
	<lastBuildDate>Sun, 19 May 2013 21:07:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Chris Buechler</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-3806</link>
		<dc:creator>Chris Buechler</dc:creator>
		<pubDate>Fri, 29 May 2009 20:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-3806</guid>
		<description><![CDATA[Sean: Disable IPv6.]]></description>
		<content:encoded><![CDATA[<p>Sean: Disable IPv6.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean McRobbie</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-3805</link>
		<dc:creator>Sean McRobbie</dc:creator>
		<pubDate>Fri, 29 May 2009 20:17:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-3805</guid>
		<description><![CDATA[Appears to be one problem with the workaround...

I recently set up a test Windows 7 machine and joined it to my pfSense powered wifi hotspot.

Turns out everything worked as normal to a point... got the correct ipv4 IP, gateway and DNS server from DHCP, However....

Some other device on the wifi hotspot network has issued an ipv6 DNS server which the machine uses instead of the v4 server!

I see this as a *HUGE* security issue as someone can simply plug in a v6 device to the network which Windows 7 (and possiblyWindows Vista and others) will use out of the box!

Aside from the fact it is a security issue, it actually broke everything as far as captive portal is concerned because the captive portal hostname was of course not resolving correctly...

Any workaround for this?]]></description>
		<content:encoded><![CDATA[<p>Appears to be one problem with the workaround&#8230;</p>
<p>I recently set up a test Windows 7 machine and joined it to my pfSense powered wifi hotspot.</p>
<p>Turns out everything worked as normal to a point&#8230; got the correct ipv4 IP, gateway and DNS server from DHCP, However&#8230;.</p>
<p>Some other device on the wifi hotspot network has issued an ipv6 DNS server which the machine uses instead of the v4 server!</p>
<p>I see this as a *HUGE* security issue as someone can simply plug in a v6 device to the network which Windows 7 (and possiblyWindows Vista and others) will use out of the box!</p>
<p>Aside from the fact it is a security issue, it actually broke everything as far as captive portal is concerned because the captive portal hostname was of course not resolving correctly&#8230;</p>
<p>Any workaround for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Buechler</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2560</link>
		<dc:creator>Chris Buechler</dc:creator>
		<pubDate>Sat, 13 Dec 2008 18:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2560</guid>
		<description><![CDATA[You do need to allow both TCP *and* UDP for DNS to work properly. Queries with large responses will be re-issued as TCP, so if you block TCP 53 some queries will fail.]]></description>
		<content:encoded><![CDATA[<p>You do need to allow both TCP *and* UDP for DNS to work properly. Queries with large responses will be re-issued as TCP, so if you block TCP 53 some queries will fail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2557</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Sat, 13 Dec 2008 12:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2557</guid>
		<description><![CDATA[if you use the pfsense as dns-forwarder create a rule that grants access to the pfsense ip on port 53 udp is enough . You don&#039;t need tcp. 

only first rule with ie. enable udp dns(port 53) to 192.168.1.1 (let&#039;s assume 192.168.1.1 is your lan0 IP@)

2nd rule reject tcp/udp dns(port 53) to any]]></description>
		<content:encoded><![CDATA[<p>if you use the pfsense as dns-forwarder create a rule that grants access to the pfsense ip on port 53 udp is enough . You don&#8217;t need tcp. </p>
<p>only first rule with ie. enable udp dns(port 53) to 192.168.1.1 (let&#8217;s assume 192.168.1.1 is your lan0 IP@)</p>
<p>2nd rule reject tcp/udp dns(port 53) to any</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slick</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2545</link>
		<dc:creator>Slick</dc:creator>
		<pubDate>Fri, 12 Dec 2008 15:57:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2545</guid>
		<description><![CDATA[&quot;somebody trying to do something they aren’t supposed to be doing&quot;

Thats usually the case!]]></description>
		<content:encoded><![CDATA[<p>&#8220;somebody trying to do something they aren’t supposed to be doing&#8221;</p>
<p>Thats usually the case!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Buechler</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2533</link>
		<dc:creator>Chris Buechler</dc:creator>
		<pubDate>Fri, 12 Dec 2008 02:24:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2533</guid>
		<description><![CDATA[Pete:  that&#039;s right on. 

I&#039;d leave the logging enabled on the block rule, I like logging what gets dropped egress because it typically indicates either a misconfiguration, compromised host, or somebody trying to do something they aren&#039;t supposed to be doing.]]></description>
		<content:encoded><![CDATA[<p>Pete:  that&#8217;s right on. </p>
<p>I&#8217;d leave the logging enabled on the block rule, I like logging what gets dropped egress because it typically indicates either a misconfiguration, compromised host, or somebody trying to do something they aren&#8217;t supposed to be doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Boyd</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2532</link>
		<dc:creator>Pete Boyd</dc:creator>
		<pubDate>Thu, 11 Dec 2008 19:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2532</guid>
		<description><![CDATA[Thanks Chris. For completeness&#039; sake, here&#039;s my updated config:

The rules must appear in the following order.

Allow outgoing DNS access by pfSense, or by a dedicated DNS server (whichever you use)
Action: Pass
Interface: LAN
Protocol: TCP/UDP
Source
- Type: Single host or alias
- Address: LAN IP of your pfSense, or of your stand-alone DNS server
Destination: any
Destination port range
- from: DNS
- to: DNS
Description: Allow outgoing DNS for our pfSense DNS forwarder

On LAN interface block all DNS traffic to any network
Action: Block
Interface: LAN
Protocol: TCP/UDP
Destination: any
Destination port range
- from: DNS
- to: DNS
Log: Log packets that are handled by this rule  - for short-term testing so as to find out who might mistakenly have an external DNS set, or picked up a rogue DNS
Description: Block outgoing DNS in case of rogue DNS servers]]></description>
		<content:encoded><![CDATA[<p>Thanks Chris. For completeness&#8217; sake, here&#8217;s my updated config:</p>
<p>The rules must appear in the following order.</p>
<p>Allow outgoing DNS access by pfSense, or by a dedicated DNS server (whichever you use)<br />
Action: Pass<br />
Interface: LAN<br />
Protocol: TCP/UDP<br />
Source<br />
- Type: Single host or alias<br />
- Address: LAN IP of your pfSense, or of your stand-alone DNS server<br />
Destination: any<br />
Destination port range<br />
- from: DNS<br />
- to: DNS<br />
Description: Allow outgoing DNS for our pfSense DNS forwarder</p>
<p>On LAN interface block all DNS traffic to any network<br />
Action: Block<br />
Interface: LAN<br />
Protocol: TCP/UDP<br />
Destination: any<br />
Destination port range<br />
- from: DNS<br />
- to: DNS<br />
Log: Log packets that are handled by this rule  &#8211; for short-term testing so as to find out who might mistakenly have an external DNS set, or picked up a rogue DNS<br />
Description: Block outgoing DNS in case of rogue DNS servers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Buechler</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2531</link>
		<dc:creator>Chris Buechler</dc:creator>
		<pubDate>Thu, 11 Dec 2008 16:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2531</guid>
		<description><![CDATA[The destination in that rule must be &quot;any&quot;, not &quot;WAN IP address&quot;. All you&#039;re doing there is blocking DNS traffic destined to your WAN IP, which isn&#039;t what you want to do. 

The pass rules must come before any matching block rules. If that block rule were setup correctly you would have been dropping all DNS traffic if it weren&#039;t passed first.]]></description>
		<content:encoded><![CDATA[<p>The destination in that rule must be &#8220;any&#8221;, not &#8220;WAN IP address&#8221;. All you&#8217;re doing there is blocking DNS traffic destined to your WAN IP, which isn&#8217;t what you want to do. </p>
<p>The pass rules must come before any matching block rules. If that block rule were setup correctly you would have been dropping all DNS traffic if it weren&#8217;t passed first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Boyd</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2528</link>
		<dc:creator>Pete Boyd</dc:creator>
		<pubDate>Thu, 11 Dec 2008 09:36:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2528</guid>
		<description><![CDATA[I found the wording above of &quot;A way to prevent this using pfsense..&quot; not easy to understand, so here&#039;s the translation I did for myself, for anyone else having difficulty with it:

* On LAN interface block all DNS traffic to WAN

Action: Block
Interface: LAN
Protocol: TCP/UDP
Destination: WAN address
Destination port range
	from: DNS
	to: DNS
Log: Log packets that are handled by this rule  - for short-term testing so as to find out who might mistakenly have an external DNS set, or picked up a rogue DNS
Description: Block outgoing DNS in case of rogue DNS servers


* Allow outgoing DNS access by pfSense, or by a dedicated DNS server (whichever you use)

Action: Pass
Interface: LAN
Protocol: TCP/UDP
Source
	Type: Single host or alias
	Address: LAN IP of your pfSense, or of your stand-alone DNS server
Destination: WAN address
Destination port range
	from: DNS
	to: DNS
Description: allow outgoing DNS for our pfSense DNS forwarder

The firewall rules page says the order matters, which to me would mean the pass rule needs to go above the block rule, but in practice this doesn&#039;t appear necessary. Maybe someone can correct me if I&#039;m wrong.]]></description>
		<content:encoded><![CDATA[<p>I found the wording above of &#8220;A way to prevent this using pfsense..&#8221; not easy to understand, so here&#8217;s the translation I did for myself, for anyone else having difficulty with it:</p>
<p>* On LAN interface block all DNS traffic to WAN</p>
<p>Action: Block<br />
Interface: LAN<br />
Protocol: TCP/UDP<br />
Destination: WAN address<br />
Destination port range<br />
	from: DNS<br />
	to: DNS<br />
Log: Log packets that are handled by this rule  &#8211; for short-term testing so as to find out who might mistakenly have an external DNS set, or picked up a rogue DNS<br />
Description: Block outgoing DNS in case of rogue DNS servers</p>
<p>* Allow outgoing DNS access by pfSense, or by a dedicated DNS server (whichever you use)</p>
<p>Action: Pass<br />
Interface: LAN<br />
Protocol: TCP/UDP<br />
Source<br />
	Type: Single host or alias<br />
	Address: LAN IP of your pfSense, or of your stand-alone DNS server<br />
Destination: WAN address<br />
Destination port range<br />
	from: DNS<br />
	to: DNS<br />
Description: allow outgoing DNS for our pfSense DNS forwarder</p>
<p>The firewall rules page says the order matters, which to me would mean the pass rule needs to go above the block rule, but in practice this doesn&#8217;t appear necessary. Maybe someone can correct me if I&#8217;m wrong.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slick</title>
		<link>http://blog.pfsense.org/?p=308&#038;cpage=1#comment-2525</link>
		<dc:creator>Slick</dc:creator>
		<pubDate>Thu, 11 Dec 2008 01:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.pfsense.org/?p=308#comment-2525</guid>
		<description><![CDATA[At the mortgage company I administrate the network for. I have 53 blocked for everything but OPENDNS and internal. All other DNS servers are blocked. I actually didnt do it for this reason, I actually did it for content filtering purposes. However, its nice to know that Im already protected against this as well.]]></description>
		<content:encoded><![CDATA[<p>At the mortgage company I administrate the network for. I have 53 blocked for everything but OPENDNS and internal. All other DNS servers are blocked. I actually didnt do it for this reason, I actually did it for content filtering purposes. However, its nice to know that Im already protected against this as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
