00:24:25 As a by the by... It looks like the basic small set of things I populate /dev with are what come from the bsdinstaller which puts those into place. So that's the origin for the files for me. It's what the bsdinstaller puts there. 04:20:19 does anyone else use lynx and notice there is a 30 second lag when requesting every site (http or https), yet curl gets the same site in milliseconds? 04:26:59 i'm using lynx from pkg fwiw 05:47:26 when I do lynx google.com it loads http, then https same as lynx cnn.com and constantly needs cookie approval. using elinks is instant. I'm not a lynx user however. but after just installing it to test, does seem much slower than say elinks 07:56:05 thanks, something odd then with my setup 08:05:56 the pause happens in elinks too 09:17:32 realdeimos: 30 seconds sounds like a dns timeout. Maybe it's using its own resolvers and the first one fails? 09:57:01 how can I grep two files in one command ? I used to do grep blah file && grep blah file2 09:57:10 but I just found out it has a major pitfall 09:57:47 I guess it's best to do grep blah file file2 ? 10:00:34 the hack I usually use is grep1 | grep2 10:04:39 how's that work ? 10:06:08 last1 yes you can grep multiple files with the 2nd syntax you provided 12:21:47 antranigv: tested out the changes in your test branch. worked like a charm! 12:27:44 quick question, id like to print some of the freebsd books but the pdfs have grey boxes for the code, trying to be nice to the copy service, what would be the easiest way to replace that with idk, just a border? 12:28:25 i was thinking some quick perl on the html then piping that in pandoc but if theres a better solution thatd be nice 12:31:20 drobban thank you! ^^ I will be doing more changes in the coming weeks. 12:32:44 nice! =) 15:25:29 dautor8518050: this is my first thought too, so I ran ktrace on it, and it is using the dhcp assigned dns servers. later today I plan to dig through ktrace/kdump some more. 15:55:46 last1, to grep one pattern from multiple files simply list multiple files on the end of the grep like "grep pattern file1 file2 file3" 15:57:43 When grep has multiple files then it prints the file name of the match at the start of the line. To avoid that use grep -h. To get just the list of matching files use grep -l. 16:52:36 does anyone use Kea DHCP? i'm having an issue where DHCPv6 works fine for one subnet, but for another it won't allocate any addresses with a vague error message. the config is pretty basic: https://www.le-fay.org/tmp/30d/R14W8s.txt 17:19:15 lw, is the server local to both prefixes, or is DHCPv6-relay in the mix? 17:22:20 CrtxReavr: both subnets are relayed 17:22:37 And what's doing the relaying? 17:23:03 a mikrotik switch 17:24:15 the relay config is also pretty straightforward: https://www.le-fay.org/tmp/30d/7Kq8h7.txt 17:27:00 So everything fails for 2001:8b0:aab5:104::/64 ? 17:27:29 well, it seems like there's only one client in this subnet doing DHCP... so perhaps it's something specific to the client, but i can't tell from the error 17:28:43 So. . .. full disclosure, I've not done anything with kea, though I have done a lot with ISC dhcpd6 & dhcp6-relay. 17:30:01 In dhcpd6 though, all prefixes had to be "children" of a shared network. 17:30:10 aha, maybe this is the problem, vlan104 is missing managed-address-configuration in the RAs. 17:31:29 there we go: lease for address 2001:8b0:aab5:104:1:: and iaid=1 has been allocated for 4000 seconds 17:31:40 CrtxReavr: thanks, that prompted me to give the config a second (or fifth) look :-) 17:31:42 Well, there you go then. 17:32:10 I need to get around to playing with kea at some point. 17:33:07 i will say this would have been a lot easier to fix if the error had been more clear, it wasn't that it couldn't allocate an address, the client (i assume) just wasn't asking for one 17:40:46 lw, is that static reservation for the host in question? 17:50:33 no, that's a different host 17:55:06 now to set up ddns... although i've noticed none of the DHCPv6 clients seem to send the hostname option which is a bit annoying 19:46:48 is bmake the default make on freebsd as opposed to pmake which the man page says to read up about? 19:48:32 johnjaye: yes, but bmake is derived from pmake so the syntax is very similar 19:50:46 ah ok, thanks 20:30:26 is there no way to configure an interface to use router advertisements for default route but not configure SLAAC addresses? 20:49:53 * _xor switched over to kea a few weeks ago from isc-dhcp 20:50:34 * _xor also switched over to net/dhcpcd from dhclient in base 20:51:41 <_xor> I haven't gotten around to configuring IPv6 yet, but I do remember it was somewhat of trial-and-error pain to figure out how to configure the clients with client-class/vendor-class/hostname/etc. 20:51:53 <_xor> I mean for IPv4. It's different with IPv6. 20:52:11 <_xor> I think it defaults to DUID, but I can't remember off the top of my head. 20:53:16 <_xor> CrtxReavr: The somewhat disappointing aspect of kea, when compared to isc-dhcp, is that they've subscription-gated functionality, so you need to pay for some additional features. 20:53:58 <_xor> https://kea.readthedocs.io/en/kea-2.5.5/arm/hooks.html#id2 20:53:59 Title: 16. Hook Libraries — Kea 2.5.5 documentation 20:54:27 <_xor> The ones with Availability listed as "ISC premium library" are paid features. 20:55:32 <_xor> Also, their dashboard is ok but I found it a bit weird: https://github.com/isc-projects/stork 20:55:33 Title: GitHub - isc-projects/stork: Stork is a dashboard for BIND 9 and Kea DHCP. It is under active development, with monthly releases. The initial priority is to provide monitoring and troubleshooting support. 20:56:15 that's disappointing 21:14:25 <_xor> Overall though I still like kea over isc-dhcp so far. 21:27:51 i intensely dislike the json-based config but i know that's the trendy enterprise thing nowadays 21:30:22 <_xor> It's easier to process using jq or similar tools than a lot of niche-oriented formats. That's where the value is, that it's widely used and supported with plenty of tooling. 21:30:22 lw: at least it's not yaml 21:30:33 also not like the bind config is very likable either 21:30:49 _xor: i understand the reasoning. i just don't like it 21:30:54 <_xor> Heh, as a user I like YAML, but I can definitely see where parsing it is...a nightmare. 21:31:25 i edit DHCP config infrequently enough i can live with it, but the day nginx switches to json i'm going back to Apache... 21:31:59 I don't like programs that use for configuration yaml, json, xml, ini, or any other human hostile configuration format. 21:33:22 except for xml non of those are really human hostile 21:33:25 well they do not have to be 21:33:29 especially yaml 21:33:50 and ini is just key val pairs 21:33:56 yaml and ini are probably less bad than xml and json 21:34:06 nicely tidied json is not so bad 21:34:10 it does make sense to the eye 21:34:10 JSON is pretty awful, unless you use the non-standard variant that supports comments and trailing commas (Kea still complains about trailing commas even though it supports comments) 21:34:18 JSONc 21:34:48 <_xor> Personally, I treat human-readable and machine-processable (including scripting) as two separate categories, but most of all, I care more about usage and support than language-specific annoyances beyond a baseline (meaning things like non-ambiguous expressions, etc). 21:35:36 <_xor> I'd prefer to use XML or JSON or YAML if it means that it's like that across a bunch of codebases/services/whatever than if it's mix-and-match with a bunch of different languages. 21:36:13 <_xor> Yeah, that's a JSON vs JSONC vs JSON5 thing. 21:36:21 <_xor> Also, YAML is technically a superset of JSON. 21:36:50 Isn't it the other way around? json is part of yaml but yaml is not part of json? 21:36:52 <_xor> Chomp operators in YAML make files eaiser to read, IMO. 21:37:29 <_xor> my-property: [a, b, c, d] 21:37:29 <_xor> my-property: 21:37:29 <_xor> - a 21:37:29 <_xor> - b 21:37:29 <_xor> - c 21:37:29 <_xor> - d 21:37:35 i wish we could have just standardised named's config format, that's so good it became basically the standard Unix configuration format until json took over 21:37:35 <_xor> Oops, my bad. 21:37:45 <_xor> Thought it was show up as a single message, doh. 21:37:45 I wrote a thing that lets me write out my configuration in lua and it'll convert it to json or some other format 21:37:58 <_xor> kevans: LOL I was literally just thinking that. 21:38:09 <_xor> "Then there are people like kevans who I'm sure use lua or whatnot." 21:38:26 <_xor> kevans: Actually, you might be interested in this... 21:38:42 <_xor> https://github.com/mikefarah/yq 21:38:43 Title: GitHub - mikefarah/yq: yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor 21:38:54 does json, ucl, and yml by default 21:39:22 interesting, though I try hard not to have to parse these things 21:39:23 <_xor> I've been using it for quite a while now and it's been a huge boon. They've recently added Lua support, so it can transform between Lua and YAML, JSON, CSV, ENV, Properties, XML, etc. 21:39:58 <_xor> I try to stay away from it, but I also try to write POSIX-compatible scripts, so yq has helped tremendously. 21:40:28 <_xor> https://mikefarah.gitbook.io/yq/usage/lua 21:40:31 Title: Working with LUA - yq 21:40:50 <_xor> HCL is another language that I can appreciate, though it's not nearly as common. 21:47:05 <_xor> rwp: YAML can represent JSON docs without losing information or altering content, whereas the reverse isn't always true. 21:53:24 For very small configs I am not unhappy to use yaml for it but I don't like editing json of any size. I am okay with using json for a data interchange that one never looks at and I feel the same about xml too. 21:54:40 <_xor> I tend to use msgpack or protobuf or capnproto for machine-produced/machine-consumed data that needs to be serialized/deserialized.