Re: use ifstated to modify pf/rdr

2005-05-25 Thread Joel CARNAT
On Wed, May 25 2005 - 12:58, Jason Dixon wrote: On May 25, 2005, at 11:51 AM, Joel CARNAT wrote: I would like to use ifstated (OpenBSD 3.7/i386) in the http://www.openbsd.org/faq/pf/pools.html#incoming case (except I'll use SMTP server, not HTTP) to modify the $web_servers macros when one

[ landisk ] - install w/o the serial console

2008-07-17 Thread Joel CARNAT
Hello, I have a serial console on my Plextor PX-EH40L which seems to be broken now (no RX available). After quite a few testings of various OSes, the disk is now blanked. Until I get a new serial console, I'd like to try OpenBSD 4.4 on that disk. I couldn't find the procedure to manually install

Re: [ landisk ] - install w/o the serial console

2008-07-23 Thread Joel CARNAT
, 2008 at 03:43:34PM +0200, Joel CARNAT wrote: Hello, I have a serial console on my Plextor PX-EH40L which seems to be broken now (no RX available). After quite a few testings of various OSes, the disk is now blanked. Until I get a new serial console, I'd like to try OpenBSD 4.4 on that disk. I

HTC P3300 not recognised by uipaq

2008-07-31 Thread Joel CARNAT
Hello, I read on uipaq(4) that HTC SmartPhone are supported. I plugued my HTC P3300, running Windows Mobile 6, on my Eee PC running 4.4/i386, but it does not attach to uipaq: ugen0 at uhub1 port 2 HTC Generic RNDIS rev 2.00/0.00 addr2 usbdevs says: port 2 addr 2: full speed, power 100mA,

Acceleration for Qemu ?

2011-11-06 Thread Joel Carnat
Hi, I was planning on using qemu to run several instances on various OSes on my OpenBSD 5.0/amd64 server. As a first try, I ran an OpenBSD 5.0/i386 instance using qemu-0.14.1p4: # ifconfig tun0 link0 # ifconfig bridge0 add tun0 add bge0 up # qemu -nographic -m 128 -net nic -net tap,ifname=tun0

pid file for ldapd(8)

2011-05-27 Thread Joel Carnat
Hi, Is there a way to tell ldapd(8) to write it's PID in /var/run ? TIA, Jo

I don't get where the load comes from

2011-05-30 Thread Joel Carnat
Hi, I am running a personal Mail+Web system on a Core2Duo 2GHz using Speedstep. It is mostly doing nothing but still has a high load average. I've check various stat tools but didn't find the reason for the load. Anyone has ideas? TIA, Jo PS: here are some of the results I checked. #

Re: I don't get where the load comes from

2011-05-31 Thread Joel Carnat
Le 31 mai 2011 ` 00:15, Paul de Weerd a icrit : On Mon, May 30, 2011 at 11:44:29PM +0200, Joel Carnat wrote: | Hi, | | I am running a personal Mail+Web system on a Core2Duo 2GHz using Speedstep. | It is mostly doing nothing but still has a high load average. Wait, what ? ~1 is 'a high load

Re: I don't get where the load comes from

2011-05-31 Thread Joel Carnat
. I don't get how A high load is just that: high. It means you have a lot of processes that sometimes run. can show load variation depending on CPU speed only. El 05/30/11 18:44, Joel Carnat escribis: Hi, I am running a personal Mail+Web system on a Core2Duo 2GHz using Speedstep. It is mostly

Re: I don't get where the load comes from

2011-05-31 Thread Joel Carnat
Le 31 mai 2011 ` 08:10, Tony Abernethy a icrit : Joel Carnat wrote well, compared to my previous box, running NetBSD/xen, the same services and showing about 0.3-0.6 of load ; I thought a load of 1.21 was quite much. Different systems will agree on the spelling of the word load

ldapd and self-signed certificate

2010-11-13 Thread Joel Carnat
Greetings, I want to use LDAP to store postfix, apache and dovecot users. This sounds a quite simple need so I plan to use the native ldapd. I have installed 4.8 GENERIC.MP#335 amd64 and configured ldapd as follow: # $OpenBSD: ldapd.conf,v 1.2 2010/06/29 02:50:22 martinh Exp $ schema

Re: ldapd and self-signed certificate

2010-11-14 Thread Joel Carnat
-Message initial- @: Joel Carnat j...@carnat.net; Cc: misc@openbsd.org; De: Philip Guenther guent...@gmail.com Envoyi: dim. 14-11-2010 02:25 Sujet: Re: ldapd and self-signed certificate On Sat, Nov 13, 2010 at 12:02 PM, Joel Carnat j...@carnat.net wrote: I want to use LDAP

Re: ldapd and self-signed certificate

2010-11-15 Thread Joel Carnat
-Message initial- @: Joel Carnat j...@carnat.net; Cc: Philip Guenther guent...@gmail.com; misc@openbsd.org; De: Martin Hedenfalk mar...@bzero.se Envoyi: lun. 15-11-2010 11:44 Sujet: Re: ldapd and self-signed certificate 15 nov 2010 kl. 00.01 skrev Joel Carnat

ldapd and namespace access

2011-01-05 Thread Joel Carnat
Greetings, I would like to limit the access to my ldapd content. I've read ldapd.conf(5) but there are bits I don't get. The policy I would like to apply is: (1) allow anyone to authenticate (2) allow read access to all namespace by users that have been authenticated (3) allow write access to

ldapd and The Diffie Hellman prime sent by the server is not acceptable

2011-01-21 Thread Joel Carnat
Hello, On a Ubuntu Linux 8.04 machine, I can't query my OpenBSD 4.9 ldapd(8). It works from the local OpenBSD and from a remote NetBSD server. All machines have the CA file installed in the OpenSSL directory and the ldap.conf file configured to use that particular CA file. Here's what I get on

PHP issue with native Apache and ProxyPass

2012-06-06 Thread Joel Carnat
Hello, I have an OpenBSD 5.0 server, running the native Apache and providing a local WordPress instance which works great. The Apache also proxyfies simple websites (only HTML/CSS/JS, like xymon, munin, sogo) using the ProxyPass/ProxyPassReverse directives. I wanted to proxyfy another WordPress

smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Hi, I am playing with OpenSMTPD and am configuring a virtual domains and users configuration. In smtpd.conf.local, I have set: map vdomains { source db /etc/mail/vdomains.db } accept for virtual vdomains deliver to maildir /home/vmail/%d/%a/ In /etc/mail/vdomains, I have set: tumfatig.net:

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Le 15 juin 2012 à 17:03, Gilles Chehade a écrit : On Fri, Jun 15, 2012 at 03:28:42PM +0200, Joel Carnat wrote: Hi, Hi, I am playing with OpenSMTPD and am configuring a virtual domains and users configuration. In smtpd.conf.local, I have set: map vdomains { source db /etc/mail

Re: smtpd, virtual users/domains and maildir creation

2012-06-15 Thread Joel Carnat
Le 15 juin 2012 à 17:37, Gilles Chehade a écrit : snip What's the proper way to host virtual aliases for virtual domains ? The proper way is the one you're using ;-) Also, one thing you could do is create a fallback address: @carnat.net r...@carnat.net if you want to also catch every

filtering recipients for a secondary mx using smtpd

2012-06-15 Thread Joel Carnat
Hi, Using OpenBSD 5.1, I have configured OpenSMTPD to act as a secondary MX. I have configured this, in smtpd.conf: # secondary mx map v2mx { source db /etc/mail/v2mx.db } accept from all for virtual v2mx relay And this, in /etc/mail/v2mx: hotmail.com accept The smtpd can now relay

Re: kvm and Openbsd 5.1

2012-07-20 Thread Joel Carnat
Hi, Le 20 juil. 2012 à 19:29, Alessandro Baggi a écrit : Hi list, today I've installed OpenBSD 5.1 amd64 on a kvm (linux slackware) kvm version is 1.0.1. Starting machine with 4 core, and bsd.mp it crash. Disabling mpbios see only one core and not smp. Then, I've updated kvm to 1.1.1 but

Re: Q: username policy in install and in adduser

2012-08-13 Thread Joel Carnat
AFAIK, there is every likelihood that a third-party software (like Web or Mail server) will not be case-sensitive and will mix data for Foo and foO users. Le 13 août 2012 à 15:20, Eike Lantzsch a écrit : The choice of usernames during OBSD install is more restrictive than adduser. For example

About `ldapctl stats` metrics

