Re: VLAN-tagging - follow-up

2024-06-07 Thread Loff
On Fri, Jun 07, 2024 at 03:04:54AM +, Martin wrote: > Are you supposed to "bridge" the vlan with the physical interface? No > I have: > > $ cat /etc/hostname.em0 > up > > $ cat /etc/hostname.vlan101 > vnetid 101 parent em0 > inet autoconf > up OK > In /etc/pf.conf I have replaced em0

Re: No mails since 2 days

2024-06-06 Thread Loff
On Thu, Jun 06, 2024 at 09:18:46PM +0300, Mihai Popescu wrote: > > I havn't got no mails in the last two days. > > Can you tell me something about the issue? > > I was very unfortunate in the last 10 years. > Can you fix this? Or help me to debug. > > tx > There's a chance he won't get the

Re: VLAN-tagging, how?

2024-05-31 Thread Loff
On Thu, May 30, 2024 at 10:12:12PM +, Martin wrote: > I am currently using a home made router with OpenBSD which is connected > directly to my ISP's fiber router. The OpenBSD router is setup with a > fixed IP on the WAN port and I do internal NAT etc. > > In about a month a new ISP is going

Re: ifconfig autoconf stopped working - how to debug?

2024-05-27 Thread Loff
On Mon, May 27, 2024 at 01:51:25PM +0100, Chris Narkiewicz wrote: > I have a netcup VPS and it crashed recently. After service restoration > and fsck, the system cannot obtain IPv4 using autoconf. > > I'm wondering how I can debug DHCP autoconfiguration. dhclient -v -d > doesn't show anything,

Re: Q: Problems forwarding traffic using pf ...

2024-05-24 Thread Loff
On Fri, May 24, 2024 at 06:04:25PM +0200, Peter N. M. Hansteen wrote: > On Thu, May 23, 2024 at 11:14:20AM +0200, Why 42? The lists account. wrote: > > pfctl reports: > > # pfctl -vvs rules | grep @ > > @0 block return log all > > @1 pass in log on em0 inet proto udp from

Re: Q: Problems forwarding traffic using pf ...

2024-05-23 Thread Loff
On Thu, May 23, 2024 at 08:24:03PM +0300, Kapetanakis Giannis wrote: > On 23/05/2024 20:18, Peter N. M. Hansteen wrote: > > On Thu, May 23, 2024 at 11:14:20AM +0200, Why 42? The lists account. wrote: > > > I need to quickly create a solution for forwarding multicast traffic > > > between two

Re: Hardware recommendation for small form factor, noiseless, server

2024-05-06 Thread Loff
On Mon, May 06, 2024 at 09:03:17PM +0100, James Johnson wrote: > Hi all, > > can anyone please advise on what computer I can purchase with the following > requirements: > > - fully supports OpenBSD > - no noise > - good quality wifi > - small form factor preferably > - processor does not need

Re: Relayd forward to multiple ports on one target host?

2024-05-02 Thread Loff
On Thu, May 02, 2024 at 06:34:51AM -0700, Paul Pace wrote: > Hello! > > I have an OpenBSD server that hosts multiple services listening on various > ports (some projects have their own web server, some projects require a > reverse proxy, some projects just use httpd, etc.). This server receives

Re: Usb tethering

2024-04-27 Thread Loff
a DHCP, then I strongly suspect the problem is that your phone isn't configured for internet access. > No pf here > > 26 avr. 2024 19:25:32 Zé Loff : > > > On Fri, Apr 26, 2024 at 06:53:33PM +0400, Pascal wrote: > >> https://qsl.net/fr5dh/route.jpg > >> https://q

Re: Usb tethering

2024-04-26 Thread Loff
On Fri, Apr 26, 2024 at 06:53:33PM +0400, Pascal wrote: > https://qsl.net/fr5dh/route.jpg > https://qsl.net/fr5dh/ifconfig.jpg > > Sorry for the format... > > 26 avr. 2024 15:37:36 Zé Loff : > > > On Fri, Apr 26, 2024 at 03:19:58PM +0400, Pascal wrote: > >>

Re: Usb tethering

2024-04-26 Thread Loff
On Fri, Apr 26, 2024 at 03:19:58PM +0400, Pascal wrote: > GM/GA > > Would like connect to internet with usb tethering on openbsd 7.4  and Phone > SM-A426B. > > After: # ifconfig urndis0 up autoconf > I can't : fw_update & syspatch > Failed timeout > > Any idea please? > > -- > Pascal > >

Re: Firewall setup

2024-04-16 Thread Loff
On Tue, Apr 16, 2024 at 12:01:38AM +0200, Karel Lucas wrote: > > Op 15-04-2024 om 22:20 schreef Peter N. M. Hansteen: > > On Mon, Apr 15, 2024 at 10:09:31PM +0200, Karel Lucas wrote: > > > This gives the following error messages when booting: > > > no IP address found for igc1:network > > >

Re: Firewall setup

