For #1, I believe watchguard, like many others, is fairly secretive about formats. Unlike a lot of others, it looks largely self explanitory, though.
For #2, there are a bunch of libraries that will let you resolve IP's to country codes. Here is one in perl:
http://search.cpan.org/dist/IP-Country/