Another crash on IP address ending in newline
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SPF Engine |
Fix Released
|
Medium
|
Scott Kitterman | ||
pypolicyd-spf |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Aug 30 06:09:43 central1 policyd-spf[29530]: Traceback (most recent call last):
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/bin/
Aug 30 06:09:43 central1 policyd-spf[29530]: instance_dict, configData, peruser, peruserconfigData)
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/bin/
Aug 30 06:09:43 central1 policyd-spf[29530]: mres = mfromquery.check()
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib/
Aug 30 06:09:43 central1 policyd-spf[29530]: rc = self.check1(spf, self.d, 0)
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib/
Aug 30 06:09:43 central1 policyd-spf[29530]: return self.check0(spf, recursion)
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib/
Aug 30 06:09:43 central1 policyd-spf[29530]: if self.cidrmatch(
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib/
Aug 30 06:09:43 central1 policyd-spf[29530]: for netwrk in [ipaddress.
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib/
Aug 30 06:09:43 central1 policyd-spf[29530]: for netwrk in [ipaddress.
Aug 30 06:09:43 central1 policyd-spf[29530]: File "/usr/lib64/
Aug 30 06:09:43 central1 policyd-spf[29530]: address)
Aug 30 06:09:43 central1 policyd-spf[29530]: ValueError: '119.18.39.164\n' does not appear to be an IPv4 or IPv6 network
# pip3.4 show pyspf
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Name: pyspf
Version: 2.0.12
Summary: SPF (Sender Policy Framework) implemented in Python.
Home-page: http://
Author: Stuart D. Gathman
Author-email: <email address hidden>
License: Python Software Foundation License
Location: /usr/local/
Requires:
Required-by:
# pip3.4 show pypolicyd-spf
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Name: pypolicyd-spf
Version: 2.0.2
Summary: pypolicyd-spf SPF Postfix policy server implemented in Python.
Home-page: https:/
Author: Scott Kitterman
Author-email: <email address hidden>
License: UNKNOWN
Location: /usr/local/
Requires:
Required-by:
Changed in spf-engine: | |
milestone: | none → 2.9.1 |
The crash is caused by this txt record: 18.39.164\ 010 include: spf.protection. outlook. com ~all"
"v=spf1 ip4:203.143.89.146 ip4:203.27.138.188 ip4:119.