On demand routing redux (RFC 3561 AODV preparatory)
From: Bruce M Simpson (bms_at_spc.org)
Date: 07/31/03
- Previous message: Bruce M Simpson: "[PATCH] AODV (RFC 3561) support for tcpdump"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 18:59:27 +0100 To: freebsd-net@freebsd.org
Hi all,
Here's some more stuff I'd like review on. I've written a simple bit of code
which just sits there listening for RTM_RESOLVE and redirects destination
cloned route using RTM_CHANGE.
I wrote this to prove we could implement in-demand routing protocols, in
userland, without any of the stupid kernel modifications we've seen for
Linux implementations.
Specify a CIDR network on the command line; it will configure a disc(4)
interface and add a network route via that interface. Currently, the netmask
code is broken; Bill Fenner has given me feedback on how to fix this.
You can sidestep this by creating the disc0 route before running rtmhack:
# ifconfig disc0 create
# route -n add 10.0.0.0/8 -iface disc0
The name 'disc0' was not chosen deliberately.
Needless to say, this code is really hackish, and will be getting cleaned
up thoroughly before it is anywhere near production quality.
Please let me know your thoughts. Comments and feedback solicited.
BMS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- text/plain attachment: README
- text/plain attachment: rtmhack.c
- Previous message: Bruce M Simpson: "[PATCH] AODV (RFC 3561) support for tcpdump"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|