gmpassos, I think that your attempt to write your own server is honorable, but in the end I believe it works against what you aim to do.

You talk about the flood of requests you received looking for vulernabilities. You mention that the security holes in IIS are obvious, however your own code has vulernabilities. What if this code caught on without tachyon's mentioning of the holes? How many people would have used this and experienced breaches, something that you're against?

Learning something new and writing code to try new ideas is encouraged. I think every programmer should try something foreign or outlandish to test his or her skills. However, sometimes (in my case, often) that code is not reliable or useful. It might suit your purpose, but if someone else were to use it, he or she might have serious problems because of something unforeseen.

You want to make a wheel that rolls better. That's an admirable cause. But there are better ways of doing so. Apache is supported by a group of people, and it's been thoroughly tested. It's become what it is over a long period of time. You should help make existing wheels spin faster instead of starting over.

If you want to prevent the internet from being a mess, don't let your pride get in the way of your desire to help others.

Personally, I'd use the above code (somewhat stripped down) to act as a simple web server used only to track requests (and not serve pages). With the information recorded, you could analyze the data and find who is sending the traffic and when it is sent. Using that information, you can help clean up the 'net, little by little.

John J Reiser
newrisedesigns.com


In reply to Re: (nrd) How Internet is a mess. (Playing with HTTPD) by newrisedesigns
in thread How Internet is a mess. (Playing with HTTPD) by gmpassos

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.