OpenBSD on Dell Wyse 3040 N10D - Successful installation and possible problem with ACPI

2023-12-18 Thread Luca Di Gregorio
I managed to install OpenBSD on Dell Wyse 3040. I chose gpt (not mbr). I edited the automatic partition scheme created by the installer because the eMMC is only 8Gb. Do not delete sd0i when resizing. Disklabel is available below in this email. After the installation of the components, ->before<-

ssh check local and remote forwarding

2023-04-27 Thread Luca Di Gregorio
Currently ssh -O check doesn't show active forwardings. Do you think it's possible to add this feature? To check if a local or remote forwarding is active? Something like this: ssh -O check -L 127.0.0.1:2000:127.0.0.1: -S /tmp/to_remote remote

OpenBSD with GRUB2

2023-05-03 Thread Luca Di Gregorio
I'm trying to install OpenBSD on a VPS with Debian/GRUB2. I get bsd.rd, in GRUB2 I launch the installer with: set root=(hd0,X) kopenbsd /bsd.rd boot The installation is ok, but GRUB2 still remains. So, when I reboot, GRUB2 menu appears, and OpenBSD can be started only with: set root=(h

Re: OpenBSD with GRUB2

2023-05-04 Thread Luca Di Gregorio
cpg] a:19.0G 64 4.2BSD 2048 16384 12960 # / b: 1.0G 39857248swap# none c:20.0G0 unused Il giorno gio 4 mag 2023 alle ore 09:13 Benjamin Stürz < benni+open...@stuerz.xyz> ha scritto:

ld on startup - wish to disable

2024-09-10 Thread Luca Di Gregorio
Hi, I'm running very little OpenBSD VMs for simple services and testing environments. I really don't need security on these VMs, I already disabled library_aslr (rcctl disable library_aslr) to avoid reordering libraries at boot, but, at startup, I still see ld and ctfconv running and consuming a

dhcpd with failover

2024-09-30 Thread Luca Di Gregorio
I'm trying to figure out how to configure a redundant dhcp server. In dhcpd(8) I see that the options -y and -Y implement "synchronisation of the lease allocations to a number of dhcpd daemons", anyway, in dhcpd.conf(5) I can't find anywhere any statement that sets the dhcp server as 'primary' or

Re: PF block traffic on Virtual Network. Bug?

2024-09-23 Thread Luca Di Gregorio
> > > > 1 - PF with the 'no state' rule should let the traffic flow, > it means that PF has a bug, or > 2 - PF behaves as expected and traffic must not flow, or > 3 - the 'no state' rule is the wrong rule to let the traffic flow. > If so, I ignore what rule should be used in /etc/pf.conf. >

PF block traffic on Virtual Network. Bug?

2024-09-21 Thread Luca Di Gregorio
I have an architecture like the one of the picture in attachment, and I have an issue with PF. I don't if it's a bug of, maybe I should post to b...@openbsd.org. I created a virtual network with VXLAN, it's 192.168.3.0/24. VTEP1 and VTEP2 are connected to H3 via p2p interfaces: 10.13.11.0/30 and

Re: vxlan(4) Between Three Sites

2024-09-21 Thread Luca Di Gregorio
> > > ah, sorry, i didnt realise you were running VMs and wanted them on the > same network. youll definitely need veb and vport in this situation. > > Well, I can't figure out any other use case where vxlan(4) is useful, other than connecting VMs to the same subnet (e.g. 192.168.3.0/24) but hosted

Re: vxlan(4) Between Three Sites

2024-09-19 Thread Luca Di Gregorio
1 single multicast router is enough to implement VXLAN. mrouted compiled from git (by troglobit) works. And it's quite simple to configure. You don't need OSPF because mrouted comes with DVMRP. I have two sites with PublicIP1 and PublicIP2, where some VMs run. IP addresses of vio0 interfaces of al

Re: enc0 without MULTICAST flag

2024-09-19 Thread Luca Di Gregorio
tc/hostname.sec0 mtu 1446 192.168.4.2 192.168.4.1 netmask 0xfffc up Il giorno ven 20 set 2024 alle ore 03:16 David Gwynne ha scritto: > On Thu, Sep 19, 2024 at 10:57:42PM +0200, Luca Di Gregorio wrote: > > I'm running 7.5, I see this alert: > > > > # ifconfig sec0

Re: enc0 without MULTICAST flag

2024-09-19 Thread Luca Di Gregorio
is weekend, come to my talk as I’ll be diving into this > exact subject. > > Cheers, > > Jason. > > Sent from my iPhone > > On 19 Sep 2024, at 7:16 PM, Luca Di Gregorio wrote: > >  > I configured a site-to-site vpn with ike2, > it works for unicast traffic.

Re: enc0 without MULTICAST flag

2024-09-19 Thread Luca Di Gregorio
I'm running 7.5, I see this alert: # ifconfig sec0 create # ifconfig sec0 tunnel 169.254.229.42/30 169.254.229.41 ifconfig: error in parsing address string: non-recoverable failure in name resolution I can't configure sec0 Il giorno gio 19 set 2024 alle ore 21:32 Luca Di Gregorio

Re: ld on startup - wish to disable

2024-09-18 Thread Luca Di Gregorio
( /var/db/kernel.SHA256 moved ) Thanks a lot! Il giorno mer 18 set 2024 alle ore 19:04 James Cook ha scritto: > On Tue, Sep 10, 2024 at 02:39:55PM +0200, Luca Di Gregorio wrote: > >Hi, > > > >I'm running very little OpenBSD VMs for simple services and testing > >env

Re: vxlan(4) Between Three Sites

2024-09-20 Thread Luca Di Gregorio
scritto: > On Thu, Sep 19, 2024 at 10:05:37PM +0200, Luca Di Gregorio wrote: > > PublicIP1 > > --- > > # cat /etc/hostname.vxlan3 > > tunnel PublicIP1:4789 239.13.13.3 > > parent gif0 > > vnetid 13133 > > tunnelttl 255 > > mtu 1450 >

Re: dhcpd with failover

2024-09-30 Thread Luca Di Gregorio
> Den mån 30 sep. 2024 kl 10:57 skrev Luca Di Gregorio : > > I'm trying to figure out how to configure a redundant dhcp server. > > If you stick to static entries for your hosts on the network, you can > just set up N+1 dhcp daemons that answer the same (because their conf &

enc0 without MULTICAST flag

2024-09-19 Thread Luca Di Gregorio
I configured a site-to-site vpn with ike2, it works for unicast traffic. I need to enable ospf on the 2 hosts via enc0, but ifconfig enc0 shows: enc0: flags=41 index 2 priority 0 llprio 3 groups: enc status: active inet ... So, ospfd shows, in /var/log/daemon: