Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web.
|
2007-03-11 I consider __dict__ an implementation detailAlmost all Python objects implement their namespace as a Python
dictionary, which they expose as their __dict__ member. You can do
interesting things by playing around with this dictionary directly,
for example adding bulk name/value mappings to an object by just doing
something like I don't like doing this, because I consider __dict__ to be an
implementation detail, or at least fairly magical, and thus I feel that
I shouldn't be playing around with it; I prefer to get the same results
with more general higher-level things like In some sense __dict__ isn't merely an implementation detail, because it is sufficiently well documented (and necessary for things like __setattr__) that it will be sticking around. In another sense it is, because not all objects have a __dict__ (and even when they have one, not all of their attributes necessarily show up there), so you can't assume that you can use it to fish around in an arbitrary object. If you do anyways, you're making assumptions about how other code implements its objects that may come to bite you someday. (The most obvious case of objects without a __dict__ is instances of classes that use __slots__.) I'm aware that this is just a personal twitch, and possibly a silly one at that. A lot of Python programmers are perfectly happy to use __dict__, and I've committed worse hacks in my own code without thinking too hard.
Weekly spam summary on March 10th, 2007This week, we:
Volume is definitely down from last week, although the session volume is up slightly. The per day numbers have some significant fluctuations:
Kernel level packet filtering top ten: Host/Mask Packets Bytes 206.223.168.238 39471 2165K 213.29.7.0/24 24821 1488K 205.152.59.0/24 14936 677K 213.4.149.12 11163 581K 66.16.116.241 5392 259K 71.8.237.114 5374 273K 81.215.229.141 3248 156K 64.83.75.188 3207 154K 64.208.191.0/24 3121 187K 193.202.89.232 2898 155K This is up from last week, although it's unevenly distributed; the low end is about the same, but the high end is much more active.
64.208.191.0/24 deserves special mention: various hosts in there slammed us as part of an aggressive spam run, and then once they had tripped our spamtraps they demonstrated that they were partially ignoring SMTP responses. This is a quick recipee for getting your own set of kernel packet filtering rules; if they come back this week, I'll probably make the block permanent. Connection time rejection stats:
62956 total
37668 dynamic IP
17559 bad or no reverse DNS
5173 class bl-cbl
1049 class bl-sbl
353 acceleratebiz.com
198 class bl-dsbl
132 class bl-pbl
121 cuttingedgemedia.com
112 class bl-sdul
78 class bl-njabl
27 verticalresponse.com
Overall volume is slightly down from last week. The SBL breakdown is as uninteresting as last week; 962 hits from SBL50892 (colocentral.com, who apparently feel spammer hosting is fine with them), then the next highest is 18 hits from SBL43107 (listed February 16th as 'Gestour Portal spam source'). Four of the top 30 most rejected IP addresses were rejected 100 times
or more: 81.51.111.171 (2,190 times, a wanadoo.fr dynamic IP address),
200.88.30.51 (114 times, no reverse DNS), 24.158.104.204 (106 times, a
charter.com cablemodem or something), and 71.101.60.68 (106 times, a
verizon.net DSL something or other). Fourteen of the top 30 are currently
in the CBL, 11 are currently listed by This week Hotmail managed:
This is a lot better than their numbers last week. And the final numbers:
Now that's the sort of numbers on bad bounces that I like to see.
There were no really big sources of bad Bad bounces came from four different places to four different usernames; three of the bad usernames are ex-users, and one is a reasonably plausible username.
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |