[www] [faq] - IPSec -> IPsec [Was: Re: CVS: cvs.openbsd.org: www]

2019-02-22 Thread Raf Czlonka
On Fri, Feb 22, 2019 at 10:07:05PM GMT, Landry Breuil wrote: > CVSROOT: /cvs > Module name: www > Changes by: lan...@cvs.openbsd.org 2019/02/22 15:07:05 > > Modified files: > faq: index.html > Added files: > faq: faq17.html > > Log message: > Add a

diff: add support for ANT-USBStick2 to uscom(4)

2019-02-22 Thread Jan Klemkow
Hi, The diff below adds support for the Dynastream "ANT USBStick2" to uscom(4). The device attached with the following message: uscom0 at uhub0 port 2 configuration 1 interface 0 "Dynastream Innovations ANT USBStick2" rev 2.00/1.00 addr 2 ucom0 at uscom0 portno 0 Additionally, I tested the

Re: lockf: initialization order

2019-02-22 Thread Todd C . Miller
On Fri, 22 Feb 2019 07:49:43 +0100, Anton Lindqvist wrote: > Initialize the fields of `struct lockf' in the same order as the struct > definition, with the ambition of making easier to inspect that all > fields are properly initialized. Similar work has already been done in > lf_split(). OK

Re: pfctl should allow administrator to flush _anchors

2019-02-22 Thread Klemens Nanni
On Fri, Feb 22, 2019 at 03:02:07PM +0100, Alexandr Nedvedicky wrote: > so the option '-F Anchors' will also perform a '-Fr' on main ruleset, is > that correct? No, my `-f /etc/pf.conf' is the equivalent to your `-F rules' here. > And also one more thing, which comes to my mind. How

Re: update ctype data to unicode 10

2019-02-22 Thread Andrew Hewus Fresh
On Fri, Feb 22, 2019 at 11:29:49AM +0200, Lauri Tirkkonen wrote: > On Thu, Feb 21 2019 20:22:16 -0700, Andrew Hewus Fresh wrote: > > > I'm only including the diff because it took quite a long time to run the > > > script (177m08.01s real). > > > > There are a lot of unicode symbols. Someday if I

bridge/bif tweak

