-
Yaazkal
oops, wrong channel, sorry for the noise here
-
jb1277976
Yaazkal: there is never noise here.. carry on though lol
-
Yaazkal
it was a mistake, but at least it was beautiful :)
-
mns
˜/4
-
vkarlsen
jmnbtslsQE: Yeah, it's close to that. I'm not using dhcp, but it appears to be caused by my nic accepting rtadv, but I would expect that to honor the rc.conf variable too
-
yamada
BSD 4 ever
-
yamada
still waiting for the video of the raspberry pi 5 running freebsd
-
yamada
and if bhyve works
-
debdrup
andrew@ did a talk about arm64 at EuroBSDCon yesterday
-
debdrup
it's been a decade since it got started
-
jbo
anybody here doing cross-compile for riscv64?
-
jbo
using devel/riscv64-none-elf-gcc from ports I keep hitting this:
-
jbo
/usr/local/bin/riscv64-none-elf-ld: cannot find -lm: No such file or directory
-
nimaje
shouldn't it complain while compiling, as it can't find the headers, instead of while linking, riscv64-none-elf-gcc seems to be just the compiler and no libc
-
debdrup
Yaaay, firefox-esr got updated.
-
jbo
nimaje, it's not complaining while compiling. only that linker message
-
jbo
nimaje, so I need to find a libc somewhere
-
nimaje
and is there a reason why you want to use gcc instead of clang/llvm?
-
jbo
I seem to recall that last time I checked llvm had no support for rv32ic
-
debdrup
Huh. What was my quitmsg?
-
jbo
I can be entirely wrong tho
-
debdrup
I think irssi crashed.
-
nimaje
just "Remote host closed the connection"
-
debdrup
Huh.
-
nimaje
jbo: llc15 -march=riscv32 -mattr=help lists c as possible feature for me, so it should be supported
-
jbo
nimaje, why would devel/riscv64-none-elf-gcc ship without a libc tho?
-
nimaje
for which system would it have a libc? some embeded device, some other embeded device, linux, freebsd 4.11?
-
jbo
nimaje, true that...
-
jbo
on linux everybody seems to be using the SiFive pre-built toolchain
-
debdrup
-
nimaje
hm, I would think "Lunch @ 1400" means Lunch at 14:00 o'clock, but why is that at 17:00?
-
getz
Think it's timezone dependent, just had lunch here
-
timothias
a while back, somoene was talking about a program to let you enter the geli boot up phrase over a serial console
-
timothias
If you see this, how's it going>
-
ivy
shouldn't that just work automatically if a serial console is configured?
-
timothias
its pre loaded kernel
-
timothias
so I "believe" they were shimming something into the uefi stub
-
timothias
I could be and probably am wrong
-
timothias
nut, I have a frozen snickers bar, so brain freeze is a valid excuse
-
» timothias omnoms
-
rwp
Uhm... There have been various attempts at an automated remote unlock of a fully encrypted systems. Here are some references I have saved off.
-
rwp
-
rwp
-
rwp
-
ivy
i am not very familiar with geli but freebsd doesn't normally use a uefi stub... isn't the geli support built into loader.efi? so as long as loader is configured to use the serial console it should just work
-
timothias
I could be wrong, but what I remember is they were talking about a way to have geli over the serial console
-
rwp
I have been softly poking at things in that space. I am thinking I will do something of my own creation but it will be a variation on the outer-base design. That's the way I was thinking of doing it before looking at it and they have things pretty well moved along there.
-
timothias
so you could be headless
-
rwp
Right. Headless. Most servers are headless.
-
timothias
it should be called pumpkin
-
rwp
Look at the
github.com/emtiu/freebsd-outerbase project and se what you think.
-
timothias
right now I have a usb keyboard
-
rwp
Hmm... Headless horseman. Sure!
-
phryk
my approach (the linked article) sets up an entire second freebsd install that's unencrypted but minimal. this by itself is vulnerable to be changed by anyone with hardware access. still haven't looked into secureboot which might help mitigate that.
-
LXGHTNXNG
my soul is a pumpkin
-
timothias
for the record there is nothing production about my workspace, I have a refurb lenovo sitting on the corner of my desk, and dont want a keyboardmonitor taking up space
-
phryk
also means that the loaded kernel always comes from an unencrypted filesystem, so take this into account when adopting this approach.
-
timothias
I have some nefarious tasks that work better in bsd that I do from time to time
-
rwp
phryk, That's also the practical result on the GNU/Linux side when using a LUKS encrypted system and say something like mandos there too. It's hard perhaps impossible not to have some bootstrap kernel at the start.
-
timothias
rwp: I even considered a bar code scanner with the password in a barcode
-
phryk
yeah, my understanding is that linux does a similar thing but puts it all into one image that's loaded as ramdisk on boot. that might make it easier to secure with secureboot, tho. even if the kernel is plaintext readable, that's not a problem as long as you can ensure that it hasn't been tampered with – which cryptographic signatures should provide… hence secureboot.
-
rwp
People have joked about having a camera on the system pointing at a poster on the wall with a QR code. If the machine were taken then the QR code would no longer be present. :-) No that's not totally secure and it's a joke but still funny!
-
phryk
reminds me of the lava lamp rng
-
timothias
crowdstrike, people were doing that with bitlocker sequences
-
rwp
I am not warmed up to SecureBoot for various reasons. It's a complicated total-subject to talk about. Almost always problematic.
-
timothias
rwp: I never bought the whole secureboot idea
-
timothias
timothias: then I read that its all borked up anyway
-
timothias
if they have physical access to the box, it dont matter anyway
-
phryk
rwp: yeah, been procrastinating secureboot for… *looks up blog* at least 3.5 years now.^^
-
rwp
Conceptually the Linux initramfs initial boot from an unencrypted /boot fits conceptually with your outer-base unencrypted initial boot. Both boot that kernel and then decrypt then reroot. Conceptually very similar. And there seems no other way to do it.
-
rwp
In the end it all depends upon what threat models can be defended against. Very likely the outer-base defense is good enough against the threats any of us might face.
-
rwp
And it is definitely better than doing nothing at all.
-
phryk
i think the freebsd project was working on something to boot directly from an encrypted drive, but i guess that'll just move the pain point up to the uefi loader, which would still be unencrypted and need to be secured.
-
rwp
Right. It's just pushing the problem earlier. And into an area that is (for me anyway) more difficult to manage. More tedious to manage.
-
rwp
It is much easier to manage an initial minimum boot system than an initramfs or UEFI shell.
-
phryk
ye, definitely easier to actually build yourself.
-
rwp
Before I drop afk for lunch let me thank you phryk for your excellent posting on outerbase. I appreciate it! And as you can see I am citing it to other people as the best practice! :-)
-
rwp
Lunchtime! BBIAB.
-
phryk
rwp: you're welcome. i really want to improve upon it, tho – the article always gives me that itching sensation that i'm advising people to do something that's not actually "properly" secure.
-
mmlj4
is there any timetable for replacing MySQL with MariaDB? so many apps in pkg depend on it, while I write for Maria's bugs these days
-
debdrup
do you mean using mariadb instead of mysql? i thought there was a toggle for that somewhere in the ports tree
-
mmlj4
is there? do tell
-
mmlj4
hmm... this might be it: head -105 /usr/ports/Mk/bsd.default-versions.mk | tail -2 # # Possible values: 8.0, 8.4, 9.0, 10.5m, 10.6m, 10.11m, 11.4m MYSQL_DEFAULT?= 8.0
-
mmlj4
and that would be find, except I want to use packages if at all possible
-
mmlj4
s/find/fine/ # bleh
-
sfox
How can I configure FreeBSD to lie about the protocol?
-
sfox
I'm on a network that doesn't allow IP traffic, but allows ARP
-
sfox
how can I configure freebsd to use 0x0806 for IPv4 instead of 0x0100?
-
sfox
Can freebsd lie about ethertype for specific hosts?
-
sfox
can PF be used to rewrite portions of packets?
-
sfox
Is there any way to rewrite the ethertype portion of packets before they leave the interface?
-
sfox
maybe I could use size ethertypes for IPv4 instead of 0x0800?
-
sfox
or a way to encapsulate ipv4 in the padding of arp
-
oprs
that sounds rather doubious; what makes you think IP traffic isn't allowed in the first place ?
-
oprs
why would you have ARP without IPv4 ?
-
oprs
how would you discriminate between legit ARP traffic and your encapsulated traffic ?
-
oprs
I mean even it you could do that, such ill-formed packets wouldn't make it past the first switch
-
oprs
s/it/if/
-
sfox
I can arping my other host on the same layer2 segment but cannot icmp ping them and no IP traffic is making it despite having the correct headdr
-
sfox
the network administrator is incompetent and half the continent away
-
sfox
I tried forcing a broadcast arp entry since the wireless network is flooded with mdns announcements to see if that would get through but didn't work either
-
sfox
I figure that since I can arping to the unicast macs just fine, as well as to the bcast mac of ff:ff:ff:ff:ff:ff, there must be some kind of layer2 filter dropping based on ipv4 ethertype but not arp ethertype
-
sfox
I noticed there's padding in arp packets so I figured maybe I could encapsulate ip data inside of the padding of fake arp ethertype packets with the correct hwaddr src and dst, or I could use the legacy ethertype method of using the ethertype to specificy packet size instead of type. That would be more porfoment by allowing for larger packets then using the padding space in arp
-
sfox
Why wouldn't the packets make it past the first switch?
-
sfox
even in the worst case scenario, I could send it to FFFFFFFFFFFF and use a higher layer to do unicast
-
sfox
The network administrator doesn't know how to do anything and just deploys black boxes from cisco meraki
-
sfox
If I could just tunnel something over an ethertype that does forward, I'd be fine
-
sfox
I'm already having to do weird nonstandard hacks like UDPspeeder to overcome the varible 68-98% packet loss on this network
-
sfox
which thankfully helps enough to be able to use TCP again
-
oprs
can you see some VLAN traffic on either side ? maybe there's some sort of VLAN tagging/filtering involved
-
sfox
No, but both machines are within the same /21 private IPv4 network
-
sfox
assigned via DHCP
-
sfox
i'm going to try forcing 01:00:5e:00:00:fb as the hwaddr
-
sfox
nope
-
ivy
is there a preference for adding loopback addresses (those not associated with any interface, like you'd have on a router) on lo0 or on a dummy bridge interface, or somewhere else?
-
Yaazkal
hello
-
sfox
ivy, loopback is an interface
-
ivy
by "lookback address" i mean any address which is not assigned to a normal L3 interface. on IOS those usually go on the loopback interface, but some other vendors put them elsewhere