2024-04-14 Thread Loff
On Sun, Apr 14, 2024 at 05:09:01PM +0200, Karel Lucas wrote: > Hi all, > > Everything about PF is all very confusing to me at the moment, so any help > is appreciated. So let's start simple and then proceed step by step. I want > to continue with ping so that I can test the connection to the

Re: No internet connection (firewall block)

2024-04-14 Thread Loff
means you allow for ICMP echo requests, but not for the echo replies to them (question 3, above). To better debug this, you might want to add two more tcpdumps, to see what goes out and comes in at each interface: tcpdump -nti igc0 icmp tcpdump -nti igc1 icmp It then becomes easier to se

Re: No internet connection (firewall block)

2024-04-12 Thread Loff
On Fri, Apr 12, 2024 at 07:04:16PM +0200, Karel Lucas wrote: > Hi all, > > Traceroute still won't work. I'm playing around with the rules and wondering > what's right and what's wrong with the traceroute rules. Can anyone give me > some starting points here? > > > /etc/pf.conf: > > ext_if =

Re: Universal screen mirroring from mobile devices

2024-04-12 Thread Loff
On Fri, Apr 12, 2024 at 01:06:10PM +0200, Dan wrote: > Hello, > > Intringuing this subject from my daughter watching mum doing > lessons at the computer using her mobile. It came out that from > her sparkling mind mum need to connect her mobile to the laptop > (an old 2011 mac) to watch to her

Re: No internet connection (firewall block)

2024-04-11 Thread Loff
start the ruleset with a simple: block log in pass out and then do the filtering what comes _in_ (either via $ext_if or $int_ifs), by adding "pass in ... on ... " rules. > Op 11-04-2024 om 10:34 schreef Zé Loff: > > On Wed, Apr 10, 2024 at 11:53:47PM +0200, Karel

Re: No internet connection (firewall block)

2024-04-11 Thread Loff
On Wed, Apr 10, 2024 at 11:53:47PM +0200, Karel Lucas wrote: > Hi all, > > With the new firewall I am setting up I cannot connect to the internet. That > starts with traceroute, so let's start there. Ping works fine. Below I have > listed my pf.conf file. > > > > /etc/pf.conf: > > ext_if =

Re: Bridging firewall with online update/upgrade

2024-04-03 Thread Loff
On Wed, Apr 03, 2024 at 06:19:29PM +0200, Karel Lucas wrote: > Hi all, > > I am creating a bridging firewall with OpenBSD and the following hardware: > https://www.amazon.nl/dp/B0B6J89MXJ?ref=ppx_pop_dt_b_asin_image=1. > OpenBSD is already installed. I want to use ETH1 for the input from my ADSL

Re: UKC> disable "smth"

2024-03-16 Thread Loff
On Sat, Mar 16, 2024 at 05:52:22PM +0500, ofthecentury wrote: > I boot with 'boot -c' and then > enter 'disable mei' and then > 'quit'. > Pcidump still shows Intel MEI, > just as it does when booting > with default config. I don't > think anything changed. > But UKC doesn't complain > when I

Re: Confusion about hw.cpuspeed

2024-03-15 Thread Loff via misc
On Fri, Mar 15, 2024 at 01:07:22PM +0100, Christer Solskogen via misc wrote: > On Fri, Mar 15, 2024 at 11:43 AM Zé Loff via misc wrote: > > > Your cpu*.frequency lines show you that it does. > > In that case, what does hw.cpuspeed mean? > Jonathan

Re: Confusion about hw.cpuspeed

2024-03-15 Thread Loff via misc
On Fri, Mar 15, 2024 at 10:09:37AM +0100, Christer Solskogen via misc wrote: > On Fri, Mar 15, 2024 at 10:00 AM Jonathan Gray wrote: > > > > On Fri, Mar 15, 2024 at 08:49:14AM +0100, Christer Solskogen via misc wrote: > > > On Fri, Mar 15, 2024 at 1:15 AM Jonathan Gray wrote: > > > > > > > > > >

Re: Is this a security issue?

2024-03-13 Thread Loff
On Wed, Mar 13, 2024 at 05:01:57PM +0500, ofthecentury wrote: > Just saw this in my /var/log/messages: > > '/bsd: drm:pid1338:intel_pipe_update_start *ERROR* > [drm] *ERROR* Potential atomic update failure on pipe B' > > Intel_pipe_update??? > No, it isn't a security issue, it's an underrun on

Re:

2024-03-10 Thread Loff
On Sun, Mar 10, 2024 at 02:43:02PM +, Hari wrote: > Here is the requested output: > > lo0: flags=2008049 mtu 32768 >     index 2 priority 0 llprio 3 >     groups: lo >     inet6 ::1 prefixlen 128 >     inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >     inet 127.0.0.1

Re: No internet while using wifi

2024-03-10 Thread Loff
On Sun, Mar 10, 2024 at 10:00:23AM +, Hari wrote: > Hello, > > I wanted to connect my openbsd system to wifi. So I downloaded and installed > the > the necessary wifi firmware using wired connetion. As stated in openbsd > wireless > networking faq I edited the /etc/hostname.mtw0 file and

