Re: bwfm bcm43569

2019-06-29 Thread Janne Johansson
Den fre 28 juni 2019 kl 06:45 skrev Joseph Mayer < joseph.ma...@protonmail.com>: > point today (due to not using block device multiqueueing and I get the > impression that the disk/IO subsystem is mostly not parallellized, for > some usecases also the 3GB buffer cap limit matters). > That last

Re: SAD ( pkg_add does linux like stuff ie: not working, no explanation )

2019-08-28 Thread Janne Johansson
Den ons 28 aug. 2019 kl 16:06 skrev sven falempin : > Maybe obvious ? if so why no message from the software ? > # pkg_add php_curl > [URLHERE] php-curl-7.2.17.tgz > > > LIKE WHY PLEASE ? > Given that the

Re: How can I remove sets installed by sysupgrade?

2019-09-16 Thread Janne Johansson
> > My reasoning behind NOT installing the X, Comp and Game sets have > little > to do with saving space, although I am using an 8GB SSD. I learned in my > research that one of the most fundamental ways to improve network/system > security is to minimize the attack surface by not installing

Re: SCM

2019-07-23 Thread Janne Johansson
Den mån 22 juli 2019 kl 17:05 skrev Австин Ким : > Hi, > > As someone completely new to OpenBSD the one immediate first impression > that most peculiarly sticks out like a sore thumb to me is the Project’s > use of CVS for source code management. I am curious why the Project > continues to use

Re: Did I install correctly the openbsd?

2019-07-10 Thread Janne Johansson
Den ons 10 juli 2019 kl 02:16 skrev SOUL_OF_ROOT 55 : > I installed openbsd 6.5 in Virtualbox for Windows 7, the following > screenshots show it: > I tried to install openbsd according to the following video: > Did I install correctly the openbsd? > Good tip on reporting when things didn't go as

Re: Home NAS

2019-11-17 Thread Janne Johansson
Den lör 16 nov. 2019 kl 22:49 skrev Karel Gardas : > > I tried a home NAS with ZFS, then BTRFS. Those filesystems needs tons of > RAM (~1 GB of RAM by TB of disk), preferably ECC. > > For NAS you prefer ECC anyway and 1 GB RAM consumption per 1 TB of drive > is urban legend probably passed by

Re: build error on octeon, 6.6

2019-11-07 Thread Janne Johansson
Den ons 6 nov. 2019 kl 23:36 skrev Christian Groessler : > Hi, > I've installed OpenBSD 6.6 on an EdgeRouter Lite. I wanted to rebuild > the system. > > Maybe the machine has too little memory? > > routie$ swapctl -lk > Device 1K-blocks UsedAvail Capacity Priority > /dev/sd0b

Re: build error on octeon, 6.6

2019-11-08 Thread Janne Johansson
I wonder if this part is relevant: c++: error: unable to execute command Is there any permissions on /net that prevents execution? I seems it wants to run stuff from here: ... *** Error 254 in /net/sirius/temp/routie-build/6.6/src/gnu/usr.bin/clang/libLLVM (:67 'AMDGPUTargetMachine.o': @c++ -O2

Re: SIGBUS on octeon for my program

2019-11-27 Thread Janne Johansson
There was a fix recently for the stack getting unaligned committed just recently, do you have that? If not, test on current. Den ons 27 nov. 2019 kl 14:48 skrev Peter J. Philipp : > Hi, > > My DNS program gets a SIGBUS when I execute it. I have ktraced it, upped > limits and searched in the

Re: Following patch or stable branch on Octeon

2019-12-22 Thread Janne Johansson
> > I was under impression that original octeon > (mips64) packages were built on SGI hardware which is no longer > supported so I was curios about new build machines. I am fully aware > that mips64 packages are available for 6.6 even though I try to stick > for most part with tools from the

Re: bad ip cksum 0! -> in enc interface

2020-02-05 Thread Janne Johansson
Den ons 5 feb. 2020 kl 21:01 skrev Riccardo Giuntoli : > If i sniff traffic over enc0 interface I found a strange error about ip > chksum: > > (DF) (ttl 63, id 43164, len 52) (DF) (ttl 64, id 18753, len 72, bad ip > cksum 0! -> c48a) > This is the error as you can review. > > I cannot find

Re: Process Isolation

2020-02-06 Thread Janne Johansson
Den tors 6 feb. 2020 kl 10:22 skrev Charlie Burnett : > Sorry if this has been answered before but I couldn't find a satisfactory > answer searching for it, and this is more of an academic question. So > security focused Linux distros like Qubes go to extremes to > compartmentalize/isolate any

Re: bad ip cksum 0! -> in enc interface

2020-02-06 Thread Janne Johansson
Den ons 5 feb. 2020 kl 21:01 skrev Riccardo Giuntoli : > I'm setting up a roadwarrior type ikev2 secure connection from .es to .uk. > root@ganesha:/etc# cat hostname.enc0 > > root@smigol:/etc# cat hostname.enc0 > inet 172.16.44.2/32 > up > Why are you setting up hostname.enc0? What guide is

Re: FreeBSD daemon(8)-like command for OpenBSD

2020-01-31 Thread Janne Johansson
Den fre 31 jan. 2020 kl 11:48 skrev Andrew Easton : > On Fri, Jan 31, 2020 at 10:47:17AM +0100, Patrick Kristiansen wrote: > > On Fri, Jan 31, 2020, at 09:29, Janne Johansson wrote: > > > Den tors 30 jan. 2020 kl 21:08 skrev Patrick Kristiansen < > patr...@tamstrup.

Re: FreeBSD daemon(8)-like command for OpenBSD

2020-01-31 Thread Janne Johansson
Den tors 30 jan. 2020 kl 21:08 skrev Patrick Kristiansen < patr...@tamstrup.dk>: > > Properly starting up a daemon process requires several steps, often > > involving unveil(2), pledge(2), chroot(2), prviledge dropping, > > sometimes fork+exec for privilege separation, and so on > > The process I

Re: How to hide my server's IP?

2020-02-03 Thread Janne Johansson
> > Not sure I understand the whole hierarchy and flatness analogy, I'm very > new to all of this, but what do I tell those who claim that this leaking of > the IP poses a security risk and that they therefore should go with FreeBSD > jails instead? > Use a VM if you need to win over "checkboxing

Re: How to hide my server's IP?

2020-02-03 Thread Janne Johansson
Den mån 3 feb. 2020 kl 07:18 skrev Frank Beuth : > Otherwise it would be possible for an attacker to, for example, hack > your webapp to have it phone home to some external server controlled by > the attacker. ..and in the request logs see where the request comes from so this information is

Re: VLAN or aliases or? best way to isolate untrustable hosts in a small network

2020-02-05 Thread Janne Johansson
Den ons 5 feb. 2020 kl 13:07 skrev Denis : > I've made two VLANs to automatically assign random IPs from a pool by > dhcpd: > [...] > # /etc/hostname.vlan101 > description 'WLAN attached untrusted hosts' > inet 192.168.156.0/24 255.255.255.0 vlandev run0 > VLANs and wifi sounds like a

Re: IPsec and MTU / fragmentation

2020-02-11 Thread Janne Johansson
Den tis 11 feb. 2020 kl 10:25 skrev Simen Stavdal : > tunnel will be able to fragment all incoming ip before sending it into the > ipsec, which will not fragment for you. > The clients will not have to change, nor any other protocol that sends ip > via the double-tunnel.> > > If a client and a

Re: IPsec and MTU / fragmentation

2020-02-10 Thread Janne Johansson
Den mån 10 feb. 2020 kl 20:53 skrev Simen Stavdal : > I think the more complete solution is to run some gif/gre inside ipsec and >> set low-enough MTU on that one, so it can correctly fragment incoming >> packets, and optionally rebuild the packets at the remote end, while also >> giving you an

Re: IPsec and MTU / fragmentation

2020-02-10 Thread Janne Johansson
Den mån 10 feb. 2020 kl 18:18 skrev Peter Müller : > Hello Lucas, > as far as I understood, setting MTU on encN interfaces is not supported > since it is not mentioned by enc(4) and setting it manually fails: > > > machine# ifconfig enc0 mtu 1500 > > ifconfig: SIOCSIFMTU: Inappropriate ioctl for

Re: IPsec and MTU / fragmentation

2020-02-10 Thread Janne Johansson
Den mån 10 feb. 2020 kl 11:58 skrev Simen Stavdal : > Hi Lucas, > Have you tried to manipulate the mss during conversation setup? > This is done with the max-mss directive in pf.conf. > Basically, it takes the three way handshake, and overrides the MSS value in > the handshake to something lower

Re: strange dmesg

2020-02-10 Thread Janne Johansson
Den lör 8 feb. 2020 kl 11:31 skrev : > Hi, > I have some strange output from dmesg, what could be ? > At the follwoing link I've posted some screenshots: > https://postimg.cc/gallery/1o4wsaw74/ > dmesg is contained in a memory buffer with (hopefully) room for more than one dmesg, so you can get

Re: IPsec and MTU / fragmentation

2020-02-10 Thread Janne Johansson
Den mån 10 feb. 2020 kl 12:15 skrev Simen Stavdal : > True, but issue was related to downloading over http, which is over tcp. > So, if http is your only concern I would go for this option. > To me, it sounds just a bit like "let this person notice the other errors later". > Most clients are

Re: IPsec and MTU / fragmentation

2020-02-10 Thread Janne Johansson
Den mån 10 feb. 2020 kl 16:27 skrev Simen Stavdal : > This is more a discussion about scalability and practical implementation. > We both know that PMTU will work partly at best, your entire path back > must support this, and also, the "offending" client must allow inbound > control messages on

Re: Awaiting a diff [was: Re: File systems...]

2020-01-09 Thread Janne Johansson
Den tors 9 jan. 2020 kl 02:11 skrev Ingo Schwarze : > > Are you aware that even Bob Beck@ is seriously scared of some > parts of our file system code, and of touching some parts of it? > Yes, this Bob Beck, who isn't really all that easily scared: > > https://www.youtube.com/watch?v=GnBbhXBDmwU

Re: Awaiting a diff [was: Re: File systems...]

2020-01-10 Thread Janne Johansson
Den fre 10 jan. 2020 kl 10:55 skrev Consus : > On 20:06 Thu 09 Jan, Marc Espie wrote: > > It's been that way for ages. But no-one volunteered > > to work on this. > > Anyone even knows about this? Aside from OpenBSD developers (who have > their plates full already) how an average person can find

Re: Compiler warning in ctype.h

2020-03-09 Thread Janne Johansson
Den fre 6 mars 2020 kl 12:29 skrev Thomas de Grivel : > Hello, > > I was using base gcc but switching to base clang fixes the warnings on > -current at least. > Is base gcc not supported anymore ? > I think you are supposed to use whatever gets used when you call "cc" on the OpenBSD platform you

Re: S3 Virge support on IBM T23 for 6.6

2020-04-16 Thread Janne Johansson
Den ons 15 apr. 2020 kl 23:29 skrev Paolo Aglialoro : > Is this a hint that soon i386 architecture will be deprecated? > Considering that supported hw (at least graphics) is going more and more to > overlap with amd64, at the very end i386 would remain only for some > routerboards. > i386 has

Re: List a package's dependencies

2020-04-20 Thread Janne Johansson
Den mån 20 apr. 2020 kl 15:08 skrev Marc Espie : > On Sun, Apr 19, 2020 at 04:36:48PM +0200, Ingo Schwarze wrote: > > Part of that is due to the unavoidable complexity > > of the system. Other parts may be influenced by the fact that > > espie@ is not tedu@. > > I don't think tedu would do much

Re: S3 Virge support on IBM T23 for 6.6

2020-04-17 Thread Janne Johansson
Den tors 16 apr. 2020 kl 18:24 skrev Paolo Aglialoro : > Thanks Janne for the tech insight. > So, but for routerboards/CLI boxen, considering that this recent move > hinders GUI for most P3s, the really viable ones remain P3s/K7s with > different graphics boards (mostly desktop/tower) and early

Re: Regarding randomized times in crontab

2020-04-17 Thread Janne Johansson
Den tors 16 apr. 2020 kl 20:22 skrev Andreas Kusalananda Kähäri < andreas.kah...@abc.se>: > On Thu, Apr 16, 2020 at 11:14:59AM -0600, Theo de Raadt wrote: > > That is a lot of words to cover a simple concept: > > > > The specific random values are selected when cron(5) loads > > the crontab file.

Re: socket I/O on openbsd

2020-04-22 Thread Janne Johansson
You're still not telling what it is, where it came from, what it does. Noone here can mind read you. We will not admit we can see what is on your monitor, so .. step up to the challenge and show your work. https://i.imgur.com/ArfmbAf.gif Den ons 22 apr. 2020 kl 08:09 skrev Gustavo Rios : >

Re: fw_update verify firmware?

2020-05-14 Thread Janne Johansson
Den tors 14 maj 2020 kl 06:27 skrev Mogens Jensen < mogens-jen...@protonmail.com>: > Normally I would just assume that fetched files are verified, but maybe > in the case with fw_update, the rationale is that firmware files are > binary blobs so we can't know if they are malicious anyway,

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Janne Johansson
Den tors 3 sep. 2020 kl 14:55 skrev Ernest Stewart < erneststewar...@hotmail.com>: > I was actually wondering about using netmask 0x for the external > interface. As you noted, they are different networks, I just wanted to be > able to use any 192.168/16 ip address in the internal network

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Janne Johansson
Den tors 3 sep. 2020 kl 17:01 skrev Ernest Stewart < erneststewar...@hotmail.com>: > I forgot to say, in every computer I have /etc/sysctl.conf with > "net.inet.ip.forwarding=1". > > And I insist, what shocks me the most is that tcpdump shows in both > computers the right icmp packets but ping

Re: Routing and forwarding: directly connected computers

2020-09-03 Thread Janne Johansson
Den tors 3 sep. 2020 kl 11:39 skrev Ernest Stewart < erneststewar...@hotmail.com>: > I have a local network with 5 computers: > > computer1) > /etc/hostname.re0: 192.168.1.10 0xff00 > Different netmask here? > /etc/hostname.re1: 192.168.2.11 0x > /etc/hostname.re2: 192.168.2.12

Re: Microsoft's war on plain text email in open source

2020-08-27 Thread Janne Johansson
Den ons 26 aug. 2020 kl 21:17 skrev Mike Hammett : > Text-only was great in 1985. > Mike Hammett > Intelligent Computing Solutions > Midwest Internet Exchange > The Brothers WISP > Being able to publish and/or send a really small file from computer A to computer B unchanged in this day and age

Re: OpenBSD 6.7 and ffs2 FAQs

2020-05-27 Thread Janne Johansson
Den tors 28 maj 2020 kl 07:51 skrev Matthias : > On a fresh 6.7 installation, mount(8) shows 'type ffs'. Is there any way > to figure out the version number? > > https://undeadly.org/cgi?action=article;sid=20200326083657 -- May the most significant bit of your life be positive.

Re: Filling a 4TB Disk with Random Data

2020-06-01 Thread Janne Johansson
Den mån 1 juni 2020 kl 16:01 skrev Justin Noor : > Hi Misc, > Has anyone ever filled a 4TB disk with random data and/or zeros with > OpenBSD? > How long did it take? What did you use (dd, openssl)? Can you share the > command that you used? > My /dev/random on decent x86_64 give out more or less

Re: dhcpd synchronization: leases recovery after downtime

2020-07-19 Thread Janne Johansson
Den lör 18 juli 2020 kl 23:28 skrev Guy Godfroy : > Hello, > > I am using two routers on OpenBSD (called mulder and scully), and I wish > to make dhcpd listen on a carp interface between both of them. I am > using the synchronization mechanism: > I noticed the same issue long time ago, but

