<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2376699056425279647</id><updated>2011-11-13T10:27:51.097-05:00</updated><title type='text'>Richard A Breton</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rabreton.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rabreton.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Richard A. Breton</name><uri>http://www.blogger.com/profile/17371709450053378947</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_uVBEguYRjZE/S2XypLEmdaI/AAAAAAAABXE/7A1kgf-CSPw/S220/RABRETONpic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2376699056425279647.post-7540703849780866430</id><published>2010-03-02T07:53:00.003-05:00</published><updated>2010-03-02T07:56:09.862-05:00</updated><title type='text'>Port 25 through a web proxy</title><content type='html'>Recently, a customer called complaining their email server was neither sending nor receiving email through the firewall. While looking through the firewall and NAT rules I noticed that incoming traffic destined for port 25 was being redirected to&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt; port 25 on an internal host and that the firewall rules permitted this traffic. Examination of the change logs and ticketing system indicated the host to which port 25 was being directed to had been changed 24 hours earlier at the request of the customer.&lt;br /&gt;&lt;br /&gt;Discussing the issue with the customer I realized the problem. The customer had recently purchased a web caching and proxy server that also scanned for virus and malware threats. He liked the way it performed so much, he thought he would configure his email to run through the device as well. After explaining to him how a proxy server works and what the limitations are he came to the realization that the device was not going to scan his incoming port 25 email traffic as he previously thought. I changed the NAT rule for port 25 to redirect directly to the mail server. He changed the mail server’s default gateway back to the IP address of the firewall and mail started flowing again.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2376699056425279647-7540703849780866430?l=rabreton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rabreton.blogspot.com/feeds/7540703849780866430/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rabreton.blogspot.com/2010/03/port-25-through-web-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/7540703849780866430'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/7540703849780866430'/><link rel='alternate' type='text/html' href='http://rabreton.blogspot.com/2010/03/port-25-through-web-proxy.html' title='Port 25 through a web proxy'/><author><name>Richard A. Breton</name><uri>http://www.blogger.com/profile/17371709450053378947</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_uVBEguYRjZE/S2XypLEmdaI/AAAAAAAABXE/7A1kgf-CSPw/S220/RABRETONpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2376699056425279647.post-6993767499867615263</id><published>2010-01-19T13:54:00.012-05:00</published><updated>2010-02-23T13:40:43.972-05:00</updated><title type='text'>Blocking Class A subnets...</title><content type='html'>&lt;div&gt;A client called in recently wondering why one of his customers was unable to establish an SSL VPN tunnel to their site. The client explained that they produce an applications that is specific to the medical field and is very multimedia intensive. So, they ship a server out to their customer locations so that the multimedia content can be served from the LAN at their location.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;The server connects back to their headquarters using an SSL VPN tunnel to transfer data and get updates. Prior to shipping these servers out, they always test them to make sure all connectivity works.&lt;br /&gt;&lt;br /&gt;This was the second server they shipped to their customer thinking that something was wrong with the first server. I started dumping for traffic on the external interface of the firewall with a filter for TCP port 443. The traffic was being dropped at the firewall. I looked at the firewall rules and saw that everything seemed to be in order. I did notice at the top of the list however, a large number of subnets that were being dropped. When I asked why those subnet were being dropped, they said because they were blocking all IPs that were being managed by the "RIPE Network Coordination Centre".&lt;br /&gt;&lt;br /&gt;I did a whois for the IP address that was being dropped. Low and behold RIPE says that they manage the whole 151.0.0.0/8 subnet. A had to do a little checking for this because he told me his customer location was in California. Come to find out RIPE only manages 151.8.0.0 - 151.96.255.255. I moved the rule that drops 151.0.0.0/8 to right after the rules that were in place to allow TCP port 443 from the trusted clients in that range.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2376699056425279647-6993767499867615263?l=rabreton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rabreton.blogspot.com/feeds/6993767499867615263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rabreton.blogspot.com/2010/01/blocking-class-subnets.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/6993767499867615263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/6993767499867615263'/><link rel='alternate' type='text/html' href='http://rabreton.blogspot.com/2010/01/blocking-class-subnets.html' title='Blocking Class A subnets...'/><author><name>Richard A. Breton</name><uri>http://www.blogger.com/profile/17371709450053378947</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_uVBEguYRjZE/S2XypLEmdaI/AAAAAAAABXE/7A1kgf-CSPw/S220/RABRETONpic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2376699056425279647.post-1180041856881724102</id><published>2010-01-18T11:54:00.010-05:00</published><updated>2010-02-23T13:43:06.668-05:00</updated><title type='text'>Strange Firewall Rule #1</title><content type='html'>A few weeks ago a client called complaining that a new web application was not working. I asked my usual questions such as what is the internal IP address of the server and what is the external IP address they were testing from. I was told the IIS web server and Microsoft SQL server reside on the same device.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_uVBEguYRjZE/S4OYOocAukI/AAAAAAAABhA/Fts16mik2Cg/s1600-h/Fireewall_Rule_1.png" imageanchor="1" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="98" src="http://4.bp.blogspot.com/_uVBEguYRjZE/S4OYOocAukI/AAAAAAAABhA/Fts16mik2Cg/s400/Fireewall_Rule_1.png" width="400" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A quick check revealed that NAT translations were in place to translate 224.1.2.2&amp;lt;--&amp;gt;192.168.1.10. Firewall rules were in place to allow connectivity to TCP port 443 from particular IP's.&lt;br /&gt;&lt;br /&gt;I asked the remote end to establish a session to the server in the normal way while I dumped for traffic with a filter for the internal IP. I saw traffic come in from the WAN interface, handshake with the server, and the server responded with web traffic. I asked them what the problem was and they told me that soon as the application needs to make a database call, it failed.&lt;br /&gt;&lt;br /&gt;I wondered what could be wrong. Usually, when the web server and database server are on the same machine, there are no IP related connectivity issues. For giggles, I decided to dump on port 1443 to see if anything shows up on the internal interface.&lt;br /&gt;&lt;br /&gt;Low and behold! The web application was making an outbound request to TCP port 1433 of the external IP of 224.1.2.2. Turns out the web application makes calls to the SQL server by using the FQDN (Fully Qualified Domain Name) of the machine. Their DNS server sits at another location and resolves to the external IP address of the server (The IP that resides on the external interface of the router).&lt;br /&gt;&lt;br /&gt;Since the firewall DROPS traffic entering the external interface that is destined to TCP port 1443, it was being dropped. I had to add the following rule to get things to work:&lt;br /&gt;&lt;br /&gt;Allow -p tcp -s 192.168.1.10 -d 192.168.1.10 --dport 1433&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I informed them that for efficiency they may want to add the DNS name of the machine in the local HOST file so that the traffic is kept local to the machine. No word on that yet!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2376699056425279647-1180041856881724102?l=rabreton.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rabreton.blogspot.com/feeds/1180041856881724102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://rabreton.blogspot.com/2010/01/strange-firewall-rule-1_19.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/1180041856881724102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2376699056425279647/posts/default/1180041856881724102'/><link rel='alternate' type='text/html' href='http://rabreton.blogspot.com/2010/01/strange-firewall-rule-1_19.html' title='Strange Firewall Rule #1'/><author><name>Richard A. Breton</name><uri>http://www.blogger.com/profile/17371709450053378947</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_uVBEguYRjZE/S2XypLEmdaI/AAAAAAAABXE/7A1kgf-CSPw/S220/RABRETONpic.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_uVBEguYRjZE/S4OYOocAukI/AAAAAAAABhA/Fts16mik2Cg/s72-c/Fireewall_Rule_1.png' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
