Did anyone come up with a resolution to this?
Hi,
I remember successfully running sebek on fedora as a use case, but now on
fedora 10 it too is giving me similar problems:
[fimz at fimz sebek]$ uname -a
Linux fimz 2.6.27.9-159.fc10.i686 #1 SMP Tue Dec 16 15:12:04 EST 2008 i686
i686 i386 GNU/Linux
[fimz at fimz sebek]$ ./configure --disable-raw-socket-replacement
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
using default compiler
checking for
/lib/modules/2.6.27.9-159.fc10.i686/build/include/linux/syscalls.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for patch... yes
checking for
/lib/modules/2.6.27.9-159.fc10.i686/build/include/linux/sched.h... yes
checking for a BSD-compatible install... /usr/bin/install -c
Kernel NOT defined KBUILD_BASENAME
checking for struct task_struct.p_pptr... no
Kernel NOT using P_PPTR
checking for struct inet_opt.daddr... no
Kernel NOT using INET_OPT
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
[fimz at fimz sebek]$ make
./gen_fudge.pl > ./src/fudge.h
cp ./sbk_install.sh ./src
cp ./parameters.sh ./src
cd ./src; make -C /lib/modules/2.6.27.9-159.fc10.i686/build
SUBDIRS=/home/fimz/Documents/sebek/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
CC [M] /home/fimz/Documents/sebek/src/sebek.o
In file included from /home/fimz/Documents/sebek/src/sebek.h:50,
from /home/fimz/Documents/sebek/src/sebek.c:23:
/home/fimz/Documents/sebek/src/util.h:109: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
/home/fimz/Documents/sebek/src/sebek.c:39: error: expected '=', ',', ';',
'asm' or '__attribute__' before '*' token
make[2]: *** [/home/fimz/Documents/sebek/src/sebek.o] Error 1
make[1]: *** [_module_/home/fimz/Documents/sebek/src] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.i686'
make: *** [sebek] Error 2
[fimz at fimz sebek]$
I'l try find my old notes on how I did it on fedora - maybe some kernel
tweak as new kernels were having problems(sebek ddnt like them), not sure
though. I hope somebody from the community can correct me.
Thanks, Fahim
p.s. search through mail archives
On Sun, Jan 18, 2009 at 6:00 AM, <honeywall-request at
public.honeynet.org>wrote:
>
> Thanks, Fahmi. There was no error this time but this time but I still it
> would not work. If you see from the given message, please noticed that
> Kernel NOT defined KBUILD_BASENAME, Kernel NOT using P_PPTR and Kernel NOT
> using INET_OPT.Any ideas on it ??
>
> login as: root
> root at 134.250.238.75's password:
> Last login: Sat Jan 17 02:21:58 2009 from 208.88.9.51
> [root at localhost ~]# cd sebek2.6
> [root at localhost sebek2.6]# ./configure --disable-raw-socket-replacement
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> using default compiler
> checking for
> /lib/modules/2.6.25-14.fc9.i686/build/include/linux/syscalls.h... yes
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for patch... yes
> checking for /lib/modules/2.6.25-14.fc9.i686/build/include/linux/sched.h...
> yes
> checking for a BSD-compatible install... /usr/bin/install -c
> Kernel NOT defined KBUILD_BASENAME
> checking for struct task_struct.p_pptr... no
> Kernel NOT using P_PPTR
> checking for struct inet_opt.daddr... no
> Kernel NOT using INET_OPT
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/config.h
> config.status: src/config.h is unchanged
> config.status: executing depfiles commands
> [root at localhost sebek2.6]# make
> ./gen_fudge.pl > ./src/fudge.h
> cp ./sbk_install.sh ./src
> cp ./parameters.sh ./src
> cd ./src; make -C /lib/modules/2.6.25-14.fc9.i686/build
> SUBDIRS=/root/sebek2.6/src modules
> make[1]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
> CC [M] /root/sebek2.6/src/sebek.o
> CC [M] /root/sebek2.6/src/net.o
> /root/sebek2.6/src/net.c: In function āgen_pktā:
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> /root/sebek2.6/src/net.c:162: error: āstruct task_structā has no member
> named āparentā
> make[2]: *** [/root/sebek2.6/src/net.o] Error 1
> make[1]: *** [_module_/root/sebek2.6/src] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
> make: *** [sebek] Error 2
> [root at localhost sebek2.6]#
>
>
_______________________________________________
Honeywall mailing list
[email protected]
https://public.honeynet.org/mailman/listinfo/honeywall