tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rump shmif



Roy Marples <roy%marples.name@localhost> wrote:
>On 17/08/2020 13:10, Robert Swindells wrote:
>> Have tried out the attached patch, dhcpcd(8) seems to work much better
>> with it.
>
>You don't need to add, set or remove all that media.

The media list is representative of an ethernet device and it matches
what is in tap(4).

I also got rump.rtadvd to start up with the following patch, it isn't
seeing the Router Solicitation that dhcpcd(8) is sending though.

Does something need to be enabled in rump to get router message
filtering to work ?

Index: rtadvd.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/rtadvd/rtadvd.c,v
retrieving revision 1.78
diff -u -r1.78 rtadvd.c
--- rtadvd.c    14 May 2020 23:42:18 -0000      1.78
+++ rtadvd.c    17 Aug 2020 21:13:32 -0000
@@ -1614,7 +1614,7 @@
                exit(EXIT_FAILURE);
        }
 #ifdef RO_MSGFILTER
-       if (setsockopt(rtsock, PF_ROUTE, RO_MSGFILTER,
+       if (prog_setsockopt(rtsock, PF_ROUTE, RO_MSGFILTER,
            &msgfilter, sizeof(msgfilter) == -1))
                logit(LOG_ERR, "%s: RO_MSGFILTER: %m", __func__);
 #endif


Home | Main Index | Thread Index | Old Index