[DFD] implicit use of magic in DFD
Travis
travis+ml-dfd at subspacefield.org
Fri Oct 24 22:44:20 CEST 2008
I've released 4.1, which makes the persistent variable dictionary magical.
The point of this is that if you assign a string to a DFD variable stored
in this persistent shelf, it will be an instance of the magic class.
The magic class, as you may know, allows a variable to render as itself (a)
if it only holds one item, or a pf array ({ a b}) if it holds two or more.
The net result is that it makes DFD scripts easier to write, since you
no longer have to mention magic when setting a persistent variable.
If you don't know what a DFD script is, take a look at
keeper_example.py in the distribution for what I mean; it is a
complete DFD script.
Next I'm going to work on sniffers, so that DFD will become a more
complete offering. This will mean refining the bittorrent sniffer so
that it can detect based on something other than ports being used.
I will also implement a Civ IV sniffer, which will open ports so that
you can play that game without manually setting up port forwarding.
Then I'll go for one that sniffs listening for SPA (single packet
authentication).
Let me know what you want!
--
Crypto ergo sum. http://www.subspacefield.org/~travis/
Do unto other faiths as you would have them do unto yours.
If you are a spammer, please email john at subspacefield.org to get blacklisted.
More information about the DFD
mailing list