Re: Huawei K5161h 4G dongle

2024-01-23 Thread Loff
On Tue, Jan 23, 2024 at 11:52:01AM +, Alex Frolkin wrote: > Hi all, > > Has anyone had any success with getting a Huawei (Vodafone-branded) > K5161h 4G dongle working on OpenBSD? > > It looks like it should work with the umb(4) driver, but the problem is > getting it into the right mode.

Re: mountd

2024-01-09 Thread Loff
On Tue, Jan 09, 2024 at 10:13:56AM +0300, 4 wrote: > >> i'm quoting the man page for mountd: > >> The -n flag historically allowed clients to use non-reserved ports > >> when > >> communicating with mountd. In OpenBSD, a reserved port is always > >> used. > >> "reserved port".

Re: Any tool in base which allows to get all IPs in prefix?

2023-12-19 Thread Loff
On Tue, Dec 19, 2023 at 04:27:14PM +0300, Maksim Rodin wrote: > Hello > Is there any tool in base which allows to get something like this? > $ nmap -sL -n IP_PREFIX > ... > a long list of ip addresses > ... > > -- > Maksim > Not on base (I know, sorry), but ipcalc, on ports, is a 12k binary

Re: Two parent NICs for VLAN

2023-12-19 Thread Loff
cted to the internet, makes me itchy. > > > On Tue, Dec 19, 2023 at 10:09 AM Zé Loff wrote: > > > On Tue, Dec 19, 2023 at 09:33:18AM +0100, Lars Bonnesen wrote: > > > I have a physical switch with a number of VLANs and a NIC connected to a > > > wireless setup. I want to h

Re: Two parent NICs for VLAN

2023-12-19 Thread Loff
On Tue, Dec 19, 2023 at 09:33:18AM +0100, Lars Bonnesen wrote: > I have a physical switch with a number of VLANs and a NIC connected to a > wireless setup. I want to have those two separated except for one > particular VLAN that I want on the physical switch as well as on the APs. > > So I have

Re: NFS Server performance

2023-12-05 Thread Loff
On Tue, Dec 05, 2023 at 02:06:44PM +, Steven Surdock wrote: > Using an OBSD 7.4 VM on VMware as an NFS server on HOST02. It is primarily > used to store VMWare VM backups from HOST01, so VMWare is the NFS client. > I'm seeing transfers of about 1.2 MB/s. > > SCP from HOST01 to OBSD

Re: Scanning (documents) no longer works: scanner not found?

2023-12-04 Thread Loff
On Mon, Dec 04, 2023 at 05:48:55PM +0100, Why 42? The lists account. wrote: > > Hi All, > > I just noticed that "simple-scan" no longer works, it cannot find my > scanner. This used to work just fine. > > I'm running the latest (installed today) snapshot, but I don't know when > this stopped

Re: mkdir

2023-11-23 Thread Loff
On Thu, Nov 23, 2023 at 12:38:50PM +, Pascal Deveaux wrote: > simple command to create a directories return: > > $ mkdir test > ksh: mkdir: not found > > I don't understand... > > OpenBSD 7.4 - fresh install > > Pascal Is /bin in your PATH, and if so, does /bin/mkdir exist? On an amd64

Re: Logging daemon message in a specific file

2023-11-12 Thread Loff
On Sun, Nov 12, 2023 at 02:37:08AM +, Mik J wrote: > Hello, > I would like to log isakmpd and unbound messages in a specific file but I > don't want them to be logged in messages or daemon. > 1) With this first method, the messages are logged in their files but also in > messages and I don't

Re: pf logging in ascii and send to remote syslog

2023-11-11 Thread Loff
On Sat, Nov 11, 2023 at 06:32:26PM +0100, Daniele B. wrote: > > "Peter N. M. Hansteen" wrote: > > > something like the good old > > https://home.nuug.no/~peter/pf/newest/log2syslog.html should still > > work, I think. > > > > - Peter > > > To disable pflogd completely what to you consider

Re: Jumbo frame, just a little late..

2023-11-07 Thread Loff
On Tue, Nov 07, 2023 at 11:33:04AM +0100, Daniele B. wrote: > > Sorry Claudio, my fault. > > wiz# ifconfig reX hwfeatures > hwfeatures= [*] hardmtu 9194 > > by hostname.reX: > > wiz# nano /etc/hostname.reX: > inet 192.168.XXX.XXX 0xff00 mtu 9018 >From man hostname.if: Regular

Re: Default Revival of a ten years old computer : how would you do it?

2023-11-07 Thread Loff
On Mon, Nov 06, 2023 at 11:29:22AM +0100, h...@mailo.com wrote: > > > since few months im discovering openbsd ; as linux has been often > recommended for windows's users with a very slow system, i guess that > it's not that unadvised to use openbsd with a GUI for web browsing and > little

Re: PineView not using the whole screen

