PF: move some common things from LOG_NOTICE to LOG_INFO

2017-04-21 Thread Stuart Henderson
Currently LOG_NOTICE is used for some things which are rather common, as well as some things which are unusual. So, if you want to find the unusual things, depending on your ruleset you can have a lot of noise and perhaps a lot of load due to the logging. This diff moves these to LOG_INFO (which i

Re: vmd: "local prefix" for L3 interfaces

2017-04-21 Thread Stuart Henderson
On 2017/04/20 13:26, Mike Larkin wrote: > On Thu, Apr 20, 2017 at 10:03:52PM +0200, Reyk Floeter wrote: > > Hi, > > > > the following diffs allows to change the prefix that is used to > > allocated "local interface" (-L) subnets, which is 100.64.0.0/10 by > > default. > > > > So you can just chan

uip_socket.c: issues when using sendmsg() with small send buffers and the new 6.1 control message (IP_SENDSRCADDR)

2017-04-21 Thread Markert, Alexander
Hi, the length of the data to be sent and in addition the length of the associated control message (e.g. the source address: IP_SENDSRCADDR) musn't exceed the maximum size of the socket's send buffer (SO_SNDBUF). Otherwise EMSGSIZE is returned. That is ok. However, if the data to be sent fits i

Re: PF: move some common things from LOG_NOTICE to LOG_INFO

2017-04-21 Thread Sebastian Benoit
Stuart Henderson(s...@spacehopper.org) on 2017.04.21 10:21:56 +0100: > Currently LOG_NOTICE is used for some things which are rather common, > as well as some things which are unusual. So, if you want to find the > unusual things, depending on your ruleset you can have a lot of noise > and perhaps

xinit(1): xdm(1) -> xenodm(1)

2017-04-21 Thread Scott Cheloha
Index: xinit.man === RCS file: /cvs/xenocara/app/xinit/man/xinit.man,v retrieving revision 1.3 diff -u -p -r1.3 xinit.man --- xinit.man 30 Aug 2015 13:32:02 - 1.3 +++ xinit.man 21 Apr 2017 21:51:16 - @@ -44,7 +44,7 @@

Re: clang: ignore -fno-force-addr

2017-04-21 Thread Ted Unangst
Jeremie Courreges-Anglas wrote: > > clang already recognizes (and ignores) -fforce-addr but errors out > on -fno-force-addr. This breaks the build of ports/databases/qdbm: > > > http://build-failures.rhaalovely.net/amd64-clang/2017-04-14/databases/qdbm.log > > Fixing the port is easy, but so

Re: delete pf states by exact flow info and speed it up

2017-04-21 Thread YASUOKA Masahiko
On Fri, 21 Apr 2017 13:52:51 +0900 (JST) YASUOKA Masahiko wrote: > +int > +pfctl_parse_host(char *str, struct pf_rule_addr *addr) > +{ (snip) > + if ((sbs = strchr(s, '[')) != NULL || (sbe = strrchr(s, ']')) != NULL) { > + hints.ai_family = AF_INET6; > + *(sbs++) = *sbe

Re: delete pf states by exact flow info and speed it up

2017-04-21 Thread Alexandr Nedvedicky
On Sat, Apr 22, 2017 at 08:14:06AM +0900, YASUOKA Masahiko wrote: > On Fri, 21 Apr 2017 13:52:51 +0900 (JST) > YASUOKA Masahiko wrote: > > +int > > +pfctl_parse_host(char *str, struct pf_rule_addr *addr) > > +{ > (snip) > > + if ((sbs = strchr(s, '[')) != NULL || (sbe = strrchr(s, ']')) != NULL)