Re: NAT64 across rdomains

2023-01-18 Thread beebeetles
After some digging, what it _appears_ to me that when "af-to" is used together with "rtable" like the following: pass in log on re0 inet6 proto {tcp, udp} \ from (re0:network) to 64:ff9b::/96 \ rtable 1 af-to inet from 127.0.0.1 the origin rtable information is not kept in the pf state,

NAT64 across rdomains

2023-01-17 Thread beebeetles
Hi misc, I've been trying to do NAT64 across different rdomains, but haven't had any success so far. My test setup is as follows: +---+ |client | | . . . . . . . . . . . | | fd00::2/112 | +---+---+ | Ethernet |

Re: NAT fails to work from internal to external network

2021-12-20 Thread beebeetles
> pass out on egress from trunk:network to any nat-to egress > pass out on egress Looks like you (incorrectly) assumed that first matching rule wins? On 12/20/21 15:05, Ben Raskin -X (braskin - HIGH TECH GENESIS INC at Cisco) wrote: Hello, Misc; I'm attempting to configure a firewall using pf

Re: anchors enable / disable

2021-12-17 Thread beebeetles
Sounds like the feature is already there, in a different way. Enable: pfctl -aFooBar -f PathToFooBar Disable: pfctl -aFooBar -F all Regards. On 12/17/21 07:34, Holger Glaess wrote: hi is there an possibility  to enable / disable anchors with pfctl ? like pfctl -aFooBar -T enable Feat

Re: Some Thoughts on resolv.conf.tail Deprecation

2021-11-11 Thread beebeetles
What I'm trying to solve is that static part of the configuration being mixed up with configuration generated runtime in a single file, which leads to a few inconveniences: - resolv.conf will show up in the diff between backups all the time even if nothing has really changed; Oh come on.

Re: Some Thoughts on resolv.conf.tail Deprecation

2021-11-11 Thread beebeetles
I am not sure about what problem you are trying to solve. Won't the lines added by resolvd be overwritten anyway the first time you use the backed up file? What I'm trying to solve is that static part of the configuration being mixed up with configuration generated runtime in a single file, whi

Some Thoughts on resolv.conf.tail Deprecation

2021-11-11 Thread beebeetles
Hi all, I was reading the manual page of resolv.conf(5) today and realized that paragraph on resolv.conf.tail has disappeared since the upgrade to 7.0, so I assume that resolv.conf.tail has been deprecated in response to resolvd being enabled by default. Previously, my backup strategy was to

Re: pkg_add failing with TLS handshake failure

2021-11-01 Thread beebeetles
Check your system time maybe? On 11/1/21 18:06, rahul deshmukh wrote: Hi Team, while installing new packages i am getting below error. myhost01$ doas pkg_add rust https://cdn.openbsd.org/pub/OpenBSD/7.0/packages-stable/amd64/: TLS handshake failure: ocsp verify failed: ocsp response not curren

Re: OpenBSD as wireless access point

2021-10-31 Thread beebeetles
I believe he meant (11g), or (11a with channel >= 36). On 10/31/21 10:18, rahul deshmukh wrote: Hi Stefan, I was able to connect even though on 11g and channel 36 give me invalid argument at boot time. On Sun, 31 Oct, 2021, 7:35 pm rahul deshmukh, wrote: If I change mode I am getting as inv

Re: Issue on RPi4 upgrade to 7.0

2021-10-20 Thread beebeetles
Have you tried replacing u-boot.bin with the one from 6.9 on the FAT partition of your SD card? Doing that solved the issue for me. https://marc.info/?l=openbsd-arm&m=163430263914511&w=2 On 10/20/21 10:12 AM, Nenhum_de_Nos wrote: Hi, I just upgraded my RPi4B 4G router to 7.0 and, unlike the RP

Re: Raspberry Pi 4 Model B

2021-09-24 Thread beebeetles
I'm trying to load OpenBSD on a Raspberry Pi 4 Model B and I'm not having much luck. I've tried OpenBSD 6.9's miniroot69.img and the install process does not go past the U-Boot prompt. I was able to install OpenBSD 6.9 on that hardware. What issue did you encounter?

Re: How to troubleshoot DHCP issues?

2021-08-11 Thread beebeetles
Thanks a lot Stuart! Really appreciate your insights. I've been running some more tests and here are some new results: 1. Without MAC spoofing and a statically assigned IP address, axe lasted around twelve days on an AX88772B before throwing the following error: axe0: watchdog timeout ax

Re: How to troubleshoot DHCP issues?

2021-08-05 Thread beebeetles
Sorry, there was a typo: The problem *does disappear* with `lladdr random` removed . It seems that with `lladdr random` removed, the problem does not seem to disappear.

Re: How to troubleshoot DHCP issues?

2021-08-05 Thread beebeetles
> My first suggestion might be to stay with a single lladdr for a > while to see if your setup works for more than a day and a half. Thanks for the suggestion! It seems that with `lladdr random` removed, the problem does not seem to disappear. lladdr random Why this line? I was wondering th

How to troubleshoot DHCP issues?

2021-08-03 Thread beebeetles
Hi all, Me again on some DHCP-related issues... So I started using OpenBSD as my home router around two weeks ago, running openBSD 6.9. It obtains its IP address from the ISP via DHCP. The setup is pretty simple, just the following two lines in my hostname.if file: lladdr random inet autoconf

Re: Unexpected pf behavior for DHCP traffic?

2021-07-29 Thread beebeetles
Thanks Theo for the answer! I'm still having difficulty wrapping my head around it. I have two packets: DHCPREQUEST and DHCPACK {timestamp} {my_ip}.68 > {ip1}.67: xid:0xfe51c9a3 [|bootp] {timestamp} {ip2}.67 > {my_ip}.68: xid:0xfe51c9a3 Y:{my_ip} G:{ip1}[|bootp] I get that tcpdump taps to bpf s

Unexpected pf behavior for DHCP traffic?

2021-07-29 Thread beebeetles
Hi all, I'm running OpenBSD 6.9 as a home router, and observed some behavior of pf that I can't really make sense of. The router runs dhcpleased to obtain its IP address from the ISP, and I have the following pf rules (only the relevant ones are shown): block drop all pass out on $ext_if inet