[PATCH] www/books.html - SSH Mastery, 2nd Edition has now been released

2018-02-14 Thread Raf Czlonka
Hi all, An update of the "SSH Mastery" book entry to its 2nd edition. While there, I moved its subtitle up, where it belongs, and swapped ISBN 10 and 13 to keep it consistent with other books. I had also taken the liberty to update: - release date of Peter N. M. Hansteen's Book of PF -

add [-]tunneldf to allow/disallow fragmentation in tunnel protocols

2018-02-14 Thread David Gwynne
sometimes you want to avoid fragmentation of the encapsulated traffic, and this gives up the option to prevent fragmentation. the diff includes updating etherip to show how it is used, but if this goes through i'll update gre/egre, gif, and maybe vxlan. # ifconfig etherip0 etherip0:

Re: use the link0 flag on gre(4) interfaces to allow WCCP

2018-02-14 Thread Jonathan Gray
On Thu, Feb 15, 2018 at 01:00:53PM +1000, David Gwynne wrote: > the subject says it all. this also tweaks the wccp code to sneak a > look inside the payload to see if it is ipv4 or not. the wccp > protocol specifies values for the bits that overlap the ipv4 version > nibble that cannot be set to

use the link0 flag on gre(4) interfaces to allow WCCP

2018-02-14 Thread David Gwynne
the subject says it all. this also tweaks the wccp code to sneak a look inside the payload to see if it is ipv4 or not. the wccp protocol specifies values for the bits that overlap the ipv4 version nibble that cannot be set to 4, so if it isn't 4 we can assume it is the wccp header. in the future

Re: deprecate sysctl net.inet.{etherip,gre,mobileip}.allow

2018-02-14 Thread David Gwynne
> On 14 Feb 2018, at 20:03, Stuart Henderson wrote: > > On 2018/02/14 18:05, David Gwynne wrote: >> i dont understand the usefulness of the sysctls to turn etherip, >> gre, and mobileip handling on. if you arent going to handle etherip, >> gre, or mobileip, just dont

mpath cloning routes and cloned routes

2018-02-14 Thread Florian Riehm
Hi, If we delete cloning routes, we also delete their cloned routes. This doesn't make sense if we delete a multipath cloning route and may result in broken gateway routes: # netstat -rn | grep 192.168.178 default192.168.178.1 UGS5 4939 -12 iwn0

hostapd: account for subseconds when checking rule rates

2018-02-14 Thread Scott Cheloha
Hi, You need to account for subsecond differences when evaluating a rule rate, otherwise you'll reset f_rate_cnt prematurely in some cases. e.g.: t_now = { .tv_sec = 100, .tv_usec = 25 }; frame->f_last = { .tv_sec = 99, .tv_usec = 75 }; frame->f_rate_intval = 1;

sleep(1): cleanup and style(9)

2018-02-14 Thread Scott Cheloha
Roughly top to bottom: - Sort includes alphabetically - Ditch __progname for getprogname(3) - Sort prototypes alphabetically - usage() is __dead - Sort stack variables by size (?), then alphabetically (?) * I have no idea if I did this right, but it looks cleaner than

left shift of negative (-1 << ...)

2018-02-14 Thread coypu
Hi, Please apply the following or a variation, thanks. diff --git a/sys/arch/amd64/amd64/identcpu.c b/sys/arch/amd64/amd64/identcpu.c index 046fde685..6f4feff84 100644 --- a/sys/arch/amd64/amd64/identcpu.c +++ b/sys/arch/amd64/amd64/identcpu.c @@ -804,7 +804,7 @@ cpu_topology(struct cpu_info

patch: file(1) imsg_compose receives -1 cast to uint32_t

2018-02-14 Thread Abel Abraham Camarillo Ojeda
as shown in patch imsg_compose receives -1 as type and peerid argument to imsg_compose, according to imsg_compose definition: int imsg_compose(struct imsgbuf *ibuf, uint32_t type, uint32_t peerid, pid_t pid, int fd, const void *data, uint16_t datalen); So 4294967295 is used

patch: imsg_init.3 fixes

2018-02-14 Thread Abel Abraham Camarillo Ojeda
Match description arguments with synopsis arguments, and fix style of one function argument description typesetted as .Fn instead of .Fa Also, .Sh DESCRIPTION differes form .Sh BUFFERS in that description functions refer (.Fa) argument types but in BUFFERS function refer (.Fa) to argument names,

Re: deprecate sysctl net.inet.{etherip,gre,mobileip}.allow

2018-02-14 Thread Stuart Henderson
On 2018/02/14 18:05, David Gwynne wrote: > i dont understand the usefulness of the sysctls to turn etherip, > gre, and mobileip handling on. if you arent going to handle etherip, > gre, or mobileip, just dont create interfaces to handle them. > > for now, this dummies up handling of the sysctls

Re: signed overflow in atan2

2018-02-14 Thread Tom Cosgrove
>>> Eitan Adler 14-Feb-18 08:09 >>> > > Hi all, > > you may want the following patch. Previous discussion: > https://lists.freebsd.org/pipermail/freebsd-numerics/2018-February/thread.html > > Original submission: https://github.com/freebsd/freebsd/pull/130 > > > === > > As a component of atan2(y,

signed overflow in atan2

2018-02-14 Thread Eitan Adler
Hi all, you may want the following patch. Previous discussion: https://lists.freebsd.org/pipermail/freebsd-numerics/2018-February/thread.html Original submission: https://github.com/freebsd/freebsd/pull/130 === As a component of atan2(y, x), the case of x == 1.0 is farmed out to atan(y). The

deprecate sysctl net.inet.{etherip,gre,mobileip}.allow

2018-02-14 Thread David Gwynne
i dont understand the usefulness of the sysctls to turn etherip, gre, and mobileip handling on. if you arent going to handle etherip, gre, or mobileip, just dont create interfaces to handle them. for now, this dummies up handling of the sysctls by letting userland read that theyre allowed, but

Re: Remove DM* modem control commands

2018-02-14 Thread Martin Pieuchot
On 14/02/18(Wed) 00:48, Tobias Ulmer wrote: > Remove the ancient tty.h DMSET etc. modem control commands. They're confusing > to someone without the historical background. No documentation doesn't help > either. > > TIOCM* serve the same purpose, are documented in tty(4) and the various *ctl() >