The kernel is checking routing messages stricter. More address
bits than actual socket addresses are not allowed anymore. Fix broken userland. OK sthen@
This commit is contained in:
parent
532a34cb8e
commit
84d925c72e
@ -1,10 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.3 2015/04/28 23:16:20 bluhm Exp $
|
||||
# $OpenBSD: Makefile,v 1.4 2019/04/04 19:18:18 bluhm Exp $
|
||||
|
||||
COMMENT = SI6 networks IPv6 toolkit
|
||||
|
||||
VERSION = 2.0
|
||||
DISTNAME = ipv6toolkit-v${VERSION}
|
||||
PKGNAME = ipv6toolkit-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
|
@ -1,4 +1,7 @@
|
||||
$OpenBSD: patch-tools_flow6_c,v 1.2 2015/04/28 23:16:20 bluhm Exp $
|
||||
$OpenBSD: patch-tools_flow6_c,v 1.3 2019/04/04 19:18:18 bluhm Exp $
|
||||
|
||||
https://github.com/fgont/ipv6toolkit/commit/b3cb7be1820ca90c0ff10bc2924ec0585f89a098
|
||||
|
||||
--- tools/flow6.c.orig Sun Apr 5 16:00:06 2015
|
||||
+++ tools/flow6.c Mon Apr 27 22:59:14 2015
|
||||
@@ -681,7 +681,7 @@ int send_fid_probe(void){
|
||||
|
16
net/ipv6-toolkit/patches/patch-tools_libipv6_c
Normal file
16
net/ipv6-toolkit/patches/patch-tools_libipv6_c
Normal file
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-tools_libipv6_c,v 1.1 2019/04/04 19:18:18 bluhm Exp $
|
||||
|
||||
https://github.com/fgont/ipv6toolkit/pull/52
|
||||
|
||||
Index: tools/libipv6.c
|
||||
--- tools/libipv6.c.orig
|
||||
+++ tools/libipv6.c
|
||||
@@ -2815,7 +2815,7 @@ int sel_next_hop(struct iface_data *idata){
|
||||
rtm->rtm_msglen= sizeof(struct rt_msghdr) + sizeof(struct sockaddr_in6);
|
||||
rtm->rtm_version= RTM_VERSION;
|
||||
rtm->rtm_type= RTM_GET;
|
||||
- rtm->rtm_addrs= RTA_DST | RTA_IFP;
|
||||
+ rtm->rtm_addrs= RTA_DST;
|
||||
rtm->rtm_pid= pid= getpid();
|
||||
rtm->rtm_seq= seq= random();
|
||||
|
Loading…
Reference in New Issue
Block a user