How to restrict ip to access a directory in OpenBSD's httpd

2019-04-02 Thread Fung
apache support somthing like Order Allow,Deny Allow from all Deny from 1.2.3.4 How to achieve in OpenBSD's httpd? We are using OpenBSD 6.4.

Re: Resume interrupted system build

2019-04-02 Thread Theo de Raadt
>This has surely been asked before, but searching turned up nothing. > >Is there a recommended way to resume an interrupted system build? I run on >very old and slow machines. I haven't completed a full system build yet, >but on my main system (Intel Celeron single core 2GB RAM from 2003) 8 hours

Unabled to build Xenocara

2019-04-02 Thread Adam Steen
Hi All I am trying to update my system from the latest snapshot (success) and then rebuild everything from source (done many times before). following release(8), i have been able to build the kernel and base, but not Xenocara, i get the following error. checking whether libxcb was compiled

Resume interrupted system build

2019-04-02 Thread Lee Nelson
This has surely been asked before, but searching turned up nothing. Is there a recommended way to resume an interrupted system build? I run on very old and slow machines. I haven't completed a full system build yet, but on my main system (Intel Celeron single core 2GB RAM from 2003) 8 hours

Re: Add current rtable to PS1

2019-04-02 Thread Henry Bonath
Pierre, you have my thanks as well!! On Tue, Apr 2, 2019 at 6:00 PM Tom Smyth wrote: > Pierre, Henry > thanks for that I have wanted this on my systems for a while > Cheers for asking and answering this one > > > On Tue, 2 Apr 2019 at 22:21, Pierre Emeriaud > wrote: > > > > Le mar. 2 avr.

Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread Tom Smyth
+1 for me also :) ix :) On Tue, 2 Apr 2019 at 23:38, Stuart Henderson wrote: > > :-) >

Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread Stuart Henderson
On 2019/04/03 08:19, David Gwynne wrote: > > > > On 3 Apr 2019, at 04:52, Stuart Henderson wrote: > > > > On 2019-04-02, Rachel Roch wrote: > >> Hi, > >> > >> Hopefully I'm just searching the man pages wrong but I can't seem to find > >> any hints as to how I can view SFP diagnostics in

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread David Gwynne
Thanks to Mitchell for figuring this out. > On 3 Apr 2019, at 05:25, Lee Nelson wrote: > > Since Mitchell's last email, this appeared from CVS in the place where > the patch was supposed to be applied: > > CLR(m0->m_flags, M_BCAST|M_MCAST); > > I skipped the patch and compiled the kernel with

Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread David Gwynne
> On 3 Apr 2019, at 04:52, Stuart Henderson wrote: > > On 2019-04-02, Rachel Roch wrote: >> Hi, >> >> Hopefully I'm just searching the man pages wrong but I can't seem to find >> any hints as to how I can view SFP diagnostics in OpenBSD (i.e. light power >> etc.) >> >> Perhaps someone

Re: Add current rtable to PS1

2019-04-02 Thread Tom Smyth
Pierre, Henry thanks for that I have wanted this on my systems for a while Cheers for asking and answering this one On Tue, 2 Apr 2019 at 22:21, Pierre Emeriaud wrote: > > Le mar. 2 avr. 2019 à 23:00, Henry Bonath a écrit : > > > > Hello, > > Does anyone have any suggestions as to how to

Re: Add current rtable to PS1

2019-04-02 Thread Pierre Emeriaud
Le mar. 2 avr. 2019 à 23:00, Henry Bonath a écrit : > > Hello, > Does anyone have any suggestions as to how to add the current rtable to the > $PS1 prompt? > > I tend to flip back and forth between routing domains and tend to lose track > of which rdomain I am currently using. > > I've been

Add current rtable to PS1

2019-04-02 Thread Henry Bonath
Hello, Does anyone have any suggestions as to how to add the current rtable to the $PS1 prompt? I tend to flip back and forth between routing domains and tend to lose track of which rdomain I am currently using. I've been attempting an approach by trying to run 'ps -aux -o rtable' and using some

