[...] old_mmap(NULL, 40680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7e20000 old_mmap(0xb7e29000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8000) = 0xb7e29000 close(4) = 0 munmap(0xb7e2a000, 18279) = 0 open("/etc/protocols", O_RDONLY) = 4 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 fstat64(4, {st_mode=S_IFREG|0644, st_size=2478, ...}) = 0 mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e00000 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 PROTECTED] and changed homepage url -- Segmentation Fault https://launchpad.net/bugs/60713 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs