-
pike
norm [-i|-b] [level] ;)
-
pike
Btw, I am running 14.3 on my Thinkpad X260 since a cpl of days and I got a strange issue
-
pike
Sometimes when I type the screen freezes and when I then type next key it unfreezes
-
pike
I haven't used this laptop very much but this behavior seems very odd.
-
zilti
I have a PF question: I have a WireGuard gateway and servers A and B that are both connected to it. A and B can both successfully SSH into the gateway, and vice versa, as well as access the internet via the gateway. But what PF rules do I need so A and B can connect to each other?
-
zilti
I assumed `pass quick on $wg_if` would be enough, but it seems not.
-
zilti
I am on the webchat, so sorry for eventual disconnects. I am sure the solution is very simple, but I always had my troubles groking PF rules for some reason
-
carneous
zilti: do the servers know how to route to each other?
-
zilti
carneous: Good question, I don't quite know for sure... Gateway is 10.0.0.1/8, A is 10.1.0.0/8 and B is 10.2.0.0/8, and A and B have AllowedIPs of 10.0.0.0/8 in the Peer section, so at least in that regard they have the correct settings. But that's as much as there is.
-
zilti
Here's the pf.conf by the way
termbin.com/1n59
-
burie
I am trying to use samba on freebsd with zfs as a storage pool for proxmox but if I do preallocate I get mke2fs errors when I try installing oses and if I don't preallocate I get lost async page write. I don't get this error when I host with the same samba config on linux. Config is this
pastebin.com/RUYzFjTf I am testing with Fedora 41 and 42 isos. I'm not seeing anything in the logs. Any suggestions?
-
zilti
Okay this has just completely entered Madtown here. I adjusted the configs somewhat, and now A can only ssh to the gateway, and B can neither ssh to A nor the gateway. And the gateway also cannot ssh to any of the two.
-
burie
samba420-4.20.7_6 is installed on freebsd. On the linux server it is 4.21.6-1
-
zilti
...I don't get it. I don't get any of this anymore. Is there a minimal wireguard/pf example somewhere about how I can have a wireguard setup where the clients can connect to each other?
-
scottpedia
zilti: have yoou tried ipsec?
-
scottpedia
i haven't had much experience dealing with wireguard but I know for sure the feature you are asking for can be easily satisfied with an ipsec vpn setup zilti
-
zilti
Is it possible to set subnet specific default routers?
-
scottpedia
zilti: normally that is done with iptables
-
scottpedia
now nftables
-
scottpedia
you add certain routes that allow intra-subnet comm.
-
scottpedia
not sure how wireguard works though
-
mengzhuo
Hi, I want to update ports(chinese/ibus-table-chinese) version with all shasum, is there a cli tool for this?
-
zilti
Well, right now wireguard doesn't work at all anymore for me
-
scottpedia
zilti: how so?
-
zilti
scottpedia: I don't even know anymore. The clients can ssh neither to each other nor to the server, it'll just time out; and the server cannot ssh to the clients, that one will immediately fail with a "no route to host"
-
scottpedia
zilti: do you HAVE to use wireguard?
-
scottpedia
if not, I may help you with setting up a working ipsec alternative.
-
zilti
The host and one of the clients have a defaultrouter set due to having a static public IP
-
zilti
Wireguard itself is not the issue though, it connects fine and I have a "wg0" interface on each
-
zilti
The non-static client and the server were able to ssh to each other before I added the defaultrouter to the latter, so I assume the routing is the issue
-
zilti
Why is networking such an awful mess?
-
scottpedia
it's not easy
-
scottpedia
but if you need help with a possible ipsec alternative, give me a ping zilti
-
zilti
Thank you, but I'm sorry, I don't want t
-
zilti
o start from zero again with a different set of tools
-
scottpedia
okay
-
zilti
Oh I can't believe it, two machines, identical config apart from the privkey, one shows up on the wireguard status as "allowed ips: (none)", the other as "allowed ips: fd00::/8, 10.0.0.0/8" as it should, god fucking damned pile of steaming shit
-
rtprio
wireguard?
-
nxjoseph
rtprio: yes
-
rtprio
yes, it is
-
nxjoseph
-
rtprio
i am having ipv4 mtu problems with ssh over wireguard
-
pike
Btw, I am running 14.3 on my Thinkpad X260 since a cpl of days and I got a strange issue
-
pike
Sometimes when I type the screen freezes and when I then type next key it unfreezes and shows 2 keystrokes
-
pike
I haven't used this laptop very much but this behavior seems very odd.
-
CrtxReavr
pike, booted from some other OS images, to see if it happens on them? Sounds like a hardware issue to me.
-
aic
rtprio: try sysctl -w net.ipv4.tcp_mtu_probing=1
-
aic
oh sorry didn't notice I'm in FreeBSD and not RedHat
-
rtprio
will that work on the destination server (freebsd) despite the client and wg endpoint being linux? :|
-
aic
quick google search says freebsd equivalent may be called net.inet.tcp.path_mtu_discovery
-
nxjoseph
% sysctl -a | grep discove
-
nxjoseph
net.inet.tcp.path_mtu_discovery: 1
-
rtprio
it's already 1
-
nxjoseph
net.inet.tcp.path_mtu_discovery: Enable Path MTU Discovery
-
rtprio
i just get the feeling that changing the mtu doesn't actually take effect
-
rtprio
but don't really have a great way to test it
-
nxjoseph
rtprio: do ifconfig show the mtu you want
-
rtprio
bash: ifconfig: command not found
-
nxjoseph
is it linux?
-
rtprio
sadly, yes, the client is linux
-
nxjoseph
dont know if `ip a` would show the mtu
-
rtprio
according to the wireguard config, it's 1420. on both ends
-
nxjoseph
i don't know much about subnets but IIRC, i had using /8 subnet or /0 and clients was not able to reach to each other, maybe try something other than /8 subnet?
-
rtprio
they can reach other. pings work
-
rtprio
just full packets don't seem to
-
nxjoseph
rtprio: hmm
-
rtprio
it seems to hang at "debug1: expecting SSH2_MSG_KEX_ECDH_REPLY"
-
jgh
I've seen pmtud fail to work, on Fedora. Set a lower MTU static, fine
-
jgh
actually I did it with a firewall MSS-clamp, I think
-
rwp
Without reading all of the scrollback about path MTU discovery, the most typical reason I have seen that fail is that people have firewall blocked ICMP which is required. And note that IPv6 absolutely requires ICMP to work.
-
rwp
A workaround hack that people often use is to set the local segment to MTU 1280 as that is the smallest MTU value that all IPv6 *must* support. And then even if path discovery fails that will usually work because that's the smallest value of any segment down the connection path.
-
jgh
net.ipv4.tcp_mtu_probing in theory works without ICMP. In practice, it didn't for me
-
rtprio
i'm only v4 at the moment
-
rtprio
ping doesn't work back through the tunnel, maybe that's breaking mtu discovery
-
rwp
If ping is blocked then since ping is icmp then probably other required icmp types required for Path MTU Discovery are also blocked? Usually for IPv4 this does not cause problems in practice when all path segments are MTU 1500 already (shrug).
-
rtprio
rwp: yeah, probably the rest are blocked. i wish they were 1500 all the time, ooof
-
pike
hey ivy so I've played around with audacity and sox
-
pike
audacity has recently added what I need, it is called 'Loudness Normalization' and I need RMS mode. I haven't found something similar in sox yet.
-
pike
ivy, I believe that I found a solution in ffmpeg-normalize a python script :)
-
jmnbtslsQE
rtprio: if the problem packets are originating from elsewhere (not originating from where the interface in question is located), maybe you can do netstat -rnW to check the mtu (where the packet originates), and then change it with route change ... -mtu MTU if needed
-
jmnbtslsQE
also...netstat -WACnp tcp , where the connection originates, to check the MSS for the problem connection, net.inet.tcp.hostcache.purgenow=1 to force it to reset it..not sure if all this applies for your case
-
jmnbtslsQE
ah maybe it's irrelevant because you already tried it or it's on linux
-
jmnbtslsQE
well you cna change the mtu in linux also if needed
-
rtprio
as i said, i did but it still behaves weird
-
rtprio
i'll maybe try again at 1400?
-
jmnbtslsQE
rtprio: i thought maybe the problem is you are forwarding a packet from elsewhere, which is too big, through the tunnel, not that your wireguard iface mtu is too high. not sure of the topology and where packets are being dropped.
-
jmnbtslsQE
i haven't used wireguard though..ipsec has been pretty good for me personally
-
ketas
-
ketas
eh
-
ketas
anyway, low but cursed bug eh
-
ketas
-
pike
I've also found a bug :p This bug causes quite abnormally large output files...
slhck/ffmpeg-normalize #286
-
voy4g3r2
Hello everyone - There is a small discussion, occurring on discord, about the wiki.freebsd.org page and a thread in our forums:
forums.freebsd.org/threads/the-jour…bsd-org-area-of-our-community.98409 and was wondering if anyone had any thoughts/inputs on this topic? If so, would you be so kind to provide input. We are investigating the update/refinement of the wiki
-
voy4g3r2
and would reappreciate any input/comments you may have. Thanks in advance.
-
ivy
so surprisingly enough, CLion remote development actually works on FreeBSD, despite being described as Linux-only