If the nat table is empty the program crash becouse it try to map into mem nothing. It's a know bug, and it is solved in the last version as the autor of nestat-nat said in the changelog:
Changelog:
--------------------------------------------------------------------------------
version: 1.4.7
- fix for read-in (ip_conntrack), previous versions could sometimes hang or
segfault on some systems.
- fix for displaying dnat over snat connections.
- changed my email to <email address hidden> and changed homepage url
[...] PROT_EXEC, MAP_PRIVATE| MAP_DENYWRITE, 4, 0) = 0xb7e20000 0xb7e29000, 4096, PROT_READ| PROT_WRITE, MAP_PRIVATE| MAP_FIXED| MAP_DENYWRITE, 4, 0x8000) = 0xb7e29000 etc/protocols" , O_RDONLY) = 4 S_IFREG| 0644, st_size=2478, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0xb7e00000
old_mmap(NULL, 40680, PROT_READ|
old_mmap(
close(4) = 0
munmap(0xb7e2a000, 18279) = 0
open("/
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=
mmap2(NULL, 131072, PROT_READ|
read(4, "# Internet (IP) protocols\n#\n# Up"..., 131072) = 2478
close(4) = 0
munmap(0xb7e00000, 131072) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
If the nat table is empty the program crash becouse it try to map into mem nothing. It's a know bug, and it is solved in the last version as the autor of nestat-nat said in the changelog:
Changelog: ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
-------
version: 1.4.7
- fix for read-in (ip_conntrack), previous versions could sometimes hang or
segfault on some systems.
- fix for displaying dnat over snat connections.
- changed my email to <email address hidden> and changed homepage url