Re: Should/will OpenBSD support ODROID-C4 board? (ARM A55)

2020-08-06 Thread Janne Johansson
Den tors 6 aug. 2020 kl 18:40 skrev : > Hardkernel, a Korean company, make an alternative to the Raspberry Pi, the > latest being the 'Odroid C4', CPU manufactured by Amlogic (American). > I owned an ODROID board in the past and was impressed with the hardware. > However, the software support for

Re: Adding more syspatch platform.

2020-08-13 Thread Janne Johansson
Den ons 12 aug. 2020 kl 00:50 skrev Predrag Punosevac : > Theo de Raadt wrote: > > No, it is a question of which additional platform, you avoided that > > didn't you > > octeon is the only one I can think of. > I would volunteer doing the work and dedicating two octeons of mine for building

Re: static IPv6 setup is not working stable

2020-08-06 Thread Janne Johansson
I have a setup where the virtualization (KVM) combined with the networking does present a IPv6 def-gw as both an fe80:: and the more normal 2001:a:b:c:d::1/64 and where the 2001-v6 ip works far better on virtual machines due to redundancy mac sync things on the network side, and since the ndp list

Re: static IPv6 setup is not working stable

2020-08-06 Thread Janne Johansson
; > > > On 06 Aug 2020, at 15:51, Janne Johansson wrote: > > > > I have a setup where the virtualization (KVM) combined with the > networking does present a IPv6 def-gw as both an fe80:: here> and the more normal 2001:a:b:c:d::1/64 and where the 2001-v6 ip works > fa

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Janne Johansson
Den ons 17 juni 2020 kl 17:04 skrev Marc Espie : > > > > > > The concept you need to understand is snapshot shearing. > > > > > A full package snapshot is large enough that it's hard to > guarantee that > > > > > you will have a full snapshot on a mirror at any point in time. > > > > > In fact,

Re: Filling a 4TB Disk with Random Data

2020-06-05 Thread Janne Johansson
Den fre 5 juni 2020 kl 09:23 skrev Roderick : > Is not there a SCSI command "sanitize" for that? > Can be issued with OpenBSD? > Perhaps his disc supports it. > Then again, if you count how many hours it will take to securely erase a disk, one might doubt the option of "just run this command and

Re: pf filtering on bridge totally blown my mind

2020-11-27 Thread Janne Johansson
Den fre 27 nov. 2020 kl 10:08 skrev kasak : > Mine configuration requires to use a brigde: > I have files: > > gater:~$ doas pfctl -sr > block return all > pass all flags S/SA > block drop in on em0 all > pass out on em0 inet from 172.16.0.0/12 to any flags S/SA nat-to > 212.233.112.10 > pass

Re: support new

2020-12-09 Thread Janne Johansson
There is some, "We offer the server management service. We work on the deployment and management of servers with open source technologies such as CentOS, Debian, FreeBSD, OpenBSD and Ubuntu Server." Den ons 9 dec. 2020 kl 13:03 skrev Ingo Schwarze : > Hi, > > AMG Labs wrote on Tue, Dec 08, 2020

Re: PayPal pool for developer M1 Mac mini for OpenBSD port

2020-12-03 Thread Janne Johansson
Den tors 3 dec. 2020 kl 02:21 skrev Mihai Popescu : > I have only good wishes for the project, but I still don't get one thing: > why do some people start to behave oddly whenever Apple comes into > discussion. > It could also be that if it becomes operable, it is quite a useful machine, whereas

Re: support new

2020-12-14 Thread Janne Johansson
Hint to Ingo, the "vpn" section. ;) Den mån 14 dec. 2020 kl 15:15 skrev porte, su : > 0 > C Brazil > P Ceará > T FORTALEZA > Z 60410442 > O MDFSoftware > I Oliveira Filho, D. A. > A Av. Eduardo Girão 355 > M supo...@mdfsoftware.com.br > U http://www.mdfsoftware.com.br/ > B +55-85-9-89739017 >

Re: www.openbsd.org unreachable for a few days

2020-12-15 Thread Janne Johansson
Den tis 15 dec. 2020 kl 13:00 skrev Ottavio Caruso < ottavio2006-usenet2...@yahoo.com>: > Hi, > I asked on Freenode#OpenBSD and apparently it's only me, but I haven't > been able to access www.openbsd.org for a few days. > > $ traceroute 129.128.5.194 > traceroute to 129.128.5.194

Re: openssl s_client gives "called a function you should not call"

2020-11-12 Thread Janne Johansson
Den tors 12 nov. 2020 kl 22:15 skrev Paul de Weerd : > While trying to debug my smtpd setup, I got the error "called a > function you should not call" from openssl s_client: > > $ openssl s_client -starttls smtp -connect localhost:587 > > EHLO > > RCPT TO: > RENEGOTIATING > > Is this

Re: gcc: error trying to exec 'cc1': execvp: no such file or directory

2020-11-20 Thread Janne Johansson
Den fre 20 nov. 2020 kl 15:09 skrev Roderick : > > obsolete even on your 6.7 install.. i386 has been a default clang arch > > since OpenBSD /6.2/. > > Clang was default, gcc may be obsolete, but /usr/bin/gcc is till now > there, broken. In the upgrade instructions is not mentioned to delete > it:

Re: Set environment variable for non-interactive shell

2020-11-06 Thread Janne Johansson
Check init files in /etc, and not only those for csh, since that is not default for all users. The manpage for the shell would be a good place to learn which global configuration files are run. Den fre 6 nov. 2020 kl 12:27 skrev Kirill Peskov : > Hi All, > > I'm currently trying to figure out,

Re: Bootable USB stick using dd on OpenBSD

2021-01-26 Thread Janne Johansson
Den tis 26 jan. 2021 kl 14:11 skrev Ivan : > I wonder why I have to make of=... being equal to some partition instead of > the whole memstick? > Why does man page example tells to use of=/dev/rsd1c but not of=/dev/rsd1? > And why does it use exactly 'c' partition but not 'a', does that matter?

Re: OpenBSD 6.9 ports upgrade failures

2021-05-12 Thread Janne Johansson
Den ons 12 maj 2021 kl 11:29 skrev Артём Мазуров : > Hello. > I'm trying to upgrade ports after upgrading os to 6.9, but I get a lot > >|library ssl.48.2 not found > >| /usr/lib/libssl.so.48.1 (system): minor is too small > >| /usr/lib/libssl.so.49.0 (system): bad major This usually means the

Re: amd and 2GB limit

2021-07-03 Thread Janne Johansson
Could be amd(8) and nfsv2 limits too.. Den lör 3 juli 2021 11:23Stuart Longland skrev: > On Sat, 3 Jul 2021 01:28:17 -0300 > Gustavo Rios wrote: > > > Is there this limit yet in amd ? > > … on AMD64? > … on RAM? > … on disk? > Maximum or minimum? > > I've got an AMD64 machine here that's got

Re: Remote wipe software

2021-04-27 Thread Janne Johansson
Den tis 27 apr. 2021 kl 11:44 skrev Oliver Leaver-Smith : > Hello misc@ > I wonder if anyone could recommend remote wipe software for OpenBSD, should > someone want to start using it in an enterprise setting where such features > are a requirement? > Thanks in advance, Regardless of OS, the

Re: Default partitions allocate only 1GB to /

2021-02-28 Thread Janne Johansson
Den sön 28 feb. 2021 kl 14:51 skrev : > I deleted the file and `pkg_add libreoffice` worked as expected. > Post-install I still have 746MB free in /, according to `df -h`. > > This makes little sense to me. Why should deleting a 20MB file on a > filesystem with >700MB free space be sufficient for

Re: Technical Documentation - CARP

2021-04-13 Thread Janne Johansson
Den tis 13 apr. 2021 kl 10:29 skrev jannick Weiss : > Hello,my name is Jannick Weiss and i am currently in the process of taking > my education as a datatechnician. As part of my education i have to do a > presentation on a self-elected subject and i have chosen to talk about CARP. > > It is my

Re: How does bsd.upgrade work?

2021-10-21 Thread Janne Johansson
https://marc.info/?l=openbsd-tech=138829898720574=2 and https://marc.info/?l=openbsd-tech=139013674405106=2 might help. Den tors 21 okt. 2021 kl 14:26 skrev Raul Miller : > > A couple minutes of looking things up suggest > https://marc.info/?l=openbsd-tech=141807224826859 as a plausible >

Re: How does bsd.upgrade work?

2021-10-17 Thread Janne Johansson
> >For an unusual setup you may need to look into how the > >install/upgrade script works, see /usr/src/distrib/miniroot. > > /usr/src/ is empty on my machine. > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/ helps with that, if you don't want to install sources but still need to see them. --

Re: Question about cryptography software compatibility on OpenBSD

2021-10-15 Thread Janne Johansson
Den fre 15 okt. 2021 kl 11:01 skrev soko.tica : > Hello list, > I have a question about cryptography software compatibility on OpenBSD. > I have a wild guess about the answer, but I need it to be more reliable. > The target audience are lawyers, since I want to launch a legal battle in Then you

Re: Question about cryptography software compatibility on OpenBSD

2021-10-15 Thread Janne Johansson
> > > 3) Providers of public digital signatures offer software (a > > > one-size-fits-all Java “blob”) that should add cryptography capabilities > > to > > > the operating system. > > > > This is important. Thank you. Let me rephrase my wild guess: > > 3.1) An OS (OpenBSD or other) may have

Re: Kernel dump and secure boot with KARL

2021-10-04 Thread Janne Johansson
Den tis 5 okt. 2021 kl 06:35 skrev Arka Sharma : > Also suppose we have a crash and dump is generated, how does KARL impact > gdb when the core file is opened ? It would not affect this at all. It is exactly as hard or as easy to debug a core file from something compiled with cc -o bsd obj1.o

Re: how to recover a corrupted disk

2021-12-01 Thread Janne Johansson
Den ons 1 dec. 2021 kl 09:12 skrev Sandeep Gupta : > I am running OpenBSD 7.0 on RPi4. I accidentally removed the usb > cable connecting the sata ssd to the RPi4. > Well OpenBSD froze and upon reboot I got the very comforting > Synchronous Exception message. > Thankfully, I have another RPi4

Re: how to recover a corrupted disk

2021-12-01 Thread Janne Johansson
Den ons 1 dec. 2021 kl 11:09 skrev Sandeep Gupta : > @Peter, @Janne: Thanks for the infos. Newfs seemed promising but it > seems like the disk is beyond repair :(. > I did newfs -N and got quite a few location of superblocks: > Then I tried > fsck_ffs -b #blockid /dev/rsd1c You should *NOT* newfs

Re: Are there any OpenBSD Kernel/Architecture Books?

2021-12-20 Thread Janne Johansson
Den tis 21 dec. 2021 kl 02:14 skrev Thomas Windisch : > What resources would be a good primer on the OpenBSD kernel and general > architecture and give me a good understanding of the internals? > > FreeBSD has this: > >

Re: running a process under nologin user

2021-11-21 Thread Janne Johansson
Den mån 22 nov. 2021 kl 06:27 skrev Sandeep Gupta : > The httpd server runs under user www. In my web deployment setup, the > httpd server communicates over uWSGI/gunicorn server over unix domain > sockets. > I am not able to launch uwsgi (or gunicorn) server under www user. > The command > "doas

Re: disk i/o test

2022-03-06 Thread Janne Johansson
Den sön 6 mars 2022 kl 16:41 skrev Mihai Popescu : > > Since this thread is moving slowly in another direction, let me True > reiterate my situation again: I am running a browser (mostly chromium) > and the computer slows down on downloads. Since I've checked the > downloads rates, I observed

Re: Cannot pass the OpenBSD bridge.

2022-03-11 Thread Janne Johansson
Den fre 11 mars 2022 kl 10:23 skrev T K : > Hi list > Please forgive me my incompetence, but I have no further idea > how to manage setup I try to arrange. > I have fujitsu futro box with 2 ethetnet cards, OpenBSD 7.0. > I would like to set that box up as a filtering bridge. > I guess it is quite

Re: boot and ddb

2022-03-10 Thread Janne Johansson
Den tors 10 mars 2022 kl 09:57 skrev rtw0 dtw0 : > Hi, > (reboot) after install opens dbb > showing UID 0 as loading is halted. > > Where may I find info for debugging with ddb? http://man.openbsd.org/crash and https://www.openbsd.org/ddb.html might be of some help to get started,

Re: who is writing to a deleted file?

2022-03-18 Thread Janne Johansson
Den fre 18 mars 2022 kl 16:29 skrev Harald Dunkel : > something on my gateway (7.0) is hiding disk space, AFAICS: > > # du -hs / > 3.4G/ > # df -h / > Filesystem SizeUsed Avail Capacity Mounted on > /dev/sd0a 31.5G5.6G 24.3G19%

Re: disk i/o test

2022-03-03 Thread Janne Johansson
Den tors 3 mars 2022 kl 14:02 skrev Mihai Popescu : > I am trying to test some disk i/o speeds and I am stumbled on two questions: > 1. Does it matter if I set in BIOS Legacy or AHCI for the drive, > regarding the read/write performance? Probably yes. AHCI will be better if it works. > 2. Can

Re: disk i/o test

2022-03-03 Thread Janne Johansson
Den tors 3 mars 2022 kl 18:10 skrev Mihai Popescu : > > > https://openports.pl/path/benchmarks/fio > > To test perf on many small IO (measuring iops basically) run: > > > > fio --name=random-write --rw=write --bs=4k --numjobs=2 --size=1g > > --iodepth=16 --runtime=60 --time_based --end_fsync=1 >

Re: openbsd, softraid recovery (I have password)

2022-04-03 Thread Janne Johansson
Den sön 3 apr. 2022 kl 15:58 skrev harold : For anyone else that wants to experiment with dual/triple-booting: > I lost data due to misunderstanding > I tell you more : > a/ I had windows and linux mint 18 (gpt/efi) > b/ I add openbsd to these double systems. Now three. Grub2 manages it. [

Re: How to track system changes?

2022-04-05 Thread Janne Johansson
Den tis 5 apr. 2022 kl 03:20 skrev Eric Thomas : > Very valuable insights. That’s a great idea. > The rysnc script was ksh/bash or cron? Ideally I’d like to use Python to > tackle something like this but I’m not against learning shell. Sounds a lot like rsnapshot (available in ports), the end

Re: BOGUS behavior on 6.9 Spark vs. 6.9 amd64

2022-04-05 Thread Janne Johansson
Den tis 5 apr. 2022 kl 13:46 skrev Duncan Patton a Campbell : > I have 6.9 installed on an amd64 and a sparc64. On the amd tar/gzip etc. > work as > always, producing .gz files that can be uncompressed with gunzip. > > But on the sparc64, things go sideways. Instead of calling the gzip it is >

Re: Cross-build ARM64 on AMD64. Any starting pointers?

2022-03-25 Thread Janne Johansson
Den fre 25 mars 2022 kl 09:23 skrev Slava Voronzoff : > Hello, I want to build ARM64 on my OpenBSD/amd64 machine. Any suggestions > on there to start with? I spent some time in qemu-aarch64, but while it is > working it is obviously pretty slow. http://www.openbsd.org/faq/faq5.html search for

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Janne Johansson
Aren't they under images/ ? Den tors 10 feb. 2022 17:53Marc Espie skrev: > On Thu, Feb 10, 2022 at 11:25:40AM -0500, Nick Holland wrote: > > On 2/10/22 6:34 AM, Kacper Wilgus wrote: > > > I tried to download some artwork from these pages: > > > > > > https://www.openbsd.org/art1.html > > >

Re: IKEV2 two devices can connect but only one can make traffic

2022-04-12 Thread Janne Johansson
Den tis 12 apr. 2022 kl 15:30 skrev Łukasz Moskała : > I remember talking with network engineer at one company I used to work at. > We used fortigate firewalls, and I asked why are we using SSLVPN instead of > ipsec-based vpn, as both were supported. > He said something along the lines of "ipsec

Re: pf documentation

2022-04-07 Thread Janne Johansson
Den tors 7 apr. 2022 kl 11:12 skrev Steve Litt : > > Hi all, > > I need some easy beginner's pf documentation as well as some > intermediate pf documentation. I plan to make an OpenBSD/pf firewall. I > haven't done this in ten years, and imagine pf and the process of > turning OpenBSD into a

Re: desire for journaled filesystem

2023-09-06 Thread Janne Johansson
Den tis 5 sep. 2023 kl 20:53 skrev John Holland : > > I have a backup that is at least 2 days old offsite at a friend’s house. It > would be a bit of a pain to go retrieve it, but I could do that. > > Short of that, I have 4000+ files in lost+found with names like #1094827. > What can I do with

Re: desire for journaled filesystem

2023-09-08 Thread Janne Johansson
Den fre 8 sep. 2023 kl 03:47 skrev Steve Litt : > > My main computer is Void Linux. If I had to restore from backup every > time the disks became mildly messed up, all my time would be spent > backing up and restoring. > > I remember back in the 90's and early 00's before journalling every >

Re: Bind address for wireguard

2023-08-29 Thread Janne Johansson
Den tis 29 aug. 2023 kl 17:10 skrev Samuel Jayden : > Is it possible to bind source address on wireguard as the source address of > the connection? > Thanks. There isn't such an option now, outgoing udp will choose the interface which currently is deemed "best" on which the destination IP can be

Re: reorder_kernel: failed

2023-10-17 Thread Janne Johansson
Den tis 17 okt. 2023 kl 16:49 skrev Karel Lucas : > Hi all, > > After a new installation of openBSD 7.4 I received the following > message: "reorder_kernel: failed -- see > /usr/share/relink/kernel/GENERIC.MP/relink.log". That turns out to be a > zlib compressed data file, and I don't know how to

Re: What could cause high CPU load averages (no actual CPU usage)?

2023-10-25 Thread Janne Johansson
> > > I process that is started every 5 seconds and exits after 10ms > > computation can cause the load to go up by 1. It just matters if it runs > > during the sampling time or not. This is why the load avarage is not > > accurate, it is an indication and if the value is below the number of >

Re: How to break and smash things

2023-10-26 Thread Janne Johansson
Den tors 26 okt. 2023 kl 07:51 skrev Maria Morisot : > But I really want to help the project. I like the idea of trying to break > things and get them to malfunction in order to expose bugs that have been > overlooked. > > I have a pretty good understanding of randomness and know about the >

Re: xfce

2023-10-25 Thread Janne Johansson
Den ons 25 okt. 2023 kl 13:22 skrev Maria Morisot : > I know for a fact that something is broken in either xenocara or the main > system, I can reproduce a kernel panic by running xfce, I've enountered it > many times. But I don't know how to trap it before it faults in order to > see what is

Re: OpenBSD Wireguard implementation not copying ToS from inner to outer WG header

2023-09-19 Thread Janne Johansson
Den sön 17 sep. 2023 kl 09:19 skrev Andrew Lemin : > Hi, > > I have been testing the Wireguard implementation on OpenBSD and noticed > that the ToS field is not being copied from the inner unencrypted header to > the outer Wireguard header, resulting in ALL packets going into the same PF > Prio /

Re: Speed: dump/restore vs rsync

2023-09-22 Thread Janne Johansson
Den fre 22 sep. 2023 kl 20:17 skrev vitmau...@gmail.com : > Hi, > > I used the command "cd /SRC && dump 0f - . | (cd /DST && restore -rf - )" > as suggested by the "Disk Setup" section of the FAQ to transfer everything > from one of my old hard disks to the one that should replace it. However, >

Re: OpenBSD 7.3 found a process with PID 0

2023-09-26 Thread Janne Johansson
> > How could be that there is a process with PID 0 before init? > Probably I'm missing something about OpenBSD core. > As for this small part of the mystery, even init starts out as a skeleton process created early by the kernel, which then does an exec() of /sbin/init so that whatever program

Re: groups new

2023-10-05 Thread Janne Johansson
Den tors 5 okt. 2023 kl 09:43 skrev Matti : > It's not official, and I am trying to gain visibility by having it on the > openbsd site. I am the first member. > Perhaps try to help getting the HelBUG restarted again, there should be some people there who like BSD. http://helbug.fi/

Re: Supporting the OpenBSD Project through a Registered Charity

2023-08-29 Thread Janne Johansson
Den tis 29 aug. 2023 kl 13:45 skrev Katherine Mcmillan : > I'm wondering if there are any registered charities (in Canada, or frankly, > any country!) dedicated to promoting/supporting OpenBSD? > https://www.openbsdfoundation.org/ -- May the most significant bit of your life be positive.

Re: OpenBSD and multitasking

2022-04-27 Thread Janne Johansson
Den tis 26 apr. 2022 kl 22:50 skrev Mihai Popescu : > $ time dd if=/dev/zero of=test10g.dat bs=1m count=10240 conv=fsync > 10737418240 bytes transferred in 260.289 secs (41251827 bytes/sec) > $ time dd if=/dev/zero of=test10g.dat bs=1m count=10240 conv=fsync > 10737418240 bytes transferred in

Re: shmmax

2023-11-10 Thread Janne Johansson
> As my system is still fast and running properly after this tweak I need > to ask if you think that sysupgrade requires or will (I doubt) any > special value for shmmax? If it required a special setting, it would set that special setting. -- May the most significant bit of your life be

Re: shmmax

2023-11-09 Thread Janne Johansson
> I'm here asking what > it is exactly the meaning for 'shared memory' here, and if implying > that it is eventually the max memory allocable to the graphic card is > correct. No. This is not related to graphics card memory -- May the most significant bit of your life be positive.

Re: Historical Reasons For Default NAT Source Port Modification

2022-05-16 Thread Janne Johansson
Den mån 16 maj 2022 kl 10:35 skrev Elias Carter : > OpenBSD/PF defaults to randomizing the source port whereas > Linux/IPTables defaults to trying to keep the source port. > > I have found that preserving the source port if possible works better > out of the box when hosting publicly accessable

Re: best place to put export variables

2022-05-19 Thread Janne Johansson
> > I want to export XDG_CACHE_HOME variable used by Xorg. > > What is the best place (file or ?) to export this variable? > > I remember i used some file to export a long time ago PS1 variable. > > Should I use ~/.login file or is it a better way to export this xorg > > variable? > Everywhere

<    1   2   3   4   5   6   >