Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 3077 → Rev 3078

/rpms/ipt-netflow-2.6.spec
1,4 → 1,4
%define kversion 5.10.46-server-1.mga7
%define kversion 5.15.65-server-1.mga8
%define debug_package %{nil}
Name: ipt-netflow
Version: 2.6
44,6 → 44,8
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
 
%changelog
* Thu Oct 13 2022 Richard REY <Rexy>
- Version 2.6 for the kernel 5.15.65 (ALCASAR 3.6.0)
* Tue Jul 08 2021 Richard REY <Rexy>
- Version 2.6 for the kernel 5.10.46 (ALCASAR 3.5.4)
* Wed Feb 24 2021 Richard REY <Rexy>
/rpms/rpm-build-howto
2,10 → 2,10
 
ALCASAR need the following programs that don't be included as RPM in Mageia :
- coovachilli (the captive portal)
- havp (http antivirus proxy)
- ipt_netflow kernel module (netflow log system)
- wkhtmltopdf (html to pdf renderer)
- nfdump (collector & processor for netflow data)
- havp (http antivirus proxy) used before ALCASAR V3.5
 
This howto explains how to build RPM of these programs in order to keep the distribution clean
The compilation options are set in /etc/rpm/macro.d/*
44,7 → 44,7
- Must be complied on a system which runs the target kernel. So install manually the targeted kernel and the same version of kernel-userspace-headers and reboot (ipt_NETFLOW will not load during this reboot)
- install the RPMs "kernel-server-devel" (choose the targeted kernel), "lib64iptables-devel"
- download, uncompress and test the compilation of the last version of ipt-netflow (./configure --disable-dkms --disable-snmp-agent, make all install). The module is compiled in the same directory. The libs are copied in the /lib64/iptables (libip6t_NETFLOW.so & libipt_NETFLOW.so)
- test the module : go to the directory of sources and try to load it (modprobe ipt_NETFLOW), look at "journalctrl -f" to verify. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
- test the module : go to the directory of sources and try to load it (insmod ./ipt_NETFLOW.ko), look at "journalctrl -f" to verify. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
- if all is ok, copy the tarball in rpmbuild/SOURCES.
- Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm).
- Run "rpmbuild -bb ****.spec"
/rpms/x86_64/ipt-netflow-2.6-0.mga7.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Deleted: svn:mime-type
-application/octet-stream
\ No newline at end of property
/rpms/x86_64/ipt-netflow-2.6-0.mga8.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property