-
Kalten
with `pkg+httpd://pkg.FreeBSD.org/${ABI}/latest` as url?
-
gp5st
I think i had it at quarterly
-
gp5st
i'll check once it finishes
-
V_PauAmma_V
quarterly vs. latest is a trade-off. Not all port maintainers request merging security fixes into quarterly, thus latest can be safer. But there's a lot of churn in latest.
-
gp5st
-
gp5st
-
gp5st
I'm not sure why there's a mismatch?
-
gp5st
or what to do about it?
-
gp5st
nvm, i think i forgot the second freebsd-update install after rebooting
-
Kalten
sounds like some error there.
-
gp5st
:(
-
gp5st
so pkg update and pkg upgrade don't have anything to do
-
gp5st
the error about the kernel version isn't there anymore
-
gp5st
but there's still a whole bunch of things that complain about libraries
-
gp5st
vim for instance still says that it can't find libncurses.so.8
-
gp5st
pkg show ncurses says it has libncurses.so.6
-
gp5st
but pkg install vim installed it and didn't say it was upgrading or anything and it works?
-
Kalten
Maybe better:/ get list of installed packages, delete all packages,
-
Kalten
install packages from list
-
Kalten
let’s see
-
Kalten
`pkg query -e '%a = 0' %o > my_installed_packages_not_automatic`
-
Kalten
hmmm... I do a `pkg backup -d pkg_db_backup` too.
-
Kalten
theoretically no changed configuration files should be deleted.
-
gp5st
unknown command backup
-
Kalten
theoretically… ;-)
-
gp5st
it's running 1.19.0
-
Kalten
my pkg is still 1.18.4
-
gp5st
I really should have took a snapshot before I embarked on this
-
Kalten
than I do backup most in /etc/ /usr/local/etc/
-
gp5st
ah, looks like past me was nice to me and has it automatically snapshotted each week
-
Kalten
than I stop sendmail, than fetchmail, then I set set fetchmail_enable to nNO in /etc/rc.conf
-
Kalten
than stop imapd apache24 mysql-server all via `service somedaemon stop`
-
gp5st
so what should I do with the installed not automatic packages?
-
Kalten
than `pkg delete -afy`
-
Kalten
than some rm of `/var/db/pkg/local.sqlite*`
-
gp5st
and then?
-
Kalten
some checks, it seems. But I think more or less `pkg install -y someport`
-
Kalten
pkg install -y `cat my_installed_packages_not_automatic`
-
Kalten
or maybe the \n are not OK:
-
Kalten
pkg install -y `cat my_installed_packages_not_automatic | tr '\n' ' '`
-
Kalten
sometimes the pkg names seem not to be ok?
-
Kalten
wait
-
gp5st
ok, it's doing a thing
-
Kalten
there was somethig....
-
gp5st
i removed things like php56
-
Kalten
Ah. No: that command did list them including cathegories
-
gp5st
I just sent it through xargs
-
Kalten
If you invoke a pkg for each package, nothing can be optimised, all checks must reoccur. If you call ONE instance of pkg it will faaaaaaaaaaar faster.
-
gp5st
xargs passes all of them at once to pkg
-
Kalten
ok
-
Kalten
did it work? (or still ongoing?)
-
gp5st
Kalten, I think it's back and working
-
Kalten
jolly good! :-)
-
gp5st
I had a minor detour because I thought a service was on it, but I had moved it off it seems
-
gp5st
a while ago
-
» gp5st faceplams
-
gp5st
but yeah, after reïnstalling all the packages it seems to be working
-
gp5st
Thank you so much
-
Kalten
;-)
-
Kalten
gp5st: just being nosy: from where do you come from? (I am from Austria (in the middle of Europe))
-
ghoti
Is Wireguard really all it's cracked up to be? If I have to choose between gre and wireguard, what's the best choice? I am seeing a lot of fans writing about it, but haven't found anything about it on FreeBSD yet, aside from the ports of course.
-
nacelle
ghoti: I think so, but i've only been running it for four years. GRE isnt a real choice since its not encrypted. (If you need to use GRE you would use it and not bother with wireguard, but there are better lan to lan protocols these days)
-
ghoti
nacelle: I'm connecting to a third party that has given me the choice of wireguard, gre+ipsec or sit, which I think is an unsupported fortinet thing. I guess .. it's time to try out wireguard. :)
-
ghoti
Should I be looking at the kmod?
-
rtprio
there should be a metapackage
-
rtprio
wireguard-kmod and wiregurad-tools
-
nacelle
I dont see why you wouldnt try wireguard first there - presuming you want the highest throughput
-
ghoti
nacelle: hence my question -- I haven't used wireguard before, so I want to know if it is stable. :) I have been using OpenVPN for maybe a decade, but that isn't an option..
-
nacelle
stable on other OSes, becoming so on FreeBSD... -shrug-
-
nacelle
its not much code
-
nacelle
(relatively)
-
LambdaComplex
ghoti: ipsec has a bunch of knobs you can turn that may affect your security (including the ability to have an ipsec tunnel with no encryption whatsoever). wireguard has no such knobs, so there's less stuff that you can break as the end-user configuring the tunnel
-
LambdaComplex
regarding wireguard on freebsd specifically: there _was_ that snafu a few years where netgate paid someone to implement wireguard for freebsd but the implementation was garbage and it almost made it into freebsd 13
-
LambdaComplex
but that didn't happen, and (as far as i know) wireguard's creator actually got involved to write the implementation that _did_ make it into freebsd
-
LambdaComplex
so i'd expect it to work fine
-
mage
ghoti: I use wireguard in production (with heavy traffic) since a year and it works like a charm
-
mage
(on both 12.x and 13.x)
-
dch
mage do you know what you get in perf, comparing direct vs wireguard?
-
dch
I'm getting over zerotier ~ 2/3 of line capacity, which is good enough for my needs
-
dch
anybody familiar with ssh X11 forwarding? I need to start firefox on my desktop, while seeing it on my laptop. for $REASONs
-
dch
I'm doing `ssh -A6X dch@wintermute` because its an ipv6 vpn
-
dch
then `echo $DISPLAY` shows `localhost:10.0` which seems sensible
-
dch
then running `firefox` just hangs
-
dch
I can't even ^C or ^Z in the remote ssh
-
xtile
Have you tried it with -Y rather than -X ? That's usually the first thing to try.
-
dch
I just found that, same non-result
-
» xtile nods.
-
dch
interestingly, if I run firefox inside a tmux, I still lose kbd control. maybe time for running ssh with -vv to see whats up
-
dch
debug1: Requesting X11 forwarding with authentication spoofing.
-
dch
debug2: X11 forwarding request accepted on channel 1
-
dch
that seems ok
-
dch
maybe I should try something simpler
-
xtile
something like xcalc is a simple choice
-
micttyl
can i have a user summary like adduser?
-
dch
`timeout 1s xset q` fails, so we are clearly not finding the local X server
-
dch
micttyl: can you be a bit more specific? dump out a list of users, in the same format as adduser ?
-
dch
the /etc/passwd file is world-readable and contains everything except group info, which is /etc/group
-
micttyl
human readable summary.
-
micttyl
scripting is not the solution i am looking for if you may answer like so
-
dch
how about `pw usershow $USER -P` ?
-
dch
I think that's almost exactly what you want
-
xtile
huh, neat, useful
-
dch
micttyl there's no builtin way to do this for all users, so wrap xargs and sed or awk around /etc/passwd for that
-
dch
xtile: yeah, I could do with libxo support in pw too and then I'd be a very happy camper
-
xtile
dch: pw user show -Pa
-
xtile
You can do it for all users.
-
dch
xtile: TIL! awesome
-
micttyl
thank you. they are what i was looking for
-
xtile
:D
-
» dch high-fives xtile
-
dch
ok xclock doesn't work, and `xset -q` doesn't either
-
dch
maybe I can ssh to my laptop and test locally
-
micttyl
i think it has a bug
-
dch
some progress, I needed to fiddle with xhost | xauth and now I can (over localhost ssh) launch xclock
-
dch
ooh and xclock, albeit missing clock hands
-
xtile
missing clock hands? that's amusing, but also an "oh no" moment
-
xtile
I wonder if -render vs -norender has any effect on the hands
-
dch
maybe its related to `Warning: Missing charsets in String to FontSet conversion`
-
» dch tries xterm next
-
dch
ok, I switched to a different server, and this all works, so *something* is not right on 1 server
-
dch
after restarting x on the desktop, then running on my laptop `xauth extract - $DISPLAY | ssh $desktop xauth merge -` , I can start X programs finally
-
dch
once I tried this at home, I found that firefox is apparently just too much work to display, which seems a surprise
-
xtile
:D
-
xtile
aha
-
pertho
dch: thin client?
-
dch
pertho: more shitty laptop and even shittier tethered internet
-
pertho
yikes
-
dch
mm running firefox on my arm64 server over X11 forwarding is a pretty reliable segfault
-
dch
all I wanted to do was reset firefox sync so I could send a couple of tabs through
-
dch
and it turned into a half day yak shave
-
debdrup
opensource.txt
-
dch
;-)
-
dch
patches welcome (tm)
-
dch
although last week, I did get ipv6 working, a very valuable yak shaving that was
-
xtile
Oh, nice. I miss having IPv6.
-
dch
next step is to figure out how to give an ipv6 to my workstation, and then I can finally remove ssh-over-ipv4 from all servers
-
dch
with a bit of extra effort I might even remove all non-customer-facing ipv4 sockets entirely
-
debdrup
ipfw nat64 \o/
-
dch
debdrup: not really sure I want to deal with that atm, I just want to give 3 machines here a proper ipv6 address, and let that get through the routert
-
debdrup
dch: then nat64 isn't for you
-
dch
that is my thinking exactly :-)
-
pertho
what is IPv6?
-
» pertho grins
-
pertho
all the places I worked, no one used IPv6.. weird, I know
-
debdrup
"What is IPv6" "A miserable pile of secrets"
-
debdrup
I think around 20% of peak rate traffic is IPv6 nowadays, only a few decades after its introduction.
-
xtile
Most of it's from phones, isn't it
-
xtile
I love IPv6 though
-
debdrup
Do the endpoints matter?
-
xtile
I mean, if it's mostly from phones, it means not enough people have IPv6 at home.
-
pertho
I've never had IPv6 at home.
-
pertho
only when connecting to a VPN
-
xtile
I'd had it for years, back in Florida. But my provider here in Washington state doesn't provide it at all ;_;
-
xtile
It's really useful
-
xtile
Means you don't have to deal with portforwarding garbage with your router, when running servers.
-
xtile
NAT sucks
-
pertho
also means all your networking equipment now needs firewalls
-
xtile
That's fine.
-
pertho
(which is should already.. but still)
-
xtile
Exactly!
-
xtile
So there's no difference, since you've already configured your firewall.
-
pertho
most users don't know how to configure a firewall
-
xtile
But now you can run servers freely, since IPv6. ;D
-
xtile
true
-
pertho
block drop all
-
rwp
dch, Across the LAN I can use "ssh -X olddesktop" from new desktop and run Firefox acceptably slow but good enough to log into web sites that I haven't moved cookies to the new desktop yet.
-
rwp
I would not do that across the Internet WAN unless needing something for a paying client on the other coast and a nice cuppa tea with calming music in the background to patiently work through it though.
-
rwp
Latency is everything when throwing an X display across the network.
-
dch
rwp yeah this is what I learned today. BTW
brow.sh |
freshports.org/www/browsh is in ports.
-
VimDiesel
Title: Browsh
-
dch
awesome appt
-
rwp
dch, browsh is a new one for me! Thanks much for mentioning it. It handles Javascript?! Excellent!
-
rwp
Up until now I only knew of edbrowse handling Javascript and edbrowse has a certain appeal but it is definitely not mainstream.
-
idkwtf
-
idkwtf
Beastie looking devilish :D
-
beastie
ein?
-
rwp
To my eye it looks like a "blobfish".
-
idkwtf
rwp: No no, this is a blobfish:
i.imgur.com/enuJpdX.png
-
idkwtf
lol
-
idkwtf
(the OpenBSD version)
-
idkwtf
The face is Meatwad from the cult adult animation series Aqua Teen Hunger Force (
youtube.com/watch?v=BJNGbC8CunU)
-
VimDiesel
Title: Aqua Team Hunger Force season 1 Best Moments - YouTube
-
debdrup
Probably getting fairly off-topic here.
-
idkwtf
Trying to make a new and improved version of freshports.org
-
debdrup
Good luck with that then.
-
idkwtf
Thought I needed some fancy art to go with it but on second thought, maybe not
-
idkwtf
Thanks
-
debdrup
I'd think programming the entire site would be more important, but that's just me.
-
idkwtf
bsdports.org not really working right now though
-
VimDiesel
Title: BSDports | OpenBSD, FreeBSD, NetBSD & macOS
-
idkwtf
(due to those damn websockets)
-
idkwtf
debdrup: Exactly!
-
rwp
dch, Looking at browsh in more detail it seems less than awesome. It requires Firefox be installed and uses it headless for the work. It requires a terminal with mouse support. Neither of which I normally have over ssh to a remote headless server system.
-
rwp
So... Not so useful after all. I guess edbrowse, odd duck that it is, remains the only available option.
-
zykotick9
dch: re:browsh thanks... but that "Unsupported Version \ Donate" watermark is lame...
-
rtprio
why is it not supported? because it's built by the ports cluster?
-
debdrup
What's a ports cluster?
-
paulf
ah
-
paulf
typing this in kiwiirc
-
paulf
in Firefox
-
paulf
and the big bit
-
paulf
undrr Valgrind