Re: Console UX - UTF8, tmux colors, font sizes ?

2019-04-02 Thread Stuart Henderson
On 2019-04-02, shewhos...@riseup.net wrote: > Hello > > Coming from Linux I do like OpenBSD's minimalism, but there are a few small > UX things I do miss: > > Will the console ever be supporting UTF8 ? > US-ASCII makes math symbols a lot more cryptic ! Also causes some chaos when > copying and

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread Lee Nelson
Since Mitchell's last email, this appeared from CVS in the place where the patch was supposed to be applied: CLR(m0->m_flags, M_BCAST|M_MCAST); I skipped the patch and compiled the kernel with the source as I found it from CVS. With this new kernel everything works as I expected. arp broadcast

Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread Tom Smyth
Hi Rachel Im not certain.. i havent tried this on openbsd but i would do an snmp walk and see if there are stats displayed on your sfp interfaces can you check the mib from the chipset manufacturer ? Also if you check man driver name e.g. man ix for intel 10g nics there may be additional

Re: Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread Stuart Henderson
On 2019-04-02, Rachel Roch wrote: > Hi, > > Hopefully I'm just searching the man pages wrong but I can't seem to find any > hints as to how I can view SFP diagnostics in OpenBSD (i.e. light power etc.) > > Perhaps someone could kindly point me in the right direction ? > > Rachel > > I don't

Re: bgpd between two 6.4 boxes. IPv6 flapping, IPv4 rock solid

2019-04-02 Thread Rachel Roch
Mar 30, 2019, 11:10 AM by s...@spacehopper.org: > On 2019-03-29, Rachel Roch <> rr...@tutanota.de > > > wrote: > >> Hi, >> >> Has anyone encountered this before ? >> >> Neighbor    AS    MsgRcvd    MsgSent  OutQ Up/Down  State/PrfRcvd >> EXT-V6-R2  

Viewing SFP diagnostic data in OpenBSD ?

2019-04-02 Thread Rachel Roch
Hi, Hopefully I'm just searching the man pages wrong but I can't seem to find any hints as to how I can view SFP diagnostics in OpenBSD (i.e. light power etc.) Perhaps someone could kindly point me in the right direction ? Rachel

Re: PF force egress route to a user

