Return-Path: X-Original-To: apmail-hc-httpclient-users-archive@www.apache.org Delivered-To: apmail-hc-httpclient-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3087EDD50 for ; Sat, 8 Sep 2012 21:11:47 +0000 (UTC) Received: (qmail 20342 invoked by uid 500); 8 Sep 2012 21:11:46 -0000 Delivered-To: apmail-hc-httpclient-users-archive@hc.apache.org Received: (qmail 20272 invoked by uid 500); 8 Sep 2012 21:11:46 -0000 Mailing-List: contact httpclient-users-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-users@hc.apache.org Received: (qmail 20261 invoked by uid 99); 8 Sep 2012 21:11:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 21:11:45 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arya6000@gmail.com designates 209.85.212.51 as permitted sender) Received: from [209.85.212.51] (HELO mail-vb0-f51.google.com) (209.85.212.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Sep 2012 21:11:38 +0000 Received: by vbbfn1 with SMTP id fn1so1007788vbb.10 for ; Sat, 08 Sep 2012 14:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=omc+T4KVgtDn73ovjxPlb4Eq4gvZn4+kmwS2hMYjq4I=; b=jkqaWDoNQF58r02jG5HWQv/64eLnfvI6f4hIRxsBf+ANukfwnx4QyBQ6mL4+gtR0do zXp1gusQ59VcG3TliUIixbaF/MsJziHglhyh5oid2doBIJX7/0gV+WVrebTn1XFV/lMR AjE64Ig+M8oURH7CCTONi112m2qljAYzWS3Xsmw/fUgjXMvbCjtXRVJNt3y3oAAKigCD ycFeybEHmw3aeUY8bDbUonZ5wU8ykzhdS6UVf5PPCDOz7l4q2L6Y53vYwgGrHXRTp5bQ Grqe4a7efR8yxraxQQmyhkmaGSFNFk+wfyTcRySu3SennXjtcgTgFJKjkiqmcw9kmuDJ 9LuQ== MIME-Version: 1.0 Received: by 10.58.94.44 with SMTP id cz12mr13794453veb.34.1347138677296; Sat, 08 Sep 2012 14:11:17 -0700 (PDT) Received: by 10.58.58.98 with HTTP; Sat, 8 Sep 2012 14:11:17 -0700 (PDT) Date: Sat, 8 Sep 2012 17:11:17 -0400 Message-ID: Subject: httpclient socks dns not working correctly From: Arya To: httpclient-users@hc.apache.org Content-Type: multipart/alternative; boundary=047d7b6dcaf052cf5004c9372a3f --047d7b6dcaf052cf5004c9372a3f Content-Type: text/plain; charset=ISO-8859-1 Hello When using socks proxy with httpclient the dns gets resolved on the local machine instead of on the proxy machine. socks 5 should not be behaving like this and it causes security issues. When I use TOR with httpclient set to use it as a SOCKS proxy TOR gives out warning messages about DNS not being resolved on the remote proxy server which it should, but when I use Java's native socks proxy support everything works as expected with no warning messages about dns not being resolved on the proxy server. Are there any plans to fix this issue? Regards! --047d7b6dcaf052cf5004c9372a3f--