2012-08-14 Thread Joel Carnat
Hi, I've setup some RRDtool magic to graph ldapd(8) metrics (OpenBSD 5.1/i386). Using `ldapctl stats`, I was expecting: requests = search requests + bind requests + modify requests But after a few ldapsearch/ldapadd/ldapdelete testings, it seems requests grows faster than the sum of * requests.

Re: The ultimate OpenBSD email server

2012-08-16 Thread Joel Carnat
Le 15 août 2012 à 16:16, L. V. Lammert a écrit : On Wed, 15 Aug 2012, Mikkel Bang wrote: But with so many people recommending so many different tools, it gets hard to come to a conclusion. Looks like I'm finally arriving at this though: postfix (postfix-anti-UCE.txt) + dspam - what do you

Re: The ultimate OpenBSD email server

2012-08-19 Thread Joel Carnat
Le 19 août 2012 à 14:15, Stuart Henderson a écrit : On 2012-08-16, Joel Carnat j...@carnat.net wrote: - roundcube and suhosin don't play well together ; there is no general problem with roundcube and suhosin playing together, you just have to follow the documentation about disabling session

Replication option for ldapd(8)

2012-12-11 Thread Joel Carnat
Hello, I want to achieve a Master / Slave replication with OpenBSD's shipped ldapd(8). Are there any native features to synchronize both instances (like openldap's syncrepl) or do I have to script a bunch of (ldapsearch/ldapadd)|scp ? TIA, Jo

Re: ldapd and The Diffie Hellman prime sent by the server is not acceptable

2013-01-28 Thread Joel Carnat
: ... = Hope that sheds some light on this problem.. P.S. I CC'ed ldapd developers in order to have some hope this might be fixed one day.. --- thanks, VA On 2011-01-21 19:21, Joel Carnat wrote: Hello, On a Ubuntu Linux 8.04 machine, I can't query my OpenBSD 4.9

Re: ldapd and The Diffie Hellman prime sent by the server is not acceptable

2013-01-28 Thread Joel Carnat
Built on source tree from 5.2: it works! Gotta switch back to SSL :)) Thank you. Jo Le 28 janv. 2013 à 12:31, Gilles Chehade gil...@poolp.org a écrit : On Mon, Jan 28, 2013 at 12:28:58PM +0100, Joel Carnat wrote: Hi, I wasn't aware of any diffs. With time, the OpenBSD (ldapd

snmpd, oid and scripts

2013-04-11 Thread Joel Carnat
Hi, I wanted to get rid of net-snmp and use the shipped snmpd(8). I have OpenBSD boxes running various services (DNS, Web, Mail...) and have scripts providing service stats using the extend/exec net-snmp feature. I read about the oid feature of snmpd(8) but it seems it can only publish fixed

Generate hashed rootpw for native ldapd

2014-02-21 Thread Joel Carnat
Hi, I want to generate a hashed rootpw for native ldapd (on OBSD 5.4). I've tried various things like `echo secret | sha256` but I can't authenticate. If possible, I'd like not to install openldap-server just to get slappasswd. What is the (native) way to generate the SSHA hashed format for

Re: Generate hashed rootpw for native ldapd

2014-02-21 Thread Joel Carnat
-base64 | awk '{print {SHA}$0}' {SHA}ZLvhLmLU88dUQwzfUgsq6IV8ZRE= # slappasswd -h {SHA} -s passphrase {SHA}YhAnRDQFLyD8uD4dD0kiBPyxGIQ= Using the string generated with slappasswd works. Other two don't :( Le 21 févr. 2014 à 13:18, Marcus MERIGHI mcmer-open...@tor.at a écrit : j...@carnat.net (Joel

Re: Generate hashed rootpw for native ldapd

2014-02-21 Thread Joel Carnat
21, 2014 at 6:31 AM, Joel Carnat j...@carnat.net wrote: Hum, I tried it but it doesn't work. I have a slappasswd else where to test. And here's what I get : # print passphrase | openssl dgst -sha1 -binary | openssl enc -base64 | awk '{print {SHA}$0}' {SHA}ZLvhLmLU88dUQwzfUgsq6IV8ZRE= # echo

Native ldapd and ldappasswd

2014-02-28 Thread Joel Carnat
Hi, I am configuring native ldapd (OBSD 5.4) for users authentication. But it seems I can't use ldappasswd to modify a userPassword. Here's how the object is configured: # ldapsearch -H ldap://localhost -D cn=admin,dc=local -w vierge -b dc=local cn=email (...) # email, users, local dn:

