This is an automated email from the ASF dual-hosted git repository.
chibenwa pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/james-jspf.git
from 6f84320 [FIX] AsynchronousSPFExecutor: always complete the SPF result
new d3fcc75 [FIX] AsynchronousSPFExecutor: do not recurse once per checker
new 4db83ce [FIX] Domain-spec regexes: do not recurse once per character
new a9e8bb7 [FIX] TrustedForwarderPolicy: add the trusted forwarder
include
new 0d4bb94 [FIX] ip4/ip6 mechanisms: an overflowing CIDR length is a
permerror
new e35b73a [FIX] a/mx mechanisms: an overflowing dual CIDR length is a
permerror
new 7b8d973 [FIX] MacroExpand: read a digit transformer above an int as
all the parts
new 428c1c8 [FIX] Inet6Util.isValidIP6Address: count the groups
new 273441d [FIX] IPAddr: reject what is no IP address before converting
it
new f588529 [FIX] ip6 mechanism: an IPv4-mapped network stays an IPv6
network
new f4c1112 [FIX] AMechanism.toString: write the ip6 CIDR length
new 281fcf3 [FIX] DNSServiceXBillImpl.getRecordsAsync: no record for an
invalid name
new 920ec4d [FIX] DNSServiceXBillImpl: convert the answer records of the
type asked for
new 3953dc4 [FIX] mx mechanism: clean up its lookup state when nothing
matches
new 9330939 [FIX] StagedMultipleSPFExecutor: survive an unexpected lookup
error
new 3a19565 [FIX] SynchronousSPFExecutor: end an include on an unexpected
error
new 22209f0 [FIX] SPF record without directive: neutral when included or
redirected to
new 6d1ba8b [FIX] Domain-spec regexes: match a toplabel in linear time
new caa3e51 [FIX] DefaultExplanationPolicy: not for an included record
new f37dede [FIX] MacroExpand: truncate a long domain in linear time
new 384bf51 [FIX] MacroExpand: truncate an expanded domain to 253
characters
new c2f6376 [FIX] IPAddr.getProperIpAddress: read every form of an
IPv4-mapped address
new 63e7f8d [FIX] SPFSession: expand %{v} from the client address it
checks
new 188da42 [FIX] FallbackPolicy: give each check its own copy of an
entry's record
new fa07ac4 [FIX] FallbackPolicy: match a domain against the entries as
written
new f38221a [FIX] FallbackPolicy.removeEntry: remove the entry of the host
new 080bbc7 [FIX] ptr mechanism: compare the domain names whatever their
case
new 9c70346 [FIX] DNSServiceXBillImpl.getRecordsAsync: bound the queries
of a lookup
new 6e0c46f [FIX] AsynchronousSPFExecutor: temperror for a DNS error
new ea9b7dc [FIX] SPF executors: temperror for an unexpected error of a
lookup
new bcb82e5 [FIX] a mechanism: look up a target that reads as an address
new 90aa824 [FIX] IPAddr: no trailing dot on an address
new 6a83667 [FIX] SPFSession: trim only spaces and tabs, then parse MAIL
FROM
new b83aa8e [FIX] InitialChecksPolicy: none for a malformed sender domain
new 9576ba6 [FIX] ptr mechanism: no match on a DNS error of its lookups
new 9fb0612 [FIX] SPFRetriever: look up TXT when the SPF type lookup fails
new 62bc0d9 [FIX] SPFResult: quote a Received-SPF value that is no
dot-atom
new 6266c12 [FIX] DNSServiceXBillImpl: look up the names as fully
qualified
new 048417c [FIX] DNSServiceXBillImpl.getRecords: no unchecked exception
from dnsjava
new 15cf09a [FIX] DNSServiceXBillImpl.getRecordsAsync: no unchecked
exception
new c7da02b [FIX] DNSTestingServer: no extended rcode in the OPT record
of an answer
new 62f1741 [FIX] DNSServiceXBillImpl.getRecords: temperror for an
extended rcode
new 703f4ea [FIX] DNSServiceXBillImpl: follow the first of several CNAMEs
new 6e573fb [FIX] SPFRetriever: look up the TXT record first
new 803d039 [FIX] SPFRetriever: discard a record not beginning with v=spf1
new 64df226 [FIX] ptr mechanism: check the first 10 names, not 9
new 9a42832 [FIX] MacroExpand: validate each PTR name for %{p}
new 5d62389 [FIX] MacroExpand: count the PTR lookup of %{p} in the lookup
limit
new 1888574 [FIX] a/mx mechanisms: a CIDR length with a leading zero is a
permerror
new f22f325 [FIX] ip4 mechanism: an octet with a leading zero is a
permerror
The 49 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/modules/ROOT/pages/usage.adoc | 24 +-
.../java/org/apache/james/jspf/core/IPAddr.java | 57 +-
.../java/org/apache/james/jspf/core/Inet6Util.java | 25 +-
.../org/apache/james/jspf/core/MacroExpand.java | 201 ++-
.../org/apache/james/jspf/core/SPFSession.java | 82 +-
.../apache/james/jspf/core/SPFTermsRegexps.java | 44 +-
.../jspf/executor/AsynchronousSPFExecutor.java | 80 +-
.../org/apache/james/jspf/executor/SPFResult.java | 70 +-
.../jspf/executor/StagedMultipleSPFExecutor.java | 102 +-
.../jspf/executor/SynchronousSPFExecutor.java | 7 +-
.../james/jspf/impl/DNSServiceAsynchSimulator.java | 3 +-
.../james/jspf/impl/DNSServiceXBillImpl.java | 283 ++++-
.../main/java/org/apache/james/jspf/impl/SPF.java | 35 +-
.../james/jspf/parser/RFC4408SPF1Parser.java | 8 +-
.../james/jspf/policies/InitialChecksPolicy.java | 15 +
.../jspf/policies/NeutralIfNotMatchPolicy.java | 7 +-
.../apache/james/jspf/policies/SPFRetriever.java | 49 +-
.../jspf/policies/SPFStrictCheckerRetriever.java | 5 +-
.../policies/local/DefaultExplanationPolicy.java | 5 +
.../james/jspf/policies/local/FallbackPolicy.java | 118 +-
.../policies/local/TrustedForwarderPolicy.java | 48 +-
.../org/apache/james/jspf/terms/AMechanism.java | 51 +-
.../org/apache/james/jspf/terms/ExpModifier.java | 3 +-
.../org/apache/james/jspf/terms/IP4Mechanism.java | 22 +-
.../org/apache/james/jspf/terms/IP6Mechanism.java | 12 +
.../apache/james/jspf/terms/IncludeMechanism.java | 5 +-
.../org/apache/james/jspf/terms/MXMechanism.java | 3 +
.../org/apache/james/jspf/terms/PTRMechanism.java | 34 +-
.../apache/james/jspf/terms/UnknownModifier.java | 2 +-
.../apache/james/jspf/DNSServiceXBillImplTest.java | 310 +++++
.../org/apache/james/jspf/SPFExecutorBaseTest.java | 1284 +++++++++++++++++++-
.../org/apache/james/jspf/core/IPAddrTest.java | 27 +
.../apache/james/jspf/core/MacroExpandTest.java | 40 +
.../org/apache/james/jspf/core/SPFSessionTest.java | 86 ++
.../james/jspf/core/SPFTermsRegexpsTest.java} | 61 +-
.../StagedMultipleSPFExecutorIntegrationTest.java | 146 +++
.../james/jspf/helpers/AnsweringResolver.java | 166 +++
.../jspf/policies/local/FallbackPolicyTest.java | 204 ++++
.../local/TrustedForwarderPolicyTest.java} | 38 +-
.../apache/james/jspf/terms/AMechanismTest.java} | 21 +-
.../james/jspf/terms/UnknownModifierTest.java} | 22 +-
.../james/jspf/tester/DNSTestingServerTest.java | 66 +
.../apache/james/jspf/tester/DNSTestingServer.java | 10 +-
43 files changed, 3529 insertions(+), 352 deletions(-)
copy resolver/src/{main/java/org/apache/james/jspf/core/SPF1Constants.java =>
test/java/org/apache/james/jspf/core/SPFTermsRegexpsTest.java} (56%)
create mode 100644
resolver/src/test/java/org/apache/james/jspf/executor/StagedMultipleSPFExecutorIntegrationTest.java
create mode 100644
resolver/src/test/java/org/apache/james/jspf/helpers/AnsweringResolver.java
create mode 100644
resolver/src/test/java/org/apache/james/jspf/policies/local/FallbackPolicyTest.java
copy
resolver/src/{main/java/org/apache/james/jspf/policies/local/OverridePolicy.java
=>
test/java/org/apache/james/jspf/policies/local/TrustedForwarderPolicyTest.java}
(56%)
copy resolver/src/{main/java/org/apache/james/jspf/terms/Mechanism.java =>
test/java/org/apache/james/jspf/terms/AMechanismTest.java} (67%)
copy resolver/src/{main/java/org/apache/james/jspf/terms/Mechanism.java =>
test/java/org/apache/james/jspf/terms/UnknownModifierTest.java} (67%)
create mode 100644
resolver/src/test/java/org/apache/james/jspf/tester/DNSTestingServerTest.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]