Re: [Cooker-firewall] snf 8.1
I am having problems on my office machine: [bgmilne:/var/cache/urpmi/rpms]# rpm -Uvvh libnet-1.0.2-7mdk.i586.rpm D: == libnet-1.0.2-7mdk.i586.rpm D: Expected size:67693 = lead(96)+sigs(149)+pad(3)+data(67445) D: Actual size:67693 D: opening db environment /var/lib/rpm/Packages joinenv D: opening db index /var/lib/rpm/Packages create mode=0x42 D: locked db index /var/lib/rpm/Packages D: opening db environment /var/lib/rpm/Name joinenv D: opening db index /var/lib/rpm/Name create mode=0x42 D: added binary package [0] D: found 0 source and 1 binary packages D: == +++ libnet-1.0.2-7mdk D: opening db index /var/lib/rpm/Depends create mode=0x42 D: NO A rpmlib(PayloadFilesHavePrefix) <= 4.0-1 B rpmlib(VersionedDependencies) = 3.0.3-1 D: NO A rpmlib(PayloadFilesHavePrefix) <= 4.0-1 B rpmlib(CompressedFileNames) = 3.0.4-1 D: NO A rpmlib(PayloadFilesHavePrefix) <= 4.0-1 B rpmlib(PayloadIsBzip2) = 3.0.5-1 D: YESA rpmlib(PayloadFilesHavePrefix) <= 4.0-1 B rpmlib(PayloadFilesHavePrefix) = 4.0-1 D: Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 YES (rpmlib provides) D: NO A rpmlib(CompressedFileNames) <= 3.0.4-1B rpmlib(VersionedDependencies) = 3.0.3-1 D: YESA rpmlib(CompressedFileNames) <= 3.0.4-1B rpmlib(CompressedFileNames) = 3.0.4-1 D: Requires: rpmlib(CompressedFileNames) <= 3.0.4-1YES (rpmlib provides) D: opening db environment /var/lib/rpm/Conflictname joinenv D: opening db index /var/lib/rpm/Conflictname create mode=0x42 D: == recording tsort relations D: == tsorting packages (order, #predecessors, #succesors, depth) D: 001 0 libnet-1.0.2-7mdk D: installing binary packages D: getting list of mounted filesystems Preparing...D: opening db environment /var/lib/rpm/Basenames joinenv D: opening db index /var/lib/rpm/Basenames create mode=0x42 ### [100%] D: Expected size:67693 = lead(96)+sigs(149)+pad(3)+data(67445) D: Actual size:67693 D: install: libnet-1.0.2-7mdk has 34 files, test = 0 Segmentation fault (core dumped) I have seen this error on at least 2 Mandrake 8.1 boxes. I have tried rpm --rebuilddb to no avail. Some packages still install, but many do not, via urpmi, rpmdrake or rpm. Anybody seen this before? So, I will try and compile all of snf on 8.1 at home, and post the rpms as soon as I am done. A BuildRequires for libnet in snort would be nice ... Regards, Buchan Florin wrote: > Buchan Milne <[EMAIL PROTECTED]> writes: > > >>>ok, I'll have a look then ... >>> >>> >>> >>Any news? Or should I try the latest libpcap ... >> >>Buchan >> > > it compiles fine: > > make sure you install the following packages: > > flex > byacc > bison > libnet > texinfo > MySQL-devel > postgresql-devel > libsnmp0-devel > libopenssl0-devel > > cheers, > -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 ext 202 Stellenbosch Automotive Engineering http://www.cae.co.za
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > > > >ok, I'll have a look then ... > > > > > Any news? Or should I try the latest libpcap ... > > Buchan it compiles fine: make sure you install the following packages: flex byacc bison libnet texinfo MySQL-devel postgresql-devel libsnmp0-devel libopenssl0-devel cheers, -- Florin http://www.mandrakesoft.com
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > Florin wrote: > > >Buchan Milne <[EMAIL PROTECTED]> writes: > > > >>>(florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap > >>>libpcap >= 0.6 > >>>libpcap.so.0 > >>> > >>[bgmilne@bgmilne cooker-firewall]$ rpm -qa|grep pcap > >>libpcap0-devel-0.6.2-1mdk > >>libpcap0-0.6.2-1mdk > >>[bgmilne@bgmilne cooker-firewall]$ rpm --rebuild snort-1.8.2-1mdk.src.rpm > >> > >> > >> > >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > >>-Wall -DENABLE_RESPONSE -c ../../sp_respond.c > >>../../sp_respond.c:34:20: libnet.h: No such file or directory > >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > >>-Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c > >>make: *** [sp_respond.o] Error 1 > >>make: *** Waiting for unfinished jobs > >>error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) > >> > >> > >>RPM build errors: > >>Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) > >> > > > >ok, I'll have a look then ... > > > > > Any news? Or should I try the latest libpcap ... > > Buchan Hi there, First of all, let's examin a litle bit your error messages. It seems that you didn't install the libnet package. try after installing the libnet package ... -- Florin http://www.mandrakesoft.com
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > Florin wrote: > > >Buchan Milne <[EMAIL PROTECTED]> writes: > > > >>>(florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap > >>>libpcap >= 0.6 > >>>libpcap.so.0 > >>> > >>[bgmilne@bgmilne cooker-firewall]$ rpm -qa|grep pcap > >>libpcap0-devel-0.6.2-1mdk > >>libpcap0-0.6.2-1mdk > >>[bgmilne@bgmilne cooker-firewall]$ rpm --rebuild snort-1.8.2-1mdk.src.rpm > >> > >> > >> > >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > >>-Wall -DENABLE_RESPONSE -c ../../sp_respond.c > >>../../sp_respond.c:34:20: libnet.h: No such file or directory > >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > >>-Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c > >>make: *** [sp_respond.o] Error 1 > >>make: *** Waiting for unfinished jobs > >>error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) > >> > >> > >>RPM build errors: > >>Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) > >> > > > >ok, I'll have a look then ... > > > > > Any news? Or should I try the latest libpcap ... > > Buchan oups, sorry I hadn't time to do it ... tomorrow is this ok ? -- Florin http://www.mandrakesoft.com
Re: [Cooker-firewall] snf 8.1
Florin wrote: >Buchan Milne <[EMAIL PROTECTED]> writes: > >>>(florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap >>>libpcap >= 0.6 >>>libpcap.so.0 >>> >>[bgmilne@bgmilne cooker-firewall]$ rpm -qa|grep pcap >>libpcap0-devel-0.6.2-1mdk >>libpcap0-0.6.2-1mdk >>[bgmilne@bgmilne cooker-firewall]$ rpm --rebuild snort-1.8.2-1mdk.src.rpm >> >> >> >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 >>-Wall -DENABLE_RESPONSE -c ../../sp_respond.c >>../../sp_respond.c:34:20: libnet.h: No such file or directory >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 >>-Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c >>make: *** [sp_respond.o] Error 1 >>make: *** Waiting for unfinished jobs >>error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) >> >> >>RPM build errors: >>Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) >> > >ok, I'll have a look then ... > > Any news? Or should I try the latest libpcap ... Buchan -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 ext 202 Stellenbosch Automotive Engineering http://www.cae.co.za
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > > > >(florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap > >libpcap >= 0.6 > > libpcap.so.0 > [bgmilne@bgmilne cooker-firewall]$ rpm -qa|grep pcap > libpcap0-devel-0.6.2-1mdk > libpcap0-0.6.2-1mdk > [bgmilne@bgmilne cooker-firewall]$ rpm --rebuild snort-1.8.2-1mdk.src.rpm > > > > gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > -Wall -DENABLE_RESPONSE -c ../../sp_respond.c > ../../sp_respond.c:34:20: libnet.h: No such file or directory > gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > -Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c > make: *** [sp_respond.o] Error 1 > make: *** Waiting for unfinished jobs > error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) > > > RPM build errors: > Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) ok, I'll have a look then ... -- Florin http://www.mandrakesoft.com
Re: [Cooker-firewall] snf 8.1
Florin wrote: >you need to recompile the latest libpcap packages too > >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 >>-Wall -DENABLE_RESPONSE -c ../../sp_respond.c >>../../sp_respond.c:34:20: libnet.h: No such file or directory >>gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 >>-Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c >>make: *** [sp_respond.o] Error 1 >>make: *** Waiting for unfinished jobs >>error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) >> >> >>RPM build errors: >>Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) >> >>Do I need a newer libpcap? >> > >yes : > >(florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap >libpcap >= 0.6 >libpcap.so.0 > [bgmilne@bgmilne cooker-firewall]$ rpm -qa|grep pcap libpcap0-devel-0.6.2-1mdk libpcap0-0.6.2-1mdk [bgmilne@bgmilne cooker-firewall]$ rpm --rebuild snort-1.8.2-1mdk.src.rpm gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 -Wall -DENABLE_RESPONSE -c ../../sp_respond.c ../../sp_respond.c:34:20: libnet.h: No such file or directory gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 -Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c make: *** [sp_respond.o] Error 1 make: *** Waiting for unfinished jobs error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) RPM build errors: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.90659 (%build) -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 ext 202 Stellenbosch Automotive Engineering http://www.cae.co.za
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > I have compiled most of them, but have the following issues: > -no mandrake_doc-security in cooker, can I use the one from snf 7.2? hello there, the doc is not in cooker because it was made by the documentation team (i'm only in the developpement section and work with the doc team when they need infos on what I've done :o). For the moment, the doc should be apply to the new cooker snf. > -the snort package needs a BuildRequires: libpcap-devel > -the snort package does not build correctly: > you need to recompile the latest libpcap packages too > gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > -Wall -DENABLE_RESPONSE -c ../../sp_respond.c > ../../sp_respond.c:34:20: libnet.h: No such file or directory > gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 > -Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c > make: *** [sp_respond.o] Error 1 > make: *** Waiting for unfinished jobs > error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) > > > RPM build errors: > Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) > > Do I need a newer libpcap? yes : (florin@cooker)[~]-% rpm -qpR snort-1.8.2-1mdk.i586.rpm|grep cap libpcap >= 0.6 libpcap.so.0 > > If anyone else is interested, I can post all the RPMs compiled for 8.1 as > soon as I have it working. sure, it would be nice of you :) -- Florin http://www.mandrakesoft.com
Re: [Cooker-firewall] snf 8.1
Folks, Does anyone know who is the guy who posted the story about 50+ SNF servers all over Australia? I would like to have his story in MandrakeBizcases.com! cu Denis -- - Dr. Denis Havlik http://MandrakeForum.com Mandrakesoft ||| e-mail: [EMAIL PROTECTED] Community (@ @)(private: [EMAIL PROTECTED]) --oOO--(_)--OOo- Our housekeeper doesn't do Windows and neither do WE! (L.P. Santuro)
Re: [Cooker-firewall] snf 8.1
Florin wrote: >Buchan Milne <[EMAIL PROTECTED]> writes: > >>Is it possible to install the smf package on an up-to-date 8.1 box, or >>does it need to be cooker? I could happily test on 8.1, but can not >>download a full cooker install. >> >>Buchan >> > >you could recompile all the packages for 8.1 but one should have some >libraries problems... > I have compiled most of them, but have the following issues: -no mandrake_doc-security in cooker, can I use the one from snf 7.2? -the snort package needs a BuildRequires: libpcap-devel -the snort package does not build correctly: gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 -Wall -DENABLE_RESPONSE -c ../../sp_respond.c ../../sp_respond.c:34:20: libnet.h: No such file or directory gcc -DHAVE_CONFIG_H -I. -I../.. -I. -I/usr/include/pcap -g -O2 -g -O2 -Wall -DENABLE_RESPONSE -c ../../spo_alert_syslog.c make: *** [sp_respond.o] Error 1 make: *** Waiting for unfinished jobs error: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) RPM build errors: Bad exit status from /home/bgmilne/rpm/tmp/rpm-tmp.18183 (%build) Do I need a newer libpcap? If anyone else is interested, I can post all the RPMs compiled for 8.1 as soon as I have it working. Buchan -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 ext 202 Stellenbosch Automotive Engineering http://www.cae.co.za
Re: [Cooker-firewall] snf 8.1
Buchan Milne <[EMAIL PROTECTED]> writes: > Is it possible to install the smf package on an up-to-date 8.1 box, or > does it need to be cooker? I could happily test on 8.1, but can not > download a full cooker install. > > Buchan you could recompile all the packages for 8.1 but one should have some libraries problems... -- Florin http://www.mandrakesoft.com
[Cooker-firewall] snf 8.1
Is it possible to install the smf package on an up-to-date 8.1 box, or does it need to be cooker? I could happily test on 8.1, but can not download a full cooker install. Buchan -- |Registered Linux User #182071-| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 808 2497 ext 202 Stellenbosch Automotive Engineering http://www.cae.co.za