<?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>Sat, 02 May 2009 17:32:00 +0100</lastBuildDate><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>Allowing RFC1918 - 192.168, 10. , 172.16-32 address with NoScript</title><link>https://www.linickx.com/allowing-rfc1918-192168-10-17216-32-address-with-noscript</link><description>&lt;p&gt;I've recently started installed the firefox add-on
&lt;a href="http://noscript.net"&gt;NoScript&lt;/a&gt;to improve my online security.&lt;/p&gt;
&lt;p&gt;One of the things that's been a little frustrating has been having to
manually accept/white list internal 192.168.1.1 type addresses. After a
fruitless google, I've managed to find &lt;a href="http://forums.mozillazine.org/viewtopic.php?p=5567475#p5567475"&gt;the answer here in the NoScript
Forum&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;There is one major limitation and that is the NoScript white list only
accepts entries of more than one byte, this means that you cannot
whitelist the whole of 10.*.*.* (&lt;em&gt;10/8&lt;/em&gt;) as inputting 10. is only one
byte. On the upside you can however whitelist a whole /16
(&lt;em&gt;255.255.0.0&lt;/em&gt;) subnet, which works out nicely for the 192.168.0.0/16
set off addresses but for the 10's &amp;amp; 172's you're a bit stuffed.&lt;/p&gt;
&lt;p&gt;Now you may find that when you try to white list 10.123.0.0/16 that you
have issues, I know I did! The trick is to read the forum post
carefully. If you want to white list 10.123.0.0 through 10.123.255.255
then add the following:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;http://10.123 https://10.123&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;That should allow both http &amp;amp; ssl traffic to all those internal
addresses to be permitted by NoScript!&lt;/p&gt;
&lt;p&gt;Dear googler, I hope this was of some help :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 06 Mar 2009 11:00:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2009-03-06:allowing-rfc1918-192168-10-17216-32-address-with-noscript</guid><category>Firefox</category><category>NoScript</category><category>Security</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><item><title>Firefox Add-on: Remember The Milk for Gmail</title><link>https://www.linickx.com/firefox-add-on-remember-the-milk-for-gmail</link><description>&lt;p&gt;I've been playing with &lt;a href="http://www.rememberthemilk.com"&gt;Remember the
milk&lt;/a&gt; for some time now, I thought with
&lt;a href="https://www.linickx.com/archives/tag/n800"&gt;my n800&lt;/a&gt; it would be really
useful...BUT... Actually I've found that the firefox extension they have
released has really upped my usage, as soon as I can get my tasks synced
with my n800 I'll definitively be upgrading to their pro version.&lt;/p&gt;
&lt;p&gt;I've recommended this plugin to a few friends and they love it, so if
you're looking for a new personal task managment solution then this is
for you!&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://www.rememberthemilk.com/services/gmail/"&gt;Remember The Milk - Services / Remember The Milk for
Gmail&lt;/a&gt;&lt;br /&gt;
 Remember The Milk for Gmail is a Firefox extension that allows you to
manage your tasks in Gmail (complete, postpone, and edit tasks), add
new tasks (and connect them with your emails, contacts, and Google
Calendar events), automatically add tasks for starred messages or
specific labels, and much more!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My &lt;a href="https://www.linickx.com/firefox"&gt;firefox page&lt;/a&gt; is now back online, so
check it out for a list of other useful plugins/addons.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 01 Feb 2008 11:15:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-02-01:firefox-add-on-remember-the-milk-for-gmail</guid><category>extension</category><category>Firefox</category><category>gmail</category><category>rtm</category></item><item><title>Firefox 3, Secure Updating</title><link>https://www.linickx.com/firefox-3-secure-updating</link><description>&lt;p&gt;I saw this &lt;a href="http://www.digg.com/security/New_Firefox_3_0_alpha_blocks_malware_secures_plug_in_updates"&gt;digg
article&lt;/a&gt;
the other day and it lead me to something interesting. ...&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;All Firefox add-ons must now use a secure method for auto-updating
(see bug 378216 and this guide for more details)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Reference: &lt;a href="http://www.mozilla.org/projects/firefox/3.0a8/releasenotes/#download"&gt;Mozilla Gran Paradiso Alpha 8 Release
Notes&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In general this is a good thing, and I'm 100% behind any security
improvements the mozilla team make....I just hope they make this
amenable to the newbies, I recently had a go at writing a small "status
bar" firefox addon, and the 1st thing I spotted when installing it was
that it was "unsigned"... I looked into the documentation and found it
very confusing, and when I finally got it to work I ran into the age old
issue that I didn't have a certificate that was signed by a main stream
CA, as such I would need to distribute that as well.&lt;/p&gt;
&lt;p&gt;I'm going to put looking at the new "secure update" solution on my todo
list in hope that I can get some real insight into what they are
planning, fingers crossed its good, it works and makes a real difference
to the firefox community at large.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 03 Oct 2007 13:07:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-10-03:firefox-3-secure-updating</guid><category>Blog</category><category>Firefox</category><category>Security</category></item><item><title>Firefox Extension - Flashblock</title><link>https://www.linickx.com/firefox-extension-flashblock</link><description>&lt;p&gt;I'm not a great fan of flash, it seems to eat up bandwith, processor and
memory very quickly.. not to mention the hassle of trying it working on
a linux x86_64 machine ! I recently came across this great plug-in..&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/433"&gt;Flashblock :: Firefox
Add-ons&lt;/a&gt;&lt;br /&gt;
 Never be annoyed by a Flash animation again! Blocks Flash so it won't
