--- Log opened Wed Jul 03 00:00:03 2024 00:05 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Remote host closed the connection] 00:09 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 00:18 -!- macabro [~user@user/monkey/x-0691028] has quit [Remote host closed the connection] 00:23 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 00:23 -!- ipetruk [~user@user/ipetruk] has joined #openbsd 00:30 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 00:37 -!- xx [~xx@user/xx] has quit [Ping timeout: 260 seconds] 00:40 -!- redruM [~redrum@user/redrum] has joined #openbsd 00:41 -!- Xenguy [~Xenguy@user/xenguy] has quit [Quit: "To play for a draw [...] is to some degree a crime against chess." -- Mikhail Tal] 00:43 -!- guru__ [~guru@2001:9e8:e804:df00:20c:29ff:fe5c:9d22] has joined #openbsd 00:45 -!- guru_ [~guru@2001:9e8:e802:a700:20c:29ff:fe5c:9d22] has quit [Ping timeout: 246 seconds] 00:47 -!- geekthattweaks [uid433447@user/geekthattweaks] has quit [Quit: Connection closed for inactivity] 00:48 -!- kroovy [~libera@62.144.32.67] has quit [Ping timeout: 268 seconds] 00:53 -!- kroovy [~libera@62.144.32.67] has joined #openbsd 00:55 -!- j3s [~j3s@cyberia.club/member/j3s] has quit [Ping timeout: 255 seconds] 01:01 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has quit [Quit: Connection closed for inactivity] 01:02 < rnkn> does anyone know a terminal file browser that doesn't require python? both ranger and lf do 01:05 < vulpine> theres midnight commander 01:05 -!- kroovy [~libera@62.144.32.67] has quit [Ping timeout: 268 seconds] 01:06 < rnkn> vulpine: can midnight commander do "column view" navigation or is it just the two panes? 01:06 < rnkn> I'm not sure if I'm being clear 01:09 < vulpine> i think it only has the two panes 01:11 -!- kroovy [~libera@62.144.32.67] has joined #openbsd 01:12 < wolfdog> nnn, maybe? (https://github.com/jarun/nnn) 01:12 -!- Xenguy [~Xenguy@user/xenguy] has joined #openbsd 01:14 -!- ggeecko [~ggeecko@c-73-7-113-168.hsd1.ga.comcast.net] has joined #openbsd 01:14 -!- access [~untan@user/access] has joined #openbsd 01:14 < rnkn> wolfdog: ooh good suggestion! 01:18 -!- srfsh [~srfsh@user/srfsh] has quit [Remote host closed the connection] 01:18 -!- srfsh [~srfsh@user/srfsh] has joined #openbsd 01:28 -!- m1dnight [~christoph@82.146.125.185] has quit [Read error: Connection reset by peer] 01:29 -!- zorz [~zorz@user/zorz] has quit [Quit: leaving] 01:33 -!- m1dnight [~christoph@82.146.125.185] has joined #openbsd 01:34 -!- scain [~scain@2603:8080:b104:4e00:45cf:678b:a7f:b897] has quit [Quit: Konversation terminated!] 01:34 -!- sdds [~sdds@user/sdds] has joined #openbsd 01:39 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 01:40 -!- zorz [~zorz@user/zorz] has joined #openbsd 01:47 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has joined #openbsd 01:57 -!- desnudopenguino1 [~Thunderbi@c-24-16-0-66.hsd1.wa.comcast.net] has joined #openbsd 02:00 -!- desnudopenguino [~Thunderbi@c-24-16-0-66.hsd1.wa.comcast.net] has quit [Ping timeout: 268 seconds] 02:00 -!- desnudopenguino1 is now known as desnudopenguino 02:22 -!- geekthattweaks [uid433447@user/geekthattweaks] has joined #openbsd 02:31 -!- srfsh [~srfsh@user/srfsh] has quit [Remote host closed the connection] 02:32 -!- srfsh [~srfsh@user/srfsh] has joined #openbsd 02:33 < mischief> perhaps ncdu 02:45 -!- bountyht [arelor@triton.blinkenshell.org] has quit [Ping timeout: 252 seconds] 02:49 -!- byteskeptical [~amnesia@user/byteskeptical] has quit [Remote host closed the connection] 02:50 -!- macabro [~user@user/monkey/x-0691028] has joined #openbsd 02:51 -!- bountyht [arelor@triton.blinkenshell.org] has joined #openbsd 02:54 -!- byteskeptical [~amnesia@user/byteskeptical] has joined #openbsd 02:56 -!- schalken [~schalken@117-118-178-69.gci.net] has joined #openbsd 02:56 -!- mikeybsd [~solo@user/mikeybsd] has quit [Ping timeout: 272 seconds] 02:58 -!- bket [~bket@user/bket] has quit [Remote host closed the connection] 03:00 -!- bket [~bket@user/bket] has joined #openbsd 03:07 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has quit [Quit: format_c] 03:10 -!- rnkn [~rnkn@66.135.27.208] has quit [Quit: rnkn] 03:12 -!- desnudopenguino [~Thunderbi@c-24-16-0-66.hsd1.wa.comcast.net] has quit [Ping timeout: 256 seconds] 03:14 -!- j3s_ [~j3s@cyberia.club/member/j3s] has joined #openbsd 03:20 -!- xet7 [~xet7@user/xet7] has joined #openbsd 03:20 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 03:20 -!- rnkn [~rnkn@66.135.27.208] has joined #openbsd 03:20 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has quit [Excess Flood] 03:21 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has joined #openbsd 03:21 -!- tozhu [~tozhu@14.18.232.142] has joined #openbsd 03:23 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 03:26 -!- tozhu [~tozhu@14.18.232.142] has quit [Ping timeout: 264 seconds] 03:44 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has joined #openbsd 03:50 -!- edthix [~Thunderbi@180.74.223.180] has joined #openbsd 03:50 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 04:00 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 04:01 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 04:07 -!- beanbrain [~brain@user/beanbrain] has joined #openbsd 04:09 < rnkn> just discovered pkg_info -P and life is a little better 04:11 < Aedil> adrian@www3 ~ % /usr/pkg/sbin/pkg_info -P 04:11 < Aedil> pkg_info: unknown option -- P 04:12 -!- beanbrain [~brain@user/beanbrain] has quit [Client Quit] 04:12 < rnkn> weird 04:13 < rnkn> it's supposed to print the pkgpath 04:13 < Aedil> rnkn: Do you use -current? 04:14 < Aedil> rnkn: I use the last stable release of base and pkgsrc. 04:15 < rnkn> Aedil: pkgsrc != OpenBSD pkg 04:15 < Aedil> rnkn: Oh, i am sorry. I thought I am in #pkgsrc channel! 04:16 < Aedil> rnkn: NetBSD has pkg_info too! 04:16 < rnkn> there are small differences, like pkg_info -u is pkg_info -m 04:17 -!- Tingo [~Tingo@2407:d000:b:ec84:adee:17f4:3f10:702a] has quit [Quit: Client closed] 04:17 -!- ack_ [~ack@115.187.36.69] has joined #openbsd 04:19 -!- frkzoid [~frkazoid3@2603-9000-cf00-1a4e-88a0-5dd3-ea3e-61d0.inf6.spectrum.com] has quit [Ping timeout: 260 seconds] 04:19 -!- ack_ [~ack@115.187.36.69] has quit [Client Quit] 04:21 < rnkn> also looks like netbsd's implementation is in C 04:22 -!- frkazoid333 [~frkazoid3@2603-9000-cf00-1a4e-2c4b-b253-a2a3-416a.inf6.spectrum.com] has joined #openbsd 04:24 -!- mbuhl [~mbuhl@user/mbuhl] has quit [Ping timeout: 252 seconds] 04:27 -!- dqk [~dqk@lfbn-gre-1-178-214.w90-112.abo.wanadoo.fr] has quit [Ping timeout: 264 seconds] 04:28 -!- dqk [~dqk@lfbn-gre-1-178-214.w90-112.abo.wanadoo.fr] has joined #openbsd 04:32 < remiliascarlet> Aedil: OpenBSD is not NetBSD. pkg_info is located in /usr/sbin/pkg_info under OpenBSD. 04:34 < remiliascarlet> And yes, there are differences. Especially if I'm using `pkg_info -Q`, on OpenBSD that's similar to `pkg search` on FreeBSD or `pkgin search` on NetBSD, but doing `pkg_info -Q` on NetBSD gives me "pkg_info: missing package name(s)". 04:51 -!- ikarso [uid475540@id-475540.tinside.irccloud.com] has joined #openbsd 04:54 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 04:59 -!- ChubaDuba [~ChubaDuba@79.136.179.33] has joined #openbsd 05:00 -!- krl_ [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has joined #openbsd 05:00 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 05:01 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 05:01 -!- sdds [~sdds@user/sdds] has joined #openbsd 05:02 -!- krl [~krl@h-155-4-221-200.NA.cust.bahnhof.se] has quit [Ping timeout: 268 seconds] 05:05 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has quit [Quit: Konversation terminated!] 05:06 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 05:07 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 05:11 -!- d-ra [~d-ra@user/d-ra] has joined #openbsd 05:11 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has quit [Quit: Konversation terminated!] 05:11 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 05:20 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 05:28 -!- slow99 [~slow99@user/slow99] has quit [Quit: slow99] 05:30 -!- ChubaDuba_ [~ChubaDuba@79.136.176.166] has joined #openbsd 05:30 -!- slow99 [~slow99@user/slow99] has joined #openbsd 05:31 -!- todd_ [~todd@gateway/tor-sasl/toddf] has joined #openbsd 05:32 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 05:32 -!- ChubaDuba [~ChubaDuba@79.136.179.33] has quit [Ping timeout: 264 seconds] 05:41 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 05:41 -!- vdamewood [~vdamewood@fedora/vdamewood] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 05:42 -!- jlmk [~jlmk@user/jlmk] has quit [] 05:42 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has quit [Quit: format_c] 05:43 -!- feriman [~feriman@user/feriman] has joined #openbsd 05:44 -!- livestradamus [~livestrad@user/livestradamus] has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in] 05:45 -!- livestradamus [~livestrad@user/livestradamus] has joined #openbsd 05:49 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 256 seconds] 05:51 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 05:53 < Aedil> remiliascarlet: Ok, thank you for the clarification. 05:54 < Aedil> rnkn: In which programming language is it implemented under OpenBSD? 05:54 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has joined #openbsd 05:54 < rnkn> Aedil: Perl 05:54 < Aedil> rnkn: Ok. Thanks. 05:55 -!- adig [~default@109.166.133.254] has quit [Read error: Connection reset by peer] 06:00 -!- oneeyedalien [~oneeyedal@user/oneeyedalien] has joined #openbsd 06:00 -!- rnkn [~rnkn@66.135.27.208] has quit [Quit: rnkn] 06:04 -!- CrashOverride [~strcat@p54855f0b.dip0.t-ipconnect.de] has joined #openbsd 06:11 -!- struchu [~struchu@staticline-31-183-187-144.toya.net.pl] has joined #openbsd 06:11 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 06:12 -!- sdds [~sdds@user/sdds] has joined #openbsd 06:13 -!- _ChubaDuba_ [~ChubaDuba@37.112.227.152] has joined #openbsd 06:13 -!- _ChubaDuba_ [~ChubaDuba@37.112.227.152] has quit [Remote host closed the connection] 06:13 -!- ChubaDuba [~ChubaDuba@37.112.227.152] has joined #openbsd 06:15 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 06:15 -!- ChubaDuba_ [~ChubaDuba@79.136.176.166] has quit [Ping timeout: 268 seconds] 06:16 -!- todd_ [~todd@gateway/tor-sasl/toddf] has quit [Remote host closed the connection] 06:19 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 06:20 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 06:22 -!- todd_ [~todd@gateway/tor-sasl/toddf] has joined #openbsd 06:24 -!- mubluekoor [~Thunderbi@user/mubluekoor] has quit [Ping timeout: 260 seconds] 06:30 -!- ChubaDuba [~ChubaDuba@37.112.227.152] has quit [Ping timeout: 252 seconds] 06:30 -!- uncleyear [~ian@45.80.46.92] has quit [Quit: Lost terminal] 06:31 -!- ChubaDuba [~ChubaDuba@5.165.179.174] has joined #openbsd 06:33 -!- uncleyear [~ian@45.80.46.92] has joined #openbsd 06:33 -!- mubluekoor [~Thunderbi@user/mubluekoor] has joined #openbsd 06:36 -!- emmanuelux [~emmanuelu@user/emmanuelux] has quit [Quit: au revoir] 06:37 -!- oneeyedalien [~oneeyedal@user/oneeyedalien] has quit [Quit: Leaving] 06:37 -!- shiranaihito_ [~shiranaih@2001:fb1:7f:8c7e:e58a:177a:a9a0:8f65] has joined #openbsd 06:43 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 264 seconds] 06:44 -!- ChubaDuba [~ChubaDuba@5.165.179.174] has quit [Ping timeout: 240 seconds] 06:46 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 06:47 -!- jagtalon [~quassel@user/jagtalon] has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.] 06:48 -!- jagtalon [~quassel@user/jagtalon] has joined #openbsd 06:48 -!- jagtalon [~quassel@user/jagtalon] has quit [Client Quit] 06:48 -!- jagtalon [~quassel@user/jagtalon] has joined #openbsd 06:52 -!- euphores [~SASL_euph@user/euphores] has quit [Quit: Leaving.] 07:01 -!- euphores [~SASL_euph@user/euphores] has joined #openbsd 07:01 -!- zorz [~zorz@user/zorz] has quit [Ping timeout: 252 seconds] 07:03 -!- zorz [~zorz@user/zorz] has joined #openbsd 07:05 < Reinhilde> / =166 07:07 -!- rnkn [~rnkn@66.135.27.208] has joined #openbsd 07:10 -!- ggeecko [~ggeecko@c-73-7-113-168.hsd1.ga.comcast.net] has quit [Quit: Lost terminal] 07:12 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 07:15 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 07:15 -!- bilegeek_ [~bilegeek@83.sub-174-228-98.myvzw.com] has joined #openbsd 07:15 -!- redruM [~redrum@user/redrum] has quit [Ping timeout: 256 seconds] 07:18 -!- bilegeek [~bilegeek@2600:1008:b097:4201:4e37:1733:dc44:e84a] has quit [Ping timeout: 264 seconds] 07:22 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 07:25 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 07:25 -!- shiranaihito_ [~shiranaih@2001:fb1:7f:8c7e:e58a:177a:a9a0:8f65] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 07:27 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 07:29 -!- michuumichuu [~michuumic@user/michuumichuu] has joined #openbsd 07:31 -!- visl [~visl@user/visl] has quit [Ping timeout: 255 seconds] 07:33 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 268 seconds] 07:33 -!- visl [visl@user/visl] has joined #openbsd 07:35 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 07:42 -!- tercaL [~tercaL@user/tercal] has joined #openbsd 07:43 -!- xx [~xx@user/xx] has joined #openbsd 07:43 < struchu> i faktycznie teraz jest na wakacjach 07:43 < struchu> damn, wrong window, sorry ;) 07:45 -!- serxoz [~serxoz@user/serxoz] has quit [Ping timeout: 264 seconds] 07:47 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has joined #openbsd 07:48 -!- bilegeek_ [~bilegeek@83.sub-174-228-98.myvzw.com] has quit [Ping timeout: 246 seconds] 07:55 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has quit [Quit: ZNC 1.8.2 - https://znc.in] 07:56 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has joined #openbsd 07:56 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 07:58 -!- d-ra [~d-ra@user/d-ra] has quit [Ping timeout: 272 seconds] 07:58 -!- danilogondolfo [~danilogon@37.228.206.65] has joined #openbsd 07:58 -!- bilegeek [~bilegeek@83.sub-174-228-98.myvzw.com] has joined #openbsd 08:00 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 08:01 -!- edthix [~Thunderbi@180.74.223.180] has quit [Quit: edthix] 08:03 -!- A1ice [~a1ice@gateway/tor-sasl/a1ice] has quit [Remote host closed the connection] 08:04 -!- A1ice [~a1ice@gateway/tor-sasl/a1ice] has joined #openbsd 08:05 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 256 seconds] 08:05 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 08:10 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 08:13 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 08:14 -!- finkfox [~finkfox@user/finkfox] has joined #openbsd 08:19 -!- gaussianblue [~gaussianb@user/gaussianblue] has joined #openbsd 08:21 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 08:34 -!- Code_Bleu [~Code_Bleu@user/code-bleu/x-6939963] has quit [Ping timeout: 268 seconds] 08:35 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 08:38 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 08:41 -!- bilegeek [~bilegeek@83.sub-174-228-98.myvzw.com] has quit [Quit: Leaving] 08:44 -!- echkourine25 [~echkourin@2a01cb06b80133d840b4c3c63222d8ce.ipv6.abo.wanadoo.fr] has joined #openbsd 08:46 -!- Code_Bleu [~Code_Bleu@user/code-bleu/x-6939963] has joined #openbsd 08:47 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 08:50 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 08:55 -!- tercaL [~tercaL@user/tercal] has quit [Ping timeout: 256 seconds] 09:00 -!- frdem [~frdem@178.157.32.169] has joined #openbsd 09:01 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 09:02 -!- DINOWILLIAM [~DINOWILLI@177.92.53.236] has quit [Ping timeout: 268 seconds] 09:03 -!- DINOWILLIAM [~DINOWILLI@177.92.53.236] has joined #openbsd 09:03 -!- gaussianblue [~gaussianb@user/gaussianblue] has quit [Ping timeout: 264 seconds] 09:13 -!- mbuhl [~mbuhl@user/mbuhl] has joined #openbsd 09:16 -!- d-ra [~d-ra@user/d-ra] has joined #openbsd 09:18 -!- feriman [~feriman@user/feriman] has quit [Quit: leaving] 09:21 -!- feriman [~feriman@user/feriman] has joined #openbsd 09:32 -!- edthix [~Thunderbi@180.74.223.180] has joined #openbsd 09:33 -!- edthix [~Thunderbi@180.74.223.180] has quit [Client Quit] 09:39 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 09:40 -!- sdds [~sdds@user/sdds] has joined #openbsd 09:53 -!- k0ga [~k0ga@simple-cc.org] has quit [Quit: leaving] 09:53 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 09:53 -!- k0ga [~k0ga@simple-cc.org] has joined #openbsd 09:58 -!- sdds_ [~sdds@user/sdds] has joined #openbsd 10:00 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 260 seconds] 10:00 -!- sdds_ [~sdds@user/sdds] has quit [Remote host closed the connection] 10:01 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 246 seconds] 10:16 -!- tercaL [~tercaL@user/tercal] has joined #openbsd 10:17 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 10:18 -!- finkfox [~finkfox@user/finkfox] has quit [Ping timeout: 268 seconds] 10:19 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 10:20 -!- kubernatty [~x@pool-68-132-28-33.nycmny.fios.verizon.net] has quit [Ping timeout: 268 seconds] 10:22 -!- sdds [~sdds@user/sdds] has joined #openbsd 10:23 -!- kubernatty [~x@pool-68-132-28-33.nycmny.fios.verizon.net] has joined #openbsd 10:43 -!- mikeybsd [~solo@user/mikeybsd] has quit [Ping timeout: 256 seconds] 10:49 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 264 seconds] 10:56 -!- djames [~djames@user/djames/x-9001197] has joined #openbsd 10:57 -!- djames [~djames@user/djames/x-9001197] has quit [Client Quit] 11:04 -!- mubluekoor [~Thunderbi@user/mubluekoor] has quit [Quit: mubluekoor] 11:06 -!- mubluekoor [~Thunderbi@user/mubluekoor] has joined #openbsd 11:08 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 11:12 -!- echkourine25 [~echkourin@2a01cb06b80133d840b4c3c63222d8ce.ipv6.abo.wanadoo.fr] has quit [Quit: Client closed] 11:19 -!- graywolf [~graywolf@user/graywolf] has joined #openbsd 11:20 < graywolf> Hello, how can one contribute patches to openbsd? I am not sure which list from https://www.openbsd.org/mail.html to pick... 11:22 -!- _0x1eef [~user@al-quran.reflectslight.io] has quit [Quit: Reboot] 11:23 -!- _0x1eef [~user@al-quran.reflectslight.io] has joined #openbsd 11:23 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 240 seconds] 11:25 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 11:28 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 246 seconds] 11:34 -!- sdds [~sdds@user/sdds] has joined #openbsd 11:36 -!- Leone [~Leo@216.154.15.249] has joined #openbsd 11:37 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 11:37 -!- rnkn [~rnkn@66.135.27.208] has quit [Quit: rnkn] 11:40 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 11:53 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 11:53 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 268 seconds] 11:53 -!- zimmer [~zimmer@user/zimmer] has quit [Remote host closed the connection] 11:55 -!- feriman [~feriman@user/feriman] has joined #openbsd 11:56 < sonya> graywolf: Developer Lists are the answer, probably.. 11:57 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 11:58 -!- sdds [~sdds@user/sdds] has joined #openbsd 12:01 < graywolf> Ah based on the description I was not sure if I should send patches there since I am not a openbsd developer. 12:01 < graywolf> Will send it there, thankx 12:06 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 264 seconds] 12:07 -!- frdem [~frdem@178.157.32.169] has quit [Ping timeout: 264 seconds] 12:11 -!- A1ice [~a1ice@gateway/tor-sasl/a1ice] has quit [Remote host closed the connection] 12:12 -!- A1ice [~a1ice@gateway/tor-sasl/a1ice] has joined #openbsd 12:13 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 12:13 -!- logan_ [~logan@196.1.0.27] has joined #openbsd 12:14 -!- echkourine25 [~echkourin@92-184-118-55.mobile.fr.orangecustomers.net] has joined #openbsd 12:17 -!- tozhu [~tozhu@117.136.39.224] has joined #openbsd 12:17 -!- scain [~scain@2603:8080:b104:4e00:45cf:678b:a7f:b897] has joined #openbsd 12:18 -!- arity [~arity@user/arity] has joined #openbsd 12:19 -!- tozhu [~tozhu@117.136.39.224] has quit [Client Quit] 12:19 < arity> after installing then running syspatch im getting (gzip: stdin: Input/output error 12:19 < arity> tar: End of archive volume 1 reached) 12:21 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 12:22 -!- michuumichuu [~michuumic@user/michuumichuu] has quit [Quit: michuumichuu] 12:26 < sonya> arity: check /etc/installurl , try to switch mirror ( like https://cdn.openbsd.org/pub/OpenBSD/ or closest to your location), check network.. i had tons of errors with broken net adapter 12:26 -!- logan_ [~logan@196.1.0.27] has quit [Ping timeout: 264 seconds] 12:29 -!- tozhu [~tozhu@117.136.39.224] has joined #openbsd 12:33 -!- michuumichuu [~michuumic@user/michuumichuu] has joined #openbsd 12:33 -!- michuumichuu [~michuumic@user/michuumichuu] has quit [Remote host closed the connection] 12:35 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 260 seconds] 12:39 -!- tozhu [~tozhu@117.136.39.224] has quit [Ping timeout: 264 seconds] 12:43 -!- finkfox [~finkfox@user/finkfox] has joined #openbsd 12:45 -!- tozhu [~tozhu@240e:47d:32e0:ad4b:8da9:d367:a14:943] has joined #openbsd 12:45 -!- tozhu [~tozhu@240e:47d:32e0:ad4b:8da9:d367:a14:943] has quit [Client Quit] 12:45 -!- tozhu [~tozhu@183.8.194.210] has joined #openbsd 12:47 -!- user71 [~user71@2001:1530:1002:ae55:1e6f:65ff:fe88:557f] has joined #openbsd 12:58 -!- arity_ [~arity@user/arity] has joined #openbsd 12:59 -!- arity [~arity@user/arity] has quit [Ping timeout: 264 seconds] 13:00 < arity_> yea okay 13:00 -!- arity_ is now known as arity 13:04 -!- zorz is now known as zorz^ 13:07 -!- zorz^ is now known as zorz 13:09 -!- frdem [~frdem@178.157.32.169] has joined #openbsd 13:09 -!- tozhu [~tozhu@183.8.194.210] has quit [Read error: Connection reset by peer] 13:14 -!- zorz^ [~zorz@user/zorz] has joined #openbsd 13:18 -!- graywolf [~graywolf@user/graywolf] has quit [Quit: WeeChat 4.3.3] 13:20 -!- zorz^ [~zorz@user/zorz] has quit [Quit: leaving] 13:21 -!- zorz^ [~zorz@user/zorz] has joined #openbsd 13:23 -!- mlw [~mlw@154.127.13.125] has joined #openbsd 13:26 -!- Xenguy [~Xenguy@user/xenguy] has quit [Quit: "To play for a draw [...] is to some degree a crime against chess." -- Mikhail Tal] 13:27 -!- zelest [h52yk2rfe0@sephora.ifconfig.se] has joined #openbsd 13:29 -!- rpratt [~rpratt@104-153-34-238.cpe.safelink.net] has joined #openbsd 13:31 -!- echkourine25 [~echkourin@92-184-118-55.mobile.fr.orangecustomers.net] has quit [Quit: Client closed] 13:32 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Ping timeout: 260 seconds] 13:44 -!- user71 [~user71@2001:1530:1002:ae55:1e6f:65ff:fe88:557f] has quit [Quit: Leaving] 13:45 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has joined #openbsd 13:47 < arity> maybe it was network error i didnt do anything now working 13:48 -!- jab [~user@user/jab] has joined #openbsd 13:52 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 13:53 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 13:58 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 14:01 -!- tercaL [~tercaL@user/tercal] has quit [Remote host closed the connection] 14:03 -!- RayS [~raysl@sdf-1.vm.tornadovps.net] has quit [Quit: ZNC 1.8.2 - https://znc.in] 14:03 -!- ivdsangen [~ivo@86-95-161-96.fixed.kpn.net] has joined #openbsd 14:04 -!- RayS [~raysl@sdf-1.vm.tornadovps.net] has joined #openbsd 14:08 -!- jab [~user@user/jab] has left #openbsd [ERC 5.6 (IRC client for GNU Emacs 29.3)] 14:10 -!- terminaldweller [~terminald@user/terminaldweller] has quit [Quit: ZNC - https://znc.in] 14:11 -!- gh34 [~textual@syn-184-058-181-106.res.spectrum.com] has joined #openbsd 14:15 -!- terminaldweller [~terminald@user/terminaldweller] has joined #openbsd 14:15 -!- RayS [~raysl@sdf-1.vm.tornadovps.net] has quit [Quit: ZNC 1.8.2 - https://znc.in] 14:17 -!- RayS [~raysl@sdf-1.vm.tornadovps.net] has joined #openbsd 14:21 -!- finkfox [~finkfox@user/finkfox] has quit [Ping timeout: 268 seconds] 14:25 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 14:26 -!- djames [~djames@user/djames/x-9001197] has joined #openbsd 14:27 -!- Xenguy [~Xenguy@user/xenguy] has joined #openbsd 14:27 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 14:29 -!- fastidious [quark@user/meow/fastidious] has quit [Quit: Good day!] 14:32 -!- fastidious [quark@user/meow/fastidious] has joined #openbsd 14:34 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has quit [Changing host] 14:34 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has joined #openbsd 14:38 -!- b50d [~b50d@62.96.54.30] has quit [Remote host closed the connection] 14:42 -!- Bradipo [~Bradipo@50.77.44.29] has joined #openbsd 14:42 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 14:43 -!- vesper [~jdoe@gateway/tor-sasl/vesper] has joined #openbsd 14:45 -!- seninha [~seninha@user/seninha] has joined #openbsd 14:48 -!- jab` [~user@1625265-static.lfytina1.metronetinc.net] has joined #openbsd 14:54 -!- finkfox [~finkfox@user/finkfox] has joined #openbsd 14:58 -!- seninha_ [~seninha@user/seninha] has joined #openbsd 14:58 < sysfu> sibiria, I did implement the max-src-conn settings in a pf rule for ssh access. These works for the dumber attackers but it doesn't work against the 'hail mary cloud' style ssh attacks first documented by Peter Hansteen over a decade ago. I found that the awk statements that combs through authlog for 'Invalid user' lines especially helpful for identify bad actor IP addresses to add to a block table. 14:59 < sysfu> What I do is add those harvest IP address to a table file, /etc/tables/bfssh with a `tee -a` commend, and then use a cron statement to load that table into pf on the hour. 15:00 -!- struchu [~struchu@staticline-31-183-187-144.toya.net.pl] has quit [Quit: WeeChat 4.3.2] 15:01 -!- seninha [~seninha@user/seninha] has quit [Ping timeout: 264 seconds] 15:01 -!- jardsonto [~jardsonto@189-48-169-225.user3p.veloxzone.com.br] has joined #openbsd 15:02 < Bradipo> You could install inotifywait and just have it fire off pfctl everytime the file is updated. lol. 15:03 -!- arity [~arity@user/arity] has quit [Read error: Connection reset by peer] 15:03 < sysfu> Bradipo, that's actually on a bad idea because it eliminates the delay. I was struggling to find a way to feed harveste IPs direct to a `pfctl -t table -T replace` command without having the commend terminate. 15:04 < sysfu> actually NOT a bad idea... 15:04 < Bradipo> Oh, well, I guess I don't understand the value or purpose of "the delay". 15:05 < sysfu> there is no value, I just hadn't figured out how to add the address immediately, because I had to use the workaround of feeding IPs into a table file first. 15:05 < Bradipo> Oh, my brain automatically removed the word "on" from "on a bad" and I misunderstood you to say "that's actually a bad idea". 15:05 -!- gh34 [~textual@syn-184-058-181-106.res.spectrum.com] has quit [Quit: Textual IRC Client: www.textualapp.com] 15:05 < sysfu> typo, sry. 15:05 < Bradipo> Haha. 15:05 < Bradipo> No worries. 15:05 < sysfu> If I put a statement like this in my littel 'snag-bots' script, it will exit 15:05 < sibiria> sysfu: yes, the longer between attempts the harder it is to separate them. there's no way to create a "sieve" without retroactive parsing 15:06 < sysfu> `tail -f /var/log/authlog | awk '$0 ~ /Invalid user/ { print $10; fflush() }' | pfctl -t bfssh -T add $1` 15:06 < sibiria> i only block aggressive attempts. the rest i don't bother with for the reason that it practically does not matter 15:07 < Bradipo> sysfu: The "$0 ~" is redundant there. 15:07 < Bradipo> You could just do awk '/Invalid user/ { print ... }' 15:08 < Bradipo> I know that's what I said yesterday, but either workds. 15:08 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 15:08 < sysfu> Bradipo, Ha, OK I was combing through the history to see who suggested it, and i was you. lol. 15:08 < Bradipo> Yeah, I did say that... I was in a hurry. 15:09 -!- arity [~arity@user/arity] has joined #openbsd 15:09 < Bradipo> Instead of trying to pipe to pfctl, you could pipe to a long running script. 15:09 < Bradipo> The script can just be in a while :; do read ; pfctl -t bfssh -T add "$REPLY"; done 15:09 < sysfu> not sure I'm following. 15:09 < Bradipo> Well, above you suggested piping the output of your tail directly to pfctl. 15:10 < sysfu> Yes, but not familiar with the term 'long running' script. 15:10 < Bradipo> Of course that won't work because unless pfctl reads from stdin, you'll have to figure out something else. 15:10 < Bradipo> Well, a script that doesn't exit... 15:10 -!- seninha_ [~seninha@user/seninha] has quit [Quit: Leaving] 15:10 -!- desnudopenguino [~Thunderbi@c-24-16-0-66.hsd1.wa.comcast.net] has joined #openbsd 15:10 < Bradipo> while :; read ; done 15:10 -!- seninha [~seninha@user/seninha] has joined #openbsd 15:11 < Bradipo> Oops, I forgot do. while :; do read; echo "$REPLY"; done 15:18 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 15:19 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 15:20 < quinq> To be sure, a bit better: while :; do read -r var; echo "$var"; done 15:21 < sysfu> when I put that earlier example long running script in the background it halts after a few minutes 15:22 < Bradipo> Are you talking about: tail -f /var/log/authlog | awk '$0 ~ /Invalid user/ { print $10; fflush() }' | pfctl -t bfssh -T add $1 15:22 < Bradipo> ? 15:22 < Bradipo> Or do you mean the one I provided earlier? 15:23 < sysfu> No I'm talking about a new 'long running' script created at your suggestion that I'm calling 'pfadd' for now, the one with the while loop. 15:23 < Bradipo> Got it. 15:23 < Bradipo> So it just stop processing? 15:23 < Bradipo> Or does it actually exit? 15:24 < sysfu> the shell tells me `[1] + Stopped (tty input) ./pfadd` 15:25 < Bradipo> Ahh, got it. Yeah, this might be better done without a tty in the middle. 15:25 -!- user71 [~user71@2001:1530:1002:ae55:1e6f:65ff:fe88:557f] has joined #openbsd 15:25 < Bradipo> That's because you're using tee I imagine. 15:25 < Bradipo> Or did you pull tee out of it? 15:26 < sysfu> my snag-bots script runs uninterrupted. It's this while script that is stopping. 15:26 < Bradipo> Well, yeah, it's stopped because you put it in the background and it needs a tty apparently. 15:27 < Bradipo> Perhaps you misunderstood the suggestion... 15:27 < Bradipo> What exactly do you have in your pfadd script? 15:27 < sysfu> yes, please elaborate. 15:27 < sysfu> I have this is 'pfadd' `while :; do read -r var; echo "$var"; done` 15:27 < Bradipo> Ahh, that's the problem. :-) 15:27 < Bradipo> You took my suggestion *too* literally. 15:28 < Bradipo> That while loop goes at the end if your pipeline. 15:28 -!- sdds [~sdds@user/sdds] has joined #openbsd 15:28 < Bradipo> In pseudo script... tail the authlog, pipe it to awk to filter, and pipe that to the while loop to add with pfctl. 15:28 < Bradipo> So pfadd should look more like: tail -f authlog | awk ... | while read... 15:29 < sysfu> OK, unclear on how to pipe something to a while loop. Is that something like `| pfadd $1` at the end of the statement? 15:29 < Bradipo> tail -f authlog | awk | while :; do read -r "hacker"; pfctl -t table -T add "$hacker"; done 15:30 < Bradipo> I'm suggesting that pfadd is basically the thing that does it all. 15:30 < sysfu> Ah! got it. 15:30 < sysfu> I will try that and report back. 15:30 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has quit [Ping timeout: 260 seconds] 15:31 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 15:32 -!- drathir_tor [~drathir@wireguard/tunneler/drathir] has joined #openbsd 15:32 < sysfu> I ran it and it spit back a couple of '1/1 addresses added' lines...so far so good? 15:33 < sysfu> will see if it continues to add IPs based on matching authlog entries. 15:34 < Bradipo> Now, you have the other problem of persistence. 15:34 < Bradipo> You may want to run a cronjob that dumps the current contents of the table to a file that gets reloaded if pf restarts. 15:34 -!- pagundu [~pagundu@user/pagundu] has joined #openbsd 15:35 < sysfu> Bradipo, for persistence, I have an hourly cronjob that dumps the pf table into a file /etc/tables/bfssh 15:36 < Bradipo> Ok. 15:37 < sysfu> So looks like it's working! I'm getting more invalid user attempts in authlog and the script is popping those IPs into the bfssh table immediately. 15:38 < Bradipo> Now, the next challenge... how do you make sure that this script continues to run if you reboot? :-) 15:39 < sysfu> Good chap, what in the devil is this 'rebooting' that you speak of? 15:41 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 260 seconds] 15:41 < Bradipo> Unless you've figured out a way to keep Murphy at bay, it's inevitable. 15:42 < sysfu> For now I'm just connecting via ssh and launching several tmux windows, I half a half dozen open for various log tails, and run snag-bots in another. 15:42 < sysfu> If I'm rebooting it's usually only for a syspatch or release upgrade. 15:42 -!- pra [pra@2605:6400:85a0:92df:d341:deec:d98d:fdf9] has quit [Ping timeout: 256 seconds] 15:42 < Bradipo> Yeah, tmux is the poor man's supervisor. 15:45 -!- Guest53 [~Guest53@178.176.168.202] has joined #openbsd 15:46 < jcs> i will admit to a "@reboot tmux new-session -d '...'" crontab entry on occasion 15:46 < Bradipo> Haha. 15:46 -!- jardsonto [~jardsonto@189-48-169-225.user3p.veloxzone.com.br] has quit [Quit: leaving] 15:48 < Bradipo> I would normally just use daemontools for this kind of thing. I don't run tmux as root. 15:49 < Bradipo> But, that's an interesting approach, to be sure. 15:49 -!- ublx [~ublx@user/ublx] has joined #openbsd 15:50 < Bradipo> And I would start the script with no privileges and then only have the portion that needs to run pfctl use doas. 15:50 < sibiria> rc.local is underappreciated. things like this is among the few sane use cases for doas 15:51 < Bradipo> Actually, I use rc.local to start svscan. :-) 15:51 -!- pra [pra@2605:6400:85a0:92df:d341:deec:d98d:fdf9] has joined #openbsd 15:53 -!- pagundu [~pagundu@user/pagundu] has quit [Quit: WeeChat 4.3.3] 15:53 -!- xx [~xx@user/xx] has quit [Ping timeout: 260 seconds] 15:53 -!- pagundu [~pagundu@user/pagundu] has joined #openbsd 15:54 < Bradipo> I was quite disappointed when Linux started shunning rc.local and now it's almost impossible to use it on Linux. 15:55 < sysfu> Would rc.local be an appropriate place to launch my snag-bots script then? 15:55 -!- sdds [~sdds@user/sdds] has joined #openbsd 15:55 -!- xx [~xx@user/xx] has joined #openbsd 15:56 < Bradipo> Well, if you don't care about the output, maybe. 15:58 < sysfu> I could create another logfile for it under /var/logs I 'spose. 15:59 -!- pra is now known as pr-asadi 16:03 < ssm_> apparently there's an sshd vulnerability? I ran syspatch but there's no patch for ssh 16:03 < Bradipo> Only on Linux. 16:03 < ssm_> or is this once again a case of linux doing something stupid with an extension 16:05 < ssm_> oh it only affects portable openssh releases 16:06 -!- arity [~arity@user/arity] has quit [Read error: Connection reset by peer] 16:07 -!- pagundu [~pagundu@user/pagundu] has quit [Ping timeout: 256 seconds] 16:07 < sysfu> Bradipo, I noticed that when I have more than one statement in the script with the while loop at the end, it stops working. Example of script that breaks it https://bpa.st/F72A 16:08 < sysfu> I did try different variable names for each statement, but no dice. 16:10 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 16:10 < Bradipo> Hmm, is this the script as-is? 16:11 < Bradipo> You have 3 lines in the script? 16:11 < Bradipo> Or are you just providing examples? 16:11 < sysfu> Bradipo, yes. 16:11 < Bradipo> Ok. 16:11 < Bradipo> First you should probably use awk to do the extra work. 16:12 < sysfu> Maybe I could accomplish the same thing in one statement if awk supports something like grep's -e either matching option. 16:12 < Bradipo> e.g. awk '/Disconnected .../ { print $11; fflush() } /Invalid user/ { print $10; fflush() }' 16:12 < Bradipo> You should spend some time learning about awk. :-) 16:12 < sysfu> thanks, I'll read up. 16:12 < Bradipo> awk can match multiple things (as I've just shown). 16:13 < sysfu> that would be the more elegant solution, agreed. 16:14 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 260 seconds] 16:14 < Bradipo> Unless I'm terribly mistaken, something like this should work: https://bpa.st/LF7A 16:15 < Bradipo> awk is a line-oriented program. 16:15 < Bradipo> It reads one line at a time. You can give it an number of patterns to match for that line. 16:16 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 16:16 < Bradipo> From awk(1): awk scans each input file for lines that match any of a set of patterns specified literally in prog 16:16 < Bradipo> Key words here "a set of patterns". 16:18 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 16:22 -!- sdds [~sdds@user/sdds] has joined #openbsd 16:23 -!- terminaldweller [~terminald@user/terminaldweller] has quit [Quit: ZNC - https://znc.in] 16:24 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 16:24 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 16:25 -!- terminaldweller [~terminald@user/terminaldweller] has joined #openbsd 16:29 -!- Iketani [~Iketani@46.23.90.48] has quit [Quit: Bye] 16:33 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has quit [Quit: Client closed] 16:33 -!- ublx [~ublx@user/ublx] has quit [Quit: ublx] 16:35 -!- Guest53 [~Guest53@178.176.168.202] has quit [Quit: Client closed] 16:38 -!- ublx [~ublx@user/ublx] has joined #openbsd 16:40 < sysfu> I tested your modification and it is working. 16:41 < Bradipo> Cool. Maybe I'll have to start using it myself. 16:42 < sysfu> Just thinking out loud, a couple of additional 'nice to have' tweaks for the script output; 16:42 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 268 seconds] 16:42 < sysfu> print out IP address that is added via pfctl command 16:42 -!- Iketani [~Iketani@46.23.90.48] has joined #openbsd 16:42 < Bradipo> Yeah, that's easy, just print it out before or after you run pfctl. 16:42 < sysfu> print out timestamp that IP is added so it can be correlated with authlog. 16:42 < Bradipo> If you were using a supervisor like daemontools you would get timestamping for free, but sure, you can also use date(1) to provide a timestamp. 16:43 < Bradipo> Or, if you want to go bonkers... 16:43 < Bradipo> You could juse use logger(1) 16:43 < Bradipo> Use one of the local facilities and have syslog write it to it's own file. 16:44 < Bradipo> e.g. logger -p local3.info 16:44 < Bradipo> As the example in man logger shows. 16:44 -!- pabs3 [~pabs3@user/pabs3] has quit [Ping timeout: 252 seconds] 16:44 < Bradipo> For that matter, you could use coroutines. 16:45 < Bradipo> But maybe that's going overboard. 16:45 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 16:46 < sysfu> Is that a way to suppress the newline after the date and echo commands run? I want to get date, IP address, and pfctl output on a single line. 16:47 < Bradipo> Yes. 16:47 < sysfu> tr -d '\r'? 16:47 < Bradipo> Oh wait, you want to suppress the newline that date has... 16:48 < sysfu> yap 16:48 < Bradipo> tr -d '\n' 16:48 < Bradipo> \r is a carriage return. 16:48 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has joined #openbsd 16:50 -!- jlmk [~jlmk@user/jlmk] has joined #openbsd 16:52 < sysfu> OK, I think I've got it, check this out & let me know if it works on your end. https://bpa.st/KAFQ 16:52 < Bradipo> e.g. date '+%F %T' | tr -d '\n'; printf 'Adding IP %s' "$variable"; pfctl ... "$variable" 16:53 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.2.1] 16:53 < sysfu> yes, that's much nicer than my hamfisted attempt. 16:53 < sysfu> I might have added superflous parenthesis too. 16:54 < Bradipo> I use () when I want the output of all the commands in the subshell to go to something. 16:54 < finkfox> hi. i'm using a laptop as a desktop. to save laptop battery life, i'd like to not have to manually unplug/plug the DC cable. anyone know of a script that does that (e.g. charge until 100%, stop charging until <10%)? I assume normally one would use a docking statikon for this? 16:54 < Bradipo> e.g. (something; somethingelse) | process 16:54 < sibiria> it's better to tuck that into subshell to get rid of the newline 16:55 < sibiria> e.g. x=$(date '...'); echo "$x bloop" 16:55 < Bradipo> Yeah, that would be better. 16:56 < Bradipo> 'Tis a shame that date +FORMAT doesn't give you control over the the FORMAT. lol 16:57 < Bradipo> e.g. date '+%F %T' would only produce a newline if \n is at the end of it. 16:58 < Bradipo> At any rate, yes, logdate=$(date '+%F %T'); printf '%s Adding IP %s ' "$logdate" "$hacker"; pfctl ... "$hacker" 17:00 < Bradipo> And I suppose if you want to capture pfctl output as well, you could use: pflog=$(pfctl ... "$hacker") and then just include that in your printf as well. 17:03 < Bradipo> Something like: https://bpa.st/XSHQ 17:03 -!- gknux [~gknux@user/galaxy-knuckles/x-3015990] has quit [Quit: ....and i am outta here....] 17:04 -!- gknux [~gknux@user/galaxy-knuckles/x-3015990] has joined #openbsd 17:06 -!- pabs3 [~pabs3@user/pabs3] has joined #openbsd 17:08 -!- adig [~default@109.166.133.254] has joined #openbsd 17:08 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 17:10 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 240 seconds] 17:10 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has joined #openbsd 17:11 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 17:11 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 17:12 -!- zimmer [~zimmer@user/zimmer] has quit [Remote host closed the connection] 17:13 -!- tozhu [~tozhu@221.237.139.140] has joined #openbsd 17:13 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 17:13 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 17:13 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has quit [Changing host] 17:13 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has joined #openbsd 17:13 -!- sdds [~sdds@user/sdds] has quit [Remote host closed the connection] 17:14 -!- sdds [~sdds@user/sdds] has joined #openbsd 17:16 -!- Guest53 [~Guest53@178.176.168.202] has joined #openbsd 17:17 -!- pirateoverboard [~pirateove@user/pirateoverboard] has quit [Quit: ZNC 1.9.0 - https://znc.in] 17:18 -!- pirateoverboard [~pirateove@user/pirateoverboard] has joined #openbsd 17:26 -!- UDENIX [~UDENIX@user/udenix] has joined #openbsd 17:27 -!- finkfox [~finkfox@user/finkfox] has quit [Ping timeout: 268 seconds] 17:27 -!- sjs [~sjs@user/sjs] has quit [Remote host closed the connection] 17:29 -!- sjs [~sjs@user/sjs] has joined #openbsd 17:30 -!- Guest53 [~Guest53@178.176.168.202] has quit [Quit: Client closed] 17:36 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has quit [Ping timeout: 252 seconds] 17:42 -!- feriman [~feriman@user/feriman] has joined #openbsd 17:43 -!- frdem [~frdem@178.157.32.169] has quit [Ping timeout: 252 seconds] 17:45 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 17:45 -!- magyar_ [~magyar@user/magyar] has quit [Quit: Riding the split] 17:49 -!- sdds [~sdds@user/sdds] has quit [Ping timeout: 260 seconds] 17:51 -!- Mete- [~quassel@2804:da8:f7a3:b254:b256:9617:aef2:4781] has quit [Ping timeout: 246 seconds] 17:57 -!- A1ice [~a1ice@gateway/tor-sasl/a1ice] has quit [Quit: Unlibre time out!] 18:08 -!- polarian [~polarian@znc.polarian.dev] has quit [Quit: Polarian has disappeared] 18:09 -!- zimmer [~zimmer@user/zimmer] has quit [Remote host closed the connection] 18:10 -!- kurtis [~kurtis@user/kurtis] has joined #openbsd 18:10 -!- polarian [~polarian@znc.polarian.dev] has joined #openbsd 18:14 -!- ficonni [~ficonni@213.196.101.65] has joined #openbsd 18:15 -!- Mete- [~quassel@186.250.13.243] has joined #openbsd 18:20 -!- d-ra [~d-ra@user/d-ra] has quit [Quit: Leaving] 18:20 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 18:20 -!- access [~untan@user/access] has quit [Remote host closed the connection] 18:27 -!- feriman [~feriman@user/feriman] has quit [Quit: leaving] 18:27 -!- miojo` [~user@2804:29b8:5137:1124:aeed:82eb:d000:35d2] has joined #openbsd 18:34 -!- mikeybsd [~solo@user/mikeybsd] has quit [Ping timeout: 272 seconds] 18:35 -!- feriman [~feriman@user/feriman] has joined #openbsd 18:35 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 18:36 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 18:38 -!- macabro [~user@user/monkey/x-0691028] has quit [Ping timeout: 268 seconds] 18:40 -!- sjs [~sjs@user/sjs] has quit [Remote host closed the connection] 18:40 -!- kurtis [~kurtis@user/kurtis] has quit [Remote host closed the connection] 18:42 -!- todi [~todi@p57803331.dip0.t-ipconnect.de] has quit [Quit: ZNC - https://znc.in] 18:42 -!- sjs [~sjs@user/sjs] has joined #openbsd 18:42 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 18:45 -!- lavaball [~Melissa@31.204.155.215] has joined #openbsd 18:51 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has quit [Quit: Konversation terminated!] 18:51 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has quit [Ping timeout: 250 seconds] 18:51 -!- SirJitsu [~SirJitsu@162-231-111-175.lightspeed.livnmi.sbcglobal.net] has joined #openbsd 18:54 -!- Guest53 [~Guest53@178.176.168.202] has joined #openbsd 18:56 -!- jpw [~jpw@user/jpw] has quit [Quit: ZNC 1.8.2 - https://znc.in] 18:57 -!- jpw [~jpw@cpc146708-rdng28-2-0-cust213.15-3.cable.virginm.net] has joined #openbsd 18:57 -!- jpw [~jpw@cpc146708-rdng28-2-0-cust213.15-3.cable.virginm.net] has quit [Changing host] 18:57 -!- jpw [~jpw@user/jpw] has joined #openbsd 19:02 -!- geekthattweaks [uid433447@user/geekthattweaks] has quit [Quit: Connection closed for inactivity] 19:11 -!- mikeybsd [~solo@user/mikeybsd] has joined #openbsd 19:11 -!- mikeybsd [~solo@user/mikeybsd] has quit [Read error: Connection reset by peer] 19:13 -!- pabs3 [~pabs3@user/pabs3] has quit [Ping timeout: 272 seconds] 19:14 -!- absc [~absc@2a04:ee41:8:6055:41f8:fa19:4ee6:7c73] has joined #openbsd 19:14 -!- Guest53 [~Guest53@178.176.168.202] has quit [Quit: Client closed] 19:15 -!- Guest53 [~Guest53@178.176.168.202] has joined #openbsd 19:18 -!- morpho [~user@87.114.27.62] has joined #openbsd 19:19 -!- zimmer__ [~zimmer@user/zimmer] has joined #openbsd 19:21 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 240 seconds] 19:25 -!- IRCfusion [~IRCfusion@dynamic-077-012-212-115.77.12.pool.telefonica.de] has joined #openbsd 19:26 -!- pabs3 [~pabs3@user/pabs3] has joined #openbsd 19:28 -!- sunwind [~paradox@31.111.34.223] has joined #openbsd 19:32 -!- mcornick [~mcornick@user/mcornick] has left #openbsd [] 19:35 -!- IRCfusion is now known as fusion2 19:41 -!- vdamewood [~vdamewood@fedora/vdamewood] has joined #openbsd 19:41 < jrmu> I've been having some issues with NAT; directly connected devices have their addresses properly NAT'd, but not devices 2 or three hops away: https://paste.ircnow.org/cxu38dizo5qn4xevkhuf 19:42 < jrmu> is that by design or did I misconfigure something? 19:48 -!- morpho [~user@87.114.27.62] has quit [Ping timeout: 260 seconds] 19:49 -!- mlw [~mlw@154.127.13.125] has quit [Quit: leaving] 19:54 -!- fusion2 [~IRCfusion@dynamic-077-012-212-115.77.12.pool.telefonica.de] has quit [Remote host closed the connection] 20:00 < Bradipo> Hops is irrelevant when it comes to NAT. 20:00 < Bradipo> All that matters is the source address. 20:00 < Bradipo> And other rules. 20:01 < Bradipo> I've never been a fan of "match" rules. Maybe that's because I don't understand them as well as "pass". 20:02 < Bradipo> At any rate, I suspect you have other rules that are overriding it. 20:03 < Bradipo> Also, keep in mind that ! (negation) may not behave exactly like you think. 20:06 -!- ficonni [~ficonni@213.196.101.65] has quit [Remote host closed the connection] 20:15 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 20:15 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 20:21 -!- zorz^ [~zorz@user/zorz] has quit [Quit: Lost terminal] 20:25 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.2.1] 20:26 -!- gman999 [~GMan999@user/gman999] has joined #openbsd 20:29 -!- terminaldweller [~terminald@user/terminaldweller] has quit [Quit: ZNC - https://znc.in] 20:29 -!- uncleyear [~ian@45.80.46.92] has quit [Remote host closed the connection] 20:30 -!- feriman [~feriman@user/feriman] has quit [Ping timeout: 268 seconds] 20:31 -!- uncleyear [~ian@45.80.46.92] has joined #openbsd 20:32 -!- terminaldweller [~terminald@user/terminaldweller] has joined #openbsd 20:35 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has joined #openbsd 20:36 -!- totally_not_me [~totally_n@2a01:4f9:3b:3e66::21:82] has quit [Changing host] 20:36 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has joined #openbsd 20:39 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has quit [Read error: Connection reset by peer] 20:39 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has joined #openbsd 20:41 -!- jab` [~user@1625265-static.lfytina1.metronetinc.net] has quit [Ping timeout: 246 seconds] 20:45 -!- format_c [~format_c@2a02:b98:f181:4094:f550:7488:2d5:5ffa] has quit [Quit: format_c] 20:45 -!- Leone [~Leo@216.154.15.249] has quit [Read error: Connection reset by peer] 20:57 -!- dastain [~dastain@2a00:d880:6:262::45a3] has quit [Ping timeout: 260 seconds] 20:58 -!- Guest53 [~Guest53@178.176.168.202] has quit [Ping timeout: 250 seconds] 20:59 -!- scain [~scain@2603:8080:b104:4e00:45cf:678b:a7f:b897] has quit [Quit: Konversation terminated!] 21:00 -!- sunwind [~paradox@31.111.34.223] has quit [Quit: Outside Context Problem.] 21:03 -!- Mete- [~quassel@186.250.13.243] has quit [Ping timeout: 260 seconds] 21:04 -!- memset [~memset@gateway/tor-sasl/memset] has quit [Remote host closed the connection] 21:05 -!- Mete- [~quassel@186.250.13.243] has joined #openbsd 21:05 -!- memset [~memset@gateway/tor-sasl/memset] has joined #openbsd 21:05 -!- lavaball [~Melissa@31.204.155.215] has quit [Remote host closed the connection] 21:08 -!- dastain [~dastain@2a00:d880:6:262::45a3] has joined #openbsd 21:16 -!- seninha [~seninha@user/seninha] has quit [Quit: Leaving] 21:17 -!- ivdsangen [~ivo@86-95-161-96.fixed.kpn.net] has quit [Quit: https://github.com/ivdsangen] 21:19 -!- user71 [~user71@2001:1530:1002:ae55:1e6f:65ff:fe88:557f] has quit [Quit: Leaving] 21:25 -!- arch-nemesis [~arch-neme@user/arch-nemesis] has joined #openbsd 21:26 -!- djames [~djames@user/djames/x-9001197] has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…] 21:27 -!- djames [~djames@user/djames/x-9001197] has joined #openbsd 21:32 -!- shiranaihito_ [~shiranaih@ppp-171-96-192-98.revip8.asianet.co.th] has quit [Quit: My Mac has gone to sleep. ZZZzzz…] 21:32 -!- Xenguy [~Xenguy@user/xenguy] has quit [Quit: "To play for a draw [...] is to some degree a crime against chess." -- Mikhail Tal] 21:34 -!- bsd4me [~bsduser@153-104-74-65.gci.net] has joined #openbsd 21:35 < bitchin> Is there a way of adjusting a queue bandwidth limits without reloading the pf.conf 21:35 < bitchin> ? 21:36 < thrig> put the relevant rules in an anchor and modify that? 21:40 -!- djames [~djames@user/djames/x-9001197] has quit [Quit: My Unrecognized Mac has gone to sleep. ZZZzzz…] 21:45 -!- Guest47 [~Guest93@96.62-99-104.dynamic.clientes.euskaltel.es] has joined #openbsd 21:45 -!- Guest47 [~Guest93@96.62-99-104.dynamic.clientes.euskaltel.es] has quit [Client Quit] 21:45 -!- deepestt1aster [~deepestto@user/deepesttoaster] has quit [Remote host closed the connection] 21:47 -!- deepesttoaster [~deepestto@user/deepesttoaster] has joined #openbsd 21:52 < bitchin> Hmm that's very handy. 21:52 -!- sunwind [~paradox@31.111.34.223] has joined #openbsd 22:00 < mischief> uh, do anchors contain queues? i thought only rules. 22:01 < thrig> and it would have worked if not for you meddling kids 22:08 -!- mcornick [~mcornick@user/mcornick] has joined #openbsd 22:16 -!- djames [~djames@user/djames/x-9001197] has joined #openbsd 22:17 -!- totally_not_me [~totally_n@user/totally-not-me:63996] has quit [Ping timeout: 250 seconds] 22:19 -!- djames [~djames@user/djames/x-9001197] has quit [Client Quit] 22:21 -!- sunwind [~paradox@31.111.34.223] has quit [Read error: Connection reset by peer] 22:26 < mischief> wouldn't mind seeing how openbsd does on this https://www.servethehome.com/everything-homelab-node-goes-1u-rackmount-qotom-intel-review/ 22:26 -!- sunwind [~paradox@31.111.34.223] has joined #openbsd 22:31 -!- bilegeek [~bilegeek@2600:1008:b046:1f36:33d1:a30b:fb6a:feac] has joined #openbsd 22:31 -!- sunwind [~paradox@31.111.34.223] has quit [Quit: Outside Context Problem.] 22:36 -!- Noisytoot [~noisytoot@user/meow/Noisytoot] has joined #openbsd 22:40 -!- gman999 [~GMan999@user/gman999] has quit [Quit: WeeChat 4.2.1] 22:44 -!- zimmer__ [~zimmer@user/zimmer] has quit [Read error: Connection reset by peer] 22:47 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 22:47 -!- viq|w [~viq@user/viq] has quit [Quit: WeeChat 4.3.2] 22:50 -!- greaser|q [greaser@antihype.space] has quit [Changing host] 22:50 -!- greaser|q [greaser@user/greasemonkey] has joined #openbsd 22:50 -!- greaser|q is now known as GreaseMonkey 22:57 -!- absc [~absc@2a04:ee41:8:6055:41f8:fa19:4ee6:7c73] has quit [Remote host closed the connection] 22:58 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Ping timeout: 260 seconds] 23:04 -!- viq|w [~viq@user/viq] has joined #openbsd 23:05 -!- sonya [~nologin@gateway/tor-sasl/sonya] has joined #openbsd 23:13 -!- sunwind [~paradox@31.111.34.223] has joined #openbsd 23:18 -!- jonadab [~weirdidio@syn-174-105-114-155.res.spectrum.com] has quit [Ping timeout: 240 seconds] 23:19 < ssm_> how do I generate a modules.inc for go projects like in net/gomuks? I found infrastructure/bin/modgo-gen-modules-helper but I can't find any documentation on it, and I can't read perl 23:19 -!- sonya [~nologin@gateway/tor-sasl/sonya] has quit [Ping timeout: 260 seconds] 23:22 -!- Bradipo [~Bradipo@50.77.44.29] has quit [Quit: Lost terminal] 23:24 < phy1729> man go-module at the bottom 23:25 -!- jonadab [~weirdidio@syn-174-105-114-155.res.spectrum.com] has joined #openbsd 23:26 < systemdsucks> of course you can't read perl 23:26 < systemdsucks> it's write only 23:28 -!- zimmer [~zimmer@user/zimmer] has quit [Remote host closed the connection] 23:32 -!- macabro [~user@2803:d100:e440:e5d:70a4:bcd4:2c53:f8c8] has joined #openbsd 23:33 -!- zimmer [~zimmer@user/zimmer] has joined #openbsd 23:37 -!- zimmer [~zimmer@user/zimmer] has quit [Ping timeout: 264 seconds] 23:43 -!- AlaskanEmily [~AlaskanEm@user/alaskanemily] has joined #openbsd --- Log closed Thu Jul 04 00:00:05 2024