2023-10-26 Thread Loff
On Thu, Oct 26, 2023 at 01:18:13PM +0200, Daniele B. wrote: > Crystal Kolipe : > > >> Then, if you are asking tips on how to attack my working station by > >> injection of keystrocks on a > >> pseudo keyboard device I have no clue but is it important indeed? > > > > If you are concerned about

Re: Connecting a wireless keyboard via Bluetooth

2023-10-25 Thread Loff
On Wed, Oct 25, 2023 at 03:24:27PM +0200, Karel Lucas wrote: > Hi all, > > I have a computer with openBSD V7.4 without X11, to which I want to connect > a wireless keyboard via Bluetooth. The keyboard is connected via a separate > USB Bluetooth receiver. What software do I need for this, and

Re: Bridging em and vlan

2023-10-01 Thread Loff
On Sat, Sep 30, 2023 at 11:39:36AM -0400, David Higgs wrote: > All of my devices until now have been behind my OpenBSD NAT router, but I > recently acquired a Internet of Trash device that I would like to be > accessible to the internet (yes, I know). > > My home configuration uses a Unifi AP to

Re: Update from 6.5 to 7.3

2023-09-08 Thread Loff
On Fri, Sep 08, 2023 at 10:01:45AM +0200, Alessandro Baggi wrote: > Hi list, > I've a problem. I need to upgrade OpenBSD from 6.5 to 7.3 on an APU2D. This > is a firewall. > The problem is that I cannot find older ISO of OpenBSD. Can someone point me > in the right direction? > > Thank you in

Re: Some harddisks can't be recognized

2023-08-08 Thread Loff
On Tue, Aug 08, 2023 at 04:25:31PM +0800, Yue Wu wrote: > Hi list, > > I have a mainboard which has 12 SATA ports, but only 8 ports could > be recognized by openbsd, other 4 ports can't, dmesg has messages > something like this: > > ahci2.1: port is unplugged > ahci2.1: unable to probe PMP port;

Re: Mounting an SD-card and an USB-stick

2023-07-25 Thread Loff
On Tue, Jul 25, 2023 at 06:08:00PM +0200, Karel Lucas wrote: > > Dear all, > > For a fresh install of openBSD, I want to mount an SD card or a USB stick on > an existing openBSD install, but don't know which device name to use. Maybe > someone can help me out? > You can check the device name

Re: NFS mounted but shows nothing even df -h has it

2023-05-31 Thread Loff
On Wed, May 31, 2023 at 05:25:07PM +0800, Jazzi Hong wrote: > You made the point, thank you Maksim. > I checked /mnt/hdd and nothing there. > > # cat /etc/fstab > 1593ab2ee369c420.b none swap sw > 1593ab2ee369c420.a / ffs rw 1 1 > 1593ab2ee369c420.e /var ffs rw,nodev,nosuid 1 2 >

Can't assign rules to anchors using wildcards

2023-04-17 Thread Loff
This is probably a case of misplaced expectations, but I can't assign the same rules to a group of pf anchors, using something like "foo/*". Rules get attached to the parent anchor. Minimal working example: /tmp/pf.conf: anchor "foo" { anchor "lan" from 192.168.0.1 anchor

Re: Securing ttys

2023-04-03 Thread Loff
On Mon, Apr 03, 2023 at 06:11:25AM +0200, Daniele Bonini wrote: > > Hello, > > After the last patches, thanks gosh it is arrived the last > *trendy*, *new* as *much acclaimed* keystrokes attack.. So I turned from > the road to work this night -> to try to fix my ttys. > Indeed, I'm here

Re: Mail Etiquette: Reply above or below

2023-03-07 Thread Loff
On Tue, Mar 07, 2023 at 09:36:10AM +, Johannes Thyssen Tishman wrote: > Hi, > > When I reply to an email I do so above the senders message, however I > see many people in the mailing lists replying below it. Is this the > preferred way or just preference? Thanks. > > Kind regards, >

Re: Unbound prisoner :D

2023-02-20 Thread Loff
On Sun, Feb 19, 2023 at 07:33:54AM +0100, Daniele Bonini wrote: > > Hello, > > I'm currently using Unbound in my own setup with a very basic > and incomplete configuration that should serve myself mainly the local > dns caching mechanism factor. > > Problem arising are two: > 1) I'm not able to

Re: No

2022-12-12 Thread Loff
On Sun, Dec 11, 2022 at 04:20:53PM -0800, Randall Gellens wrote: > I have a Protectli box that is the router for my home network. The home > network uses U-Verse to connect to the outside, and has separate Ethernet > networks for servers, wired clients, and Wi-Fi IoT clients. U-Verse supplies >

Re: Syncthing permissions question

2022-10-27 Thread Loff
On Wed, Oct 26, 2022 at 10:38:04PM -0400, Jag Talon wrote: > Hello, > > I'm new to OpenBSD and I'm unfamiliar with permissions in general so I'm a > little lost. I installed syncthing, and it creates the default folder in > /var/syncthing/Sync which is owned by _syncthing and has the group >

Re: Broken softraid0

