00:20:31 hm why doesn't this work: sudo tcpdump -n -e -ttt -i pflog0 | logger -p local0.notice 00:48:30 tried sudo /bin/sh -c "tcpdump -n -e -ttt -i pflog0 | logger -p local0.notice" yoo 00:48:38 too* 01:09:41 sudo /bin/sh -c "repeat 1000 'tcpdump -n -e -ttt -i pflog0 | logger -p local0.notice'" is right 01:09:48 or not 01:09:52 maybe, at last 01:09:58 or 01:10:07 [ins er t co i ns] 01:13:21 what? 01:13:41 гep пук 01:16:43 ya i just don't know what any of that means 01:39:49 polyex: you have to add log to every line of block or pass in pf.conf and it'll appear in syslog, at least on OpenBSD. Probably the same in FreeBSD 01:40:17 pass in log, block in log, etc 01:40:24 add what vortexx? 01:40:33 the log keyword 01:40:41 i have added "log" to all of my rules i want to know about, and i can see them 01:40:46 the issue is getting them into syslog 01:41:32 is check that daemon.log or messages.log aren't getting filled with pf messages 01:42:03 is check? 01:42:08 /var/log/daemon.log & /var/log/messages 01:42:17 s/is check/check 01:43:21 also you have to set log interface in pf.conf, such as set loginterface dc0 01:43:26 why are you talking about filling up files? that's beside the point. why doesn't sudo tcpdump -n -e -ttt -i pflog0 | logger -p local0.notice or sudo /bin/sh -c "tcpdump -n -e -ttt -i pflog0 | logger -p local0.notice" work? 01:43:29 without that it won't work 01:45:00 think, if you're activating logging to syslog on an interface with high traffic, every single packet passage will be logged to syslog and whereever that ends up it will balloon the logfile 01:45:33 the most knowledgeable people about pf are in #openbsd, I suggest you ask there 01:50:50 which has a different pf 01:54:09 i think you guys are missing the point. i run tcpdump -n -e -ttt -i pflog0 and it works fine, i see a few lines an hour. why can't i just pipe that into logger so that those few lines an hour end up in syslog? 01:54:26 it's like you're not even listening and you just want to type dozens of lines for fun 02:03:39 i wasn't here for the original question, but add -l to tcpdump 02:04:11 or /msg greybot !faq buffering 02:05:14 WORKING 02:05:18 TYVM!! 03:12:30 and to make "sudo tcpdump -n -l -e -ttt -i pflog0 | logger -p local0.notice" always running, i just pass it to daemon and make a rc.d script out of it? 05:54:24 'tput AB F AF 0 cd' no longer worked for me on FreeBSD UNIX 14 05:58:26 whoo all my IPv6-only kernel changes got MFC's into stable/14 and releng/14.1 and will be in 14.1-RELEASE, so you can now build a kernel with no IPv4 support at all by removing 'options INET' 05:58:54 lw omfg tyvm. ipv6-only is the future 06:07:20 lw any way you could add per-vimage mac_portacl support to jails? 06:08:10 probably not rn as i'm very busy, i suggest mailing net@ or filing a PR. or do it yourself! 06:08:18 (also i don't know anything about vnet...) 07:17:10 trying to make my tcpdump to logger command a rc.d script ran by daemon, but it makes error? https://termbin.com/vh2g 07:38:12 dunno why my sudoers line isn't solving that error 07:42:34 polyex: why don't you just set pflog_enable=YES? 07:43:56 lw what do you mean? pflog is enabled 07:44:15 but that doesn't put my tcpdump lines onto syslog which is what i wanna do 07:44:16 aren't you just duplicating pflog functionality then? the log is already available in /var/log/pflog 07:44:19 ah 07:44:38 it's built on pflog0 actually 07:44:50 then you have to run your script as root, or configure devd to make /dev/bpf accessible to another group 07:45:05 ohh it's not just a sudo thing? 07:45:38 i don't know what you mean by "sudo thing" but your rc.d script is not invoking sudo, if that's what you intended? 07:45:58 it would be more secure to run it as non-root anyway though, since tcpdump does have a history of security issues 07:46:29 oh lol yea duh i'm not calling sudo. hmm 07:47:05 what's the right way to run this thing as its own user but also get permission to run the cmd? add logg user to devd group for /dev/bpf? 07:47:33 yes, you need to get devd to create /dev/bpf with group read permission. i don't know how to do that off hand though 07:47:58 (i'm sure it's not complicated as this is the sort of thing that devd is intended to support) 07:49:12 polyex: https://cgit.freebsd.org/ports/tree/net/wireshark/pkg-message i'm sure this will work with tcpdump too 07:49:13 Title: pkg-message « wireshark « net - ports - FreeBSD ports tree 07:49:36 then you just need to make sure your rc.d script runs as a user in the 'network' group 07:49:49 ooo interesting tyvm!! 07:51:16 apparently tcpdump on freebsd is capsicumised though so the risk of running it as root is less than you might expect 07:51:23 but still, don't run things as root if not required 07:51:33 yep 08:46:33 * |cos| has just claimed on stack-exchange that bcm4360-wifi is completely unusable with FreeBSD. 08:46:35 <|cos|> https://apple.stackexchange.com/questions/472787/boot-ipxe-on-macbook-pro-using-bsdp/472854#472854 08:46:36 Title: wifi - Boot iPXE on macbook pro using BSDP - Ask Different 08:46:45 <|cos|> Would love if someone could prove me wrong! 08:47:43 <|cos|> Phrased as a question: Are there tools in FreeBSD to run binary-only blobs for the wifi-crap in macbooks? 08:50:45 |cos|: Could NDISulator do that? 08:52:08 Hm, maybe that was ripped out in 14.x? 08:52:29 |cos|: maybe look at wifibox 09:04:03 <|cos|> vkarlsen, lw: thanks! it sure seems wifibox would do the trick. i'll commmense my freebsd install and update the SE answer. 09:04:36 yeah, wifibox is basically the new version of the NDISulator 09:04:42 since Linux supports all common wifi cards nowadays 09:05:02 it sucks you need to run Linux to make common wifi devices work but it's better than nothing 09:50:23 even when wifi does work it doesn't work well. I have an old atheros chipset but it's limited to 802.11n 54g despite both ends being capable of ac MIMO and it spams my dmesg with weird errors 09:50:40 ath0: bad series0 hwrate 0x1b, tries 3 ts_status 0x0 09:50:40 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0, final_rix=0 09:51:13 wifi randomly stops working every a day or two and needs manual intervention 10:14:18 <[diablo]> Hey good afternoon #freebsd ... I'm trying to build some ports for a FreeBSD 11.4 , and am hitting constantly this https://paste.centos.org/view/21f5be26 10:14:19 Title: Untitled - Pastebin Service 10:14:42 <[diablo]> to the untrained eye, it seems the issue is the "make: "/usr/ports/ports-mgmt/pkg/work/pkg-1.21.2/mk/common.mk" line 16: Need an operator" 10:14:44 <[diablo]> any ideas please? 10:15:47 <[diablo]> FWIW that's showing as 16 -include $(DEPFILES_NONEMPTY:=) 10:16:16 The last time I had a look at the code for 802.11 drivers, it gave me a headache. 10:16:17 The cost of entry for these technologies is enormous, even for embedded systems engineers. 10:16:17 I think that to really make progress on this subject, someone would have to work on it full-time for at least a year. 10:20:42 is there an alternative wireless protocol? 10:20:56 if 802.11 is so hard to implement 10:32:34 no, currently routeros, but the ac devices require "qcom-wifi-ac" package 10:32:36 wc 10:38:34 anyone knows how is 802.11ac/ax development going? 10:44:25 Something like 3 commits in 5 years iirc 10:49:26 =O 10:58:23 asking for a friend, is anybody using digital ocean floating ips, *and* carp? 11:11:14 and for an alternative, looking for a tcp or udp based "clustering" protocol 11:11:22 if node A is down, then node B should run a shell script 11:11:29 and vice versa 15:33:33 Hi, I need to install packages on a FreeBSD 12 jail. I cannot upgrade to 13 nor 14, is there an old repository I can point to?> 15:45:49 I found this: https://mirror.sg.gs/freebsd-pkg/FreeBSD:12:amd64/ 15:45:51 Title: FreeBSD:12:amd64 16:14:28 hi, I'm trying to take a failing drive offline with MegaCLI64 on my raid array, using this guide: https://www.advancedclustering.com/act_kb/replacing-a-disk-with-megacli/ 16:14:29 Title: Replacing an LSI raid disk with MegaCli - Advanced Clustering Technologies 16:17:13 oh I forgot I need to use bash instead of csh for this, sorry for the noise 17:01:44 anyone on stable/14 with latest changes? i have no sound after some work on sound drivers 17:33:28 there was certain changes to sound driver 17:34:22 https://cgit.freebsd.org/src/log/?h=stable%2F14&qt=author&q=Christos+Margiolis 17:34:26 Title: src - FreeBSD source tree 17:35:06 however, i had no last 24 hour changes, only ones that 5 days old 19:40:20 re 21:05:00 andjjj23: I am on a pretty fresh FreeBSD 15-CURRENT and sound works, with both Realtek ALC262 and USB sound cards 21:05:26 er sorry andjjj23 :) 21:57:35 to give specific users access to bpf is the best way how https://cgit.freebsd.org/ports/tree/net/wireshark/pkg-message does it? can it be in devfs.rules instead of devfs.conf? 21:57:36 Title: pkg-message « wireshark « net - ports - FreeBSD ports tree 21:59:45 is bpf available at boot? that's 1 of the differences manpages say 22:19:04 why can't i chgrp on /dev/bpf0? 22:19:17 i type it and there's no error but ls -la still shows root:wheel