Re: Missing functions/arptc_first_chain in arptables source code
Roy Yang <[email protected]> Mon, 8 Oct 2012 17:20:57 +0000 (UTC)
| Newsgroups | gmane.linux.network.bridge.ebtables.user |
|---|---|
| Message-ID | <[email protected]> |
Roy Yang <royyang@...> writes: > > Hi, > I am trying to use arptables on one embedded platform. After downloading the > source code and cross-compiled it, execute, it generates the following error: > > # ./arptables > modprobe: cannot parse modules.dep > arptables v0.0.3-3: can't initialize arptables table `filter': arptables who? > (do you need to insmod?) > Perhaps arptables or your kernel needs to be upgraded. > > Checked source code, a lot of functions are missing, for example, > arptc_first_chain. Is there any other packages I need to download? > > Thanks, > > Roy > > ------------------------------------------------------------------------------ > Don't let slow site performance ruin your business. Deploy New Relic APM > Deploy New Relic app performance management and know exactly > what is happening inside your Ruby, Python, PHP, Java, and .NET app > Try New Relic at no cost today and get our sweet Data Nerd shirt too! > http://p.sf.net/sfu/newrelic-dev2dev > Have figured out it by myself finally. The function arptc_first_chain is defined as Macro. To make this thread useful, just listed the steps I did to use arptables. 1.) Compile kernel by enabling the following options +CONFIG_IP_NF_ARPTABLES=y +CONFIG_IP_NF_ARPFILTER=y +CONFIG_IP_NF_ARP_MANGLE=y 2.) Compile use space arptables 3.) Apply rules using arptables Thanks, Roy ------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev