Re: Request.UserHostAddress

From: WJ (JohnWebbs_at_HotMail.Com)
Date: 11/17/04


Date: Tue, 16 Nov 2004 22:38:05 -0500

Impossible mission! How can you tell if it is fake IP or Ip generated by
dhcp ? It makes sense for intranet but not internet.

John

"tma" <tma@allisconfusing.net> wrote in message
news:%236fl04EzEHA.4028@TK2MSFTNGP15.phx.gbl...
> Actually, the IP addresses are from "people" who hit my website. Spiders
> for
> example. So while the address space is fairly constant, it still needs to
> be
> a range of addresses to test for.
>
> Any thoughts?
>
>
> "John Saunders" <johnwsaundersiii@hotmail.com> wrote in message
> news:uSGDgcDzEHA.344@TK2MSFTNGP10.phx.gbl...
>> "tma" <tma@allisconfusing.net> wrote in message
>> news:edOECXDzEHA.1652@TK2MSFTNGP11.phx.gbl...
>> >I am creating code that makes decisions based on the result of the
>> > Request.UserHostAddress. Is there a way I can search on /CIDR or range
> of
>> > IP
>> > addresses without specifying an exact search string, i.e. one string
>> > for
>> > each IP address? You can imagine why I don't want to have to create a
>> > CASE/ELSE for this scenario...
>> >
>> > I'm open to any suggestions.
>>
>> I presume you're guaranteed what the IP addresses are, and that they
>> won't
>> ever change or be placed behind a NAT box or something that will change
> the
>> IP addresses? Or that the subnet setup won't change?
>>
>> Why not identify machines with something like an X.509 certificate, which
> is
>> _meant_ to be identifying? IP addresses aren't actually meant for that
>> purpose.
>>
>> John Saunders
>>
>>
>
>



Relevant Pages

  • Re: OT: weird problem
    ... its seems the problem is with the NAT not the PC side. ... system it got the same address from the DHCP and having the same problem. ... All intranet access has no problem. ... boom, the user PC couldn`t access the Internet, just the Intranet. ...
    (microsoft.public.windowsxp.general)
  • Re: TCP/IP failure after spyware removal
    ... Computer can see intranet and internet before ... No joy afterwards. ... No go on DHCP. ...
    (microsoft.public.windowsxp.general)
  • Re: Rras In W2k3 RC2 Sp2 DC, Help!
    ... Turn off DHCP at your Internet router Web page or console interface. ... The problem is, I have 2 Nic's, one for intranet and the other connected ...
    (microsoft.public.windows.server.networking)
  • Re: Lottery facts for Sherry
    ... Pussy Jack experiences his first and last brush with rationality ... of the real "John Griffin" can peek through. ... you look up on the internet and copy ...
    (rec.gambling.lottery)
  • Re: Lottery facts for Sherry
    ... No matter what you look up on the internet and copy ... you've established your position as an airhead. ... We're in rec.gambling.lottery...not John Griffin Incorporated. ...
    (rec.gambling.lottery)