Opened 7 years ago

Closed 6 years ago

#10316 closed defect (fixed)

obfsproxy DNS resolve bug

Reported by: taher12112 Owned by:
Priority: Medium Milestone:
Component: Archived/Obfsproxy Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I'm trying to run obfsproxy in client mode on Windows. When I enter destination address in IP format, it works pretty well, but when I enter in DNS format, it return to me like this:

C:\>obfsproxy.exe obfs2 --dest=dns.example.com:8080 client 127.0.0.1 1010
2013-12-07 21:52:12 [warn] Error resolving dns.example.com:8080: non-recoverable failure in name resolution

I tried many version of obfsproxy, but all with same result.

I'm completely sure about my DNS settings, so it's not the problem of my machine.

Child Tickets

Change History (4)

comment:1 Changed 7 years ago by arma

Yes, this is because obfsproxy wants an IP address for the bridge. Nobody has taught it how to do dns resolution. Perhaps you could?

comment:2 Changed 7 years ago by arma

(Note that obfsproxy is obsolete. You'll want to mess with pyobfsproxy if you work on this.)

comment:3 in reply to:  description Changed 6 years ago by asn

Status: newneeds_review

Replying to taher12112:

I'm trying to run obfsproxy in client mode on Windows. When I enter destination address in IP format, it works pretty well, but when I enter in DNS format, it return to me like this:

C:\>obfsproxy.exe obfs2 --dest=dns.example.com:8080 client 127.0.0.1 1010
2013-12-07 21:52:12 [warn] Error resolving dns.example.com:8080: non-recoverable failure in name resolution

I tried many version of obfsproxy, but all with same result.

I'm completely sure about my DNS settings, so it's not the problem of my machine.

Please try git branch bug10316 in https://git.torproject.org/user/asn/obfsproxy.git (https://gitweb.torproject.org/user/asn/obfsproxy.git).

If it solves the problem for you I will commit it to the main code.

comment:4 Changed 6 years ago by asn

Resolution: fixed
Status: needs_reviewclosed

Merged and pushed.

Please reopen if it doesn't work for you.

Note: See TracTickets for help on using tickets.