Question about "iptc_commit() invalid argument"
Hi. I have problem for use miniupnpd in my embedded system.
When I execute miniupnpd and send upnp add query from my PC then I can see below message in my embedded system's console.
"x_tables: ip_tables: DNAT.0 target: invalid size 32 (kernel) != (user) 24 miniupnpd[3227]: addnatrule() : iptc_commit() error : Invalid argument"
My device's kernel version is 5.10.226 and miniupnpd version is 2.3.7. Please help me how to fix this problem.
Thank you so much.
Make sure miniupnpd has been linked with the right version of libiptc for your system.
@miniupnp Thank you reply.
My iptables version is 1.4.18. I think my iptables can support miniupnpd 2.3.7.
Thank you.
I can't help you much. You could use the testiptcrdr program in the netfilter subdirectory to debug.
Also make sure you are not mixing 32bits libraries with a 64bits kernel or something.
What is the architecture ?
@miniupnp
My embedded system's archtecture is aarch64(ARM64). It's very strange... I also have miniupnpd 1.3 version. If I use 1.3 version, it can work normaly.
I tried execute miniupnpd add "-vv" option and then I can see debug message on my console.
Thank you so much.
@miniupnp
Thank you for your supprt. I will take myself solve this problem.
Thank you so much.