Need Nerd Help - HOSTS/IP Redirection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gornyhuy
    Chafed.
    • May 2002
    • 18041

    #1

    Need Nerd Help - HOSTS/IP Redirection

    I've got some nasty adware driven software that doesn't have a lite version - but I want to block the adserver from working. Normally I would just put the domain of the adserver in my HOSTS file and send it to some bullshit IP Address, or just back to localhost.

    Here is the problem: these guys have used an IP address instead of a URL. The HOSTS file only works with URL to IP translation. So my question to you tech gurus is:

    How do you do a direct IP to IP redirection on a windows box? Hosts won't work.

    Help me Obi-Wan Kenobi... You're my only hope.
    Thanks!

    icq:159548293
  • JSA Matt
    So Fucking Banned
    • Aug 2003
    • 5464

    #2
    Assign the IP to an $8 domain you don't use? I have no idea really...

    Comment

    • gornyhuy
      Chafed.
      • May 2002
      • 18041

      #3
      Originally posted by JSA Matt
      Assign the IP to an $8 domain you don't use? I have no idea really...
      let me clarify:

      I have a program running on my computer, it is trying to call a certain IP, I want to send its IP call to my localhost or to any other IP.

      If it were calling a URL, the HOSTS file would accomplish this. But because its calling an IP, windows never calls the HOSTS file or any DNS server for that matter. My question is: how do you redirect an IP request on your desktop computer.

      icq:159548293

      Comment

      • JSA Matt
        So Fucking Banned
        • Aug 2003
        • 5464

        #4
        Originally posted by gornyhuy
        let me clarify:

        I have a program running on my computer, it is trying to call a certain IP, I want to send its IP call to my localhost or to any other IP.

        If it were calling a URL, the HOSTS file would accomplish this. But because its calling an IP, windows never calls the HOSTS file or any DNS server for that matter. My question is: how do you redirect an IP request on your desktop computer.
        My fault, I mis-read what you were trying to do... I have no idea really, maybe some firewall software has those capabilities.

        Comment

        • gornyhuy
          Chafed.
          • May 2002
          • 18041

          #5
          Originally posted by JSA Matt
          My fault, I mis-read what you were trying to do... I have no idea really, maybe some firewall software has those capabilities.
          Thanks... yeah I was thinking there must be some firewall/router option that could do this. I'm not much of a networking guru though...

          I have a linksys router that I could use if anybody knows what the hell I should do.

          icq:159548293

          Comment

          • NoHassleSteve
            Confirmed User
            • Jul 2004
            • 450

            #6
            If you are using Windows 2000..

            http://www.microsoft.com/windows2000...taticRoute.htm


            Instructions for XP would be similar.
            Tai Lynn - Asian model with 50% revshare
            Teen Dolls with Alyssa Doll -- 60% payouts Spunkbucks PPS and Revshare
            NS Cash -- sites with pornstars and fresh faces -- 60% payouts

            Comment

            • gornyhuy
              Chafed.
              • May 2002
              • 18041

              #7
              Originally posted by NoHassleSteve
              If you are using Windows 2000..

              http://www.microsoft.com/windows2000...taticRoute.htm


              Instructions for XP would be similar.
              Oh Shit! thanks...

              Time to start learning about static routing. Not sure if this is what i need or not, but its the closest thing I've seen.

              Anybody here ever done IP routing like this?

              icq:159548293

              Comment

              • raymor
                Confirmed User
                • Oct 2002
                • 3745

                #8
                Yeah, you can probably block that IP
                in your firewall, router. How to do that depends
                on your firewall. Using iptables you'd do:
                iptables -A INPUT -d 216.35.74.0/24 -j REJECT

                Also you may be able to replace the adware DLL
                with a bogus stub that doesn't do the ads.
                See the adware page on http://cexx.org/ .

                But hmm, aren't the ads the way that you pay for
                the software? Isn't blocking them in fact stealing?
                Can you instead fork over the $10 for the registered
                version of either that software or another program
                that accomplishes the same task? Come to think
                of it, if 20 webmasters each spent 2 minutes reading
                your post, did we just waste 40 minutes because
                you want to steal software rather than finding similar
                free software or paying a few bucks for it?
                I don't know the answers to these questions,
                of course, but they are interesting questions.
                For historical display only. This information is not current:
                support@bettercgi.com ICQ 7208627
                Strongbox - The next generation in site security
                Throttlebox - The next generation in bandwidth control
                Clonebox - Backup and disaster recovery on steroids

                Comment

                • gornyhuy
                  Chafed.
                  • May 2002
                  • 18041

                  #9
                  Originally posted by raymor

                  But hmm, aren't the ads the way that you pay for
                  the software? Isn't blocking them in fact stealing?
                  Can you instead fork over the $10 for the registered
                  version of either that software or another program
                  that accomplishes the same task? Come to think
                  of it, if 20 webmasters each spent 2 minutes reading
                  your post, did we just waste 40 minutes because
                  you want to steal software rather than finding similar
                  free software or paying a few bucks for it?
                  I don't know the answers to these questions,
                  of course, but they are interesting questions.
                  Eat a dick.

                  icq:159548293

                  Comment

                  Working...