2019-04-02 Thread Enric Morales
On 2019-04-01 05:14, Riccardo Giuntoli wrote: Hello there, Riccardo Giuntoli writing from Spain, nice to hear from you. In my pf.conf i want to force all outgoing connection from a specific user in egress from a machine take a route different from the default. Something like this (it doesn't

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread kolargol
so this is about setting MULTIPROCESSOR, WITH_PF_LOCK and NET_TASKQ ? or something else? i been using it since a while and as in basic router all seem fine. __ kolargol Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, April 2, 2019 6:28 PM, Tom Smyth wrote: >

Re: Console UX - UTF8, tmux colors, font sizes ?

2019-04-02 Thread Ingo Schwarze
Hi, shewhos...@riseup.net wrote on Tue, Apr 02, 2019 at 04:16:06PM +: > Will the console ever be supporting UTF8 ? Questions of the form "Will OpenBSD ever provide feature X?" rarely allow a definitive answer. It deepends on whether someone does the work, the work is of sufficient quality,

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread Tom Smyth
Hi, you can re-compile the BSD kernel to allow multi Processor PF, (but it is deemd by people who know more about PF and Programming than my self that it is not fully up to OpenBSD standards for Release yet I was referring to it as BSDMPPF as a continuation of the BSD vs BSDMP kernel ... sorry

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread kolargol
MPPF is multi processor for pf or what? Where can i learn more about it? I was searching sources but could not find anything related to "MPPF", any clue? thanks, __ kolargol Sent with ProtonMail Secure Email. ‐‐‐ Original Message ‐‐‐ On Tuesday, April 2, 2019 1:30 PM, Tom Smyth

Console UX - UTF8, tmux colors, font sizes ?

2019-04-02 Thread shewhosays
Hello Coming from Linux I do like OpenBSD's minimalism, but there are a few small UX things I do miss: Will the console ever be supporting UTF8 ? US-ASCII makes math symbols a lot more cryptic ! Also causes some chaos when copying and pasting, with tmux, any text with undisplayable chars, into

turn off ngpu / power

2019-04-02 Thread su-
Is there any chance in hell one might be able to implement a method to turn off ngpu? I have an nvidia optiums which i am unable to turn off in the bios setting. An acpi_call / script is used in another BSD to achieve this. Am just wondering if this is a categorial no chance in hell kind of

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread Mitchell Krome
On 2/04/2019 7:57 pm, Mitchell Krome wrote: > > > On 2/04/2019 7:24 pm, David Gwynne wrote: >> >> >>> On 2 Apr 2019, at 6:41 pm, Mitchell Krome wrote: >>> >>> On 2/04/2019 2:08 pm, David Gwynne wrote: Can you send me the hostname.* files and the output of ifconfig (showing all

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread Tom Smyth
Ok, under stood re ,prototype code... thought the Project was being extra conservative :) and that more people trying MPPF would be helpful, but if it aint ready for release it aint ready for release re PF going away... I thought that was a Calendar Coincidence... now im feeling a slight up tick

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread Janne Johansson
With MPPF it can go away almost ~5x as fast on a 6-core machine. Den tis 2 apr. 2019 kl 13:35 skrev Theo de Raadt : > No, this is not our style, it very much doesn't fit the development > process to have users running prototype code for 6 months. > > And anyways why do you want this, since pf

Re: Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread Theo de Raadt
No, this is not our style, it very much doesn't fit the development process to have users running prototype code for 6 months. And anyways why do you want this, since pf is going away. Tom Smyth wrote: > I was wondering what devs / more experienced users think about > having BSDMPPF kernel as

Is it worth considering compling a generic MPPF kernel for user convenience

2019-04-02 Thread Tom Smyth
Hello, I was wondering what devs / more experienced users think about having BSDMPPF kernel as an option in the upcoming release so that users could opt to test that by selecting alternate BSDMPPF kernel (without having to re-compile the kernel) the tested benefits on a PC engines apuc2 is at

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread Mitchell Krome
On 2/04/2019 7:24 pm, David Gwynne wrote: > > >> On 2 Apr 2019, at 6:41 pm, Mitchell Krome wrote: >> >> On 2/04/2019 2:08 pm, David Gwynne wrote: >>> Can you send me the hostname.* files and the output of ifconfig (showing >>> all interfaces)? >>> >>> You're using -current now, right? >>>

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread David Gwynne
> On 2 Apr 2019, at 6:41 pm, Mitchell Krome wrote: > > On 2/04/2019 2:08 pm, David Gwynne wrote: >> Can you send me the hostname.* files and the output of ifconfig (showing all >> interfaces)? >> >> You're using -current now, right? >> >> dlg >> >>> On 2 Apr 2019, at 08:15,

Re: Trouble forwarding between mpw's in bridge (6.4)

2019-04-02 Thread Mitchell Krome
On 2/04/2019 2:08 pm, David Gwynne wrote: > Can you send me the hostname.* files and the output of ifconfig (showing all > interfaces)? > > You're using -current now, right? > > dlg > >> On 2 Apr 2019, at 08:15, lnel...@nelnet.org wrote: >> >> >> First of all the protected domain seems to do

Re: openbgpd; strip private ASNs from bgp updates

2019-04-02 Thread openbsd
Hello, I agree, changing the AS-PATH is not preferred in an ideal world. My case is one where we have a large WAN, with 100+ routers. Designing and traffic engineering that with a single AS is non-trivial so we rely on private ASNs to leverage the excellent eBGP vs iBGP differences to our