For Colibri iMX6, can someone please guide me the steps to enable iptables ? Do I need to recompile kernel ?
It would be very helpful to have only the required commands and steps for this purpose.
Details of my system is as follows:
Colibri iMX6DL 512MB v1.0
Colibri Evaluation Board
Linux Kernel 3.10.17
BSP v2.4
Regards,
Jaydeep
Hi @jaydeep
could you check zcat /proc/config.gz | grep IP_NF_IPTABLES ? if this is not included in the kernel,
Yes, you have to recompile the kernel and update the same. Please refer to the building Linux kernel article for kernel source code and building steps.
Please note BSP v2.4 is too older and not supported. I would suggest you try our new BSP v5.xx images.
jaydeep
October 27, 2021, 11:20am
3
Hi @ashok.tx ,
Thanks for your reply.
I tried to solve my problem using libpcap. But pcap.h was not found. How to install header files and library for libpcap ?
Do you know is there any way to access Data-link/Network layer packets directly on Colibri iMX6 like netfilter does ?
Hi @jaydeep
Sorry for the delayed response.
I tried to solve my problem using libpcap. But pcap.h was not found. How to install header files and library for libpcap?
Looks like pcap.h is available in our default SDK (oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/usr/include/pcap).
Do you know is there any way to access Data-link/Network layer packets directly on Colibri iMX6 like netfilter does ?
I do not have any experience.