Giter Site home page Giter Site logo

ipv6-traceroute-faker's Introduction

IPv6 Traceroute faker

This script will allow you to create a fake IPv6 path. It will reply to ICMPEchoRequests with the appropiate source address and TTL exceeded messages.

This allows you to broadcast a message to the world through your reverse DNS entries :-)

Install:

sudo apt-get install python-scapy libnetfilter-queue-dev python-nfqueue
sudo ip6tables -t raw -A PREROUTING -d 2a02:898:52:666::/64 -j NFQUEUE --queue-num 0

Edit the values at the top of the script to reflect your prefix and destination!

Route the subnet to your linux machine which runs the script and launch it:

sudo python ./ipv6-traceroute-faker.py

test with:

$ sudo traceroute6 -I $ipv6_destination
$ mtr -w -r -c 1 $ipv6_destination

Example:

(Example is outdated, I now work for another employer ;-)

[email protected]:~$ mtr -w -c 1 -r 2a02:d28:601:1::ffff
HOST: intouch01.ring.nlnog.net                                                         Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- 2001:6e0:100:4001::1                                                              0.0%     2    1.1   1.1   1.1   1.1   0.0
  2.|-- 2001:67c:21b4:8954:1::9                                                           0.0%     1    1.7   1.7   1.7   1.7   0.0
  3.|-- 2001:67c:21b4:8954:1::9                                                           0.0%     1    1.7   1.7   1.7   1.7   0.0
  4.|-- eth15-2.r1.ams2.nl.atrato.net                                                     0.0%     1    8.5   8.5   8.5   8.5   0.0
  5.|-- o-----------------------------------------o.atrato.net                            0.0%     1    7.9   7.9   7.9   7.9   0.0
  6.|-- Hi_there.atrato.net                                                               0.0%     1    8.6   8.6   8.6   8.6   0.0
  7.|-- You_are_a_curious_mind.atrato.net                                                 0.0%     1    9.7   9.7   9.7   9.7   0.0
  8.|-- A_warm_welcome_to_our_backbone_network.atrato.net                                 0.0%     1    7.8   7.8   7.8   7.8   0.0
  9.|-- We_are_Atrato_Communications.atrato.net                                           0.0%     1    8.1   8.1   8.1   8.1   0.0
 10.|-- We_operate_a_rather_big_network.atrato.net                                        0.0%     1    8.7   8.7   8.7   8.7   0.0
 11.|-- We_have_gear_all_over_the_world.atrato.net                                        0.0%     1    7.9   7.9   7.9   7.9   0.0
 12.|-- Ranging_from_Stockholm.atrato.net                                                 0.0%     1    8.3   8.3   8.3   8.3   0.0
 13.|-- through_Amsterdam_to_Miami.atrato.net                                             0.0%     1    7.9   7.9   7.9   7.9   0.0
 14.|-- And_even_in_Palo_Alto_we_do_peering.atrato.net                                    0.0%     1    8.0   8.0   8.0   8.0   0.0
 15.|-- Our_multi-terabit_network_is.one_of_the_fastest_growing_networks.atrato.net       0.0%     1    9.8   9.8   9.8   9.8   0.0
 16.|-- And_we_are_looking_for_smart.and.ambitious_system_or_network_engineers.atrato.ne  0.0%     1    8.0   8.0   8.0   8.0   0.0
 17.|-- 2013.will_be_a_year_full_of_awesomeness.atrato.net                                0.0%     1    8.5   8.5   8.5   8.5   0.0
 18.|-- You_can_be_part_of_our_operation.atrato.net                                       0.0%     1    8.0   8.0   8.0   8.0   0.0
 19.|-- Our_offices_are_located_near.Amsterdam_Netherlands.atrato.net                     0.0%     1   11.6  11.6  11.6  11.6   0.0
 20.|-- you_can_check_out_our.peeringdb_record.for_an_overview.atrato.net                 0.0%     1    8.1   8.1   8.1   8.1   0.0
 21.|-- as5580.peeringdb.net                                                              0.0%     1    7.7   7.7   7.7   7.7   0.0
 22.|-- for_more_information_contact_me_at.job_at_atrato_com.anytime.atrato.net           0.0%     1    7.9   7.9   7.9   7.9   0.0
 23.|-- hope_to_see_you_soon.at.atrato.net                                                0.0%     1    7.6   7.6   7.6   7.6   0.0
[email protected]:~$ 

ipv6-traceroute-faker's People

Contributors

job avatar zurohki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.