Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 577745 Details for
Bug 812937
proxychains hardcodes DNS to 4.2.2.2
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to fix the bug
0001-proxychains-use-OpenDNS-by-default-and-allow-customi.patch (text/plain), 2.87 KB, created by
Paolo Bonzini
on 2012-04-16 15:44:36 UTC
(
hide
)
Description:
patch to fix the bug
Filename:
MIME Type:
Creator:
Paolo Bonzini
Created:
2012-04-16 15:44:36 UTC
Size:
2.87 KB
patch
obsolete
>From a98340a4c4febcd55da37a77bf2b6823fe3736bd Mon Sep 17 00:00:00 2001 >From: Paolo Bonzini <pbonzini@redhat.com> >Date: Mon, 16 Apr 2012 17:34:18 +0200 >Subject: [PATCH] proxychains: use OpenDNS by default and allow customization > >--- > proxychains-3.1-dns-server.patch | 14 ++++++++++++++ > proxychains.spec | 10 ++++++++-- > proxyresolv.conf | 2 ++ > 3 files changed, 24 insertions(+), 2 deletions(-) > create mode 100644 proxychains-3.1-dns-server.patch > create mode 100644 proxyresolv.conf > >diff --git a/proxychains-3.1-dns-server.patch b/proxychains-3.1-dns-server.patch >new file mode 100644 >index 0000000..bd6d196 >--- /dev/null >+++ b/proxychains-3.1-dns-server.patch >@@ -0,0 +1,14 @@ >+diff --git a/proxychains/proxyresolv b/proxychains/proxyresolv >+index 543cdea..53d69d2 100755 >+--- a/proxychains/proxyresolv >++++ b/proxychains/proxyresolv >+@@ -2,7 +2,8 @@ >+ # This script is called by proxychains to resolve DNS names >+ >+ # DNS server used to resolve names >+-DNS_SERVER=4.2.2.2 >++DNS_SERVER=208.67.222.222 >++[ -f /etc/proxyresolv.conf ] && . /etc/proxyresolv.conf >+ >+ >+ if [ $# = 0 ] ; then >diff --git a/proxychains.spec b/proxychains.spec >index 342e628..81d7e48 100644 >--- a/proxychains.spec >+++ b/proxychains.spec >@@ -6,21 +6,25 @@ Group: Applications/Internet > License: GPLv2+ > URL: http://proxychains.sourceforge.net > Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz >+Source1: proxyresolv.conf > Patch0: proxychains-3.1-ld_preload.patch > Patch1: proxychains-3.1-glibc215.patch >+Patch2: proxychains-3.1-dns-server.patch > Requires: bind-utils > > %description > Proxychains forces any tcp connection made by any given tcp client to > follow through a proxy. Proxychains intercepts TCP calls and forces >-them through a user defined proxy >+them through a user defined proxy. > >-You must configure /etc/proxychains.conf before use >+You must configure /etc/proxychains.conf and/or >+/etc/proxyresolv.conf before use. > > %prep > %setup -q > %patch0 -p1 -b .ld_preload > %patch1 -p1 -b .glibc215 >+%patch2 -p1 -b .opendns > > %build > %configure --disable-static >@@ -30,6 +34,7 @@ make %{?_smp_mflags} > make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" > rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la > rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so >+cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} > > %post -p /sbin/ldconfig > %postun -p /sbin/ldconfig >@@ -37,6 +42,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so > %files > %doc AUTHORS ChangeLog COPYING README > %config(noreplace) %{_sysconfdir}/proxychains.conf >+%config(noreplace) %{_sysconfdir}/proxyresolv.conf > %{_bindir}/proxychains > %{_bindir}/proxyresolv > %{_libdir}/libproxychains.so.3 >diff --git a/proxyresolv.conf b/proxyresolv.conf >new file mode 100644 >index 0000000..f097dfb >--- /dev/null >+++ b/proxyresolv.conf >@@ -0,0 +1,2 @@ >+# DNS server used to resolve names >+#DNS_SERVER=208.67.222.222 >-- >1.7.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 812937
: 577745