Results 1 to 2 of 2

Thread: ICMP troubles

  1. #1
    Senior Member
    Join Date
    Oct 2001

    ICMP troubles

    Because ICMP redirection implemented in Ettercap doesn't work for me (I don't know why), I wrote script which do it for me:

    echo 1 > /proc/sys/net/ipv4/ip_forward 
    while : 
    ./nemesis icmp -v -i 5 -c 0 -G -qR -S -D -H 00:30:4f:2d:f6:12 -M 00:80:c7:09:e2:28 
    Now, I receive packets from
    Great, but my victim loses his/her internet connection. It's logical. because I didn't do forwarding of packets. And this is my problem.
    "echo > 1 /proc/sys/net/ipv4/ip_forward" doesn't work, because I receive form packets like this:
    src.: dst.: www.google.com

    not like this, where ip_forward would be working:
    src.: dst.: (our network gateway)

    How can I resend packets to the gateway? I tried with iptables, masquerade, postrouting and all that stuff, but I couldn't achieve my goal. Please help me

    PS: Do I have to possess two ethernet cards? I don't think so...

    PPS: nemesis is outlined here if you don't know what it is.
    ...This Space For Rent.


  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Rotterdam, Netherlands
    You need to make sure your host can still use the default gateway.
    Oliver's Law:
    Experience is something you don't get until just after you need it.

Posting Permissions

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