<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Fri, 10 Dec 2010 10:53:00 +0000</lastBuildDate><item><title>Cisco: Uninstalling the CSD ActiveX Control</title><link>https://www.linickx.com/cisco-uninstalling-the-csd-activex-control</link><description>&lt;p&gt;I'm installing Cisco Secure Desktop (CSD) for a customer and needed to
re-test the installation process. Within internet explorer's (IE Version
7 &amp;amp; 8 ) managed add-on feature, I noticed that the CSD ActiveX Control
doesn't have an uninstall feature.&lt;/p&gt;
&lt;p&gt;To remove the control I had to close IE, browse to...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;C:\Windows\Downloaded Program Files
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;..and remove the following files..&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CSDWebInstaller.inf
CSDWebInstaller.ocx
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When re-starting IE the control was gone and I could test the
re-install, I hope this helps some other googler! :cool:&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 10 Dec 2010 10:53:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2010-12-10:cisco-uninstalling-the-csd-activex-control</guid><category>Cisco</category><category>CSD</category><category>internet explorer</category><category>Security</category></item><item><title>Better Proxy Settings... Bluecoat, wpad, proxy.pac &amp; dhcp option 252</title><link>https://www.linickx.com/better-proxy-settings-bluecoat-wpad-proxypac-dhcp-option-252</link><description>&lt;p&gt;Recently I've been involved with a &lt;a href="https://www.bluecoat.com/"&gt;bluecoat&lt;/a&gt;
install; one of the requirements I've been faced with was helping the
client with was removing &lt;em&gt;fixed&lt;/em&gt; proxy settings within their browsers.&lt;/p&gt;
&lt;p&gt;For how-to references a combination of google, wikipedia and &lt;a href="http://blog.freyguy.com/archives/2006/03/01/proxy-auto-detect-ie-and-firefox/"&gt;this
post&lt;/a&gt;
are good places to start; I intend to document my experience you may
find some overlap.&lt;/p&gt;
&lt;p&gt;The 1st thing to understand is that Firefox (&lt;em&gt;FF&lt;/em&gt;) and Internet Explorer
(&lt;em&gt;IE&lt;/em&gt;) both support an "automatically detect proxy" setting, but they
are implement in different ways. Both FF &amp;amp; IE use a proxy.pac (&lt;em&gt;also
known as wpad.dat&lt;/em&gt;) for their configuration, they just "look for it" in
different ways.&lt;/p&gt;
&lt;p&gt;The proxy pac file is a java script that tells the browsers (&lt;em&gt;both FF &amp;amp;
IE&lt;/em&gt;) how to connect, there's some good &lt;a href="http://www.findproxyforurl.com/"&gt;pac file
examples&lt;/a&gt; here, this is what I did...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;function FindProxyForURL(url, host)
{
    // The 1st if function tests if the URI should be by-passed…
    // Proxy By-Pass List
    if (
        // ignore RFC 1918 internal addreses
        isInNet(host, "10.0.0.0", "255.0.0.0") ||
        isInNet(host, "172.16.0.0", "255.240.0.0") ||
        isInNet(host, "192.168.0.0", "255.255.0.0") ||

        // is url is like http://server by-pass
        isPlainHostName(host) ||

        // localhost!!
        localHostOrDomainIs(host, "127.0.0.1") ||

        // by-pass internal URLS
        dnsDomainIs(host, ".mycompany.com") ||
        dnsDomainIs(host, ".mycompany.local")
        )

        // If True, tell the browser to go direct…
        return "DIRECT";

        // If False, it’s not on the by-pass then Proxy the request… if you fail to connect to the proxy, try direct.

return "PROXY 10.10.10.10:8080;DIRECT";

}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Once you're happy with what you've written you need to "publish" the pac
file on a webserver for your clients to download it... I've decided to
use the bluecoat proxy SG.&lt;/p&gt;
&lt;p&gt;Now you can't upload the pac file via the GUI, you need to get down and
dirty with the command line, below is an example ssh session...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Proxy&amp;gt; enable
Proxy# conf t
Proxy# inline accelerated-pac 123
....... Paste the contents of proxy.pac .......
123
Proxy#
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Before going any further log into you're bluecoat, make sure that under
&lt;code&gt;Services -&amp;gt; Proxy Services&lt;/code&gt;, HTTP 80 &amp;amp; 8080 are set to Intercept. Next
check that &lt;code&gt;Services -&amp;gt; Management services&lt;/code&gt;, HTTP-Console 8081 is
enabled... this service will be used to get the pac file, leave
HTTPS-Console 8082 on as using the 8081 for administrator access would
be a bad idea.&lt;/p&gt;
&lt;p&gt;You will now hopefully be able to download your pac file from the
following url http://10.10.10.10:8081/accelerated_pac_base.pac ..
change the IP as necessary.&lt;/p&gt;
&lt;p&gt;Once that works we're going to add some proxy policy to make that url
(a) nicer (b) compatible with Firefox. In the Bluecoat GUI under policy
(&lt;em&gt;not the visual policy manager&lt;/em&gt;) make sure that the local policy is
read 1st... at the top of the file list. The following ssh session of
policy, re-writes the pac file for a variety of names, basically I've
tried to capture every combination that a user might try.....&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Proxy&amp;gt; enable
Proxy# conf t
Proxy# inline policy local 123
&amp;lt;proxy&amp;gt;
url=http://proxy.mycompany.local/proxy.pac authenticate(no)
url=http://proxy.mycompany.local/wpad.dat authenticate(no)
url=http://wpad.mycompany.local/wpad.dat authenticate(no)
url=http://www.wpad.com/wpad.dat authenticate(no)
url=http://proxy.mycompany.local:8081/accelerated_pac_base.pac authenticate(no)
url=http://10.10.10.10:8081/accelerated_pac_base.pac authenticate(no)

