Hi,

On Fri, Aug 28, 2020 at 12:51:43PM +0200, Eike Lohmann wrote:
> there are some new entries in the status.log I have not seen before.
> 
> For IP's inside networks (iroute) I see records generated with an "C", 
> if traffic was send to it.
> 
> After some seconds they disappear, if not used.

Indeed.  The iroute table internally works on a "full address match"
principle, so if you have a (say) /24-iroute, then it looks up the 
exact IP address once, and then caches the /32 for a time.

This is what the source (multi.c, multi_print_status()) does:

            status_printf(so, "ROUTING TABLE");
...
                    if (route->flags & MULTI_ROUTE_CACHE)
                    {
                        flags[0] = 'C';
                    }
                    status_printf(so, "%s%s,%s,%s,%s",
                                  mroute_addr_print(ma, &gc),
                                  flags,

-> so, this is what you see: a cached more-specific route.

> Is this behavior described somewhere, I could not find it.

Not sure.  I grepped the source for "ROUTING TABLE" and then looked
at the code.  (That is all code that was there before I became involved)

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to