-
ober
Oleg: the insecurity of using an alt ssh port > 1024 is very common
-
ivy
doesn't everyone just firewall SSH and use Wireguard nowadays?
-
ivy
i can't imagine exposing SSH to the Internet, especially after the recent RCE in OpenSSH
-
ober
well that was external linkage no?
-
ivy
?
-
ivy
if you mean the xz backdoor, no, the recent RCE is unrelated, it was a signal handling bug
-
ober
oic
-
ivy
-
ober
thanks
-
rwp
The signal handler issue was a portable openssh bug not present on the upstream OpenBSD system. But exploiting it in the wild would require probably more than 10 days of 24x7 login attempts running at full speed. For most of us that would be rate limited such that success is not possible.
-
ivy
rwp: sure but OpenSSH has had RCEs in the past and will probably have more in the future
-
ivy
wireguard is a much simpler protocol
-
rwp
I say for most of us because we would notice. But yes there will be people who set up a bare system and then don't keep any eyes on it and they would allow an attacker to attempt to log into it 24x7 at full speed for weeks.
-
rwp
If you want something super simple then
tarsnap.com/spiped.html is another way to put a gate on the front.
-
rwp
Note that I run my sshd's with port 22 facing into the teeth of the storm. But I also keep close eye on my systems and keep them upgraded too. Usually always upgraded for security issues with 24 hours of them becoming known.
-
rwp
martinrame has left already but I must believe there was caching such as ncsd there. That's the only explanation.
-
ivy
i suspected nscd as well, but sie did not mention if nscd was being used
-
ivy
it is not enabled by default, as far as i know
-
ivy
(maybe there's a checkbox in the installer for it?)
-
rwp
I'll also just note that the default blacklistd bantime is 24 hours after 3 failures. It's pretty easy to lock oneself out for a full day when setting it up. I recommend using a shorter bantime at least during the initial turn-on phase of gaining experience with it!
-
rwp
ncsd is not installed and not enabled by default. Is there a port of it? But it must have been something like that given the behavior.
-
ivy
it is installed by default, it's part of the base system
-
rwp
I use bash here too (me looks around shyly) and I have no trouble changing shell to it. It's all perfectly well behaved.
-
ivy
but it's not enabled
-
rwp
I am not seeing it on my 14.1R system. I don't find any mention of enable variables in "man rc.conf" for it.
-
rwp
Oh! It helps if I spell it nscd not ncsd. D'Oh!
-
rwp
So then it would be easy to have enabled it with nscd_enable set and then it would be active. That was almost certainly it then.
-
ivy
my thoughts also
-
ivy
at least i cannot see any other explanation
-
rwp
I don't like the behavior of nscd because it hashes entries meaning that IF one counts on ordering with duplicated uids then nscd scrambles ordering breaking that time honored paradigm.
-
rwp
Plus I don't really see any performance advantages. *BSD already builds the linear text files into a .db file for fast access.
-
ivy
it's a significant performance benefit for LDAP or YP environments
-
ivy
looking up a user via LDAP requires a TCP connection
-
rwp
I have used NIS/yp quite a bit but have not myself ever used LDAP. Is the LDAP TCP connection persistent? Seems like it would need to be.
-
ivy
depends
-
ivy
if you use nss_ldap, no, but nss_ldap is terrible and no one uses that anymore
-
ivy
if you use nslcd or sssd, the connection is persistent, but it still has to do a lookup to the server on every request to fetch a user by username or uid
-
ivy
so nscd is still a win there
-
uskerine
Hi, I have moved my hard drives from a Dell R320 into a Dell R720. Everything works fine except the network, it consistently shows Status: no carrier. When I plug the ethernet cable in dmesg I see "link DOWN", the green light of the actual port is green, showing that there is 1Gbps connectivity
-
uskerine
I ran out of ideas, it would be really helpful if anyone experienced anything similar. thanks
-
ivy
uskerine: what network driver is it? e.g. re, igc, ix, etc
-
uskerine
bge
-
ivy
hmm
-
ivy
uskerine: can you show output of 'ifconfig bge0' (or whatever the interface is)?
-
uskerine
I can not copy because the computer has no network but I can type the relevant stuff in here
-
uskerine
ifconfig bge0
-
ivy
ah well i wondering specifically about UP and LOWER_UP in flags
-
uskerine
UP, BROADCAST, RUNNING, SIMOPLEX, MULTICAST
-
ivy
as in: ix1: flags=1008943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 9000
-
uskerine
it has fixed IP assigned
-
uskerine
media: Ethernet autoselect (none)
-
uskerine
status: no carrier
-
uskerine
status: no carrier shall not be the case, right?
-
ivy
yeah, that is no doubt the problem
-
ivy
that means Ethernet link did not come up, so strange it shows that while LED is green
-
uskerine
the link is solid green, I have tried three cables
-
ivy
flags=... in ifconfig definitely has 'UP', right?
-
uskerine
it is connected to a small managed switch, untagged for VLAN 10, PVID assigned to VLAN 10
-
uskerine
but that shall not be the issue
-
uskerine
it does, UPO
-
uskerine
UP
-
ivy
what type of Ethernet is the link, 1000BASE-T? or 10GBASE-T or something else?
-
uskerine
options=<RXCSUM. TXCSUM, VLAN_MTU, VLAN_HWTAGGING. V:AN_HWCSUM, TSO4, VLAN_HWTSO, VAN_HWSO, LINNKSTATE>
-
uskerine
1000BaseT
-
uskerine
regular Ethernet 1Gbps
-
uskerine
copper
-
ivy
can you plug it into some other device, like a laptop or whatever, just to see if link comes up?
-
uskerine
I tried to plug it directly into a laptop
-
uskerine
did not work
-
uskerine
I can try a non-managed non-vlan aware switch
-
ivy
same problem, ifconfig showed 'status: no carrier'?
-
uskerine
right, status: no carreir
-
ivy
i fear this may be either bad hardware or a driver bug
-
ivy
does the server have a different ethernet port you can try?
-
ivy
also is this FreeBSD 14.1 or other release?
-
uskerine
I bought the server used, it was before assigned to a virtualised environemnt XCP-ng
-
uskerine
it is FreeBSD14.1
-
uskerine
no, it does not have any other port, I think unfortunatelly I have no ethernet card to plug in it and test
-
uskerine
but the server is in very good condition and I doubt it was sold defective
-
kernaltrap
jauntyd: hello! :D
-
uskerine
I was thinking maybe there was something in the BIOS for the configuration of the virtualised environment that it is meddling out but I removed everything that could affect (power saving, iSCSI, PXE)_
-
uskerine
I also disabled the network for iDRAC
-
jauntyd
kerneltrap: HEY! lol we should talk in #freebsd-social for erm...casual chats
-
ivy
uskerine: i wonder if you could boot a Linux ISO or USB image and see if the network port comes up under Linux
-
ivy
that would at least confirm the hardware works
-
uskerine
I can try that
-
ivy
i am not really familiar with bge(4), i don't own any hardware using this driver so i don't know if it works well or not
-
ivy
did use it a lot under Solaris though, but that's not very relevant here :-)
-
uskerine
I think it works, since I have another r720 and I had the r320 and they all have this broadcom nic
-
uskerine
I think there is a switch somewhere due to its previous life as XCP-ng node
-
ivy
uskerine: is there anything in dmesg about bge0?
-
uskerine
nothing that brings my attention
-
ivy
hmm well
-
uskerine
I think I still have the installation usb drive for FreeBSD13
-
uskerine
14
-
uskerine
I am trying that
-
ivy
i would suggest testing it under Linux, if it works there i suggest mailing net⊙fo
-
uskerine
I can do that but it might be worth a shot with the FreeBSD USB drive? which is what I have in handy. Does it test the network before actually trying anything?
-
uskerine
I see yuou can also boot single user
-
ivy
i don't think the installer does any sort of network test, but you could boot the installer, go to a shell, and bring the network interface up and see if it works
-
uskerine
I cn also try to boot it with ACPI Off or Safe Mode on
-
uskerine
-
uskerine
it seems there was a shitshow with my driver back in the day
-
kevans
woof: "I request you to help us with the driver and speed up your testing [...]"
-
uskerine
yeah I read that
-
uskerine
how unfortunate was that message
-
uskerine
I hope it was just that he was not good at English
-
uskerine
I suspect it is the iDRAC messing around
-
uskerine
because the iDRAC in this server is embedded, in the other ones there is no dedicated port
-
ivy
oh hi kevin
-
ivy
kyle
-
ivy
damnit
-
kevans
O_O
-
ivy
sorry i always make that mistake
-
uskerine
If I buy an inexpensive tplink network card, would that work?
-
ivy
i would never recommend buying a tp-link network card
-
ivy
if this is a rack server with half-height PCIe slots, i'd recommend buying an Intel NIC from ebay
-
ivy
(these are easily available from brands like Dell, HP, etc.)
-
uskerine
it is a test/homelab server
-
ivy
still, do not buy tp-link
-
ivy
they are terrible even for home products
-
uskerine
Can you help me to pin point which specific intel nic shall I go for?
-
ivy
freebsd supports basically all of them, but e.g. X510, X710
-
ivy
those are 10Gbps card, but they work fine at 1Gbps
-
ivy
you could also look at Chelsio or Mellanox but ime Intel is the most easily available on eBay
-
uskerine
-
ivy
X540, yes buy this, it will work fine
-
uskerine
would that work?
-
uskerine
there are no 510
-
uskerine
I am stuck to ebay, it is the simplest option to me
-
ivy
but if this is a rack server, make sure it has a half height bracket, otherwise it will not fit
-
uskerine
I will double check but I think that is the case
-
ivy
the pictures show a full height bracket
-
uskerine
one question, since the server was installed with the broadcom, and it has no network, what will happen when I plug in and boot FreeBSD 14? will it just be happy and use the driver?
-
uskerine
thanks ivy, I will pay attention to full height/half height and purchase accoridngly
-
ivy
when you boot it, you will find ix0 interface (and ix1 since this is a dual-port card) and you need to adjust your rc.conf for that
-
uskerine
but the kernel module for ix0 is already there?
-
ivy
yes, the module is "if_ix.ko" but it's built into the GENERIC kernel just like "if_bge.ko" is
-
uskerine
understood
-
uskerine
I think that is the simplest option there, and honestly the board is pretty inexpesnive in ebay
-
ivy
that would certainly be my choice
-
uskerine
thanks for the advice/help
-
ivy
if you care, be aware that Intel considers X5xx cards obsolete and does not provide a Windows driver
-
ivy
but that's not an issue if you're running FreeBSD, ofc
-
uskerine
I could not care less about Windows driver
-
uskerine
I feel much more comfortable with FreeBSD, I will install one server with Linux though because I want to try CUDA (and have a Mathematica installation)
-
uskerine
CUDA is the elephant in the room in FreeBSD
-
ivy
freebsd should support ROCm, and AI stuff will support ROCm via Vulkan as it's just OpenCL
-
ivy
it just doesn't right now, but maybe in the future
-
uskerine
ROCm is not supported either
-
uskerine
the closest thing I saw was OpenCL, but it was buggy and only worked for old boards
-
ivy
well, no, as i say
-
ivy
but it will do if anyone cares enough to support it
-
uskerine
it is out of my league, but I suspect it is a huge rock ahead in the road of FreeBSD
-
ivy
tbh i doubt most people using freebsd today are concerned about this
-
uskerine
hype or not hype, AI is here to stay
-
uskerine
I guess so
-
kona
let us hope that it does not lead to the gpu scarcity that cryptocurrency and nft's brought.
-
uskerine
still I fear that issue will make the OS fade. As it is now it is a total no go if you ever want to try anything that requires a GPU
-
ivy
well certainly not "anything", freebsd desktop works fine with 3D acceleration under wine etc.
-
uskerine
agreed, I was talking about the computational part of it
-
ivy
it's not the platform i'd choose if my job involved GPGPU but eh
-
kona
not every workload needs a gpu though.
-
uskerine
No it does not, but for anything related to LLMs not having that (or the equivalent accelerator) seems to be a huge performance impact
-
kona
soemthing like this with an MIT license might help bootstrap that.
github.com/mikex86/LibreCuda
-
kona
sounds like a job for ports.
-
uskerine
that seems a prototype (as per the description). And a project doomed to fail as new cards will need to be reverse engineered?
-
uskerine
I hope either AMD (via ROCm) or Intel get something usable
-
ober
can start X, but keyboard and mouse don't work. open to any suggestions
-
uskerine
ivy the other r720 had an intel card, this is a no brainer
-
uskerine
I thought it was broadcom too but I was mistaken
-
uskerine
ober /var/log/Xorg.0.log would give you the log of the X server
-
ober
reinstall fixed it
-
gh00p
[p
-
ivy
p]
-
gh00p
sorry, cat.
-
Alver
Hi. So apparently a change went in to set the minio "root" credentials in clear in the rc.d file.
-
Alver
Which was an improvement since before that, these credentials were install-defaults, and non changeable. But the rc.d file is world readable - am I missing something here?
-
skered
Alver: Like most defaults it normal to install then change?
-
gh00p
So, I'm trying to use fuse to mount an exfat filesystem from a USB stick, but I get "ERROR: unsupported FAT count: 2." Anything I can do with this? Is this volume unreadable by fuse-exfat? Do I find a Windows or Mac machine, back-up and reformat with fewer FATs?
-
polarian
Is it just me or is the freebsd mailing list just dead... is it best to just report issues to bugzilla?
-
jb1277976
polarian: not really.. probably deoends on what list your looking at. freebsd questions list is ok
-
polarian
jb1277976: maybe people just hate my questions then :P
-
jb1277976
One thing i notice about irc lists etc.. is you gotta wait.. put it in tmux and forget about it.. do somethinf else to distract yourself
-
jb1277976
=)
-
polarian
I do wait lol, I am not new to ml/irc
-
polarian
-
jb1277976
polarian: the forums are fast.. i would try there also
-
kevans
polarian: are you running `adb devices` as root, or your own user?
-
kevans
it Just Worked(TM) for me when I used it a week ago or so, just had to enable USB debugging in developer options
-
polarian
jb1277976: forums have never really been my thing ngl, I have never really used one :P
-
polarian
kevans: as my own user
-
polarian
adb shouldn't be run as root
-
polarian
afaik
-
kevans
does your user actually have access to the device node?
-
polarian
hm I just thought about that
-
polarian
Well I will need to flash a phone again in a week, I will test that thanks :)
-
polarian
pretty common sense of "check the user has permissions to access the device"
-
kevans
*nod*
-
kevans
er, to testing that- not to the "pretty common sense" bit
-
kevans
I file things like this in the "shit happens" bin over there *gestures to the corner of the nearest closet*
-
duskmoss
has anyone here setup
netauth.org for freebsd? I'm curious about it instead of nis or ldap+kerberos
-
ober
ordered 2 different "atheros" chipset laptop wifi cards, and their both broadcom.. /me hunts for a better place than amazon for network stuff
-
ober
intel wifi typically supported?
-
rtprio
man iwn
-
rtprio
has the list of some intel cards
-
rtprio
`man wifi` for the list of drivers, i think intel has a few different drivers
-
ober
oh right. derp. /me ported that from obsd to nbsd
-
ScrewDriver1337
Hiii!
-
rtprio
greetings