"Fossies" - the Fresh Open Source Software Archive 
Member "libspf2-1.2.10/TODO" (28 Jan 2012, 5927 Bytes) of package /linux/privat/libspf2-1.2.10.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 SPF_MAX_DNS_MECH is in multiple places
2 SPF_i_set_header_comment has a switch duplicated into spf_result.c
3 Test compile without pthreads and without res_ninit() - NetBSD 2
4
5 TODO items (somewhat in priority order)
6
7 * need to add better credits:
8 * manu <at> netbsd.org (Emmanuel Dreyfus)
9 *
10
11 * SPF_dns_thread( lookup_layer, cache_layer )
12 * read locking/write locking
13 * spf layer function: add_cache (add to lowest cache or highest cache?)
14
15 * testing
16 * domain name tests
17 * sexy7/9.borg (can this be a real problem?)
18 * foo.com. (trailing dot in MX, PTR, etc.)
19 * duplicate spf records
20 * add checks to test for correct herrno handling
21 * TXT w/ multiple strings
22 * "v=spf1" "mx" "-all"
23 * "v=spf1" " mx" " -all"
24 * "v=spf1 " "mx " "-all "
25 * "v=spf1 " "m" "x" " -all"
26 * TXT w/ >512 bytes
27 * DoS testing
28 * "\"v=spf1 -all\""
29 * -guess checks
30 * break up test databases into smaller chunks
31 * checks for nasty source routing and such for env-from
32 * IPv6 tests
33 * loopback
34 * IPv4-mapped IPv6
35 * a:/mx:
36 * exists:
37 * copy stuff from infradead.org
38 * %{vr-}
39 * envelope-from tests
40 * multiple @
41 * source routing
42 * >63 char w/o dots in DNS lookups
43 * ptr:foo.com should not match badfoo.com
44 * add "extend example" tests from the spec
45
46
47 * spf_dns_zone: option to read from file
48
49 * I don't think the stuff override/fallback sources are identified yet...
50
51 * IPv6 support
52 * exists: IN6_IS_ADDR_V4MAPPED
53 * rfc3596.txt says:
54 * use AAAA records
55 * use IP6.ARPA
56 * rfc3513.txt ::FFFF:d.d.d.d format
57 * rfc3493.txt.gz discusses the ipv6 socket API
58
59 * do I implement best_guess correctly?
60
61 * add a string to SPF_compile_local_policy to change the "local
62 policy" notation. Use for DNSBL/RHSBL checks and such. use a
63 reason-text= modifier?
64
65 * spfquery -ip=192.0.2.200 -sender=50.spf1-test.mailzone.com -helo=50.spf1-test.mailzone.com
66 * problem=Required option for mechanism missing near "" in " -all";
67
68 * the get_spf and get_exp layers don't call the sublayers.
69
70 * investigate perlxs
71
72 * libspf API conversion layer (what IS the libspf API??)
73
74 * document API
75
76 * improve debug output
77
78 * create release script
79
80 * update Changelog
81
82 * update version number in configure.ac
83 AC_INIT(libspf_alt, 0.3.6, wayne@midwestcs.com)
84
85 * update share library revisions in /lib/spf_alt/Makefile.am
86 libspf_alt_la_LDFLAGS = -version-info 0:0:0
87
88 * write new announcement in doc
89
90 * install new copy on backbone:/var/www/spf/libspf2/
91
92 * save copy in /usr/local/src/spf/libspf2/
93
94 * cd devel; make clean; make maintainer-clean; cd ..;
95 tar czf libspf2.devel.0.3.tgz devel;
96 scp libspf2.devel.0.3.tgz backbone:/home/wayne
97
98 * start using CVS
99
100 * implement a DNS timeout feature (how?)
101
102 * implement a max time to eval feature
103
104 * SPF_dns_should_cache( mech ) if only str, %d, %r, %v used, return true
105
106 * code cleanup
107 * many functions are way to long and need to be broken up
108 * duplicate code
109 * comments? We don't need no stinkin' comments!
110 * some files contain too many functions (e.g. spf_result.c)
111
112 * spfd
113 * add logging
114 * multi-threaded dns lookups (how to cache?)
115 * EOL string (currently uses \n, should it use \r\n?)
116 * support for more commands?
117 * spfquery.spfd
118 * quote and escape characters
119
120 * SPF_verify()
121
122 * * version ok
123 * * lengths ok
124 * * counts ok
125 * * types ok
126 * * max_dns_mech
127 * * cidr data first and not both zero
128 * * ip4/ip6 cidr ranges
129 * * invalid chars in data_str and mod name
130 * * data on mechs that shouldn't have any
131 * * mechs that should have data, but don't
132
133
134 * fix all FIXME's
135
136 * convert int -> SPF_err_t
137 * convert int -> ns_type
138 * convert int -> SPF_dns_stat_t
139 * convert SPF_err_t, ns_type and SPF_dns_stat_t to enums
140
141 * document internals
142
143 * allow extentions to be turned on and off
144 * redirect:
145 * %{r}
146 * %{c}
147 * non-alpha chars in mech/mod
148 * preserve case of localpart (new var? use a delim? overload URL encoding?)
149 * exp-text= ?
150 * support '@' as a delimeter?
151 * document non-compliance
152 * v=spf0, v=spf1-include or include-only=yes for use by includes
153 and explanation?
154
155 * need to make the system more OS/compiler portable (Windows, non-gcc)
156
157 * allow a sanatizer() function a-la M:S:Q?
158
159 * improve error messages from the compiler.
160 * Sometimes the token is null, when it shouldn't be
161 * Sometimes it is way too long.
162 * 99txt.spf1-test.mailzone.com
163
164 * spf_dns_cid2spf
165
166 * add BEGIN_C_DECLS (autoconf book) or __BEGIN_DECLS (in linux includes)
167
168 * use res_findzonecut to look for SPF records at the zone cut
169
170
171 * When the result of macro expansion is used in a domain name query, if
172 the expanded domain name exceeds 255 characters (the maximum length
173 of a domain name), the left side is truncated to fit, by removing
174 successive subdomains until the total length falls below 255
175 characters.
176
177 * it appears that the bits in the byte-compiled format are not laid
178 out right. I'm not sure that fields can cross byte boundaries
179
180 bits/endian.h says: /* i386 is little-endian. */
181
182 /usr/include/arpa/nameser_compat.h
183 ~/mail_rfcs/RFC/standard/rfc1035.txt.gz
184
185 /usr/include/netinet/ip.h
186
187
188 * spfwhy.c utility to generate a web page
189 * show all compile/lint errors
190 * show results of evaluation
191 * explain the SPF record
192
193 * cgi script to use for an explanation
194 * cgi script to parse and explain an SPF record (and give disgnostics)
195
196 * It would be better if all info about valid mechanisms was
197 centeralized instead of being hard coded everywhere.
198
199 * spf_id2str needs to be broken up into smaller functions so that you
200 can easily print a single mechanism, macro string, modifier, etc.
201
202 * make distcheck doesn't work
203
204 * make sure that macro-vars don't expand with trailing dots (See spf-dev
205 <7382FCA44E27D411BD4A00508BD68F950AE3102F@pigeon.tumbleweed.com>)