Giter Site home page Giter Site logo

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
In one of the last kernel patches structures xt_match_param and xt_target_param 
were combined in struct xt_action_param, so you should replace xt_match_param 
with xt_action_param. I've tested it in the same kernel.

Original comment by [email protected] on 29 Jul 2011 at 1:58

from opendpi.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 30, 2024
Hi,tapa...,I appreciate your help ,all that compiled successfully, but when I 
insert the xt_opendip module into kernel,it failed, as the following output 
shows:

wrapper$ OPENDPI_PATH=/usr/local/src/opendpi-1.3.0 make
.......
  LD [M]  /usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src/xt_opendpi.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src/xt_opendpi.mod.o
  LD [M]  /usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src/xt_opendpi.ko
make[2]: Leaving directory `/usr/src/linux-2.6.39-ARCH'
rm -r opendpi_cpy
make[1]: Leaving directory 
`/usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src'

wrapper$ make modules_install
make -C src modules_install
make[1]: Entering directory 
`/usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src'
make -C /lib/modules/2.6.39-ARCH/build M=$PWD modules_install;
make[2]: Entering directory `/usr/src/linux-2.6.39-ARCH'
  INSTALL /usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src/xt_opendpi.ko
  DEPMOD  2.6.39-ARCH
make[2]: Leaving directory `/usr/src/linux-2.6.39-ARCH'
depmod -a;
make[1]: Leaving directory 
`/usr/local/src/opendpi-netfilter-wrapper-1.2/wrapper/src'

##### cause "/lib/xtables" or  "/usr/lib/xtables" doesn't exist on my 
archlinux, I copied "libxt_opendpi.so" to "/usr/lib/iptables/"
wrapper$ cp ipt/libxt_opendpi.so /usr/lib/iptables/ 

wrapper$ modprobe xt_opendpi
FATAL: Error inserting xt_opendpi 
(/lib/modules/2.6.39-ARCH/extra/xt_opendpi.ko): Device or resource busy 

wrapper$ modinfo xt_opendpi 
filename:       /lib/modules/2.6.39-ARCH/extra/xt_opendpi.ko
alias:          ipt_opendpi
description:    OpenDPI wrapper
author:         Gerardo E. Gidoni <[email protected]>
license:        GPL
depends:        nf_conntrack,x_tables
vermagic:       2.6.39-ARCH SMP preempt mod_unload 

wrapper$ lsmod
......
nf_conntrack           59492  5 
nf_conntrack_netlink,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_state
iptable_filter          1528  1 
ip_tables              16743  3 iptable_mangle,iptable_nat,iptable_filter
x_tables               17603  15 
xt_dscp,xt_comment,xt_limit,xt_mark,xt_NFQUEUE,xt_DSCP,xt_tcpudp,xt_multiport,ip
t_LOG,iptable_mangle,iptable_nat,ipt_REJECT,xt_state,iptable_filter,ip_tables
......

So,I have no idea what happened ?


Original comment by [email protected] on 11 Aug 2011 at 8:04

from opendpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.