Re: Best Practices for growing disk partitions on a server

2019-11-18 Thread Joseph A Borg
you have to boot in single user mode: https://www.openbsd.org/faq/faq8.html > On 18 Nov 2019, at 00:12, Lev Lazinskiy wrote: > > Hi Edgar, > > Thanks for the response. > On Sun, Nov 17, 2019 at 04:06:18PM -0600, Edgar Pettijohn wrote: >> >> On Nov 17, 2019 2:35 PM, Lev Lazinskiy wrote:

Re: pkg_info -Q bug?

2019-11-18 Thread Antonio Bibiano
Hello, I just wanted to add to this thread that I incurred in the same issue on a fresh 6.6 installation. I also tried with a different mirror in /etc/installurl and receive the same partial response from pkg_info -Q. What makes it even more odd is that pkg_add finds the correct package. Cheers,

httpd redirect based on query parameters

2019-11-18 Thread Thomas
Hi, I have another question regarding redirects with httpd. I need to redirect a given URL to another server based on its query parameters. Example: http://company.website/products/?id=1 redirect to: "http://newcompany.website/products; http://company.website/products/?id=2 redirect to:

Re: Home NAS

2019-11-18 Thread Nick Holland
On 2019-11-17 11:39, Jean-François Simon wrote: > Hi, > > I found it, there exist glastree which is available from ports. > > Nice small "poor man's" backup as the author qualifies, > though makes incremental backup through hard links: > > # if yesterday does not exist or today is newer,

Re: Home NAS

2019-11-18 Thread Roderick
What can be newer or not existent yesterday, but has the same filename? Something that one changed with an editor? Would not be better to use a version contro system? Rod. On Mon, 18 Nov 2019, Nick Holland wrote: On 2019-11-17 11:39, Jean-François Simon wrote: Hi, I found it, there exist

Re: Tape drive

2019-11-18 Thread Kenneth Gober
On Sun, Nov 17, 2019 at 6:00 PM Pietro Paolini < pietro.paol...@cognitivecredit.com> wrote: > On a x86-64 Dell, the tape drive is an HP StorageWorks Ultrium 960. > > # tar cf /dev/rst0 ./test.txt > # mt -f /dev/nrst0 rewind > # tar xf /dev/rst0 .out > tar: Failed read on archive

Re: Best Practices for growing disk partitions on a server

2019-11-18 Thread Stuart Henderson
On 2019-11-17, Lev Lazinskiy wrote: > Hi folks, > > I am new to openBSD, so forgive me if I am missing something obvious. > > I recently installed openBSD on a server using the auto-partition layout > during installation and am quickly starting to run out of disk space. > > I have read the

Re: 'machine/cdefs.h' file not found when installing nokogiri gem

2019-11-18 Thread Stuart Henderson
On 2019-11-16, mabi wrote: > ‐‐‐ Original Message ‐‐‐ > On Saturday, November 16, 2019 2:38 PM, Stuart Henderson > wrote: > >> For native extensions, it's really best to install from packages. >> >> pkg_add ruby25-nokogiri > > Thanks for the tip, I didn't think about that alternative.

ahci cd/dvd failure key_sense

2019-11-18 Thread Heppler, J. Scott
On amd64 6.6release/stable and -current my TSSTcorp CDDVDW SH-223DB has failed to function. It does not key_sense and backends cdio/xorriso-tcltk seem to write a lead-in track and nothing else. The system dual boots with Debian 10 the same drive is recognized and works without issue. # xorriso

Re: Iked/unbound ~ more info.

2019-11-18 Thread Dale C.
I'm thinking you're correct Chuck, I can't route traffic for localhost through iked... So... "It might be necessary to exclude this traffic from the flows to ensure connections to services running locally (such as a local resolver) ^ Then I'd have local dns while connected to my VPN? OH...

Re: Iked/unbound ~ more info.

2019-11-18 Thread Stuart Henderson
On 2019-11-18, Dale C. wrote: > "Since all traffic goes through the VPN, including traffic targeted at > localhost, it might be necessary to exclude this traffic from the > flows to ensure connections to services running locally (such as a > local resolver) reach the right target. This can be

Re: Tape drive

2019-11-18 Thread Pietro Paolini
Hi, Thanks for the answer, yes it is indeed second hand - even though they guaranteed what it is working. I've updated and I am still getting the same result, I will try cleaning it first... and fingers crossed. Thanks, P. On Mon, Nov 18, 2019 at 2:02 PM Kenneth Gober wrote: > > On Sun, Nov

Re: Best Practices for growing disk partitions on a server

2019-11-18 Thread Theo de Raadt
Stuart Henderson wrote: > On 2019-11-17, Lev Lazinskiy wrote: > > Hi folks, > > > > I am new to openBSD, so forgive me if I am missing something obvious. > > > > I recently installed openBSD on a server using the auto-partition layout > > during installation and am quickly starting to run out

Re: Iked/unbound ~ more info.

2019-11-18 Thread Dale C.
Chuck, Hey thanks for the information. Yeah I've tried having unbound listen on 10.0.1.2 (the VPN support net), that didn't work. I have not tried putting unbound on an external interface, and would like to avoid that. I've actually taken unbound out of the equation on both sides. Disabled

Re: Iked/unbound ~ more info.

2019-11-18 Thread Dale C.
"I'd go for a local unbound or local unwind instance, listening for queries on localhost, configured to use a forwarder as appropriate, plus the bypass rule suggested in faq17." Right. Thanks again, Dale On 11/18/19, Dale C. wrote: > Stuart, > > Hmmm, thanks for taking the time to write. I'll

Re: Iked/unbound ~ more info.

2019-11-18 Thread Antonino Sidoti
Hi Dale, I had unbound working with iked for a short time. I actually configured the interface enc0 like so; ** Server hostname.enc0 inet 10.0.5.1 255.255.255.0 10.0.5.255 --- ** Server iked.conf ikev2 “roaming" passive esp \ from 0.0.0.0/0 to

Re: Iked/unbound ~ more info.

2019-11-18 Thread Dale C.
Stuart, Hmmm, thanks for taking the time to write. I'll consider these things. My server has a static IP, and I'd also like to start looking at DNS over TLS. My client has a dynamic (shared even - cellular gateway) IP address. There are some implications there I'll also need to consider.

Re: Iked/unbound ~ more info.

2019-11-18 Thread Dale C.
I don't know how unbound will be aware of iked couple/decouple, so I wonder how I'd specify "as appropriate" in this case short of a DNS failover from the remote side using forward-zones in unbound. I'll take a look at unwind... On 11/18/19, Dale C. wrote: > "I'd go for a local unbound or local

dmesg for Riverbed Steelhead 250/550

2019-11-18 Thread Aaron Mason
All Fired up OpenBSD 6.6 on a Riverbed Steelhead 250 and a 550, purchased from fleabay for about $30 ea (plus shipping) - the 250 runs a single core Celeron M @ 1.66GHz and 1GB DDR2, the 550 runs a low power dual-core Xeon at the same speed and 2GB DDR2 - both x86 only. Both have a 2GB USB DOM

Re: dmesg for Riverbed Steelhead 250/550

2019-11-18 Thread Aaron Mason
Here's a quick rundown on how I got it installed - you will need an existing OpenBSD installation. 1. Download the FS install image. 2. Mount it in your existing OpenBSD system and edit etc/boot.conf to set the tty to com0. 3. Write the resulting image to a USB stick. 4. Plug in your USB stick,