<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"><channel><title>Disruptive Library Technology Jester &#187; proxy</title> <atom:link href="http://dltj.org/tag/proxy/feed/" rel="self" type="application/rss+xml" /><link>http://dltj.org</link> <description>We&#039;re Disrupted, We&#039;re Librarians, and We&#039;re Not Going to Take It Anymore</description> <lastBuildDate>Mon, 06 Feb 2012 20:04:22 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <cloud domain='dltj.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' /> <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/us/</creativeCommons:license> <item><title>Note to Future Self:  Use `ssh -D` to bypass annoying interception proxies</title><link>http://dltj.org/article/ssh-as-socks-proxy/</link> <comments>http://dltj.org/article/ssh-as-socks-proxy/#comments</comments> <pubDate>Mon, 18 Feb 2008 22:12:56 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[Disruption in Libraries]]></category> <category><![CDATA[networking]]></category> <category><![CDATA[openssh]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[system administration]]></category><guid isPermaLink="false">https://dltj.org/article/ssh-as-socks-proxy/</guid> <description><![CDATA[Dear future self,If you are reading this, you are remembering a time when you ran into a really nasty interception proxy1 and you are looking for a way around it. Do you remember when you were sitting in the Denver &#8230; <a href="http://dltj.org/article/ssh-as-socks-proxy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="https://dltj.org/article/ssh-as-socks-proxy/"></abbr><p>Dear future self,</p><p>If you are reading this, you are remembering a time when you ran into a really nasty <a href="http://en.wikipedia.org/wiki/Proxy_server#Intercepting_proxy_server" title="Proxy server - Wikipedia">interception proxy</a><sup><a href="http://dltj.org/article/ssh-as-socks-proxy/#footnote_0_329" id="identifier_0_329" class="footnote-link footnote-identifier-link" title="Version of the &amp;#8220;Proxy Server&amp;#8221; Wikipedia page when this posting was written">1</a></sup> and you are looking for a way around it.  Do you remember when you were sitting in the Denver International Airport using their free wireless service?  And remember how it inserted advertising banners in HTML frames at the top of random web pages as you surfed?</p><p>After about a half an hour of this, you started looking for solutions and found that the secure shell client can act as a <a href="http://en.wikipedia.org/wiki/SOCKS" title="SOCKS - Wikipedia">SOCKS proxy</a><sup><a href="http://dltj.org/article/ssh-as-socks-proxy/#footnote_1_329" id="identifier_1_329" class="footnote-link footnote-identifier-link" title="Version of the SOCKS Wikipedia page when this posting was written">2</a></sup>.  Using &#8216;ssh&#8217;, you set up a tunnel between your laptop and a server in the office that encrypted and effectively hid all of your network communications from the interception proxy.  And if you are reading this again you want to remember how you did it.</p><p><h2>Set up the SOCKS proxy</h2><br />SOCKS is a client protocol that can be used to tunnel all of your traffic to a remote host before it fans out across the internet.  The <a href="http://www.openssh.com/" title="OpenSSH homepage">OpenSSH client</a> can set up a local SOCKS proxy that uses an &#8216;ssh&#8217; session as the network tunnel.  To set up the tunnel, use the <code>-D</code> option followed by a local port number:</p><div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-D</span> <span style="color: #000000;">9050</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">@</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>remote.server.name<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div><p>To refresh your memory, here is an extract from the &#8216;ssh&#8217; manual page for the -D option:<br /><blockquote><dl><dt>-D [<code>bind_address</code>:]<code>port</code></dt><dd>Specifies a local &#8220;dynamic&#8221; application-level port forwarding. This works by allocating a socket to listen to <code>port</code> on the local side, optionally bound to the specified <code>bind_address</code>.  Whenever a connection is made to this port, the connection is forwarded over the secure channel, and the application protocol is then used to determine where to connect to from the remote machine.  Currently the SOCKS4 and SOCKS5 protocols are supported, and ssh will act as a SOCKS server.  Only root can forward privileged ports. Dynamic port forwardings can also be specified in the configuration file.</dd></dl></blockquote><p><h2>Using the SOCKS proxy</h2></p><div style="float:right;border:1px solid #CCC; margin:0 0 1.5em 2.5em; padding: .75em; width:35%;"><a href="http://cdn.dltj.org/wp-content/uploads/2008/02/airport-advanced-settings-proxy.png" title="MacOSX 10.5 Proxy screen"><img src="http://cdn.dltj.org/wp-content/uploads/2008/02/airport-advanced-settings-proxy.png" alt="MacOSX 10.5 Proxy screen" /></a></div><p>Next you need to tell the applications to use the SOCKS proxy.  If you are still using a Mac when you are reading this, you&#8217;ll probably have it pretty easy.  Mac OSX lets you set a proxy system-wide that all well-written Mac applications will use to get their parameters.  It is in the &#8220;Proxies&#8221; tab of the Advanced&#8230; network settings.  On Mac OSX version 10.5 (Leopard), it looks like the graphic to the right.</p><p>If you&#8217;re using some sort of UNIX variant, the application may have a setting to use a SOCKS client, or you may need to use the &#8216;<a href="http://tsocks.sourceforge.net/" title="tsocks - Transparent SOCKS Proxying Library">tsocks</a>&#8216; <a href="http://www.linux.com/articles/54894" title="&#039;Creating virtual private networks with tsocks and VTun&#039; from Linux.com" class="broken_link" rel="nofollow">shim</a> that intercepts the network calls of the application.  And, future self, if you are using a Microsoft Windows box right now, please remember how much simpler life was when you used a Mac or Linux desktop.  If you find yourself in such a spot, some reader of this blog posting may have left a comment for you below that will help you use a SOCKS proxy with a Windows platform.</p><p>Hope this helps.  Sincerely,</p><p>Self, circa February 2008</p><h2>Footnotes</h2><ol class="footnotes"><li id="footnote_0_329" class="footnote">Version of the <a href="http://en.wikipedia.org/wiki/Proxy_server?oldid=192282546#Intercepting_proxy_server" title="">&#8220;Proxy Server&#8221; Wikipedia page when this posting was written</a></li><li id="footnote_1_329" class="footnote">Version of the <a href="http://en.wikipedia.org/wiki/SOCKS?oldid=192280146" title="">SOCKS Wikipedia page when this posting was written</a></li></ol>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/ssh-as-socks-proxy/feed/</wfw:commentRss> <slash:comments>26</slash:comments> </item> <item><title>Authentication and Access in a Metasearch Environment</title><link>http://dltj.org/article/dlib-article/</link> <comments>http://dltj.org/article/dlib-article/#comments</comments> <pubDate>Sat, 24 Jun 2006 01:23:57 +0000</pubDate> <dc:creator>Peter Murray</dc:creator> <category><![CDATA[Linking Technologies]]></category> <category><![CDATA[libraries]]></category> <category><![CDATA[metasearch]]></category> <category><![CDATA[National Information Standards Organization]]></category> <category><![CDATA[proxy]]></category> <category><![CDATA[Shibboleth]]></category> <category><![CDATA[Single Sign-on]]></category><guid isPermaLink="false">http://dltj.org/2006/06/dlib-article/</guid> <description><![CDATA[Mike Teets of OCLC and I teamed up to write an article on Metasearch Authentication and Access Management for this month&#8217;s D-Lib Magazine. The first part of the article is a bit of a primer on access management techniques followed &#8230; <a href="http://dltj.org/article/dlib-article/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<abbr class="unapi-id ignore noPrint" title="http://dltj.org/2006/06/dlib-article/"></abbr><p>Mike Teets of OCLC and I teamed up to write an article on <a href="http://www.dlib.org/dlib/june06/teets/06teets.html">Metasearch Authentication and Access Management</a> for this month&#8217;s D-Lib Magazine.  The first part of the article is a bit of a primer on access management techniques followed by a survey and analysis of access management schemes in use last year.  The key part, I think, is the &#8220;Recommendations&#8221; (access restrictions by IP address plus authenticated proxy servers is the best one can hope for right now) and &#8220;Next Steps&#8221; (Shibboleth is superior to other access control mechanisms beyond IP/proxy that one might consider, but there is lots of work to be done).</p><p>The last paragraph of the article sets out the questions:</p><blockquote><p>In the space between &#8220;good enough&#8221; (the <i>status quo</i>) and &#8220;ideal&#8221; (Shibboleth federations) lie many questions for our community. For libraries there are questions like &#8220;Are IP address access management and proxy servers sufficient to meet your current and future needs?&#8221; and &#8220;How much more are you willing to spend on an implementation of a Shibboleth environment?&#8221; For content providers: &#8220;Are you satisfied with IP address access management and proxy servers for protecting your intellectual property?&#8221; and &#8220;Can you implement Shibboleth as a common access management system for interaction with metasearch engines (and possibly end-user access)?&#8221; And for metasearch service providers: &#8220;What kinds of requirements are you willing satisfy?&#8221; and &#8220;What are you willing to charge?&#8221; The NISO Metasearch Initiative Task Group on Access Management encourages the broad community to discuss these questions. NISO is committed to working with the Shibboleth developers to develop practical solutions to the issues raised.</p></blockquote><p>So there are the questions, as best Mike and I can describe.  What do you think?</p>]]></content:encoded> <wfw:commentRss>http://dltj.org/article/dlib-article/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: dltj.org @ 2012-02-11 09:26:45 by W3 Total Cache -->