2019-02-22 Thread Martin Pieuchot
There's no need to get the `bif' pointer again, we already got it from the list :) ok? diff --git sys/net/if_bridge.c sys/net/if_bridge.c index 22f67c39dca..838f6d32886 100644 --- sys/net/if_bridge.c +++ sys/net/if_bridge.c @@ -770,7 +770,6 @@ bridge_output(struct ifnet *ifp, struct mbuf *m,

Re: [patch] cwm: tile only within active monitor

2019-02-22 Thread Okan Demirmen
On Wed 2019.02.13 at 12:06 -0500, Okan Demirmen wrote: > On Sun 2019.01.06 at 14:46 -0500, Charles A Daniels wrote: > > Hi all, > > > > I'm new around here, so apologies in advance if I miss something > > obvious. > > > > I have written a patch to cwm so that the htile/vtile functionality > >

Let bridge_rtlookup() insert that tag

2019-02-22 Thread Martin Pieuchot
Some plumbing to move the tag mechanism outside of net/if_bridge.c . bridge_rtlookup() now returns an interface pointer and "bridge_rtnode" are modified with the mutex held. This will make locking in bridge_output() simpler. Ok? Index: net/bridgectl.c

Re: pfctl should allow administrator to flush _anchors

2019-02-22 Thread Alexandr Nedvedicky
Hello Klemens, I just need to clarify some details. > > the 'unreferenced' means the anchor is not reachable by any packet. > > like there is no path for packet between main ruleset and that > > particular > > anchor (and all its descendants). > Yes. With the regress suite for

Re: bsd.{prog,lib}.mk: drop -S for install

2019-02-22 Thread Klemens Nanni
On Thu, Feb 21, 2019 at 02:53:55PM +0200, Lauri Tirkkonen wrote: > Updated diff to remove -S from all files mentioned above. OK kn if anyone wants to commit, otherwise I'll do so on sunday unless I hear objections.

Re: bypass interface input queues for vlan(4)

2019-02-22 Thread Martin Pieuchot
On 22/02/19(Fri) 15:01, David Gwynne wrote: > On Thu, Feb 21, 2019 at 04:29:27PM -0300, Martin Pieuchot wrote: > > On 21/02/19(Thu) 14:19, David Gwynne wrote: > > > right now we add vlan_input as a possible input handler on the parent > > > interface, and if the packet is for a vlan we take it and

Re: bgpctl mrt parser refactor

2019-02-22 Thread Klemens Nanni
Diff reads good, although I'm not a BGP user. One nit inline: > @@ -689,31 +690,32 @@ mrt_parse_dump_mp(struct mrt_hdr *hdr, v > - case AF_VPNv4: > + case AID_VPN_IPv4: > if (len < MRT_PREFIX_LEN(r->prefixlen)) > goto fail; > - errx(1,

Re: pfctl should allow administrator to flush _anchors

2019-02-22 Thread Klemens Nanni
On Fri, Feb 22, 2019 at 12:42:02PM +0100, Alexandr Nedvedicky wrote: > yes, that's what I thought. We have a kind 'service' on Solaris, which > wraps pfctl to manage firewall. If firewall is being enabled, the service > cleans up all rules (anchors). We basically dump the rulesets

Re: update ctype data to unicode 10

2019-02-22 Thread Ingo Schwarze
Hi Andrew, Lauri Tirkkonen wrote on Fri, Feb 22, 2019 at 01:57:01AM +0200: > Hi, the recent perl-5.28.1 and related unicore update brought the > unicode data from version 8.0.0 to version 10.0.0. That fixes some > character classifications (eg. emoji characters gained East_Asian_Width > value

bgpctl mrt parser refactor

2019-02-22 Thread Claudio Jeker
Instead of using and abusing sockaddr structs to parse addrs in mrt messages use struct bgpd_addr since bgpctl can handle them much better. I first wrote the mrt parser independet of bgpctl and decided to not use bgpd internals. I no longer see the benefit of this. This makes the code cleaner. I

Extend description of protected-subnet in iked.conf(5)

2019-02-22 Thread Sevan Janiyan
Hi, Attached patch adds more details about what protected-subnet's role is in configuration file, it may be useful for someone unfamiliar with the terminology used in IKEv2. Sevan Index: sbin/iked/iked.conf.5 === RCS file:

Re: pfctl should allow administrator to flush _anchors

2019-02-22 Thread Alexandr Nedvedicky
Hello, On Fri, Feb 22, 2019 at 10:55:17AM +0100, Klemens Nanni wrote: > On Fri, Feb 22, 2019 at 01:52:24AM +0100, Alexandr Nedvedicky wrote: > > > so far so good. Now let's flush the rules from kernel: > > > > lumpy# ./pfctl -Fr > > rules cleared > > lumpy# ./pfctl -sr > >

Re: update ctype data to unicode 10

2019-02-22 Thread Ingo Schwarze
Hi Andrew, Andrew Fresh wrote on Thu, Feb 21, 2019 at 08:22:16PM -0700: > On Fri, Feb 22, 2019 at 01:57:01AM +0200, Lauri Tirkkonen wrote: >> Hi, the recent perl-5.28.1 and related unicore update brought the >> unicode data from version 8.0.0 to version 10.0.0. That fixes some >> character

Re: pfctl should allow administrator to flush _anchors

2019-02-22 Thread Klemens Nanni
On Fri, Feb 22, 2019 at 01:52:24AM +0100, Alexandr Nedvedicky wrote: > so far so good. Now let's flush the rules from kernel: > > lumpy# ./pfctl -Fr > rules cleared > lumpy# ./pfctl -sr > lumpy# > > However the underscore anchors are still there: Any unreferenced anchor will

Re: update ctype data to unicode 10

2019-02-22 Thread Lauri Tirkkonen
On Thu, Feb 21 2019 20:22:16 -0700, Andrew Hewus Fresh wrote: > > I'm only including the diff because it took quite a long time to run the > > script (177m08.01s real). > > There are a lot of unicode symbols. Someday if I get super bored I'll > write something to do it in parallel :-) True,