Re: httpd logging X509 cert subject when CA option is used.

2019-02-01 Thread Karel Gardas
On Fri, 1 Feb 2019 16:53:14 +0100 Sebastian Benoit wrote: > > + if (clt->clt_remote_user == NULL && > > + clt->clt_tls_ctx != NULL && > > + (srv_conf->tls_flags & TLSFLAG_CA) && > > + stravis(&user, tls_peer_cert_subject(clt->clt_tls_ctx), > >

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-02-01 Thread Martin Pieuchot
On 31/01/19(Thu) 13:31, David Gwynne wrote: > On Wed, Jan 30, 2019 at 11:54:45AM -0200, Martin Pieuchot wrote: > > On 30/01/19(Wed) 11:48, David Gwynne wrote: > > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > > > are used as input for the mpe and mpw interfaces. setting

Re: httpd logging X509 cert subject when CA option is used.

2019-02-01 Thread Sebastian Benoit
Karel Gardas(gard...@gmail.com) on 2019.02.01 16:28:17 +0100: > > Hello, > > I'd like to have X509 peer's cert subject name logged in some form when > ca option in httpd.conf is used. That is, we do have X509 verified > client accessing web resource. Following patch implements this > behavior for

httpd logging X509 cert subject when CA option is used.

2019-02-01 Thread Karel Gardas
Hello, I'd like to have X509 peer's cert subject name logged in some form when ca option in httpd.conf is used. That is, we do have X509 verified client accessing web resource. Following patch implements this behavior for combined logging style and for the case http connection is not authenticat

athn(4) bpf tap short-preamble fix

2019-02-01 Thread Stefan Sperling
This fixes a cosmetic issue: tcpdump -n -i athn0 -y IEEE802_11_RADIO shows a SHORTPRE flag on most frames sent from athn0. Even for OFDM frames. Which is bogus because short preamble only applies to non-OFDM frames with Tx rates 2, 5.5, and 11 MBit/s. This is handled correctly when Tx configurati

Re: pfctl -ss: show rt_addr

2019-02-01 Thread Stuart Henderson
On 2019/02/01 18:09, YASUOKA Masahiko wrote: > Hi, > > I often use "route-to" for DSR or balancing routes. It seems there is > no way to know which route is selected for the pf state. > > The diff following makes "pfctl -ss" show the route address with > square brackets if any. > > example: >

pfctl -ss: show rt_addr

2019-02-01 Thread YASUOKA Masahiko
Hi, I often use "route-to" for DSR or balancing routes. It seems there is no way to know which route is selected for the pf state. The diff following makes "pfctl -ss" show the route address with square brackets if any. example: all tcp 10.0.0.101:8080 [10.0.0.12] <- 10.1.0.100:45482

[patch] print xhci version in hex

2019-02-01 Thread sc . dying
Hi, The HCIVERSION register represents the BCD encoded HCI version number, so it should be printed with %x. For example, ver `0.150' should be printed as `0.96'. --- /sys/dev/usb/xhci.c Sun Sep 9 10:40:35 2018 +++ /sys/dev/usb/xhci.c Fri Jan 25 09:05:09 2019 @@ -296,7 +296,7 @@ xhci_init(struct