At 10:43 AM 1/21/2004, Meng Weng Wong wrote:
"v=spf1 a:192.0.2.0 mx -all"
...
"<ep xmlns='http://spf.info/1'><out><m><a>192.0.2.0</a></m><m/></out></ep>"
Hmm... an extremely simple record suddenly becomes 3 times as long. I
wonder how that would affect more complicated records.
OK, let's take AOL:
v=spf1 ip4:152.163.225.0/24 ip4:205.188.139.0/24 ip4:205.188.144.0/24
ip4:205.188.156.0/24 ip4:205.188.157.0/24 ip4:205.188.159.0/24
ip4:64.12.136.0/24 ip4:64.12.137.0/24 ip4:64.12.138.0/24 ptr:mx.aol.com ?all
...and a guess as to what it might look like in XML:
<ep xmlns='http://spf.info/1'>
<out>
<m><ip4>152.163.225.0/24</ip4></m>
<m><ip4>205.188.139.0/24</ip4></m>
<m><ip4>205.188.144.0/24</ip4></m>
<m><ip4>205.188.156.0/24</ip4></m>
<m><ip4>205.188.157.0/24</ip4></m>
<m><ip4>205.188.159.0/24</ip4></m>
<m><ip4>64.12.136.0/24</ip4></m>
<m><ip4>64.12.137.0/24</ip4></m>
<m><ip4>64.12.138.0/24</ip4></m>
<m><ptr>mx.aol.com</ptr></m>
<all>?</all>
</out>
</ep>
.. which would wrap to:
<ep
xmlns='http://spf.info/1'><out><m><ip4>152.163.225.0/24</ip4></m><m><ip4>205.188.139.0/24</ip4></m><m><ip4>205.188.144.0/24</ip4></m><m><ip4>205.188.156.0/24</ip4></m><m><ip4>205.188.157.0/24</ip4></m><m><ip4>205.188.159.0/24</ip4></m><m><ip4>64.12.136.0/24</ip4></m><m><ip4>64.12.137.0/24</ip4></m><m><ip4>64.12.138.0/24</ip4></m><m><ptr>mx.aol.com</ptr></m><all>?</all></out></ep>
It jumps from 210 chars to 387 chars - still under the limit for UDP, but
more than a 50% increase in size.
Kelson Vibber
SpeedGate Communications <www.speed.net>
-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.9.4.txt
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname(_at_)©#«Mo\¯HÝÜîU;±¤Ö¤Íµø?¡