Robert McLaws: FunWithCoding.NET

Public Shared Function BrainDump(ByVal dotNet As String) As [Value]

News

<script type="text/javascript"><!-- google_ad_client = "pub-4330602465258980"; google_hints = "ASP.NET, VB.NET, C#, C#.NET, WindowsForms, .NET Framework, VS2005, Visual Studio, XAML, WinFX, Windows Workflow, WPF, WCF, Atlas, NetFX3, Visual Studio Orcas"; google_ad_width = 120; google_ad_height = 240; google_ad_format = "120x240_as"; google_ad_type = "text_image"; google_ad_channel ="4997399242"; google_color_border = "B6C9E7"; google_color_bg = "EFEFEF"; google_color_link = "0000FF"; google_color_text = "000000"; google_color_url = "002C99"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>
<!--
-->

You should feel free to challenge me, disagree with me, or tell me I'm completely nuts in the comments section of each blog entry, but I reserve the right to delete any comment for any reason whatsoever. That said, I will most likely only delete abusive, profane, rude, or annonymous comments, so keep it polite, please.

Blogroll

Cool .NET Articles

My .NET Tools

My Builder.com Articles

My MSKB Articles

CommentSpam.org RBL Fixed

After my massive update of the CommentSpam.org database last week, I accidentally posted a couple of entries without an IP address. That broke the Real-Time Blacklist CVF file. I added some logic to my CVF handler to check for DBNull before adding a node to the XML document. I should have done that earlier <smacks forehead> but it's working now.

I'm hoping to move to the next version of the specification in January, which will add some new validation logic. Namely, the individual address validator will also contain the number of entries in the database for that address. I'll also have a schema for validating the XML file.

Please let me know if there are any other problems.

Comments

David Cumps said:

I just checked the bannedaddresses cvf file and was wondering why there are some weird things in it?

for example:
<ipAddress>100.109.204.28, 127.0.0.1</ipAddress> (localhost? :p)

there are also a lot of entries with multiple ip addresses inside one ipAddress tag

Would be nice if .Text would use your commentspam database :)
# January 1, 2005 7:12 AM

Robert McLaws said:

David,

I haven't cleaned up those entries yet. Sometimes .Text detects 2 IP addresses when you add comments to teh DB, so it dumps them both in the field. I then have to go through manually and duplicate the entries for the ones that do not show a LAN address as the secondary address.

I would agree, it would be REALLY nice if there were a .Text add-in that used it.
# January 1, 2005 4:52 PM