Re: smtpd outgoing mail configuration

2024-05-17 Thread Janne Johansson
Den fre 17 maj 2024 kl 08:56 skrev Pascal Deveaux : > > The command > # chown root:_smtpd /etc/mail/secrets > Return : group smtpd doesn't exist The error message doesn't match the command at all, and the _smtpd group has been in the group file for some 15 years. Look for misspellings somewhere.

Re: What software to debugging and analyzing C?

2024-05-13 Thread Janne Johansson
> I found a YouTube channel LowLevelLearning that covers various > programming languages in a manner that I find particularly helpful and > clear. For example comparing C and assembly on the same code is superb. > > In a short, he recommended valgrind to help finding memory leaks. > Other than

Re: ubnt edgerouter 8

2024-04-30 Thread Janne Johansson
Den mån 29 apr. 2024 kl 17:35 skrev Daniel Gracia : > I replaced my 8 Pro fans with Noctua units and I'm pretty happy with them; > they came with several adapters that allow you to choose the speed of the > fans. For the record, I've also tried this and would recommend Noctua fans. They look as

Re: ubnt edgerouter 8

2024-04-29 Thread Janne Johansson
Den mån 29 apr. 2024 kl 15:41 skrev Peter J. Philipp : > > Hi, > > What sort of things can I do to keep an edgerouter 8 cool that doesn't have > fans? I'm ready to pull the fans out of it because they have a certain > harmonic that makes me physically ill. But I like the octeon! > > So short of

Re: No internet connection (firewall block)

2024-04-12 Thread Janne Johansson
Den fre 12 apr. 2024 kl 20:22 skrev Karel Lucas : > Traceroute still won't work. > Can > anyone give me some starting points here? Put "log" on all your block/pass rules, read the logs (man pflog for help) and see which rule the traceroute packets hit. Adapt and extend your pf.conf accordingly

Re: Ping blocked by firewall

2024-04-12 Thread Janne Johansson
Den fre 12 apr. 2024 kl 19:41 skrev Karel Lucas : > > Hi all, > > Ping only works partially. For example, this works: ping -c 10 > 195.121.1.34. But this doesn't work: ping -c 10 www.apple.com. I suspect > this has to do with DNS servers, but I don't know where to start > troubleshooting. Can

Re: OpenBSD Errata: April 8, 2024 (xserver)

2024-04-04 Thread Janne Johansson
Den tors 4 apr. 2024 kl 07:31 skrev Mizsei Zoltán : > > The webpage https://www.openbsd.org/errata74.html > lists this like "016: SECURITY FIX: April 8, 2024 > " but according to my calendar today is 04.04. > Also it lists 7.5 as affected, but it doesnt even released yet, right? > Whats going on

Re: OPENVAS

2024-03-27 Thread Janne Johansson
> Hi ppl, I'trying to find out how to install OPENVAS in OpenBSD 7.4, not > to succeed yet...I've done it with no problems at all in FBSD...but I > can't get it done in OpenBSD...has anyone sucesfully installed Openvas? > If so...How? Is there any manual/howto? Hint for asking for help: 1. What

Re: Disk encryption cipher

2024-03-05 Thread Janne Johansson
Den ons 6 mars 2024 kl 07:17 skrev ofthecentury : > > Hi. I cannot find what cipher is used for full > disk encryption on OpenBSD. I saw a mention > of salting too, but really no specifics on what > the encryption algorithm is. Is there somewhere > I can read about it? And really, what is the

Re: can't find PID

2024-03-05 Thread Janne Johansson
Den tis 5 mars 2024 kl 14:35 skrev ofthecentury : > > Hi, I'm on a fresh install of OpenBSD 7.4. > I am watching output of tcpdump and > seeing some drops that all reference > UID 0, pid 6504. I cannot find that PID > among running processes. Does anyone > know what is that process and why it's >

Re: MCU recommendations to program on OpenBSD?

2024-03-03 Thread Janne Johansson
Den sön 3 mars 2024 10:14Sadeep Madurange skrev: > Hello,24 > > I recently switched to OpenBSD and love every bit of it. > > Most of what I do on my workstation is programming MCUs like ESP8266 and > ESP32. However, Espressif toolchain is not OpenBSD friendly. So, I'm > planning to change the

Re: mirror.bytemark.co.uk appears to have removed all OpenBSD content?

2024-02-28 Thread Janne Johansson
> > >> Just been to upgrade a rather old system I keep OpenBSD on for fun all > > >> the way up from 6.9, and found bytemark no longer seem to be hosting > > >> any OpenBSD content. > > > > > > That's why they have been removed from the mirrors list since 2022. > > > > Oh hmm, seems I readded them

Re: mirror.bytemark.co.uk appears to have removed all OpenBSD content?

2024-02-27 Thread Janne Johansson
Den tis 27 feb. 2024 kl 17:42 skrev Kirill A. Korinsky : > > On Tue, 27 Feb 2024 14:59:32 +0100, > Kenneth Gober wrote: > > > > Slightly off topic, but does anyone know of any archives that have > > packages for 3.0, 3.1, 3.2, and/or 3.3? Especially 3.0 -- the only > > site I've ever found with

Re: Single partition fs layout

2024-02-13 Thread Janne Johansson
Den tis 13 feb. 2024 kl 13:40 skrev Odhiambo Washington : > > Is there a disadvantage to having this layout style where everything is on > 1 partition? A few. The partitioning scheme allow certain parts of the filesystem to have different permissions, /dev/sd1a on / type ffs (local) /dev/sd1e on

Re: Improve support of Go

2024-02-13 Thread Janne Johansson
> Good day, > > I'm updating go's syscall table to modern OpenBSD (7.4). > For some architectures it was updated more than decade ago, and a lot of > things > had changed. > To do it I need to run commands like: > > cd src > ulimit -S -d $(ulimit -H -d) > env CGO_ENABLED=1 CC=cc CXX=c++

Re: OT: SSH3 proposal

2024-02-05 Thread Janne Johansson
Den mån 5 feb. 2024 kl 08:28 skrev Carlos Lopez : > Hi all, > https://blog.apnic.net/2024/02/02/towards-ssh3-how-http-3-improves-secure-shells/ > > Uhmm ... ssh over http/3? What do you think about it? The concept of using udp (like wireguard and mosh) to get mobility between networks seems nice,

Re: X11 Configuration for AMD RX 6600

2024-01-22 Thread Janne Johansson
Perhaps it would be easier for someone to help you if you do as this page suggests: https://www.openbsd.org/report.html Den mån 22 jan. 2024 kl 15:24 skrev : > > Hi, I'm trying to get my RX 6600 to work under OpenBSD, and am failing > miserably. > No matter what I put into /etc/X11/xorg.conf,

Re: socket core

2024-01-15 Thread Janne Johansson
Den tis 16 jan. 2024 kl 01:16 skrev Gustavo Rios : > Hi folks. > I have a simple question : How many cores does OBSD support ? amd64 says #define MAXCPUS 64 /* bitmask */ but different arches have different limits. i386 has 32, ppc64 has 48, sparc64 has 256, HP/PA has 4 and so on.

Re: Run VM with 16G or more?

2024-01-01 Thread Janne Johansson
Den mån 1 jan. 2024 kl 21:44 skrev Kirill A. Korinsky : > > Greetings, > How can I run a VM with more than 16G of memory? > A naive approach fails with error: > > vmctl: start vm command failed: Cannot allocate memory > > Yes, the host machine has that memory and much more. Check datasize in

Re: Bridging firewall and ntpd

2023-12-20 Thread Janne Johansson
Den tis 19 dec. 2023 kl 23:57 skrev Karel Lucas : > > Hi all, > > I am creating a bridging firewall, and am wondering if it is possible to > use the ntp daemon to ensure that all log files are timed correctly. Is > there a way to achieve that despite the fact that the network > connections do not

Re: gre over carp

2023-12-13 Thread Janne Johansson
Den ons 13 dec. 2023 kl 04:15 skrev All : > > >I'd like to add sasyncd in the mix and a 2nd router for higher > availability. > Don't do it. sasyncd is known not to work properly in failover scenarios. > When I ran it it did work fine for the first fail-over, but seldom (or perhaps never?) on

Re: OBS-Studio 26.1.0 and later

2023-12-13 Thread Janne Johansson
Den ons 13 dec. 2023 kl 03:17 skrev hammer2_zfs : > >OBS-Studio has never been in the ports tree. You must have been using a > >third party build or self-built binaries. > > Maybe, OpenBSD 7.1/snapshots packages have OBS-Studio 26.1.0. >

Re: OpenBSD on M1 Mac using VMware Fusion 13

2023-11-26 Thread Janne Johansson
Den sön 26 nov. 2023 kl 09:03 skrev Tito Mari Francis Escaño : > > Hi misc, > I want to run OpenBSD on company issued M1 Mac through VMware Fusion 13, > for experiments and development. > I tried to use the ARM64 image but it does not seem to work, it's my first > time to use non-X86 machine.

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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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: IPsec over PPPoE

2023-06-28 Thread Janne Johansson
> > 5) There is note in FAQ, that Native WireGuard support is also > available. As both IPsec and WireGuard are new to me, may wg(4) be an > option? > Yes, it should be a good option for site2site tunnels. -- May the most significant bit of your life be positive.

Re: support update

2023-06-16 Thread Janne Johansson
Den fre 16 juni 2023 kl 04:46 skrev Duncan Hart : > M dun...@appliedopenbsd.com > U https://www.appliedopenbsd.com/ > www. doesn't resolve using many public resolvers (8.8.8.8, 1.1.1.1, 9.9.9.9) but it did resolve at 4.2.2.4 so there is something fishy going on there. The bare domain

Re: Setting up a Transparent Tor Proxy on OpenBSD 7.3 with pf(4)

2023-06-15 Thread Janne Johansson
> > > "pfctl -f /etc/pf.conf" does not spit out any warnings or errors either, > so I first assumed it would work just as flawlessly then, but apparently > it doesnt, because I cant ping any domain or wget any webpage, when I > If you add "log" rules to your pf.conf and the watch the pflog device

Re: tmux only possible as root and not as normal user in 7.3?

2023-06-09 Thread Janne Johansson
Den fre 9 juni 2023 kl 09:44 skrev sa...@sarag.net : > Ah, sorry, forgot to mention that: no, neither root nor user have any > config file, this is directly after fresh install, so system defaults > should have been used… > > >> I have three new installed machines, that show the same strange >

Re: Wg description ifconfig change removed -wgpsk in head?

2023-06-09 Thread Janne Johansson
> > Seems like it, > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c.diff?r1=1.464=1.465=h and this would add it back: Index: ifconfig.c === RCS file: /cvs/src/sbin/ifconfig/ifconfig.c,v retrieving revision

Re: Wg description ifconfig change removed -wgpsk in head?

2023-06-08 Thread Janne Johansson
Seems like it, http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin/ifconfig/ifconfig.c.diff?r1=1.464=1.465=h Den fre 9 juni 2023 kl 00:09 skrev Bradley Latus : > > Hi, > > > Looks like recent diff adding wgdesc accidentally removed -wgpsk entry. > > Noticed while looking over recent commits > > >

Re: support of thinkpad arm

2023-05-30 Thread Janne Johansson
> Hello > > I wish to know if the last thinkpad arm will be supported by openbsd > before buying one. > > here the computer: > https://www.lenovo.com/fr/fr/p/laptops/thinkpad/thinkpadx/thinkpad--x13s-(13-inch-snapdragon)/len101t0019 The commit history contains quite a lot of things related to

Re: Problem with WireGuard on OpenBSD 7.3

2023-05-04 Thread Janne Johansson
Den tors 4 maj 2023 kl 15:08 skrev Odd Martin Baanrud : > inet 10.0.6.1 0xfgffgf00 NONE up !/usrlocal/bin/wg setconf wg0 > /etc/wireguard/wg0.conf While multiple slashes combine into one, having /usr... seems like a weird thing to put in the config. Apart from that, you either use

Re: pf - traffic flow through 2 routers

2023-04-30 Thread Janne Johansson
> I’m stuck setting up this configuration - 2 OpenBSD 7.3 boxes > connected via a private network 192.168.2.0/24. > The clients connected to box 1 on 192.168.1.0/24 should be able to reach the > server > on 192.168.2.0/24 with ip 192.168.2.2 on port 1234 tcp > The communication between clients

Re: Minimum install size

2023-04-28 Thread Janne Johansson
Den fre 28 apr. 2023 kl 06:12 skrev Yoshihiro Kawamata : > > In the OpenBSD FAQ, in the Installation Guide section, it says > "OpenBSD can be installed in as little as 512MB, but using a device > that small is something for advanced users". > https://www.openbsd.org/faq/faq4.html#Partitioning >

Re: login string size

2023-04-18 Thread Janne Johansson
Den mån 17 apr. 2023 kl 23:01 skrev Gustavo Rios : > > i meant not the time, but it's length: strlen(login). /usr/include/pwd.h will help here I guess. -- May the most significant bit of your life be positive.

Re: OpenBSD Comparable Technologies

2023-04-09 Thread Janne Johansson
Den sön 9 apr. 2023 kl 11:56 skrev : > > Hello, I am new to OpenBSD in terms of using it as a home router/firewall. Im > trying to implement the OpenBSD equivalent or similar way of doing things > like I did on my Linux Router. Are there are equivalent ways/programs for the > following: > > 1.

Re: Creating a "multicast bridge"?

2023-04-09 Thread Janne Johansson
> On Thu, Apr 06, 2023 at 04:17:26PM +0200, Martin Schröder wrote: > > > I'd like to create a "bridge" between two IP networks which will pass > > > only multicast info. / traffic. > The goal is to create a single "multicast domain" between the networks > i.e. to allow multicast communication

Re: OpenBSD 7.2 on Oracle Cloud

2023-04-06 Thread Janne Johansson
Den tors 6 apr. 2023 kl 12:57 skrev Fabio Martins : > Try to add an entry in grub like in this article: > > https://raby.sh/installing-openbsd-on-ovhs-vps-2016-kvm-machines.html That is very much not the same issue. The arm64 instances on Oracle finds the correct kernel and boots it, it just

Re: Mtr prob request

2023-02-27 Thread Janne Johansson
Den mån 27 feb. 2023 kl 12:18 skrev Daniele B. : > I recently found the newbee of myself asked to install and > probe my VPS installing and use MTR in both ways. > Indeed we are all veterans (and probably indians too) but > MTR is it all that secure stuff that merits to be included in > OpenBSD?

Re: Yubikey detection by non-root user

2023-02-01 Thread Janne Johansson
> and saw that the latter couldn't access /dev/usb0 and /dev/ugen1.00 > I modified the permissions and I can now use the Yubikey. > > My question is: > Is this way of solving the problem correct in terms of security > or best practices? If not, do you have any recommendations as how > to do this

Re: hw.ncpuonline

2023-01-31 Thread Janne Johansson
Den ons 1 feb. 2023 kl 03:08 skrev Justin Muir : > I've got an AMD A10 with 4 cores and only 2 are online. I'm not sure how to > enable the other 2. > > hw.ncpufound=4 btw > Any ideas out there? OpenBSD disables hyperthreading (or symmetric multithreading, smt), so if your "4-core" cpu is

Re: Live stick / cd from official sources

2023-01-30 Thread Janne Johansson
Den tis 31 jan. 2023 kl 08:03 skrev Daniele B. : > Thank you for the courtesy, Janne. > I KINDLY reply in three points that maybe you are missing: > > 1) I just paid 216€, by MY wallet, to a german shop for a minipc > that was set "delivered" to me without being tested by an > "official

Re: Live stick / cd from official sources

2023-01-30 Thread Janne Johansson
Den mån 30 jan. 2023 kl 21:21 skrev my25mb : >Ok, I did read all your observations and I want to thank you for your >time.Like an openbsd user I do not think particularly enthusiast of >your >opinion aboutnot having a "rentable" live image to test [openbsd-boot: ok] >anyway I remain optimist

Re: premature end of data for lang/go package (mips64)

2022-12-12 Thread Janne Johansson
Den sön 11 dec. 2022 kl 17:42 skrev void : > Alternatively, is it feasible to build an amd64 vm and cross-compile > there, for mips64/octeon? I think it is. I think I have tried it for simpler stuff but unless I am very mistaken you just set GOARCH and fire off the build, then move the binary

Re: 2FA VPNs

2022-11-02 Thread Janne Johansson
Perhaps have authpf add clients to a PF table which allows them to vpn in? The ssh part could have all kinds of S/Key and certificate additions if need be. Or have people wireguard into the bastion host first, then use authpf to be let further into the network, since wg is far more silent when it

Re: Problems with LDAP authorization against OpenLDAP server

2022-10-14 Thread Janne Johansson
> Why is bash a bad idea on OpenBSD? Not bash in itself, but having it in /bin. If you installed it from packages/ports it would end up under /usr/local/bin instead, so the users shell would point to the wrong place. -- May the most significant bit of your life be positive.

Re: inaccuracy in the faq regarding ntpd

2022-09-26 Thread Janne Johansson
Den mån 26 sep. 2022 kl 12:28 skrev Marc Beste : > > Dear Sir or Madam, > > when writing a script to check if my local NTP server is providing the > time to my network I have noticed a slight inaccuracy in the FAQ > regarding the status of ntpd in logs. > >

Re: lddtree on OpenBSD?

2022-09-15 Thread Janne Johansson
> > Unless I misremember, OpenBSD requires you to add all needed libraries > > while linking the main program, so there is no tree to be listed. > > Not any more, we no longer have static-only archs. Ah, I see. Thanks for the clarification. -- May the most significant bit of your life be

Re: lddtree on OpenBSD?

2022-09-15 Thread Janne Johansson
Den tors 15 sep. 2022 kl 09:10 skrev : > Dear list, > is there any tool that would help me to see hierarchical dependencies > of (shared) libraries on OpenBSD? > > I have compiled a program and when I run it (or use ldd) it shows > that it depends on, eg, several versions of libX11 (which it

Re: Swap on SSD's (with softraid 1+C)

2022-09-07 Thread Janne Johansson
> (Follow up question as for swap sizing: In the age of 32+ GB RAM, do > you people really follow the recommendations on having swap at least > twice the amount of RAM? I'm hoping for 72GB RAM and that would steal > 144GB of my 525GB disks, something that seems ridiculous.) That advice is

Re: Non-Disclosure Agreement

2022-08-31 Thread Janne Johansson
> My team in Dell Technologies are looking to use your software OpenSSH Client > 9 and OpenSSH Server 8. To do this our Cyber Security department require that > we sign a Non-Disclosure Agreement with you. Who would be the best person to > reach out to regarding this request? While you have

Re: Additional information required for cputime

2022-06-28 Thread Janne Johansson
> Is there any other information or examples about that parameter ? > > SO far if found : `cputime = pp->p_rtime_sec + ((pp->p_rtime_usec + 50) > / 100);` > implying this parameters is in seconds, and the kernel will send a SIGXCPU > if the process is not finished after that time ? This

Re: Blocking ping scan

2022-06-18 Thread Janne Johansson
Den lör 18 juni 2022 kl 11:17 skrev Cristian Danila : > Good day! Does anyone know if OpenBSD(7.1) has the capability to be hidden > against a pingscan(nmap -sn xxx.xxx.xxx.xxx)? > In PF I have only 2 rules to block everything: > block in quick all > block out quick all > > This is a fresh

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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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
> > > 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

  1   2   3   4   5   6   >