index.php not loading on obsd 5.6

2015-02-01 Thread Joel Carnat
Hi, I just installed 5.6 amd64 on a virtual machine. I installed php-fpm-5.5.14 and launched the daemon. I configured httpd as such : # egrep -v '^$|^#' /etc/httpd.conf ext_addr=egress server default { listen on $ext_addr port 80

sogo, httpd(8) and the rewrite need

2015-06-14 Thread Joel Carnat
Hi, I was going to install SOGo on OpenBSD 5.7 using the native httpd(8). In the readme, there are configuration examples for nginx and apache-httpd-openbsd. Nothing for the new httpd. There are rewrite/redirect features that I can’t figure out how to setup with httpd(8). nginx example:

Re: sogo, httpd(8) and the rewrite need

2015-06-15 Thread Joel Carnat
Le 15 juin 2015 à 01:16, Reyk Floeter r...@openbsd.org a écrit : On 14.06.2015, at 18:08, Joel Carnat j...@carnat.net wrote: Hi, I was going to install SOGo on OpenBSD 5.7 using the native httpd(8). In the readme, there are configuration examples for nginx and apache-httpd-openbsd

Re: Windows Server on Qemu

2015-08-13 Thread Joel Carnat
Le 13 août 2015 à 08:41, Mike Larkin mlar...@azathoth.net a écrit : On Wed, Aug 12, 2015 at 06:40:33PM -0700, Mike Larkin wrote: On Wed, Aug 12, 2015 at 10:00:49PM +0200, Joel Carnat wrote: Hi, Anyone here succeeded in having Windows Server 2008/2008R2/2012/2012R2 run in qemu-2.2.0

Windows Server on Qemu

2015-08-12 Thread Joel Carnat
Hi, Anyone here succeeded in having Windows Server 2008/2008R2/2012/2012R2 run in qemu-2.2.0 (OpenBSD 5.7/amd64) ? Mine keeps going BSOD on installation. Most of documentation I found was Linux-centric so I may miss some OpenBSD trick. TIA, Jo

Which tools to monitor traffic and alert ?

2015-08-06 Thread Joel Carnat
Hi, I run several standard services (Web, Mail, DNS, …) and have configured Munin to graph traffic and see what happened. I was wondering what was the usual OpenBSD way for proactive/real-time traffic monitoring and alerting. That is, which software to use that would, for example, read HTTPD

OpenBSD on XPS M1330, sound and HTML video issues

2015-09-27 Thread Joel Carnat
Hi, I have installed OpenBSD 5.7/amd64 on my "old" Dell XPS M1330. Everything seem right except sound, only working with headphones and not internal speakers, and HTML5 videos, being very choppy (things like YouTube videos). I've read about those issues but couldn't solve them from what I

softraid crypto seem really slower than plain ffs

2017-09-15 Thread Joel Carnat
Hi, Initially comparing I/O speed between FreeBSD/ZFS/GELI and OpenBSD/FFS/CRYPTO, I noticed that there were a huge difference between plain and encrypted filesystem using OpenBSD. I ran the test on a 1 vCore/1GB RAM Vultr VPS, running OpenBSD 6.2-beta. I had / configured in plain FFS and

Re: softraid crypto seem really slower than plain ffs

2017-09-18 Thread Joel Carnat
Hello, I was really annoyed by the numbers I got. So I did the testings again. Using a brand new VM. Being really careful on what I was doing and writing it down after each command run. I did the testings using 6.1 and 6.2-current, in case there were some changes. There weren't. First of

rsa 4096 or ed25519 for ssh keys ?

2017-10-16 Thread Joel Carnat
Hi, If both server and client are ed25519 compatible. When generating (user) SSH keys, is it recommended to use ed25519 rather than rsa 4096bits? Thank you.

Re: rsa 4096 or ed25519 for ssh keys ?

2017-10-17 Thread Joel Carnat
Le 16/10/2017 19:46, Mike Coddington a écrit : On Mon, Oct 16, 2017 at 05:29:34PM +0200, Joel Carnat wrote: Hi, If both server and client are ed25519 compatible. When generating (user) SSH keys, is it recommended to use ed25519 rather than rsa 4096bits? AFAIK, either would be fine. I

i386 or amd64 from small Cloud instance ?

2017-09-13 Thread Joel Carnat
Hi, My Cloud instances are always small (1 ou 2 vCPU, far less than 4GB of RAM). From what I saw, all the ports I need are available in i386 and amd64. Every Cloud provider I checked are using KVM hypervisor. Regarding OS and ports performance, does it make sense to use i386 rather than

Re: iPhone tethering ?

2017-10-23 Thread Joel Carnat
The iPhone can be configured as a wireless AP. Then OpenBSD can connect to it and gain access to the Wild Wild World. -- Envoyé de mon iPhone > Le 23 oct. 2017 à 07:58, SFM a écrit : > > Hi everyone ! > > Does iPhone tethering work with OpenBSD? In other words, is

Inconsistent stats between snmpd(8) and pfctl(8) ?

2018-05-25 Thread Joel Carnat
Hi, On OpenBSD 6.3/amd64, I'm using snmpd(8) to gather pf(4) statistics. It seems that some stats are not coherent. For example, on egress and vio0 interfaces. Asking snmpd(8), I get : OPENBSD-PF-MIB::pfIfDescr.3 = STRING: "egress" OPENBSD-PF-MIB::pfIfDescr.12 = STRING: "vio0"

OpenBSD as an IKEv2 IPsec client with L/P authent

2018-02-15 Thread Joel Carnat
Hi, My FTTH home-box provides IKEv2 server support. I connected my iPhone, via 3G, to it. I can now access my internal home-LAN. So I know it works. I want to do the same with an OpenBSD server hosted in "the Cloud" ; in transport mode as far as I understood the docs. I've struggled with

Re: OpenBSD as an IKEv2 IPsec client with L/P authent

2018-02-22 Thread Joel Carnat
Hi, Le 22/02/2018 09:35, Stuart Henderson a écrit : On 2018-02-22, Igor V. Gubenko wrote: I am far from an expert; having issues myself at the moment, but maybe if we get all of the iked experimenters together, we can figure it out :) This definitely isn't going to work,

Re: net-snmpd extend and doas : a tty is required

2018-04-12 Thread Joel Carnat
> Le 12 avr. 2018 à 21:10, Stuart Henderson <s...@spacehopper.org> a écrit : > > On 2018-04-12, Joel Carnat <j...@carnat.net <mailto:j...@carnat.net>> wrote: >> Hi, >> >> I want net-snmpd to run a script via the extend directive. >> This scri

net-snmpd extend and doas : a tty is required

2018-04-12 Thread Joel Carnat
Hi, I want net-snmpd to run a script via the extend directive. This script has to run a command using doas to get temporary root permission. The script is run on snmpcmd call but the doas command returns: doas: a tty is required Is there a way to run doas from net-snmpd ? I already have doas

ldap search fails with Let's Encrypt certificate

2018-11-05 Thread Joel Carnat
Hi, I'm using ldap(1) to query a remote Synology Directory Server (OpenLDAP 2.4.x). Unfortunately, it fails saying: TLS failed: handshake failed: error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3 alert handshake failure ldap: LDAP connection failed When I use the OpenLDAP

Re: ldap search fails with Let's Encrypt certificate

2018-11-05 Thread Joel Carnat
Le 05/11/2018 13:48, Stuart Henderson a écrit : On 2018-11-05, Joel Carnat wrote: Hi, I'm using ldap(1) to query a remote Synology Directory Server (OpenLDAP 2.4.x). Unfortunately, it fails saying: TLS failed: handshake failed: error:14004410:SSL routines:CONNECT_CR_SRVR_HELLO:sslv3

Re: ldap search fails with Let's Encrypt certificate

2018-11-05 Thread Joel Carnat
Le 05/11/2018 16:38, Stuart Henderson a écrit : On 2018-11-05, Joel Carnat wrote: Le 05/11/2018 13:48, Stuart Henderson a écrit : On 2018-11-05, Joel Carnat wrote: Hi, I'm using ldap(1) to query a remote Synology Directory Server (OpenLDAP 2.4.x). Unfortunately, it fails saying: TLS

Re: ldap search fails with Let's Encrypt certificate

2018-11-06 Thread Joel Carnat
Le 05/11/2018 17:07, Stuart Henderson a écrit : On 2018/11/05 17:02, Joel Carnat wrote: Le 05/11/2018 16:38, Stuart Henderson a écrit : > On 2018-11-05, Joel Carnat wrote: > > Le 05/11/2018 13:48, Stuart Henderson a écrit : > > > On 2018-11-05, Joel Carnat

