I would assume that you have a rationale as to why a user behind a proxy should be less trustworthy than another user not behind a proxy.

For example, in both my companys network and my home network, I have proxies that shield (if I chose to) my browsers from the direct contact with the outside - so I'm not sure, how much trust you should be putting into a recommendation given by a user from behind a proxy.

I see two possibilities of how to detect a proxy :

  1. building a list of known IP adresses for big proxies (AOL proxies for example)
  2. Looking at the X-Forwarded-For or the X-Client-IP header could also indicate, that this user is behind some proxy.

Personally, I would guess that "people behind a proxy" is a quite unsound criterion for "people much more likely to commit fraud", and you will most likely lose a part of your business (whatever it is you sell) due to it. Unless you have hard numbers on the part of your customers behind proxies and the number of fraudulent transactions, I wouldn't block proxies.

perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web

In reply to Re: Proxy Detection In Perl by Corion
in thread Proxy Detection In Perl by Anonymous Monk

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.