L2/L3 Proxy Headers

 
Hostwinds

Results 1 to 4 of 4
I'm making a PHP script to detect and sort L1/L2/L3 proxies and have a list ...
  1. #1
    captchaman's Avatar
    captchaman is offline Junior Member
    Join Date
    Sep 2010
    Location
    USA
    Posts
    190
    Thanks
    102
    Thanked 824 Times in 84 Posts

    Default L2/L3 Proxy Headers

    I'm making a PHP script to detect and sort L1/L2/L3 proxies and have a list of proxy headers, I'm just not sure which ones actually give your IP address and which ones just give proxy information. The list is below, if anyone could sort me out I'd be forever grateful.

    Code:
    HTTP_VIA
    HTTP_X_FORWARDED_FOR
    HTTP_FORWARDED_FOR
    HTTP_X_FORWARDED
    HTTP_FORWARDED
    HTTP_CLIENT_IP
    HTTP_FORWARDED_FOR_IP
    VIA
    X_FORWARDED_FOR
    FORWARDED_FOR
    X_FORWARDED
    FORWARDED
    CLIENT_IP
    FORWARDED_FOR_IP
    HTTP_PROXY_CONNECTION

  2. #2
    innozemec's Avatar
    innozemec is offline ★★ InstantLinkIndexer.com
    Join Date
    Aug 2011
    Location
    www.Indexification.com
    Posts
    4,975
    Thanks
    1,451
    Thanked 1,664 Times in 1,304 Posts
    Blog Entries
    5

    Default Re: L2/L3 Proxy Headers

    Google is your best friend man. It is best to read from the docs about such things as some of these variables might return different results in certain conditions

  3. #3
    captchaman's Avatar
    captchaman is offline Junior Member
    Join Date
    Sep 2010
    Location
    USA
    Posts
    190
    Thanks
    102
    Thanked 824 Times in 84 Posts

    Default Re: L2/L3 Proxy Headers

    @innozemec: I spent about 15 minutes Googling, didn't come up with much. That's why I asked here.

  4. #4
    teapear is offline Junior Member
    Join Date
    Feb 2009
    Posts
    184
    Thanks
    41
    Thanked 35 Times in 27 Posts

    Default Re: L2/L3 Proxy Headers

    if REMOTE_ADDR == explode , HTTP_X_FORWARDED_FOR[0] { transparent }
    if REMOTE_ADDR != explode , HTTP_X_FORWARDED_FOR[0] && isset HTTP_VIA { anonymous }
    else { eli.te}

Link Processor


BlackHatWorld Advertising

Similar Threads

  1. Headers v Strongs
    By Proteus in forum White Hat SEO
    Replies: 3
    Last Post: 09-21-2010, 08:29 PM
  2. Replies: 1
    Last Post: 02-08-2010, 03:19 PM
  3. Simple headers
    By DrJekyll in forum Misc
    Replies: 0
    Last Post: 11-25-2008, 09:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


 



BlackHatWorld on Twitter BlackHatWorld on FaceBook


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109