Hi,
there is a new version of paprouted. Here is a patch to upgrade.
According to the changelog there are some (for me) useful new features,
so in my network-configuration I need the new version.
----
parprouted 0.7:
Many improvements/bug fixes to make parprouted handle mobile hosts moving
across Ethernet interfaces. Credit for most of the improvements goes to:
Norbert Unterberg <[EMAIL PROTECTED]> and
Christian Knecht <[EMAIL PROTECTED]>.
Changes to make parprouted cross-compile on ARM, submitted by:
Zhouzhi' <[EMAIL PROTECTED]>.
------------------------------------------------------------------------
Sun 26 Aug 2007 03:38:29 PM EEST
parprouted 0.65:
Fix a problem with incorrect handling of a case when there are two entries
for the same IP, incomplete and correct one. This can happen when machine
running parprouted is rebooted.
Credit for the fix goes to Dennis Borgmann <[EMAIL PROTECTED]> and
Matthias Huning <[EMAIL PROTECTED]>.
-----
In a mixed wireless/wired network the
Many improvements/bug fixes to make parprouted handle mobile hosts
moving across Ethernet interfaces.
are very useful.
Thanks for your great work.
Best regards.
Robert
diff -rupw parprouted/Makefile parprouted-0.7/Makefile
--- parprouted/Makefile 2008-02-09 11:15:56.000000000 +0100
+++ parprouted-0.7/Makefile 2008-02-09 11:14:21.000000000 +0100
@@ -9,14 +9,16 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=parprouted
-PKG_VERSION:=0.64
+PKG_VERSION:=0.70
PKG_RELEASE:=1
+PKG_VERSION_SHORT:=0.7
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION_SHORT).tar.gz
PKG_SOURCE_URL:=http://www.hazard.maks.net/parprouted/
-PKG_MD5SUM:=14133c9cb8dd9c9a90ff37648ae7b31a
+PKG_MD5SUM:=570f5deaf09600df8f80f589de79ecdb
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION_SHORT)
include $(INCLUDE_DIR)/package.mk
diff -rupw parprouted/patches/001-parprouted.patch
parprouted-0.7/patches/001-parprouted.patch
--- parprouted/patches/001-parprouted.patch 2008-02-09 11:15:56.000000000
+0100
+++ parprouted-0.7/patches/001-parprouted.patch 2008-02-09 11:14:21.000000000
+0100
@@ -1,6 +1,6 @@
-diff -rupw parprouted-0.63/arp.c parprouted-0.63-1/arp.c
---- parprouted-0.63/arp.c 2004-05-23 14:06:31.000000000 +0200
-+++ parprouted-0.63-1/arp.c 2005-03-13 16:10:18.000000000 +0100
+diff -rupw ./parprouted-0.70/arp.c ./parprouted-0.70-1/arp.c
+--- parprouted-0.7/arp.c 2008-01-28 00:43:37.000000000 +0100
++++ parprouted-0.7-1/arp.c 2008-02-09 10:54:26.000000000 +0100
@@ -366,7 +366,7 @@ void *arp(char *ifname)
do {
pthread_testcancel();
@@ -10,24 +10,24 @@ diff -rupw parprouted-0.63/arp.c parprou
if (arp_recv(sock, &frame) <= 0)
continue;
-diff -rupw parprouted-0.63/parprouted.c parprouted-0.63-1/parprouted.c
---- parprouted-0.63/parprouted.c 2004-01-30 02:45:43.000000000 +0100
-+++ parprouted-0.63-1/parprouted.c 2005-03-20 09:14:35.000000000 +0100
-@@ -93,7 +93,7 @@ void processarp(int cleanup)
+diff -rupw ./parprouted-0.70/parprouted.c ./parprouted-0.70-1/parprouted.c
+--- parprouted-0.7/parprouted.c 2008-01-28 01:00:25.000000000 +0100
++++ parprouted-0.7-1/parprouted.c 2008-02-09 11:03:03.000000000 +0100
+@@ -106,7 +106,7 @@ int route_remove(ARPTAB_ENTRY* cur_entry
+ int success = 1;
- /* added route to the kernel */
if (snprintf(routecmd_str, ROUTE_CMD_LEN-1,
-- "/sbin/ip route add %s/32 metric 50 dev %s scope link",
-+ "/sbin/route add -host %s metric 50 dev %s",
+- "/sbin/ip route del %s/32 metric 50 dev %s scope link",
++ "/sbin/route del -host %s metric 50 dev %s",
inet_ntoa(cur_entry->ipaddr_ia), cur_entry->ifname) >
ROUTE_CMD_LEN-1)
{
syslog(LOG_INFO, "ip route command too large to fit in
buffer!");
-@@ -112,7 +112,7 @@ void processarp(int cleanup)
+@@ -136,7 +136,7 @@ int route_add(ARPTAB_ENTRY* cur_entry)
+ int success = 1;
- /* remove entry from arp table and remove route from kernel */
if (snprintf(routecmd_str, ROUTE_CMD_LEN-1,
-- "/sbin/ip route del %s/32 metric 50 dev %s scope link",
-+ "/sbin/route del -host %s metric 50 dev %s",
+- "/sbin/ip route add %s/32 metric 50 dev %s scope link",
++ "/sbin/route add -host %s metric 50 dev %s",
inet_ntoa(cur_entry->ipaddr_ia), cur_entry->ifname) >
ROUTE_CMD_LEN-1)
{
syslog(LOG_INFO, "ip route command too large to fit in
buffer!");
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel