Spoof MAC and IP adresses

Posted on 2006-06-06
Last Modified: 2012-06-27
I wan't to programmatically (in Java or through some API) chanage/spoof my MAC and IP addresses.  I know I can go through Anonymous IP's to hide my IP from a webserver but this lags my software.  I would like to spoof (autonomously) both of these while not hindering the performance of my application.  My software repeatedly downloads web pages many times per hour, some of the sites I am getting data from will ban me from doing this.  I need to hide my identity from these sites so i can repeatedly update my data many times per hour.

Question by:qbawler311
    LVL 13

    Expert Comment

    the true IP is always known from the properties of the sending socket endpoint. This is a feature of TCP/IP, not Java APIs. To spoof the source IP you need root access and raw sockets (not possible in Java) and all routers between you and the destination agreeing to route such IP packets.
    LVL 30

    Accepted Solution

    That's from:

    :-) ? Anyway, its correct that spoofing would not be possible until the router/ relay which connects you to the site agrees to it. Some reading material on spoofing here:

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    maxMirror challenge 10 69
    classnotfoundexception 3 29
    Logs to delete in Windows VCenter server ? 11 94
    IT Company 5 56
    For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
    Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
    Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
    Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now