Line 1... |
Line 1... |
1 |
By Rexy
|
1 |
By Rexy
|
2 |
|
2 |
|
3 |
ALCASAR need the following programs that don't be included as RPM in Mageia :
|
3 |
ALCASAR need the following programs that don't be included as RPM in Mageia :
|
4 |
- coovachilli
|
4 |
- coovachilli
|
5 |
- havp
|
5 |
- havp
|
6 |
- ulogd
|
6 |
- netflow kernel module
|
7 |
|
7 |
|
8 |
This howto explains how to build RPM of these programs in order to keep the distribution clean
|
8 |
This howto explains how to build RPM of these programs in order to keep the distribution clean
|
9 |
|
9 |
|
10 |
**** Prepare the RPM creation structure ***
|
10 |
**** Prepare the RPM creation structure ***
|
11 |
- install the "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages
|
11 |
- install the "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages
|
Line 29... |
Line 29... |
29 |
- récupérer le tarball de la dernière version d'HAVP. Le décompresser dans un répertoire et tester la compilation traditionnelle (./configure + make)
|
29 |
- récupérer le tarball de la dernière version d'HAVP. Le décompresser dans un répertoire et tester la compilation traditionnelle (./configure + make)
|
30 |
- copier ce tarball dans ~/rpmbuild/SOURCES/
|
30 |
- copier ce tarball dans ~/rpmbuild/SOURCES/
|
31 |
- adaptation du fichier .spec (version, packager, commentaires, etc.)
|
31 |
- adaptation du fichier .spec (version, packager, commentaires, etc.)
|
32 |
|
32 |
|
33 |
**** ipt_netflow ****
|
33 |
**** ipt_netflow ****
|
34 |
- install the RPMs "kernel-server-devel-x.y", "lib64iptables-devel (libiptables)"
|
34 |
- install the RPMs "kernel-server-devel-x.y", "lib64iptables-devel (or libiptables-devel in 32b arch)"
|
35 |
- retrieve, decompress and test the conpilation of the last version (configure, make all install). The module is compiled in the same directory. The lib is copied in the /lib64/iptables
|
35 |
- download, decompress and test the conpilation of the last version of ipt-netflow (configure, make all install). The module is compiled in the same directory. The lib is copied in the /lib64/iptables
|
- |
|
36 |
- test the module : go to the directory of source and try to load it (modprobe ipt_NETFLOW), "lsmod" to verify that it's loaded, "alcasar-iptables.sh" to test the iptables rules
|
36 |
- go to the directory of source and try to load the module (modprobe ipt_NETFLOW)
|
37 |
- if all is ok, copy the tarball in rpmbuild/SOURCES . Copy the .spec in rpmbuild/SPECS
|
- |
|
38 |
|