Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi everyone,
I am trying to install nepenthes on Ubuntu-8.0,after I have followed every step on its site,when I run it I get the following error:
[ crit mgr ] Compiled without support for capabilities, no way to run capabilities
I do not know when this happen and how to solve it.I hope someone could help me.
What's more, I search the Internet and find someone said I should install libcap. However, when I install libcap-1.10 on Ubuntu, I have problems too:
glg:~/build/cdrkit/libcap-1.10.orig[/email]$ make
make -C libcap CC='gcc' CFLAGS='-Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap/include' LD='ld' LIBS='-L/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap -lcap' LDFLAGS='-s ' VERSION='1' MINOR='10' LIBDIR='/lib' INCDIR='/usr/include' SBINDIR='/sbin' MANDIR='/usr/man' all
make[1]: Entering directory `/home/glg/build/cdrkit/libcap-1.10.orig/libcap'
gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap/include -c cap_sys.c -o cap_sys.o
In file included from cap_sys.c:10:
libcap.h:57:3: warning: suggest hiding #error from traditional C with an indented #
libcap.h:58:3: warning: suggest hiding #error from traditional C with an indented #
libcap.h:101:25: warning: ISO C does not permit named variadic macros
cap_sys.c:14: error: expected XXX specifiers or ... before capget
cap_sys.c:15: error: expected XXX specifiers or ... before header
cap_sys.c:16: error: expected XXX specifiers or ... before data
cap_sys.c:18: warning: return type defaults to int
cap_sys.c:18: warning: no previous prototype for _syscall2
cap_sys.c: In function _syscall2:
cap_sys.c:18: error: expected declaration specifiers before _syscall2
cap_sys.c:20: warning: traditional C rejects ISO C style function definitions
cap_sys.c:14: error: parameter name omitted
cap_sys.c:15: error: parameter name omitted
cap_sys.c:16: error: parameter name omitted
make[1]: *** [cap_sys.o] Error 1
make[1]: Leaving directory `/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap'
make: *** [all] Error 2
I hope someone could help me.I appreciate your help in advance.
Thanks.
glg
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
Ubuntu 8.04 → → 8 = 2008 , 04 = april.
There is no Ubuntu 8.0.
Why aren't you installing 'nepenthes' with the Package Manager ?
Please look for 'Synaptic' in the Menu's.
Or use the command : sudo apt-get install nepenthes
If you really want to compile nepenthes :
sudo apt-get install libpcap-dev libpcap0.8-dev
... which are the "pcap" packages required for development.
Ubuntu 8.04 → → 8 = 2008 , 04 = april.
There is no Ubuntu 8.0.
Why aren't you installing 'nepenthes' with the Package Manager ?
Please look for 'Synaptic' in the Menu's.
Or use the command : sudo apt-get install nepenthes
If you really want to compile nepenthes :
sudo apt-get install libpcap-dev libpcap0.8-dev
... which are the "pcap" packages required for development.
Thank you. And I am install nepenthes on Ubuntu 8.04 not Ubuntu 8.0.As I am a novice,I do not quite understand what is "Package Manager"? As I am doing Honeynet project, I need to install nepenthes.I have installed
libpcap-dev libpcap0.8-dev and libcap-dev, but when I run sudo /opt/nepenthes/bin/nepenthes , it still come this:
[ crit mgr ] Compiled without support for capabilities, no way to run capabilities
I do not why this happen. And I want to know what is the difference between libpcap and libcap? Thank you for your precious time!
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Package Manager :
Please have a look into 'Synaptic' yourself.
This is the Linux way for installing software :
The application holds information about the
22,000 packages with software already compiled
for your Ubuntu. A few clicks, and e.g. nepenthes
+ the dependencies are downloaded and installed.
http://packages.ubuntu.com/hardy/net/nepenthes
The Ubuntu package 'nepenthes' is configured this way,
ref. "Links for nepenthes", the file rules in the
patched source package , nepenthes-0.2.0/debian/ :
So may be you can just add '--enable-capabilities' to your configure options.
( Doing './configure --help' will show all options.)
.....
.....
P.S.: libcap description : http://packages.ubuntu.com/hardy/libcap1
Please have a look into 'Synaptic' yourself.
This is the Linux way for installing software :
This application holds information about the
22,000 packages with software already compiled
for your Ubuntu. A few clicks, and e.g. nepenthes
+ the dependencies are downloaded and installed.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
And I still do not understand, why you are not using
the Ubuntu package. It seems to have the facilities,
you need.
.....
http://packages.ubuntu.com/hardy/net/nepenthes
> > "Links for nepenthes" >
[nepenthes_0.2.0.orig.tar.gz] , [nepenthes_0.2.0-2ubuntu1.diff.gz]
... you will need the patch too ... the ".diff " file.
1) gunzip nepenthes_0.2.0-2ubuntu1.diff.gz
2) cp nepenthes_0.2.0-2ubuntu1.diff nepenthes-0.2.0/
3) cd nepenthes-0.2.0/
4) patch -p1 < nepenthes_0.2.0-2ubuntu1.diff
... getting you nepenthes-0.2.0/debian/rules .
'rules' is a text file used by e.g. the 'dhbuild' command,
when building the package.
But please use 'sudo apt-get install nepenthes' to get it installed.
.....
And I still do not understand, why you are not using
the Ubuntu package. It seems to have the facilities,
you need.
.....
http://packages.ubuntu.com/hardy/net/nepenthes
> > "Links for nepenthes" >
[nepenthes_0.2.0.orig.tar.gz] , [nepenthes_0.2.0-2ubuntu1.diff.gz]
... you will need the patch too ... the ".diff " file.
1) gunzip nepenthes_0.2.0-2ubuntu1.diff.gz
2) cp nepenthes_0.2.0-2ubuntu1.diff nepenthes-0.2.0/
3) cd nepenthes-0.2.0/
4) patch -p1 < nepenthes_0.2.0-2ubuntu1.diff
... getting you nepenthes-0.2.0/debian/rules .
'rules' is a text file used by e.g. the 'dhbuild' command,
when building the package.
But please use 'sudo apt-get install nepenthes' to get it installed.
.....
Thank you for your precious time! The problem has been solved after I reinstall nepenthes.But I do not quite understand how to use nepenthes,could you please give me some information or relevant website about how to use it? Sorry for any trouble I may bring to you.
Thank you!
Thank you! The following picture is when I input sudo /opt/nepenthes/bin/nepenthes ,I get:
I want to know does that mean I have start nepenthes? But there is nothing in : /var/lib/nepenthes/binaries/ as well as /var/log/nepenthes/logged_submissions
/var/log/nepenthes/logged_downloads
Hi everyone, I have installed nepenthes on my VM with the system of Ubuntu 8.04 ,and my host computer uses WindowsXP. The following picture is when I input sudo /opt/nepenthes/bin/nepenthes ,I get
I want to know does that mean I have start nepenthes? But after hours there is still nothing in : /var/lib/nepenthes/binaries/
as well as /var/log/nepenthes/logged_submissions
/var/log/nepenthes/logged_downloads
I want to know why this happen? Does it have anything to do with my host firewall? Thank you for your help in advance.
Thank you! When I see the file nepenthes.so,it has all the vulnerability modules except
78 "vulnms08067.so", "vuln-ms08067.conf", ""
Is this the reason why I get nothing? However,after I have add it to this file, there is still nothing in /var/lib/nepenthes/binaries
and /var/log/nepenthes/logged_submissions .
When I run sudo netstat -auntp | grep -i nepenthes , I get all the ports that you listed above, except the last two udp, I get only one of them ,I do not why you get two udp connection. Does it matter with the problem that I get nothing in /var/lib/nepenthes/binaries
and /var/log/nepenthes/logged_submissions ?
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. The duplicate threads have been merged---since both had replies.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.