Bug #207

Polipo does not listen on localhost with its own internal resolver

Added by Nick Feamster almost 2 years ago. Updated about 1 year ago.

Status:In Progress Start date:07/14/2011
Priority:High Due date:
Assignee:Stephen Woodrow % Done:

0%

Category:Networking Spent time: 3.50 hours
Target version:1st Public Cerowrt release

Description

When polipo is configured (/etc/config/polipo) with:

config 'polipo' 'general'
...
    option 'dnsUseGethostbyname' 'false'
    option 'dnsNameServer' '127.0.0.1'

it appears that DNS does not work for polipo. We're using BIND9 running natively on the devices. However, configured as follows:

config 'polipo' 'general'
...
    option 'dnsUseGethostbyname' 'true'
    option 'dnsNameServer' '127.0.0.1'

DNS does work, however it is slow because this is single-threaded.

We have also tried binding directly to ::1 which appears to have worked once or twice but not consistently. We have also tried binding to the interface address which seems to work with option 'dnsUseGethostbyname' 'true'.


Related issues

duplicated by Cerowrt - Bug #268: polipo's internal resolver seems busted in rc6 New 11/18/2011

History

Updated by Dave Täht almost 2 years ago

  • Priority changed from Urgent to High

I have polipo now using gethostbyname in the rc1 candidate. It would be good to make this work right in the next release candidate however, and do some automated testing of both polipo and its caching system, with a usb stick as well as a usb hard disk.

Updated by Dave Täht almost 2 years ago

  • Project changed from Überwrt to Cerowrt

Updated by Dave Täht almost 2 years ago

I switched it back to normal - and on my version of rc4, it worked.

Updated by Dave Täht almost 2 years ago

  • Status changed from New to Closed
  • Assignee set to Stephen Woodrow

I'm going to write this one off as a problem elsewhere in the system.

Can't duplicate. Reverted back to the old dns method.

Updated by Dave Täht almost 2 years ago

  • Status changed from Closed to In Progress
  • Target version changed from 1st Public Cerowrt release to 14

I can now consistently get polipo to fail with it's internal resolver.

Updated by Dave Täht about 1 year ago

  • Category set to Networking
  • Target version changed from 14 to 1st Public Cerowrt release

HAve no idea if this still occurs. We are using polipo 1.5 now in cerowrt.

Also available in: Atom PDF