2022-09-07 Thread Loff
On Wed, Sep 07, 2022 at 07:24:49PM +0200, Danny Koenig wrote: (trimmed) > > > > root@core-fs:~ => disklabel -p g /dev/sd5c > > > > # /dev/sd5c: > > > > type: SCSI > > > > disk: SCSI disk > > > > label: SR RAID 1 ^^ (trimmed) > > > Yes, that's the output: > > #

Re: Broken softraid0

2022-09-07 Thread Loff
On Wed, Sep 07, 2022 at 06:14:59PM +0100, Zé Loff wrote: > On Wed, Sep 07, 2022 at 06:42:54PM +0200, Danny König wrote: > > Hi, > > > > first time I need your support regarding a broken softraid0. After a > > normal reboot the softraid0 (RAID 1, two disks sd0 an

Re: Broken softraid0

2022-09-07 Thread Loff
On Wed, Sep 07, 2022 at 06:42:54PM +0200, Danny König wrote: > Hi, > > first time I need your support regarding a broken softraid0. After a > normal reboot the softraid0 (RAID 1, two disks sd0 and sd1, softraid0 > as sd5) was broken what means no mounts, no nothing. > > > root@core-fs:~ =>

Re: httpd multiple site same address and port TLS issue

2022-08-29 Thread Loff
On Sun, Aug 28, 2022 at 09:45:00PM -0400, George wrote: > Hi guys, > I am wish to run multiple site from the same IP and use different TLS certs > for each. > Example: > server "example01.com" { >   listen on 1.2.3.4 port 80 >   listen on 1.2.3.4 tls port 443 >   tls { >     certificate

Re: Freeze on OpenBSD 7.1

2022-07-20 Thread Loff
On Wed, Jul 20, 2022 at 07:20:15AM -, Stuart Henderson wrote: > On 2022-07-20, Stuart Henderson wrote: > > On 2022-07-19, Zé Loff wrote: > >> You have a single core machine with 2Gb RAM, and the data you sent seems > >> to indicate that there is no free RAM left. &

Re: Freeze on OpenBSD 7.1

2022-07-19 Thread Loff
On Tue, Jul 19, 2022 at 03:27:53PM +0200, Nicolas wrote: > Hello Stuart, > > I haven't seen your messages immediately, it was incorrectly filtered by my > email client. > > Here are the results of the commands. I hope my email client won't render it > useless ! > > For the moment, I try to

Re: Browser access to file system on new install OpenBSD missing.

2022-07-14 Thread Loff
On Thu, Jul 14, 2022 at 09:44:20AM +0200, Brian Durant wrote: > The browser issue has returned. An open dialog window to upload a file or to > open a file cannot find the downloads directory and it is impossible to > access by using "recents" or "computer" in the open dialog window. Not sure >

Re: Mutt cannot sent mail in OpenBsd

2022-07-08 Thread Loff
On Fri, Jul 08, 2022 at 07:22:51PM +0200, Wim wrote: > The strange thing is that the client machine and server are the same... The client's not necessarily the same. Linux might be using OpenSSL, OpenBSD is almost certainly using LibreSSL, there might be differences on the root certificates

Re: PF table issue on 7.1-Current

2022-06-07 Thread Loff
On Tue, Jun 07, 2022 at 04:26:11PM +0300, Barbaros Bilek wrote: > Hello Misc, > > I think there is an issue about PF tables at current. > Here my working PF config sample before 7.1-Current. > block log quick inet from > pfctl -f /etc/pf.conf > Another software fills this Malicious table

Re: Telegraf returns an error in OpenBSD 7.1

2022-05-12 Thread Loff
On Thu, May 12, 2022 at 03:40:36PM +0200, Carlos López Martínez wrote: > Hi all, > > Does telegraf package works under OpenBSD 7.1? I have installed from package > binaries and returns the following error: > > + daemon=/usr/local/bin/telegraf > + daemon_logger=daemon.info > +

Re: Telegraf returns an error in OpenBSD 7.1

2022-05-12 Thread Loff
On Thu, May 12, 2022 at 05:51:34PM +0200, Carlos López Martínez wrote: > > > On 12/05/2022 17:40, Zé Loff wrote: > > > > On Thu, May 12, 2022 at 03:40:36PM +0200, Carlos López Martínez wrote: > > > Hi all, > > > > > > Does telegraf packag

Re: Question how to delete somewhat encrypted partisions / softraid?

2022-03-25 Thread Loff
On Fri, Mar 25, 2022 at 10:28:55AM +0100, soko.tica wrote: > Hello list, > > I have tried to encrypt disk before the installation of OpenBSD 7.0 > according to the instructions here > https://www.openbsd.org/faq/faq14.html#softraid and managed to mess it. First of all, if this is a fresh

Identifying a network

2022-03-23 Thread Loff
Hi all I have a laptop in which I use ifstated to determine whether it is "at home" or whether it is "roaming", and bring up the VPN -- used to be iked, now its wg -- for unwind and some NFS shares, if it is. My question is: how would you detect if the machine it's "at home"? My present

Re: install the sets, install70.img

2022-02-13 Thread Loff
On Sun, Feb 13, 2022 at 12:25:45PM -0500, Raul Miller wrote: > On Sun, Feb 13, 2022 at 10:25 AM Maurice McCarthy wrote: > > Wow, cannot even see your usb drive. Now I am right out of my depth. > > The sdhc0 and sdmmc0 are to do with the SD card slot. > > I am also out of my depth. > > That

Re: Limit dir write by its storage size

2022-01-11 Thread Loff
On Wed, Jan 12, 2022 at 02:06:39AM +0800, Yamadaえりな wrote: > For a BSD based system, how can I setup that, if a dir has total storage > size reached to the max, it won’t be writable anymore? > > Thank you very much! > Yamada Create a separate partition for it. --  

Re: Some Thoughts on resolv.conf.tail Deprecation

2021-11-11 Thread Loff
On Thu, Nov 11, 2021 at 05:36:07PM +, beebeet...@posteo.de wrote: > Hi all, > > I was reading the manual page of resolv.conf(5) today and realized that > paragraph on resolv.conf.tail has disappeared since the upgrade to 7.0, so I > assume that resolv.conf.tail has been deprecated in

Re: lpr woes printing a broken pdf

2021-11-02 Thread Loff
On Tue, Nov 02, 2021 at 04:10:44PM +0100, Jan Stary wrote: > This is current/amd64 on a PC, using lpr with this /etc/printcap: > lp::lp=:rm=pr.stare.cz:rp=lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh: > which is a Brother DCP9055CDN via ethernet. > > Now, I have this pdf file (attached),

Re: Please recommend wifi 6 card which supports OpenBSD

2021-10-30 Thread Loff
On Sat, Oct 30, 2021 at 11:17:31AM +, Vilnius wrote: > Dear OpenBSD Community, > > > I hope you are all doing well. > > I'm thinking about building OBSD based home router with wifi access > point, but I'm not sure which card I should pickup which would provide > best compatibility with

Re: Dhcp client configuration in 7.0

2021-10-29 Thread Loff
On Fri, Oct 29, 2021 at 09:57:26PM +0300, Samarul Meu wrote: > On Fri, Oct 29, 2021 at 8:30 PM Zé Loff wrote: > > > This works for me: > > > > > > /etc/hostname.em0: > > > > inet autoconf > > > > > > /etc/resolv.conf: >

Re: Dhcp client configuration in 7.0

2021-10-29 Thread Loff
On Fri, Oct 29, 2021 at 03:37:56PM +0300, Samarul Meu wrote: > Hello to you all! > > Prior to 7.0 I was using this line in /etc/dhclient.conf > supersede domain-name-servers 127.0.0.1; > so that I do not get the DNS from the ISP provider. > > I am using unbound to resolve my queries. With the

Re: use pfctl to reread /etc/mail/spamd-white table

2021-10-28 Thread Loff
On Thu, Oct 28, 2021 at 11:55:33AM +0200, Harald Dunkel wrote: > Hi folks, > > my pf.conf contains > > table persist file "/etc/mail/spamd-white" > > I understand that I can add and delete hosts from the table manually > later, but on very large tables this is pretty painful. There

Re: DHCP leases not being renewed

2021-10-19 Thread Loff
On Tue, Oct 19, 2021 at 03:26:20PM +1000, Ryan Vitelli wrote: > Hello, > > After upgrading to 7.0 I noticed DHCP leases from my ISP were > not being renewed. > > After researching I ended up modifying my /etc/hostname.em0 file > by replacing 'dhcp' with '!dhclient \$if' and this "appears" > to

Re: Accessing LAN behind gateway from Road Warrior on wg(4) based tunnel

2021-08-27 Thread Loff
On Fri, Aug 27, 2021 at 03:03:36PM +0200, Erling Westenvik wrote: > Hello all, > I have successfully set up a wg(4) based VPN tunnel from my laptop > (current) to my home/office gateway (6.9) but have problems > understanding how to access the LAN behind the gateway. > > [Laptop] > - wg0

Re: PF annoying messages

2021-07-09 Thread Loff
On Fri, Jul 09, 2021 at 10:39:25AM +0200, Pierre Dupond wrote: > Le Fri, 9 Jul 2021 07:39:26 - (UTC), > Stuart Henderson a écrit : > > > On 2021-07-07, Pierre Dupond <76nem...@gmx.ch> wrote: > > > HI All, > > > I am setting up a firewall with PF. The strategy used is quite > > >

Re: Go programs only using one CPU core

2021-03-26 Thread Loff
On Fri, Mar 26, 2021 at 08:54:23PM -, Stuart Henderson wrote: > On 2021-03-26, Richard Ulmer wrote: > > Hi, > > it seems to me like Go (from the lang/go port) does not utilize more > > than one CPU core on OpenBSD. Let's take this program, which may be run > > with `go run main.go`: > > > >

Re: What determines source IP of traffic from OpenBSD box ?

2021-02-26 Thread Loff
On Fri, Feb 26, 2021 at 11:53:40AM +0100, Rachel Roch wrote: > Hi > > Let's say I'm running "pkg_add -u" on a OpenBSD-based router with > multiple interfaces. > > What determines the source IP ? I'd say the routing table. > Building on that, there is no "source interface" flag for pkg_add

Re: pf filtering on bridge totally blown my mind

2020-11-27 Thread Loff
On Fri, Nov 27, 2020 at 12:05:49PM +0300, kasak wrote: > Mine configuration requires to use a brigde: > > I have files: > > cat /etc/hostname.bridge0 > add vether0 > add em1 > add tap1 > up > > files hostname.em1 and tap1 just contain "up" > > and file hostname.vether0 contain: > > inet

Re: samba macos epic fail

2020-11-23 Thread Loff
On Sun, Nov 22, 2020 at 01:45:13PM -0800, Lyndon Nerenberg wrote: > Somebody please tell me what the hell I am doing wrong here. > > OpenBSD 6.8, samba 4.9.18 via pkg_add, MacOS 10.15.7 fully patched. > > My main goal is to get Time Machine backups running, but I keep getting > all sorts of

Re: Bluetooth adapter that works with OpenBSD

2020-09-22 Thread Loff
On Tue, Sep 22, 2020 at 07:07:42AM -, Stuart Henderson wrote: > On 2020-09-22, Tito Mari Francis Escaño wrote: > > Hi misc, > > I'm building an OpenBSD desktop PC and would like to use my Royal Kludge > > RK71 mechanical keyboard with it via USB Bluetooth dongle. > > Can somebody please point

Re: FAQ file sets missing cmdbox

2020-08-25 Thread Loff
"device simulation" renderer, and if that is the case, apologies for the noise. As the OP wasn't entirely clear, I was guessing what the problem could be and stumbled upon that. > On Tue, Aug 25, 2020 at 1:04 AM Zé Loff wrote: > > > > > On Tue, Aug 25, 2020 at 12:04:57AM -07

Re: FAQ file sets missing cmdbox

2020-08-25 Thread Loff
On Tue, Aug 25, 2020 at 12:04:57AM -0700, Greg Thomas wrote: > I'm getting pretty old and struggle with stuff like this more and more > these days but I don't see what is "very difficult to follow" about the > current layout, and I'm not sure what's weird about it either? Indentation gets

Re: DHCPD issue

2020-07-20 Thread Loff
On Mon, Jul 20, 2020 at 02:06:37AM -0500, Charlie Burnett wrote: > Hi, > I've set up a good deal of openbsd firewalls in a professional environment > before with little to no issue. I'm trying to set one up for me personally > though, and am having some bizarre issues, with no clue where to

Re: Cleaning system's old ibraries/files after update to next -release or -current

2020-07-14 Thread Loff
On Tue, Jul 14, 2020 at 11:11:34AM +, Martin wrote: > After system update I found lots of 'old' libraries versions and > possibly binaries from previous releases. > > Does anybody know an automated method to remove it after update? For > instance previous libs before update to -current. >

Re: dmesg memory not match spdmem and bios

2020-06-10 Thread Loff
Wrong architecture. You should be running amd64, not i386 On Wed, Jun 10, 2020 at 02:02:32PM +, man Chan wrote: > Hello, > I just got a second Gaga-H97N-wifi motherbroad and installed > openbsd6.6 Stable. The  dmesg shows real and avail memory does not  > match with the spdmem.  Anyone

Re: Potential awk bug?

2020-06-06 Thread Loff
On Sat, Jun 06, 2020 at 03:51:58PM -0700, Jordan Geoghegan wrote: > Hello, > > I was hoping the fine folks here could give me a quick sanity check, I'm by > no means an awk guru, so I'm likely missing something obvious. I wanted to > ask here quickly before I started flapping my gums on bugs@. >

Re: openssl / did something change?

2020-01-06 Thread Loff
On Mon, Jan 06, 2020 at 02:17:20PM +, Roderick wrote: > > I cannot decrypt files with > > openssl aes-256-cbc -d -a -salt < encrypted-file.encrypted > > That I encrypted with > > openssl aes-256-cbc -e -a -salt < file > file.encrypted > > I get the error: > > bad decrypt >

Re: Hardware for Access Point on OpenBSD

2020-01-01 Thread Loff
On Wed, Jan 01, 2020 at 08:54:46AM -0700, List wrote: > Hi *, > I am currently building a home router based upon OpenBSD. > I therefore need some kind of WIFI Hardware. This piece of hardware > needs to be connected over usb. > Do you have any suggestions or recommendations ? As far as I can

Re: Router with WAN subnet - dedicated IP per Host

2019-11-25 Thread Loff
On Mon, Nov 25, 2019 at 04:31:45PM +0100, Henry Jensen wrote: > Hi, > > my ISP provides me with a /29 subnet, including 5 usable public IPv4 > addresses. > > Until now my router uses only one of this public IPs (11.22.33.40), > with port forwarding of port 443 to an host in a DMZ(192.168.1.0/24)

Changes to VLAN and promiscuous mode in 6.6

2019-10-29 Thread Loff
Hi all Some changes in VLAN-related code went into 6.6 and I think some of them changed the way the parent interface gets into promiscuous mode. Let me try to explain... Our ISP provides internet and VoIP over two separate VLANs (100 and 101, respectively). Our external firewall has two

/usr/X11R6/bin/xset linked to missing libXfontcache.so.5.0

2018-05-26 Thread Loff
On a vanilla amd64-current fresh install, /usr/X11R6/bin/xset seems to be linked to libXfontcache.so.5.0, which I believe was recently dropped from the install sets. This (obviously) makes xset fail on start. pagurus# xset ld.so: xset: can't load library 'libXfontcache.so.5.0' Killed pagurus#

Re: Can't boot from encrypted disk after attaching/detaching from another machine

2017-10-04 Thread Loff
On Wed, Oct 04, 2017 at 12:18:20PM +0200, Stefan Sperling wrote: > On Wed, Oct 04, 2017 at 10:57:28AM +0100, Zé Loff wrote: > > On Wed, Oct 04, 2017 at 10:41:56AM +0100, Zé Loff wrote: > > > > > > Hi all > > > > > > I connected my laptop's enc

Re: Can't boot from encrypted disk after attaching/detaching from another machine

2017-10-04 Thread Loff
On Wed, Oct 04, 2017 at 10:41:56AM +0100, Zé Loff wrote: > > Hi all > > I connected my laptop's encrypted HDD to my desktop machine to copy some > stuff and when I put it back on the laptop the boot loader no longer > asks for the passphrase and thus I can't boot from it.

Can't boot from encrypted disk after attaching/detaching from another machine

2017-10-04 Thread Loff
Hi all I connected my laptop's encrypted HDD to my desktop machine to copy some stuff and when I put it back on the laptop the boot loader no longer asks for the passphrase and thus I can't boot from it. Any clues? Some notes: - Both machines are amd64 running snapshots, 6.2 #115 (Sep 27) on

Re: Useless firmware in /etc/firmware/ for unsupported device

2017-09-12 Thread Loff
On Tue, Sep 12, 2017 at 09:44:15AM -0400, Puffymon wrote: > Hi. > When I ran OpenBSD first time at my AMD PC, > it didn't try to fetch radeondrm(4) firmware. > So I had to run "fw_update radeondrm" > > Then after reboot it didn't try to load radeondrm(4) for my Kaveri APU > That is a big pain, I

Re: Why is my USB showing as multiple disks (sd1/sd2/sd3) during installation? - OpenBSD 6.1 Release + Updates

2017-08-04 Thread Loff
On Thu, Aug 03, 2017 at 05:44:42PM -0400, tec...@protonmail.com wrote: > Hello, > I'm so confused about this - I'm trying to install OBSD 6.1 to another > USB from a USB.. This all goes well up until the point of selecting > the disk to install to.. instead of it showing as I'd expect it to: >

Re: another iked issue

2017-06-06 Thread Loff
On Mon, Jun 05, 2017 at 07:50:01PM -0400, Igor V. Gubenko wrote: > Hello all, > > I am continuing my assault on iked :) > > Here is a perfectly working configuration that uses PSK's: > > ### > > local_ip = "A.B.1.153" > local_net = "172.16.0.0/20" > > ikev2 "KBweb" \ >

Re: A mix: mounting ext3 usb, FF & js, audio

2017-05-19 Thread Loff
On Thu, May 18, 2017 at 05:59:16PM -0700, system_halted wrote: > Hi, > I am new to BSD world, yet enjoying very much OpenBSD 6.1 that I have > installed recently. As a newcomer I have some questions, sorry for having a > mix of everything. > > 1. I have a pendrive with ext3fs > > fdisk output on

Re: Speed tests on 11n / 11g and on different channels with the latest 6.1 snapshot from yesterday. Patterns can be observed.

2017-03-05 Thread Loff
On Sun, Mar 05, 2017 at 04:04:00PM -0500, tec...@protonmail.com wrote: > Why does it make no sense? It's a real world test on actual > performance noticed by a client. It absolutely makes sense. Yes there > are other tests which could be performed on top of that testing, > obviously. Because if

Re: PCI Express wireless adapter supported under OpenBSD

2016-11-30 Thread Loff
On Wed, Nov 30, 2016 at 08:09:24AM +, C. L. Martinez wrote: > Hi all, > > I would like to install OpenBSD on a HP Microserver Gen8 to act as a > firewall and hostap. I am searching what components I need and I have > a doubt about what wireless interface I need to buy to use it as a >

Re: iked(8) OpenBSD road warrior setup anybody?

2016-10-04 Thread Loff
> On 04/10/2016, at 18:48, Pavel Korovin <p...@tristero.se> wrote: > > On 10/04, Zé Loff wrote: >>> On 04/10/2016, at 11:58, Pavel Korovin <p...@tristero.se> wrote: >>> >>>> On 10/04, Zé Loff wrote: >>>> On "the wande

  1   2   3   >