Wednesday, February 26, 2014

Tool Posting: Quicklisp with an Authenticating Proxy

(To regular readers of this blog who are looking for basketball content -- this posting is in my occasional series on the tools I use, and may not be of interest.  On the other hand, if you found this posting Googling for a workaround for an authenticating proxy in Quicklisp, you're in the right place!)

Quicklisp is a great tool for installing packages into Common Lisp.  Unfortunately, it doesn't work with authenticating proxies, which is a bother in many environments. However, there's a fairly straightforward workaround to fix this.

The basic idea is to insert a new proxy between Quicklisp and the authenticating proxy.  Quicklisp will talk to the new proxy without authentication, and the new proxy will take care of authenticating with the real proxy.
There are probably several different proxies you can use to do this, but I chose DeleGate.  It's free to use for non-commercial use.  Download Delegate, install it, and then start it with the following command line:
delegate -P8081 SERVER=http PROXY="realProxy:8080:*" MYAUTH="username:password" ADMIN="" 

This says to start delegate as an HTTP proxy on port 8081, forwarding all requests to port 8080 on the realProxy, using the authentication provided in MYAUTH.  (The ADMIN parameter is just an email address required by Delegate, you can put in whatever you'd like.)  Obviously you'll need to fill in the address of your existing proxy and the correct username and password for that proxy.
Once Delegate is running, you can use Quicklisp as follows:

(quicklisp-quickstart:install :proxy "http://localhost:8081/")

This directs Quicklisp to the new Delegate proxy.  Delegate connects to the real proxy using the username and password you provided, and then just passes along the requests.  The result is that Quicklisp doesn't have to talk directly to the authenticating proxy.

Under Windows, you can set up Delegate as a service that will run every time Windows starts or just start it manually whenever you want to use Quicklisp.  The same trick will work for other programs that don't know how to interact with an authenticating proxy.


  1. I use CNTLM to pass through TMG. Works nicely.

  2. Your detailed blog is very good. Keep doing this work.
    access Rapid Library in UK

    Work from home theory is fast gaining popularity because of the freedom and flexibility that comes with it. Since one is not bound by fixed working hours, they can schedule their work at the time when they feel most productive and convenient to them. Women & Men benefit a lot from this concept of work since they can balance their home and work perfectly. People mostly find that in this situation, their productivity is higher and stress levels lower. Those who like isolation and a tranquil work environment also tend to prefer this way of working. Today, with the kind of communication networks available, millions of people worldwide are considering this option.

    Women & Men who want to be independent but cannot afford to leave their responsibilities at home aside will benefit a lot from this concept of work. It makes it easier to maintain a healthy balance between home and work. The family doesn't get neglected and you can get your work done too. You can thus effectively juggle home responsibilities with your career. Working from home is definitely a viable option but it also needs a lot of hard work and discipline. You have to make a time schedule for yourself and stick to it. There will be a time frame of course for any job you take up and you have to fulfill that project within that time frame.

    There are many things that can be done working from home. A few of them is listed below that will give you a general idea about the benefits of this concept.

    This is the most common and highly preferred job that Women & Men like doing. Since in today's competitive world both the parents have to work they need a secure place to leave behind their children who will take care of them and parents can also relax without being worried all the time. In this job you don't require any degree or qualifications. You only have to know how to take care of children. Parents are happy to pay handsome salary and you can also earn a lot without putting too much of an effort.

    For those who have a garden or an open space at your disposal and are also interested in gardening can go for this method of earning money. If given proper time and efforts nursery business can flourish very well and you will earn handsomely. But just as all jobs establishing it will be a bit difficult but the end results are outstanding.

    Freelance can be in different wings. Either you can be a freelance reporter or a freelance photographer. You can also do designing or be in the advertising field doing project on your own. Being independent and working independently will depend on your field of work and the availability of its worth in the market. If you like doing jewellery designing you can do that at home totally independently. You can also work on freelancing as a marketing executive working from home. Wanna know more, email us on workfromhome.otr and we will send you information on how you can actually work as a marketing freelancer.

    Internet related work
    This is a very vast field and here sky is the limit. All you need is a computer and Internet facility. Whatever field you are into work at home is perfect match in the software field. You can match your time according to your convenience and complete whatever projects you get. To learn more about how to work from home, contact us today on workfromhome and our team will get you started on some excellent work from home projects.

    Diet food
    Since now a days Women & Men are more conscious of the food that they eat hence they prefer to have homemade low cal food and if you can start supplying low cal food to various offices then it will be a very good source of income and not too much of efforts. You can hire a few ladies who will help you out and this can be a good business.

    Thus think over this concept and go ahead.

  4. I really appreciate this blog and I will sure promote this blog to others in my circle.

    Mp3Juices UK proxy

  5. Dear All, I m telling a easy source to access any blocked websites you can get through this link any blocked site very easily

    eMp3World UK proxy