get in your way, but if you want to see it, just click on...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The white-list functionality is nice... i.e block all except "blah"..
the option to run it in a black-list mode would be good for those who
are only offended by flash on certain sites.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 10 Sep 2007 15:05:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-09-10:firefox-extension-flashblock</guid><category>extension</category><category>Firefox</category><category>flashblock</category></item><item><title>GPG For Firefox !</title><link>https://www.linickx.com/gpg-for-firefox</link><description>&lt;p&gt;yay !&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="http://firegpg.tuxfamily.org/?page=home&amp;amp;lang=en"&gt;FireGPG - use GPG easily in Firefox
!&lt;/a&gt;&lt;br /&gt;
 FireGPG is a Firefox extension under GPL which brings an interface to
encrypt, decrypt, sign or verify the signature of a text in any web
page using GnuPG.&lt;/p&gt;
&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Wed, 11 Jul 2007 15:51:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-07-11:gpg-for-firefox</guid><category>encryption</category><category>extension</category><category>Firefox</category><category>gmail</category><category>gpg</category></item><item><title>Gmail Notifier - Firefox Extension</title><link>https://www.linickx.com/gmail-notifier-firefox-extension</link><description>&lt;p&gt;Simple,effective and necessary...&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/173"&gt;Gmail Notifier :: Firefox
Add-ons&lt;/a&gt;&lt;br /&gt;
 A notifier for Gmail...&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I've been using this for a while, and most firefox users probably have
something in place already, so nothing new here, but I use&lt;a href="https://www.linickx.com/index.php?content=firefox"&gt;my firefox
page&lt;/a&gt; for prepping new
installs, so perhaps this is more of a "post to self" ;)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 18 May 2007 17:38:00 +0100</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-05-18:gmail-notifier-firefox-extension</guid><category>extension</category><category>Firefox</category><category>gmail</category></item><item><title>Google Reader Notifier - Firefox Extension</title><link>https://www.linickx.com/google-reader-notifier-firefox-extension</link><description>&lt;p&gt;This is one of those extensions I couldn't live without !&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://addons.mozilla.org/firefox/3977/"&gt;&lt;/a&gt; &lt;a href="https://addons.mozilla.org/firefox/3977/"&gt;Google Reader Notifier |
Firefox Add-ons | Mozilla
Corporation&lt;/a&gt; Google Reader
Notifier by Mark D.B.D This firefox extension shows you how many
unread items you have in your Google Reader account.&lt;/p&gt;
&lt;/blockquote&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Fri, 09 Mar 2007 09:31:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-03-09:google-reader-notifier-firefox-extension</guid><category>extension</category><category>Firefox</category><category>Google</category><category>reader</category></item><item><title>Colorful Tabs - Firefox Extension</title><link>https://www.linickx.com/colorful-tabs-firefox-extension</link><description>&lt;p&gt;Some times the simple solutions, make the biggest difference to a user
experience....&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href="https://addons.mozilla.org/firefox/1368/"&gt;Colorful Tabs | Firefox Add-ons | Mozilla
Corporation&lt;/a&gt;&lt;br /&gt;
 The most beautiful yet the simplest add-on that makes a strong
colorful appeal. Colors every tab in a different color and makes them
easy to distinguish while beautifying the overall appearance of the
interface. An essential.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;UPDATE:&lt;/strong&gt; It seems that the &lt;a href="http://varun21.thestasis.com/"&gt;Colorful Tabs authors
homepage&lt;/a&gt; is down, as a result I appear
to be getting hits from google and comments about features. I'd like to
stress that I have nothing to do with the development of Colorful Tabs
and you have my apologies if my post appeared that way. You have
stumbled across a post from &lt;a href="https://www.linickx.com/archives/category/firefox"&gt;my firefox recommendations
category&lt;/a&gt; where by I
post links to firefox add-ons I like have installed and recommend to my
friends.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Tue, 30 Jan 2007 22:11:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2007-01-30:colorful-tabs-firefox-extension</guid><category>extension</category><category>Firefox</category></item></channel></rss>