Are there real mountpoints for gvfs/gio shares ?

2019-01-03 Thread Joel Carnat
Hi, I was looking at mounting CIFS shares. OpenBSD is the "client" machine. CIFS a published by a remote NAS. Using XFCE and Thunar, everything works well. But when I try to access the mountpoints from the console, I just can't find them. Things like "gio mount smb://", "gio mount -l" and

Re: FDE with keydrive imponderabilities

2019-03-25 Thread Joel Carnat
Hi, I wonder if you’re not using fdisk for an MBR setup and disklabel for GPT. Why won’t you use 64 as the starting offset of the RAID partition ? -- Envoyé de mon iPhone > Le 22 mars 2019 à 23:26, Normen Wohner a écrit : > > I thought you might be able to help me with a setup concerning >

Re: Touchpad - how to enable two-finger scrolling

2019-03-31 Thread Joel Carnat
Hi, On Sun 31/03 03:56, Brogan wrote: > Hello, > > I recently installed OpenBSD 6.4 on a Dell Latitude 6430u and am trying to > get touchpad two-finger scrolling working in X11. As far as I can tell the > touchpad is being loaded via wsmouse but I'm not sure how or where to > properly

influxdb goes "panic:runtime error: index out of range"

2019-04-08 Thread Joel Carnat
Hi, On InfluxDB, I'm getting "panic:runtime error: index out of range" every time I run the "SHOW TAG VALUES FROM unbound WITH KEY = clientip WHERE sysName =~ /$hostname/" query from Grafana. And I also get it using the influx shell. I've tried various things, like giving more resources (via

Re: influxdb goes "panic:runtime error: index out of range"

2019-04-08 Thread Joel Carnat
On Mon 08/04 09:00, Daniel Jakots wrote: > On Mon, 8 Apr 2019 13:58:27 +0200, Joel Carnat wrote: > > > On a fresh influxdb instance in an OpenBSD VM: same issue. On a > > fresh influxdb instance in a Linux Ubuntu VM: the error disappears and > > the query gets the corre

Broadcom BCM4356, bwfm0: could not read io type

2019-03-26 Thread Joel Carnat
Hi, I took my working 6.5-BETA disk out of a ThinkPad X230i and pluggued it in a ThinkPad X260. The system boots ok and I can get an X session. But the wireless card doesn't seem to work. # dmesg bwfm0 at pci2 dev 0 function 0 "Broadcom BCM4356" rev 0x02: msi bwfm_pci_intr: handle MB data

Re: How to monitor class usage/limits?

2019-03-15 Thread Joel Carnat
On Fri 15/03 15:47, Stuart Henderson wrote: > On 2019-03-14, Joel Carnat wrote: > > Hi, > > > > The Internet is full of "OpenBSD desktop works better when rising > > datasize/maxproc/openfiles/stacksize in login.conf". One thing I can't > > manage

How to monitor class usage/limits?

2019-03-14 Thread Joel Carnat
Hi, The Internet is full of "OpenBSD desktop works better when rising datasize/maxproc/openfiles/stacksize in login.conf". One thing I can't manage to find is how you can monitor those values? I'm Ok to set arbitrary recommended values depending on system configuration and general usecases (like

Running php cli when php-fpm uses chroot

2019-04-12 Thread Joel Carnat
Hi, When php-fpm is configured to use chroot, it seems the php(1) cli still tries to work unchrooted. So when running maintenance php scripts (like occ from Nextcloud), errors raises for not finding resources (like mysql socket etc). I couldn't find a option for the php(1) command to "run as

Re: Running php cli when php-fpm uses chroot

2019-04-14 Thread Joel Carnat
On Fri 12/04 15:37, Éric Jacquot wrote: > Hi, > > Le Friday 12 April 2019 à 11:53 +0200, Joel Carnat a écrit : > > Hi, > > > > Is there a better way to handle chroot environnement when running php > > scripts from the cli? > > > > According to

productivity/khard (or python) seem slow

2019-05-15 Thread Joel Carnat
Hello, I've just setup vdirsync and khard to sync my addressbook from nextcloud. It works but querying the local vcf is damm slow. I also noticed that ranger felt a bit slow to start but thought it was the software ; so I switched to nnn. # time (khard list | wc -l) 112 0m07.10s real

relayd shows ssh sessions as idle

2019-06-12 Thread Joel Carnat
Hi, I have configured relayd(8) on my vmd(8) host so that I can connect to the running VMs using SSH. Using relayctl(8), I can see that those sessions have the same value for age and idle ; even when something happens in the SSH sessions. Is this expected or an error in my relayd.conf ?

How to specify "device" option in vm.conf to always boot PXE

2019-06-21 Thread Joel Carnat
Hi, I need a VM to always boot from the network. I could do it using vmctl(8): # doas vmctl start test -c -B net -b /bsd -n vswitch0 (...) PXE boot MAC address fe:e1:bb:d1:c5:d8, interface vio0 nfs_boot: using interface vio0, with revarp & bootparams But I can't find the syntax to be used in

Re: relayd shows ssh sessions as idle

2019-06-18 Thread Joel Carnat
On Mon, Jun 17, 2019 at 11:56:08PM +0200, Sebastian Benoit wrote: > Joel Carnat(j...@carnat.net) on 2019.06.12 16:10:25 +0200: > > Hi, > > > > I have configured relayd(8) on my vmd(8) host so that I can connect to > > the running VMs using SSH. > > > >

Re: productivity/khard (or python) seem slow

2019-05-18 Thread Joel Carnat
On Sat 18/05 11:39, David Mimms wrote: > On 2019.05.17 11:41, Paco Esteban wrote: > > On Thu, 16 May 2019, Joel Carnat wrote: > > > > > On Thu 16/05 08:55, Paco Esteban wrote: > > > > Can't say about your VM. On my desktop: > > > > > >

Re: productivity/khard (or python) seem slow

2019-05-18 Thread Joel Carnat
On Sat 18/05 19:15, Strahil wrote: > I run vanilla openBSD 6.5 on oVirt (KVM) with gluster as storage and it seems > OK for my needs but I never used khard. > What kind of slowness do you experience? > Maybe I can run some tests and see if the situation is the same on KVM. > Well, it takes

Re: productivity/khard (or python) seem slow

2019-05-16 Thread Joel Carnat
On Thu 16/05 08:55, Paco Esteban wrote: > Hi Joel, > > On Wed, 15 May 2019, Joel Carnat wrote: > > > Hello, > > > > I've just setup vdirsync and khard to sync my addressbook from > > nextcloud. It works but querying the local vcf is damm slow. I also >

snmpd(8) custom OID names

2019-11-27 Thread Joel Carnat
Hello, I have set custom OIDs in my snmpd.conf(5). When I walk or get those values, using snmp(1) or snmpget(1), the "name" parameters is not listed. I only get values described as OPENBSD-BASE-MIB::localTest.* Is there a straight way to get the configured names from snmp clients? Or do I have

match two conditions in relayd(8)

2020-01-27 Thread Joel Carnat
Hi, I'm setting up an HTTP(S) Reverse Proxy with relayd(8). I have one listener with multiple FQDN allowed. But I also have a common path that must be treated separately. As for now, I have: http protocol "https" { match request header "Host" value "one.domain.local" forward to match

Re: match two conditions in relayd(8)

2020-01-28 Thread Joel Carnat
On Mon, Jan 27, 2020 at 09:22:40PM +0100, Sebastian Benoit wrote: > Joel Carnat(j...@carnat.net) on 2020.01.27 18:21:43 +0100: > > Hi, > > > > I'm setting up an HTTP(S) Reverse Proxy with relayd(8). > > > > I have one listener with multiple FQDN allowed.

Issues with TP-Link UE300

2020-09-27 Thread Joel Carnat
Hi, I have plugged a TP-Link UE300 on my ThinkPad X260 running OpenBSD -snapshot and it seems I can't get more than 100Mbps. The dongle attaches and get an IP address. But the speed seems limited. Same behaviour when attached to the USB3 port of my APU4D4 (running 6.7). When plugged in a MacBook

Re: Issues with TP-Link UE300

2020-09-27 Thread Joel Carnat
-Original Message- > From: owner-m...@openbsd.org On Behalf Of Joel Carnat > Sent: 27 September 2020 22:43 > To: misc@openbsd.org > Subject: Issues with TP-Link UE300 > > Hi, > > I have plugged a TP-Link UE300 on my ThinkPad X260 running OpenBSD -snapshot >

Re: Issues with TP-Link UE300

2020-09-28 Thread Joel Carnat
Mbits/sec sender [ 5] 0.00-10.13 sec 618 MBytes 512 Mbits/sec receiver Thank you very much. On Mon, Sep 28, 2020 at 10:30:16AM +0800, Kevin Lo wrote: > On Sun, Sep 27, 2020 at 11:43:13PM +0200, Joel Carnat wrote: > > > > Hi, > > > > I have p

Issues with Teclast F7 Plus

2020-12-13 Thread Joel Carnat
Hello, I just got a Teclast F7 Plus laptop and installed OpenBSD 6.8-current on it. Most things works except apm and touchpad. Using zzz or ZZZ, it seems suspend/hibernation start but are never achieved. The backlight keyboard and power led are still on. On Linux, keyboard goes black and

dhcpd and pf table with fixed-address

2020-11-15 Thread Joel Carnat
Hello, I have linked dhcpd(8) and pf(4) using -A, -C and -L dhcpd flags. It seems dhcpd only adds IP for dynamic leases and not for leases configured using fixed-address. Is this expected or is there something I misconfigured? Thanks, Jo PS: configuration extracts rc.conf.local:

Re: Issues with Teclast F7 Plus

2020-12-25 Thread Joel Carnat
On Fri, 2020-12-25 at 00:34 -0500, James Hastings wrote: > On 13 Dec 2020, 13:27:48 +0000, Joel Carnat wrote: > > Hello, > > > > I just got a Teclast F7 Plus laptop and installed OpenBSD 6.8- > > current on > > it. Most things works except apm and touchpad &g

Bugs running 6.9-CURRENT on MacBook Pro Touchbar 2017

2021-05-21 Thread Joel Carnat
Hi, I went back on testing OpenBSD on my MacBookPro14,3. I just installed 6.9-CURRENT and here's a list of non-working stuff. - keyboard and touchpad don't work. I have to use a USB keyboard/mouse. internal keyboard does work in the boot loader. but stops working after the kernel is loaded.

Re: Using relayd as a reverse proxy for multiple local servers

2021-05-27 Thread Joel Carnat
Hi, In my testings, using « listen on * port https tls » doesn’t work either. What I did is replace the « * » with the IP address where I want relayd to listen to. And as my gateway has several interfaces, I created a relay section for each single interface I wanted relayd to bind to. Regards,

Re: periodic network access failure when accessing nextcloud via relayd

2021-04-01 Thread Joel Carnat
On Thu, Apr 01, 2021 at 01:47:11PM -0600, Ashlen wrote: > On 21/03/31 23:50, Joel Carnat wrote: > > Hello, > > > > I have Nextcloud 21 running with php-7.4, httpd(8) and relayd(8). > > On my laptop, a script regularly runs nextcloudcmd to synchonize the files >

periodic network access failure when accessing nextcloud via relayd

2021-03-31 Thread Joel Carnat
Hello, I have Nextcloud 21 running with php-7.4, httpd(8) and relayd(8). On my laptop, a script regularly runs nextcloudcmd to synchonize the files with the nextcloud instance. And quite often, nextcloudcmd returns such error: 03-31 23:28:56:089 [ info nextcloud.sync.networkjob.lscol ]:

Huawei E3372 loops detaching

2021-02-04 Thread Joel Carnat
Hi, I got a Huawei E3372 LTE USB Stick and plugged it on my T460s running OpenBSD 6.8-stable/amd64. I tried all 3 USB ports and they all act the same way : the stick loops attaching/detaching forever. I also tried current (OpenBSD 6.8-current (GENERIC.MP) #308: Wed Feb 3 20:49:28 MST 2021)

Run a command on "last day of month"

2021-09-01 Thread Joel Carnat
Hello, I would like to run a command on "the last day of each month". From what I understood reading the crontab(5) manpage, the simplest way would be setting day-of-month to "28-31". But this would mean running the command 4 times for months that have 31 days. Is there a simpler/better way

start_timeout not found on sysupgrade

2021-09-07 Thread Joel Carnat
Hi, I have just upgraded from 7.0-beta Sep 5 snapshot to Sep 7. During the process, I noticed the following error message: Welcome to the OpenBSD/amd64 7.0 installation program. /autoinstall[2697]: start_timeout: not found Performing non-interactive upgrade. The upgrade process went ok