FreeBSD Bugzilla – Attachment 187189 Details for
Bug 223022
security/py-fail2ban: Update to 0.10.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to version 0.10.1
py-fail2ban.diff.txt (text/plain), 2.22 KB, created by
theis
on 2017-10-15 07:50:00 UTC
(
hide
)
Description:
Patch to version 0.10.1
Filename:
MIME Type:
Creator:
theis
Created:
2017-10-15 07:50:00 UTC
Size:
2.22 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 451982) >+++ Makefile (working copy) >@@ -1,7 +1,7 @@ > # $FreeBSD$ > > PORTNAME= fail2ban >-PORTVERSION= 0.10.0 >+PORTVERSION= 0.10.1 > CATEGORIES= security python > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > >Index: distinfo >=================================================================== >--- distinfo (revision 451982) >+++ distinfo (working copy) >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1502542383 >-SHA256 (fail2ban-fail2ban-0.10.0_GH0.tar.gz) = 3517b68bff71924f179609eb51dd2fe66d78653646528cdf8edf2370ff047c80 >-SIZE (fail2ban-fail2ban-0.10.0_GH0.tar.gz) = 459813 >+TIMESTAMP = 1507898553 >+SHA256 (fail2ban-fail2ban-0.10.1_GH0.tar.gz) = 19bac652e50f35b3b58ea010c2b89b91b945365d37dbf17467e0dc345c058465 >+SIZE (fail2ban-fail2ban-0.10.1_GH0.tar.gz) = 465156 >Index: files/patch-fail2ban_server_ipdns.py >=================================================================== >--- files/patch-fail2ban_server_ipdns.py (revision 451982) >+++ files/patch-fail2ban_server_ipdns.py (nonexistent) >@@ -1,19 +0,0 @@ >---- fail2ban/server/ipdns.py.orig 2017-08-09 14:53:05 UTC >-+++ fail2ban/server/ipdns.py >-@@ -69,10 +69,14 @@ class DNSUtils: >- for fam, ipfam in ((socket.AF_INET, IPAddr.FAM_IPv4), (socket.AF_INET6, IPAddr.FAM_IPv6)): >- try: >- for result in socket.getaddrinfo(dns, None, fam, 0, socket.IPPROTO_TCP): >-- ip = IPAddr(result[4][0], ipfam) >-+ # if getaddrinfo returns something unexpected: >-+ if len(result) < 4 or not len(result[4]): continue >-+ # be sure we have an ip-string >-+ # some return an integer there >-+ ip = IPAddr(str(result[4][0]), ipfam) >- if ip.isValid: >- ips.append(ip) >-- except socket.error as e: >-+ except Exception as e: >- saveerr = e >- if not ips and saveerr: >- logSys.warning("Unable to find a corresponding IP address for %s: %s", dns, saveerr) > >Property changes on: files/patch-fail2ban_server_ipdns.py >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property
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
Flags:
theis:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 223022
: 187189