introducing ratools for linux

9
ratools Router Advertisement Daemon for Linux

Upload: danrlde

Post on 16-Jul-2015

38 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Introducing ratools for Linux

ratools

Router Advertisement Daemon for Linux

Page 2: Introducing ratools for Linux

Dan Lüdtke*1983IPv6 Enthusiast

We need moreand better

IPv6 software!

Page 3: Introducing ratools for Linux

eth

ethratools/rad

Daemon

ratools/ractl

CLI

AF_U

NIX

Page 4: Introducing ratools for Linux

$ ip addr show

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000

link/ether 00:0c:29:28:fd:4c brd ff:ff:ff:ff:ff:ff

inet6 fe80::20c:29ff:fe28:fd4c/64 scope link valid_lft forever preferred_lft forever

Page 5: Introducing ratools for Linux

In all cases, Router Advertisements sent in response to a Router Solicitation MUST be delayed by a random time between 0 and MAX_RA_DELAY_TIME seconds.

(RFC 2461 Section 6.2.6. Processing Router Solicitations)

MAX_RA_DELAY_TIME .5 seconds

(RFC 2461 Section 10. Protocol Constants)

Page 6: Introducing ratools for Linux

RA Worker Thread

RA Worker Thread

RA Worker Thread

RFC Delay Thread

Multicast MembershipManagement

Data-base

NETLINK Socket

RAWSocket

UNIXSocket

RS ListenerThread

Interfaces

ractl Kernel

Page 7: Introducing ratools for Linux

very Link-MTU

such auto-detection many Source Link-layer Addresssuch auto-detection

such Prefix Information

much RAW

so Recursive DNS Servers

Page 8: Introducing ratools for Linux

Showtime!

Page 9: Introducing ratools for Linux

[email protected]@4.f.6.2.c.7.6.0.1.0.0.2.ip6.arpa

https://

github.

com/da

nrl/rato

ols