00:00:31 jmnbtslsQE any idea how kevent would handle tailing 1000 files at once? 00:05:09 polyex: Better than tailing logs would be a monitoring system. 00:05:35 mason how does that work other than tailing files itself? 00:06:10 polyex: Doesn't matter. If you have a thousand sources of data, then a dashboard where you can whack the red thing to see more is way better than the vain hope you'll see one of the thousand logs showing an error with your eyeballs. 00:06:52 mason ya i get you but you're ignoring what i'm asking 00:07:06 polyex: Absolutely not. 00:07:33 "doesn't matter" 00:07:35 genius 00:11:13 polyex: what do you mean about how it would handle? performance-wise? 00:11:42 jmnbtslsQE is kevent pretty efficient? like could you tail 1000 files without much system overhead or would it fall over? 00:11:59 like how heavy is it to 'watch' a file for changes under kevent 00:13:13 that number of files in and of itself would not be a problem at all, and you could probably use the simpler "legacy" interface (select) instead if you want 00:13:32 what about watching every file on the FS? 00:15:13 i don't have the expertise to speculate about that. i would guess that it would eventually become a problem depending on how much activity there is 00:15:27 https://docs.freebsd.org/en/books/handbook/audit/ 00:15:29 Title: Chapter 19. Security Event Auditing | FreeBSD Documentation Portal 00:15:35 on a typical idle system without a major workload, it would not be a problem 00:17:33 damn that's cool 00:18:35 ty mason 00:19:10 polyex: It's notionally equivalent to Linux. I've not driven a custom endpoint myself, so I can't speak to how trivial it'd be to set up. 00:19:39 polyex: FWIW, I took your initial question as a desire to actually tail a large number of files. 00:19:48 ya 00:19:56 was just curious how efficient that is 00:21:40 Tail itself doesn't appear to use kevent: https://cgit.freebsd.org/src/tree/usr.bin/tail/ 00:21:42 Title: tail « usr.bin - src - FreeBSD source tree 00:23:04 why not i wonder 00:24:29 Because "tail -f" came earlier? 00:31:51 I see kqueue / kevent being used in the tail source. 00:33:18 yeah, the follow function in forward.c 00:41:56 Oh, blah. I stopped at read.c once I saw it looping over getc. 00:42:28 I only keep a source tree on my laptop which is off at the moment, so I didn't have grep handy. 00:58:35 i have a reproducible fluent bit seg fault bug i can't find a solution to. any help greatly appreciated: https://termbin.com/ntly 01:12:55 have you tried reporting to the fluent community? 01:13:04 i dont got github 01:13:30 and the issue isn't important enough to make one? 01:13:42 EULA 01:14:15 weird way of spelling yes 01:14:35 legal agreements to make accounts 01:44:32 polyex: you could always find a mailing list or a discord. 01:45:22 and the logging questions, and "tailing" multiple files.. there are services like prometheus that acould do a "dashboard" of outputs or you can have an aggregation of files to a cetnral place with tools like splunk.. but if your barrier to entry is EULA.. that may just be moot points 01:46:34 i have empty github 02:12:55 ketas: yes, the terms of service tie in the EULA if you have an account 02:15:22 well they do have terms, but why? 02:15:29 and terms can suck 02:18:08 well i can give a cynical answer 02:18:33 it is like why are there warns on palstic bags, please do not put over head as it may suffocate you 02:19:37 does github? :p 02:19:51 work like plastic bag 02:20:09 they have done weird shit indeed 02:20:31 well you could just install git and have your own repo 02:20:42 and an account is not requried to clone repos 02:21:36 unsure why i have account even 02:21:56 recently i moaned under some acme.sh bug 02:22:11 it's still there btw 02:22:23 acme.sh port will not work 02:22:43 i should notice maintainer maybe 02:23:25 i had to patch the tr-related code in :p 02:24:14 so then this goes to the situation, do you NOT have a github account and deal with the bug.. or you just suck it up and get the account to scratch an itch 02:25:39 i know the most nono thing github/ms did was to call everything people pushed there theirs and they feed that into their weird ai 02:25:50 but isn't anyone doing that 02:25:58 what's "free" 02:26:58 nothing stops any company from doing something similar with different platforms 02:27:15 it is a license that allows people to download, modify and use the code anyway they want.. 02:29:46 now we have situation where almost all code is in github 02:29:50 kind of sad too 02:31:55 there is gitlab 02:32:20 We should all just trust our code to Microsoft - right? 02:32:27 what could possibly go wrong 02:37:05 first product that won't suck is vacuum cleaner 02:37:23 actually ms is funny company 02:37:31 has history and so on 02:38:03 "Nothing sucks like an Electrolux!" 02:39:43 they actually did that? 02:39:48 oh yeah 02:40:09 i think they were mentioned in an episode of madmen 02:40:22 the ads shown in madmen were real.. 02:40:25 i hope they didn't use it for other products 02:41:49 a real good podcast about microsoft history: https://www.acquired.fm/episodes/microsoft 02:41:51 Title: Microsoft: The Complete History and Strategy 02:42:46 that is 4.5h long! 02:43:07 yeah 02:43:37 they make some real good episodes about company history.. they do awesome research on it 02:44:19 and sometimes people.. they did an epsidoe just on taylor swift and how she became the star she is and the business around her. fascinating 02:44:35 but i'll stop, this is not hte focus on this channel and i need to write up a presentation for work 02:45:13 indeed good 02:45:56 but i think those will work for some trip of other work 02:46:08 due extremely long 07:12:16 i have a reproducible fluent bit seg fault bug i can't find a solution to. any help greatly appreciated: https://termbin.com/ntly 07:15:37 polyex: Might be worth grabbing a ktrace to see where in the code it's choking. 12:48:32 Hi everyone 13:02:29 I habe a routing issue. net.inet.ip.forwarding=1 and routes are correct, pf is off. Still, it seems that no packets are forwarded, but silently dropped. Any idea how I could debug this (i.e., get the deceision why packets were dropped)? 13:05:34 "Ich habe" tell me you are german without telling me you are german 13:06:45 oh there wasn't ich either. I got too carried away when I read "habe" 13:07:21 b and v ALSO are right next to each other on the keyboard. 13:07:43 oh yeah, ur right 13:07:48 fat fingering huh 13:08:37 Happens, especially when you have to type on a notebook keyboard rather than a reasonable one ;) 13:09:11 yeah it sucks 13:16:41 Okay, OPNsense seems to be very broken. I just reverted the config to DHCP and everything works (although it doesn't do anything different). Will take this to OPNsense then. 13:20:01 I am no OPNsense expert or anything but seems like you have to configure static ip address (which I assume was the thing you were using since you said that you switched to DHCP) Can you check this link? docs.opnsense.org/manual/dhcp.html 13:20:32 they have a section on setting static ip. Seems like you have to change a configuration on somewhere. I am not sure if you have done it or not but if you didn't you might want to give it a try 13:23:37 Thanks for the pointer. However, that's DHCP server. I configured the interface from DHCP to static. 13:24:02 Regardless, it works now and I won't touch it. Won't be my responsibility for long anyway ;) 13:24:27 haha lol 13:24:36 I'm glad than ;) 14:11:16 looks like the FreeBSD 14.0 (amd64) PkgBase mirrors are all broken right now 14:11:23 the FreeBSD-acct package is missing 14:11:45 (at least that's the first one that pkg install -r base stumbles over 14:11:47 ) 14:22:56 im trying to "/usr/bin/time -h make -j4 buildworld buildkernel kernconf=JIBSD". everything seemingly builds fine, but the output says "GENERIC completed" 14:24:44 I have placed this kernconf in sys/amd64/conf/JIBSD, and i used "ident JIBSD" and "makeoptions KERNEL=JIBSD" in there 14:26:19 sorry for the stupid question, but how do i figure out what's going on here? 14:38:19 concussious: i think the problem is KERNCONF instead of kernconf 14:39:04 it should say toward the top of the output which one it's using 14:40:24 Hi, I' 14:41:37 Hi, I'm fairly new to bsd world, I have a freebsd currently at home, trying to setup permanent ip alias I followed this and try with and without inet prefix but not able to make it work, my first ip is using DHCP is that the problem ? 14:41:49 http://www.unixwerk.eu/bsd/ipalias.html 14:41:50 Title: unixwerk: Setting IP Aliases under BSD 14:43:24 it works fine the manual way but I wanted to have it in /etc/rc.conf 14:51:11 jmnbtslsQE: that's exactly what it was. thank you so much. 14:58:39 lastshell: give this doc a try https://docs.freebsd.org/en/books/handbook/network/#config-network-connection 14:58:41 Title: Chapter 7. Network | FreeBSD Documentation Portal 15:02:01 thank you concussious 15:29:53 lastshell: the manual page explaining it is a bit "hidden" under the name rc.conf 15:30:23 run `man rc.conf` and search for _alias 15:30:46 or look it up online under https://man.freebsd.org/rc.conf 15:30:47 Title: rc.conf 15:46:24 crest I have this in /etc/rc.conf https://bsd.to/5jES but when I restar the netwotk the 2nd virtual ip is not showing 15:46:25 Title: dpaste/5jES (Plain Text) 15:46:46 do I need to put both ips static ? 15:47:26 combining static aliases and dhcp is a really bad idea even if it's technically possible 15:47:48 i would recommend using either all static addresses or all dynamic addresses per interface 15:48:07 at least for stateful things like dhcp 15:48:50 i would recommend setting the mask to all ones for the alias ips 15:49:34 e.g. ifconfig_re0_alias0="inet 192.168.0.21/32" # you don't have to use the old address + hex mask notation 15:50:22 the commands to apply fully will remove your default route so be careful applying them to remote systems 15:51:25 or at least wrap them like this: nohup sh -c 'service netif restart re0; service routing restart' 15:51:28 https://bsd.to/wh4D 15:51:29 Title: dpaste/wh4D (Plain Text) 15:51:46 is the address already assigned? 15:52:05 try route -n get -inet 192.168.0.21 15:52:37 or just ifconfig | less and search for the address 15:53:56 are you on the same link as the system in question or have some form of out of band access (just reaching over to the old laptop used as lab machine, ipmi serial over lan)? 16:01:07 I had to reboo the router I have fix mac address ip for the freebsd ethernet 16:07:31 lastshell, 'arp -d' is a thing too. 16:22:36 so this worked for me now I have two IPs on my lazy freebsd dns (using dnsmasq) https://bsd.to/EEaV 16:22:37 Title: dpaste/EEaV (Plain Text) 16:24:25 thank you all 17:14:47 can I use the Makefile from a port to build a project on github? if so, how? 17:14:55 from github* 17:15:17 I want to try the latest state 17:25:24 https://docs.freebsd.org/en/books/porters-handbook/makefiles/ 17:25:25 Title: Chapter 5. Configuring the Makefile | FreeBSD Documentation Portal 17:37:26 thanks 18:39:30 https://lists.freebsd.org/archives/freebsd-hackers/2024-April/003195.html (and indeed the whole thread) makes for very interesting reading. 18:39:31 Title: Re: Stressing malloc(9) 18:54:01 < yamada> anyone running freebsd on the raspberry pi 5 ? 18:54:46 could you have freenas/truenas on a rpi5 with sata expander ? etc heh 19:18:00 what's the best intrusion detection system for freebsd? basically to know the instant a box has been hacked 19:23:36 polyex, ossec !? 19:25:11 nice ty. how do you like it? 22:06:16 polyex: freebsd has a whole security event auditing framework cf. https://docs.freebsd.org/en/books/handbook/book/#audit - which can be integrated with dtrace using audit_dtrace(4) 22:06:18 Title: FreeBSD Handbook | FreeBSD Documentation Portal 22:06:46 debdrup does it do everything ossec does or should i run both or? 22:07:42 it does part of what ossec does, with other parts of freebsd (like the mac framework, veriexec, and other things) doing other parts 22:08:36 if you've already got ossec on infrastructure and you're deploying freebsd, stick with that - if you're deploying from first principles, you're free to pick whichever looks mroe promising 22:09:07 ya greenfield. i'll start with freebsd native tech first ty!! 22:09:10 freebsds own systems has the advantage of tight integration in freebsd 22:09:20 ya that's what i want 23:17:04 jonah kowall come in the channel? 23:19:41 i wanna build a go app but i don't know how go works. https://github.com/open-telemetry/opentelemetry-collector. anyone know pls?