MapMin ready for limited experimentation

This week I spent a fair bit of time getting the mapmin NAT46 code into shape. Well, there is still a ton to do, but it is now more usable, and I like the new structure - the separation of "module stuff", "network device stuff" and "hardcore nat46 stuff" makes it hopefully easier to understand.

Also I make the openwrt-map feed play nicely with the mapmin feed: if you install both, then the mdpc will happily configure mapmin.

On this page I put the links to the video about the test setup as well as the configuration files I use, and the software image for the TL-WDR4300, so you could recreate the setup in your lab.

Reminder: to play with this you need to compile a code with both mapmin and openwrt-map feeds installed - for your convenience I am including one that already has it, below.

This code has received a very limited amount of testing, so chances are that things would not work. For troubleshooting, I'd need the captures from all the three (LAN, WAN, and translation) interfaces at the same time, as well as the dmesg outputs with the debugs on. (The example below assumes you have pppoe config, obviously the interface names in other setups will change).

  1. tcpdump -ln -i br-lan -s 1518 -w /tmp/br-lan.cap
  2. tcpdump -ln -i pppoe-wan -s 1518 -w /tmp/pppoe-wan.cap
  3. tcpdump -ln -i mapmint -s 1518 -w /tmp/mapmint.cap
After starting all the three commands above and reproducing the problem, capture the /tmp/*.cap files, also "iptables -t nat -L -v" output, and send them over to me alongside with the contents of /tmp/map.log file.

Index of /blog/2014-04-17-MapMin-ready-for-limited-experimentation/

NameLast ModifiedSizeType
Parent Directory/ -  Directory
agg-rtr-config.txt2014-Apr-17 17:15:572.5Ktext/plain
dhcpd6.conf.txt2014-Apr-17 17:15:570.5Ktext/plain
map-br-config.txt2014-Apr-17 17:15:572.0Ktext/plain
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin2014-Apr-18 19:37:023.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin2014-Apr-22 09:21:173.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wr1043nd-v1-squashfs-sysupgrade.bin2014-Apr-17 18:02:283.4Mapplication/octet-stream
openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-sysupgrade.bin2014-Apr-18 19:37:163.4Mapplication/octet-stream
openwrt-config2014-Apr-17 17:16:07174.6Kapplication/octet-stream
openwrt-dot-config.txt2014-Apr-17 17:16:07174.6Ktext/plain
topology.html2014-Apr-17 17:16:070.7Ktext/html
lighttpd/1.4.33