&amp;lt;cache&amp;gt;
url.domain=http://proxy.mycompany.local/proxy.pac cache(no)
url.domain=http://proxy.mycompany.local/wpad.dat cache(no)
url.domain=http://wpad.mycompany.local/wpad.dat cache(no)
url.domain=http://www.wpad.com/wpad.dat cache(no)
url.domain=http://proxy.mycompany.local:8081/accelerated_pac_base.pac cache(no)
url.domain=http://10.10.10.10:8081/accelerated_pac_base.pac cache(no)

&amp;lt;proxy&amp;gt;
url=http://proxy.mycompany.local/proxy.pac action.rewrite_pac(yes)
url=http://proxy.mycompany.local/wpad.dat action.rewrite_pac(yes)
url=http://wpad.mycompany.local/wpad.dat action.rewrite_pac(yes)
url=http://www.wpad.com/wpad.dat action.rewrite_pac(yes)
url=/wpad.dat action.rewrite_pac(yes)

define action rewrite_pac
rewrite(url,"(.*)","http://10.10.10.10:8081/accelerated_pac_base.pac")
end

123
Proxy#
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Phew, thats the bluecoat side of things sorted, now we need to get
clients to download the file! This is where the browser have different
approaches....&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Internet explorer uses DCHP&lt;/strong&gt; Option 252 to detect the proxy, you can
set the option of any of the URLS you're re-writing on the bluecoat, I
chose http://wpad.mycompany.local/wpad.dat .&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Firefox uses DNS&lt;/strong&gt; to detect the proxy, so you're going to need to
create some records... The bluecoat was called "proxy" so an &lt;strong&gt;A
record&lt;/strong&gt; for &lt;code&gt;proxy.mycompany.local&lt;/code&gt; already existed, we created a
&lt;strong&gt;CNAME record&lt;/strong&gt; for &lt;code&gt;wpad.mycompany.local&lt;/code&gt; pointing to
&lt;code&gt;proxy.mycompany.local&lt;/code&gt; ... if your dns domain is something like
&lt;code&gt;uk.mycomany.local&lt;/code&gt; you'll need to add cname records
&lt;code&gt;wpad.uk.mycompany.local&lt;/code&gt;&amp;amp; &lt;code&gt;wpad.mycompany.local&lt;/code&gt; and add the necessary
lines to the bluecoat rewire code above.&lt;/p&gt;
&lt;p&gt;Once done you can set either browser to "automatically detect" and
finger's cross all will work!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sat, 02 May 2009 17:32:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2009-05-02:better-proxy-settings-bluecoat-wpad-proxypac-dhcp-option-252</guid><category>admin</category><category>bluecoat</category><category>Firefox</category><category>internet explorer</category></item><item><title>UGHRRG, ie6!!!! Should I support it?</title><link>https://www.linickx.com/ughrrg-ie6-should-i-support-it</link><description>&lt;p&gt;I'm in the process the process of writing a whole new look for
linickx.com, I think I'm about there so I've decided it was about time
to give the other browsers a spin. All of my development has been with
Firefox on linux (&lt;em&gt;with a little
&lt;a href="http://www.gnome.org/projects/epiphany/"&gt;epiphany&lt;/a&gt; for testing non
logged in users&lt;/em&gt;) and I've got the look and feel pretty much as I like.&lt;/p&gt;
&lt;p&gt;I reboot into windows cause according to google analytics 70% of my
visitors in the last month are windows people; Firefox on windows passes
the test, all the same, so I've downloaded a copy of safari for windows,
good news there too and I finish off with Internet Explorer 6, crap I
forgot that ie6 cannot render transparent .png files, although the
layout is alright my new header is screwed and I've used .png icons in
my /files/ section so that's going to look rubbish.&lt;/p&gt;
&lt;p&gt;This leaves me with a dilemma, do I re-do all of my images as .gifs to
account for the 10% of ie6 users? And is it possible to dual install ie6
&amp;amp; ie7 ? ... I still haven't tested that and 20% of visitors use
that...I've never bothered upgrading to ie7 since I new I was never
going to use it, why waste the disk space &amp;amp; bandwidth?&lt;/p&gt;
&lt;p&gt;I'm toying with having a &lt;a href="http://browsehappy.com/"&gt;browse happy&lt;/a&gt; banner
appear for ie6 and a disclaimer saying this site will look awful use a
proper browser; the banner will be easy to do within the WordPress
powered section, but the /files/ section which is driven by apache may
be more of an issue.&lt;/p&gt;
&lt;p&gt;The whole thing is just irritating, I was really looking forward to
getting the new look up soon, ho-hum off to make a decision!&lt;/p&gt;
&lt;p&gt;P.s. In case you were wondering, yes 60% of vistors are firefox, 5% are
safari and the other 5% is made up of random stuff (&lt;em&gt;hello to the 2
users on the PSP!!!&lt;/em&gt;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sun, 20 Apr 2008 12:25:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-04-20:ughrrg-ie6-should-i-support-it</guid><category>design</category><category>Firefox</category><category>internet explorer</category></item></channel></rss>