Skip to content

Instantly share code, notes, and snippets.

@ioc32
ioc32 / gist:4336220
Created December 19, 2012 12:03
ordns.he.net
root@inigo:/home/ioc# traceroute6 -AI 2001:470:20::2
traceroute to 2001:470:20::2 (2001:470:20::2), 30 hops max, 80 byte packets
1 2a02:2810:0:406::46 (2a02:2810:0:406::46) [AS6750] 9.331 ms 9.313 ms *
2 2a02:2810:0:406::1 (2a02:2810:0:406::1) [AS6750] 1.934 ms 2.298 ms 2.653 ms
3 2a02:2810:0:2::1 (2a02:2810:0:2::1) [AS6750] 0.939 ms 0.952 ms 0.950 ms
4 2001:1620:1000::179 (2001:1620:1000::179) [AS13030] 1.317 ms 1.324 ms 1.321 ms
5 * * *
6 * * *
7 * * *
8 * * *
@ioc32
ioc32 / gist:3776405
Created September 24, 2012 15:01
ping6 -c30 -i2 -Ien1 ff02::1
PING6(56=40+8+8 bytes) fe80::ba8d:12ff:fe2b:6c38%en1 --> ff02::1
16 bytes from fe80::ba8d:12ff:fe2b:6c38%en1, icmp_seq=0 hlim=64 time=0.294 ms
16 bytes from fe80::20c:29ff:fea2:26ac%en1, icmp_seq=0 hlim=64 time=3.753 ms
16 bytes from fe80::c63d:c7ff:fe9a:c23f%en1, icmp_seq=0 hlim=64 time=4.234 ms
16 bytes from fe80::21e:c2ff:fe0b:2ec7%en1, icmp_seq=0 hlim=64 time=4.295 ms
16 bytes from fe80::21e:c2ff:fe0a:6c6d%en1, icmp_seq=0 hlim=64 time=4.335 ms
16 bytes from fe80::21b:63ff:fe91:f557%en1, icmp_seq=0 hlim=64 time=4.372 ms
16 bytes from fe80::21b:63ff:feaf:9477%en1, icmp_seq=0 hlim=64 time=4.408 ms
16 bytes from fe80::21b:b1ff:fe04:bfcc%en1, icmp_seq=0 hlim=64 time=4.848 ms
16 bytes from fe80::21e:52ff:fe76:bbe%en1, icmp_seq=0 hlim=64 time=4.900 ms
@ioc32
ioc32 / gist:3639620
Created September 5, 2012 16:41
AS3352 -> AS51678
$ sudo ping -c100 -i 0.5 134.255.188.5
<snip>
64 bytes from 134.255.188.5: icmp_seq=97 ttl=244 time=16.074 ms
64 bytes from 134.255.188.5: icmp_seq=98 ttl=244 time=18.865 ms
64 bytes from 134.255.188.5: icmp_seq=99 ttl=244 time=18.922 ms
--- 134.255.188.5 ping statistics ---
100 packets transmitted, 100 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 15.682/18.924/66.744/5.073 ms
@ioc32
ioc32 / movistar.ftth
Created September 5, 2012 16:22
Movistar ADSL -> FTTH
traceroute: Warning: www.youtube.com has multiple addresses; using 74.125.230.195
traceroute to youtube-ui.l.google.com (74.125.230.195), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 1.579 ms 1.091 ms 1.693 ms
2 102.red-80-58-67.staticip.rima-tde.net (80.58.67.102) 34.998 ms 34.394 ms 34.758 ms
3 41.red-80-58-94.staticip.rima-tde.net (80.58.94.41) 36.494 ms 39.971 ms 40.851 ms
4 69.red-80-58-76.staticip.rima-tde.net (80.58.76.69) 40.696 ms 39.163 ms 40.413 ms
5 so-5-0-0-0-grtmadde2.red.telefonica-wholesale.net (84.16.9.165) 36.353 ms 38.121 ms 36.496 ms
6 xe2-1-0-0-grtpartv1.red.telefonica-wholesale.net (84.16.15.182) 55.857 ms 55.744 ms 56.242 ms
7 google-xe-3-1-0-0-grtpartv1.red.telefonica-wholesale.net (84.16.6.98) 90.017 ms
google-xe-9-0-0-0-grtpartv1.red.telefonica-wholesale.net (84.16.6.106) 87.663 ms
@ioc32
ioc32 / gist:3125931
Created July 16, 2012 23:53
RIPE NCC RPKI Validator output
sh-3.2# bin/rpki-validator
01:47:20,428 INFO Config file does not exist: File '/Users/ioc/Downloads/rpki-validator-app-2.3/data/configuration.json' does not exist
01:47:20,513 INFO Loading trust anchors...
01:47:20,941 INFO RTR server listening on 0.0.0.0/0.0.0.0:8282
01:47:21,146 INFO Welcome to the RIPE NCC RPKI Validator, now available on port 8080. Hit CTRL+C to terminate.
01:47:22,769 INFO Loaded trust anchor RIPE NCC RPKI Root from location rsync://rpki.ripe.net/ta/ripe-ncc-ta.cer, starting validation
01:47:22,807 INFO Prefetching 'rsync://rpki.ripe.net/repository/'
01:47:22,837 INFO Loaded trust anchor ARIN Test Lab from location rsync://rpki-pilot.arin.net:10873/certrepo/e8/29afd2-319c-428f-b6b0-3528a7d24dcd/1/4789Xt9H2ltHuAXdrQ6GWXWH2Ao.cer, starting validation
01:47:22,839 INFO Prefetching 'rsync://rpki-pilot.arin.net:10873/certrepo/'
01:47:23,249 INFO Retrieved 11106 entries from http://www.ris.ripe.net/dumps/riswhoisdump.IPv6.gz, last modified at 2012-07-16T20:06:01.000+02:00
@ioc32
ioc32 / ip6.addressing.sample.dot
Created June 4, 2012 18:04
IPv6 sample addressing plan Graphviz visualization
digraph unix {
node [color=lightblue2, style=filled];
"AS64496?\n2001:db8::/32";
"DC1?\n2001:db8:0TTT::/36";
"DC2?\n2001:db8:4TTT::/36";
"AS64496?\n2001:db8::/32" -> "DC1?\n2001:db8:0TTT::/36"
"AS64496?\n2001:db8::/32" -> "DC2?\n2001:db8:4TTT::/36"
"DC1?\n2001:db8:0TTT::/36" -> "INFRA?\n2001:db8:0:TXXX::/48\n2001:db8:0::/48";
"DC1?\n2001:db8:0TTT::/36" -> "VIP1?\n2001:db8:100::/46";