CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2004
    Posts
    4

    Changing Source IP ?

    If I am wrong what I am asking Plz do correct me

    1. How can I change The Source IP in the IP Header
    2. How can I change The Source IP in the HTTP Header

    Actually I want to sumit some data from my VC App on a form in a web site which does not allow submission more than once from a single IP address

    Thnx in Advance

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Changing Source IP ?

    [ Moved thread ]

  3. #3
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: Changing Source IP ?

    How would you feel, if someone do that with your site?

  4. #4
    Join Date
    Mar 2004
    Posts
    4

    Re: Changing Source IP ?



    Actually I am Doing it with my own site just for learning. I am not doing it professionally to caz damage or so.
    Last edited by Adnan562; February 3rd, 2005 at 10:53 AM.

  5. #5
    Join Date
    Aug 2001
    Location
    Stockholm, Sweden
    Posts
    1,664

    Re: Changing Source IP ?

    Answers:
    1. Don't do it (won't work on XPsp2) ... Many routers have protection against IP spoofing too.
    2. Source address in the HTTP header, are you sure? (I've never seen any)

    If it is your own web application, disable these check during your tests.

    If you must work from different source addresses, go via some free web proxy. I think there are many such proxies out there-- 'cause in some contries it is forbidden to browse certain content/URLs.


    Good luck.

    PS. You may also be able to change your WAN/LAN IP adress (it is easy on a LAN)... If you're sitting on a DHCP WAN address provided by your ISP, try changing your PC's or router's MAC address and then renew the IP (ipconfig /renew). Your PC's MAC address can be changed (in Windows) via the registry (search on Google on how to do that). It's more tricky on a firewall/router, but many of these support "MAC cloning"... which means that it will copy your PC's MAC adress.

  6. #6
    Join Date
    Oct 2003
    Posts
    46

    Re: Changing Source IP ?

    it would work on sp2 with patched tcpip.sys
    Mouse

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured