From b900e8be042594e371edf2e8d75feaddf9e26038 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Go=C5=82aszewski?= Date: Wed, 6 Jun 2001 15:21:40 +0000 Subject: [PATCH] - release 2 - adapterized - added patch - now you can have 2048 entries in your arp-table Changed files: arpd-more_tables.patch -> 1.1 arpd.spec -> 1.5 --- arpd-more_tables.patch | 11 +++++++++++ arpd.spec | 10 ++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 arpd-more_tables.patch diff --git a/arpd-more_tables.patch b/arpd-more_tables.patch new file mode 100644 index 0000000..79bbcee --- /dev/null +++ b/arpd-more_tables.patch @@ -0,0 +1,11 @@ +--- ./arpd.c.orig Wed Jun 6 17:04:57 2001 ++++ ./arpd.c Wed Jun 6 17:05:58 2001 +@@ -30,7 +30,7 @@ + + /* these shouldn't change for ipv4 */ + #define ARPD_TRIEWIDTH 256 +-#define ARPD_TRIEDEPTH 4 ++#define ARPD_TRIEDEPTH 8 + + union arpd_triedef + { diff --git a/arpd.spec b/arpd.spec index 2144db7..8e76be0 100644 --- a/arpd.spec +++ b/arpd.spec @@ -2,7 +2,7 @@ Summary: User-space arp daemon Summary(pl): Demon arpd Name: arpd Version: 1.0.2 -Release: 1 +Release: 2 License: GPL Group: Daemons Group(de): Server @@ -12,10 +12,10 @@ Source1: %{name}-init Patch0: %{name}-%{version}.debian-patch Patch1: %{name}-%{version}.pld-patch Patch2: %{name}-makefile-patch +Patch3: %{name}-more_tables.patch Prereq: /sbin/chkconfig Prereq: rc-scripts >= 0.2.0 Prereq: fileutils -#BuildRequires: BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -25,7 +25,7 @@ LARGE network segments (256+ systems per segment), because the kernel hash tables are not optimized to handle this situation. To use the ARP daemon your kernel needs to have ARPD and NETLINK support enabled. The standard kernels of PLD lack this support. It shouldn't be run without -that!! +that!! This version can alocate 2048 entries. %description -l pl Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution @@ -34,13 +34,15 @@ u segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma -supportu ARPD!!. Demon nie powinien byæ startowany bez tego!! +supportu ARPD!!. Demon nie powinien byæ startowany bez tego!! Ta +wersja potrafi zaakceptowaæ 2048 pozycji. %prep %setup -q -n %{name}-%{version}.orig %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 %build %{__make} -- 2.44.0