Make filter line handling more developer friendly

2019-08-24 Thread Martijn van Duren
Right now all we get is "Misbehaving filter", which doesn't tell the developer a lot. Diff below does the following: - Make the register_hooks actually fail on misbehaviour. - Change some *ep = 0 to a more semantically correct ep[0] = '\0' - Hoist some checks from lka_filter_process_response to pr

Re: iked(8): add support for IKEv2 Message Fragmentation

2019-08-24 Thread Tobias Heider
> I'm wondering if we should make this the default. I'm seeing no breakage > as a result of using it, and it fixes things with some annoying network > configurations. The option does add overhead though because it will fragment messages even if the MTU is big enough. As a result it will add some l

ddb.4: Stop mentioning #number for breakpoints

2019-08-24 Thread Klemens Nanni
We have no code for addressing breakpoints by numbers at all: This line is not printed, all the commands in ddb_break.c accept an address as parameter only and the manual lines date back to 1998, so probably just left-overs. I could also zap the other commented lines in ddb.4 for the sake of comp

Re: iked(8): add support for IKEv2 Message Fragmentation

2019-08-24 Thread Stuart Henderson
I'm wondering if we should make this the default. I'm seeing no breakage as a result of using it, and it fixes things with some annoying network configurations. Index: iked.conf.5 === RCS file: /cvs/src/sbin/iked/iked.conf.5,v retrie