Open GoogleCodeExporter opened 8 years ago
what happens if you try
sudo insmod `find -name xt_opendpi.ko`
instead of 'modprobe xt_opendpi' ?
Original comment by lionel.orry@gmail.com
on 8 Jul 2011 at 9:21
the .ko file doesn't appear to exist on this box?
Dan
--
Kind Regards
Dan Clark
Gladstone, QLD
Australia 4680
+61 487 195 948
<https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dan%40drclark%2ec
o%2enz&lc=NZ&item_name=Help%20Pay%20Dan%27s%20Rent¤cy_code=NZD&bn=PP%2dDonation
sBF%3abtn_donate_SM%2egif%3aNonHosted>
Original comment by d...@drclark.co.nz
on 8 Jul 2011 at 9:36
In that case, does 'make all' executes successfully till the end? If the file
src/xt_opendpi.ko does not exist, it means something went wrong during
compilation.
Can you try 'make -C src clean all > make.log 2>&1' and attach here the file
make.log?
Original comment by lionel.orry@gmail.com
on 8 Jul 2011 at 10:22
Oh thats odd, it doesn't appear to be able to see the src/ directory
underneath wrapper/
<code>
~/opendpi-1.3.0/wrapper# make all
make -C ipt
make[1]: Entering directory `/root/opendpi-1.3.0/wrapper/ipt'
if test -d opendpi_cpy; then \
cp /src/* opendpi_cpy -R; \
else \
mkdir opendpi_cpy; \
cp /src/* opendpi_cpy -R; \
fi
cp: cannot stat `/src/*': No such file or directory
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/opendpi-1.3.0/wrapper/ipt'
make: *** [all] Error 2
</code>
--
Kind Regards
Dan Clark
Gladstone, QLD
Australia 4680
+61 487 195 948
<https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dan%40drclark%2ec
o%2enz&lc=NZ&item_name=Help%20Pay%20Dan%27s%20Rent¤cy_code=NZD&bn=PP%2dDonation
sBF%3abtn_donate_SM%2egif%3aNonHosted>
Original comment by d...@drclark.co.nz
on 8 Jul 2011 at 10:59
I forgot something in the command-line. You need to specify the OPENDPI_PATH
variable:
OPENDPI_PATH=/root/opendpi-1.3.0 make all
Original comment by lionel.orry@gmail.com
on 8 Jul 2011 at 11:47
[deleted comment]
whoops sorry about my signature coming up.
Original comment by d...@drclark.co.nz
on 8 Jul 2011 at 11:24
I don't understand. if that part compiles correctly, you should be able to do
'insmod src/xt_opendpi.ko'.
Original comment by lionel.orry@gmail.com
on 9 Jul 2011 at 6:10
its very odd, I just don't get any errors during compiling the opendpi
package
root@camp1inet:~/opendpi-1.3.0# insmod src/xt_opendpi.ko
insmod: can't read 'src/xt_opendpi.ko': No such file or directory
root@camp1inet:~/opendpi-1.3.0# cd wrapper/
root@camp1inet:~/opendpi-1.3.0/wrapper# insmod src/xt_opendpi.ko
insmod: can't read 'src/xt_opendpi.ko': No such file or directory
root@camp1inet:~/opendpi-1.3.0/wrapper#
Original comment by d...@drclark.co.nz
on 9 Jul 2011 at 6:53
could we get the compilation log please?
OPENDPI_PATH=/root/opendpi-1.3.0 make clean all > make.log 2>&1
Original comment by lionel.orry@gmail.com
on 9 Jul 2011 at 7:08
http://dev.drclark.co.nz/make.log
Original comment by d...@drclark.co.nz
on 9 Jul 2011 at 7:28
you're not compiling the netfilter wrapper here, but opendpi sources! the
kernel module is part of the netfilter wrapper:
cd /root/opendpi-1.3.0/wrapper
OPENDPI_PATH=/root/opendpi-1.3.0 make clean all > make.log 2>&1
Original comment by lionel.orry@gmail.com
on 9 Jul 2011 at 7:48
yes of course, sorry, that was my bad...
we definitely get errors there...
http://dev.drclark.co.nz/wrappermake.log
Original comment by d...@drclark.co.nz
on 9 Jul 2011 at 7:53
I think this is because your kernel is not configured properly with connection
tracking events enabled.
You should carefully read both files README and INSTALL in the
/root/opendpi-1.3.0/wrapper folder.
Then, I don't know how easy/hard it is to recompile a kernel from source in
Ubuntu... refer to the ubuntu documentation/wiki/forums for that.
Best regards,
Lionel
Original comment by lionel.orry@gmail.com
on 9 Jul 2011 at 8:10
ah ok, I had thought it might have not compiled the new option correctly.
Thanks all for your help.
Dan
Original comment by d...@drclark.co.nz
on 9 Jul 2011 at 8:17
Hi Guys, I've recompiled kernel with the option turned on but still having
issues during compilation of the source?
<code>
make[2]: Entering directory `/root/src/linux-source-2.6.38'
CC [M] /root/opendpi-1.3.0/wrapper/src/main.o
/root/opendpi-1.3.0/wrapper/src/main.c:457:52: warning: ‘struct
xt_match_param’ declared inside parameter list
/root/opendpi-1.3.0/wrapper/src/main.c:457:52: warning: its scope is only this
definition or declaration, which is probably not what you want
/root/opendpi-1.3.0/wrapper/src/main.c: In function ‘opendpi_mt’:
/root/opendpi-1.3.0/wrapper/src/main.c:466:44: error: dereferencing pointer to
incomplete type
/root/opendpi-1.3.0/wrapper/src/main.c:475:2: warning: passing argument 1 of
‘nf_ct_is_untracked’ from incompatible pointer type
include/net/netfilter/nf_conntrack.h:293:19: note: expected ‘const struct
nf_conn *’ but argument is of type ‘const struct sk_buff *’
/root/opendpi-1.3.0/wrapper/src/main.c: At top level:
/root/opendpi-1.3.0/wrapper/src/main.c:623:2: warning: initialization from
incompatible pointer type
/root/opendpi-1.3.0/wrapper/src/main.c:624:2: warning: initialization from
incompatible pointer type
make[3]: *** [/root/opendpi-1.3.0/wrapper/src/main.o] Error 1
make[2]: *** [_module_/root/opendpi-1.3.0/wrapper/src] Error 2
make[2]: Leaving directory `/root/src/linux-source-2.6.38'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/opendpi-1.3.0/wrapper/src'
make: *** [all] Error 2
</code>
Original comment by danclar...@gmail.com
on 23 Jul 2011 at 6:42
would I have to roll back my kernel to the supported version?
Original comment by d...@drclark.co.nz
on 23 Jul 2011 at 7:56
Original issue reported on code.google.com by
d...@drclark.co.nz
on 8 Jul 2011 at 5:27