Thankyou jow for taking the time and replying. Really appreciate it.
As you said, I have verified all the libraries are compiled and installed.
Also, the REJECT
userspace parser is installed on the system as part of libiptc.so
and it is present. Also verified the libiptext*.so is used by firewall.
In the output of strace, I could see for some libraries the utility is looking at incorrect locations and not the location where it is actually installed and returning error but finally finds the right location of the library( scenario of the output is given below). The error seems a little bit strange as in a reference working device I do not see this issue.
strace output for firewall binary
strace fw3
execve("/sbin/fw3", ["fw3"], 0xff8278f0 /* 6 vars */) = 0
brk(NULL) = 0x5c3000
uname({sysname="Linux", nodename="OpenWrt", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v8l/neon/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v8l/neon/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v8l/neon/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v8l/neon", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v8l/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v8l/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/v8l/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/v8l", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/neon/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/neon/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/neon", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/tls/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v8l/neon/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v8l/neon/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v8l/neon/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v8l/neon", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v8l/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v8l/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/v8l/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/v8l", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/neon/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/neon/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/neon", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/vfp/libuci.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/vfp", 0xffaac9a8) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/libuci.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\254\26\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34128, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf71b5000
mmap2(NULL, 98484, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf716f000
mprotect(0xf7177000, 61440, PROT_NONE) = 0
mmap2(0xf7186000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0xf7186000
close(3) = 0
openat(AT_FDCWD, "/lib/libubox.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0<%\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=38232, ...}) = 0
mmap2(NULL, 103232, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7155000
mprotect(0xf715d000, 65536, PROT_NONE) = 0
mmap2(0xf716d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0xf716d000
close(3) = 0
openat(AT_FDCWD, "/lib/libubus.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\230\23\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=21900, ...}) = 0
mmap2(NULL, 86360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf713f000
mprotect(0xf7143000, 65536, PROT_NONE) = 0
mmap2(0xf7153000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf7153000
close(3) = 0
openat(AT_FDCWD, "/lib/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/neon/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/neon/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/neon/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/neon", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/v8l/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/v8l", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/neon/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/neon", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/tls/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/neon/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/neon/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/neon/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/neon", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/v8l/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/v8l", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/neon/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/neon", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/vfp/libxtables.so.12", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/vfp", 0xffaac960) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libxtables.so.12", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\250&\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=38184, ...}) = 0
mmap2(NULL, 105112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7125000
mprotect(0xf712e000, 61440, PROT_NONE) = 0
mmap2(0xf713d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0xf713d000
close(3) = 0
openat(AT_FDCWD, "/lib/libm.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0|E\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=714184, ...}) = 0
mmap2(NULL, 778356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7066000
mprotect(0xf7114000, 61440, PROT_NONE) = 0
mmap2(0xf7123000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xad000) = 0xf7123000
close(3) = 0
openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\374\10\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9692, ...}) = 0
mmap2(NULL, 73908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7053000
mprotect(0xf7055000, 61440, PROT_NONE) = 0
mmap2(0xf7064000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xf7064000
close(3) = 0
openat(AT_FDCWD, "/lib/libip4tc.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libip4tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0L\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22060, ...}) = 0
mmap2(NULL, 86292, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf703d000
mprotect(0xf7042000, 61440, PROT_NONE) = 0
mmap2(0xf7051000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf7051000
close(3) = 0
openat(AT_FDCWD, "/lib/libip6tc.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libip6tc.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\374\20\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22060, ...}) = 0
mmap2(NULL, 86292, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7027000
mprotect(0xf702c000, 61440, PROT_NONE) = 0
mmap2(0xf703b000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf703b000
close(3) = 0
openat(AT_FDCWD, "/lib/libiptext.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libiptext.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\370\33\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=57204, ...}) = 0
mmap2(NULL, 121432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf7009000
mprotect(0xf7015000, 65536, PROT_NONE) = 0
mmap2(0xf7025000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0xf7025000
close(3) = 0
openat(AT_FDCWD, "/lib/libiptext4.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libiptext4.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0$\17\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22416, ...}) = 0
mmap2(NULL, 86644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf6ff3000
mprotect(0xf6ff7000, 65536, PROT_NONE) = 0
mmap2(0xf7007000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf7007000
close(3) = 0
openat(AT_FDCWD, "/lib/libiptext6.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libiptext6.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0X\16\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=22416, ...}) = 0
mmap2(NULL, 86644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf6fdd000
mprotect(0xf6fe1000, 65536, PROT_NONE) = 0
mmap2(0xf6ff1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0xf6ff1000
close(3) = 0
openat(AT_FDCWD, "/lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\4G\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=50856, ...}) = 0
mmap2(NULL, 115084, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf6fc0000
mprotect(0xf6fcc000, 61440, PROT_NONE) = 0
mmap2(0xf6fdb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb000) = 0xf6fdb000
close(3) = 0
openat(AT_FDCWD, "/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\274k\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1218324, ...}) = 0
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf71b3000
mmap2(NULL, 1287532, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xf6e85000
mprotect(0xf6fab000, 61440, PROT_NONE) = 0
mmap2(0xf6fba000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x125000) = 0xf6fba000
mmap2(0xf6fbd000, 9580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6fbd000
close(3) = 0
set_tls(0xf71b41f0, 0xf71b48e8, 0xf71b8058, 0xf71b41f0, 0xf71b8058) = 0
mprotect(0xf6fba000, 8192, PROT_READ) = 0
mprotect(0xf6fdb000, 4096, PROT_READ) = 0
mprotect(0xf7123000, 4096, PROT_READ) = 0
mprotect(0xf7064000, 4096, PROT_READ) = 0
mprotect(0xf713d000, 4096, PROT_READ) = 0
mprotect(0xf6ff1000, 4096, PROT_READ) = 0
mprotect(0xf7007000, 4096, PROT_READ) = 0
mprotect(0xf7025000, 4096, PROT_READ) = 0
mprotect(0xf703b000, 4096, PROT_READ) = 0
mprotect(0xf7051000, 4096, PROT_READ) = 0
mprotect(0xf716d000, 4096, PROT_READ) = 0
mprotect(0xf7153000, 4096, PROT_READ) = 0
mprotect(0xf7186000, 4096, PROT_READ) = 0
mprotect(0x36000, 4096, PROT_READ) = 0
mprotect(0xf71b7000, 4096, PROT_READ) = 0
brk(NULL) = 0x5c3000
brk(0x5e4000) = 0x5e4000
epoll_create(32) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
pipe([4, 5]) = 0
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fcntl64(4, F_GETFL) = 0 (flags O_RDONLY)
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
fcntl64(5, F_GETFL) = 0x1 (flags O_WRONLY)
fcntl64(5, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
fcntl64(4, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK)
fcntl64(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN|EPOLLRDHUP, {u32=4145471520, u64=4145471520}}) = 0
rt_sigaction(SIGINT, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGINT, {sa_handler=0xf7158e4c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xf6eb09f0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGTERM, {sa_handler=0xf7158e4c, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xf6eb09f0}, NULL, 8) = 0
rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
rt_sigaction(SIGCHLD, {sa_handler=0xf7158e34, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0xf6eb09f0}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, 8) = 0
socket(AF_UNIX, SOCK_STREAM, 0) = 6
fcntl64(6, F_GETFD) = 0
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
connect(6, {sa_family=AF_UNIX, sun_path="/var/run/ubus.sock"}, 110) = 0
read(6, "\0\0\0\0J\6\225\330\0\0\0\4", 12) = 12
read(6, "", 0) = 0
fcntl64(6, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK|O_CLOEXEC) = 0
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\4\0\1\0\0\0\0", iov_len=8}, {iov_base="\0\0\0\34\2\0\0\26network.interface\0\0\0", iov_len=28}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = 36
poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2\0\1\0\0\0\0\0\0\1$", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\2\0\0\26network.interface\0\0\0\3\0\0\10\30\201z\10"..., iov_len=288}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 288
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\1\0\1\0\0\0\0\0\0\0\f", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\10\0\0\0\0", iov_len=8}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\5\0\2\30\201z\10", iov_len=8}, {iov_base="\0\0\0\34\3\0\0\10\30\201z\10\4\0\0\tdump\0\0\0\0\7\0\0\4", iov_len=28}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = 36
clock_gettime(CLOCK_MONOTONIC, {tv_sec=114, tv_nsec=886993680}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=114, tv_nsec=887036580}) = 0
poll([{fd=6, events=POLLIN|POLLERR}], 1, 1999) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2\0\2\30\201z\10\0\0\7\0", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\3\0\0\10\30\201z\10\7\0\6\364\201\0\6\360\0\tinterface\0\202\0\2\374"..., iov_len=1788}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 1788
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\1\0\2\30\201z\10\0\0\0\24", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\10\0\0\0\0\3\0\0\10\30\201z\10", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\4\0\3\0\0\0\0", iov_len=8}, {iov_base="\0\0\0\20\2\0\0\fservice\0", iov_len=16}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = 24
poll([{fd=6, events=POLLIN|POLLERR}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2\0\3\0\0\0\0\0\0\3 ", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\2\0\0\fservice\0\3\0\0\10\260v\270\6\5\0\0\10\265\221\364\257\6\0\3\0"..., iov_len=796}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 796
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\1\0\3\0\0\0\0\0\0\0\f", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\10\0\0\0\0", iov_len=8}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 8
sendmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\5\0\4\260v\270\6", iov_len=8}, {iov_base="\0\0\0008\3\0\0\10\260v\270\6\4\0\0\rget_data\0\0\0\0\7\0\0\34"..., iov_len=56}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, 0) = 64
clock_gettime(CLOCK_MONOTONIC, {tv_sec=115, tv_nsec=231769200}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=115, tv_nsec=231801140}) = 0
poll([{fd=6, events=POLLIN|POLLERR}], 1, 2000) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\2\0\4\260v\270\6\0\0\0\20", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\3\0\0\10\260v\270\6\7\0\0\4", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\1\0\4\260v\270\6\0\0\0\24", iov_len=12}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 12
poll([{fd=6, events=POLLIN}], 1, -1) = 1 ([{fd=6, revents=POLLIN}])
recvmsg(6, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\1\0\0\10\0\0\0\0\3\0\0\10\260v\270\6", iov_len=16}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, 0) = 16
close(6) = 0
stat64("/etc/config/firewall", {st_mode=S_IFREG|0644, st_size=4377, ...}) = 0
openat(AT_FDCWD, "/etc/config/firewall", O_RDONLY) = 6
flock(6, LOCK_SH) = 0
_llseek(6, 0, [0], SEEK_SET) = 0
fcntl64(6, F_GETFL) = 0 (flags O_RDONLY)
fstat64(6, {st_mode=S_IFREG|0644, st_size=4377, ...}) = 0
read(6, "config defaults\n\toption syn_floo"..., 4096) = 4096
read(6, "src_port\t\t1024\n#\toption src_dpor"..., 4096) = 281
read(6, "", 4096) = 0
stat64("/tmp/.uci/firewall", 0xffaac938) = -1 ENOENT (No such file or directory)
stat64("/tmp/.uci/firewall", 0xffaacae8) = -1 ENOENT (No such file or directory)
flock(6, LOCK_UN) = 0
close(6) = 0
stat64("ipset", 0xffaace80) = -1 ENOENT (No such file or directory)
stat64("/usr/sbin/ipset", 0xffaace80) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/ipset", 0xffaace80) = -1 ENOENT (No such file or directory)
stat64("/sbin/ipset", 0xffaace80) = -1 ENOENT (No such file or directory)
stat64("/bin/ipset", 0xffaace80) = -1 ENOENT (No such file or directory)
write(2, "Warning: ", 9Warning: ) = 9
write(2, "Unable to locate ipset utility, "..., 55Unable to locate ipset utility, disabling ipset support) = 55
write(2, "\n", 1
) = 1
openat(AT_FDCWD, "/usr/share/fw3/helpers.conf", O_RDONLY) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=2198, ...}) = 0
read(6, "config helper\n\toption name 'aman"..., 1024) = 1024
read(6, "track_netbios_ns'\n\toption family"..., 1024) = 1024
read(6, "'rtsp'\n\toption description 'RTSP"..., 1024) = 150
read(6, "", 1024) = 0
close(6) = 0
open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=185, ...}) = 0
read(6, "passwd:files\nshadow:files\ngroup:"..., 1024) = 185
read(6, "", 1024) = 0
close(6) = 0
openat(AT_FDCWD, "/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 6
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\320\31\0\0004\0\0\0"..., 512) = 512
fstat64(6, {st_mode=S_IFREG|0755, st_size=38456, ...}) = 0
mmap2(NULL, 127744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6, 0) = 0xf6e65000
mprotect(0xf6e6e000, 61440, PROT_NONE) = 0
mmap2(0xf6e7d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x8000) = 0xf6e7d000
mmap2(0xf6e7f000, 21248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xf6e7f000
close(6) = 0
mprotect(0xf6e7d000, 4096, PROT_READ) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
read(6, "\t33\tDCCP\t\t# Datagram Congestion "..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
open("/etc/protocols", O_RDONLY|O_CLOEXEC) = 6
fstat64(6, {st_mode=S_IFREG|0664, st_size=2541, ...}) = 0
read(6, "# Internet (IP) protocols\n#\n# Up"..., 1024) = 1024
close(6) = 0
write(2, "fw3 [-4] [-6] [-q] print\n", 25fw3 [-4] [-6] [-q] print
) = 25
write(2, "fw3 [-q] {start|stop|flush|reloa"..., 43fw3 [-q] {start|stop|flush|reload|restart}
) = 43
write(2, "fw3 [-q] network {net}\n", 23fw3 [-q] network {net}
) = 23
write(2, "fw3 [-q] device {dev}\n", 22fw3 [-q] device {dev}
) = 22
write(2, "fw3 [-q] zone {zone} [dev]\n", 27fw3 [-q] zone {zone} [dev]
) = 27
exit_group(1) = ?
+++ exited with 1 +++