Re: Static No Internet

2024-11-13 Thread Peter N. M. Hansteen
On Wed, Nov 13, 2024 at 08:30:40AM +, Richard Bostrom wrote: > I have a static ip using this configuration in my hostname.interface > inet 192.168.1.240 255.255.255.0 > > It wont allow for internet access. I have an openbsd book but I cannot find > the right syntax. The

Static No Internet

2024-11-13 Thread Richard Bostrom
I have a static ip using this configuration in my hostname.interface inet 192.168.1.240 255.255.255.0 It wont allow for internet access. I have an openbsd book but I cannot find the right syntax. Hello.

Re: Static No Internet

2024-11-13 Thread Odhiambo Washington
On Wed, Nov 13, 2024 at 11:37 AM Richard Bostrom wrote: > I have a static ip using this configuration in my hostname.interface > inet 192.168.1.240 255.255.255.0 > > It wont allow for internet access. I have an openbsd book but I cannot > find the right syntax. > Hello. >

Re: Static No Internet

2024-11-13 Thread Greg Thomas
Which interface are you trying to bring up? In order for people to help you have you ever posted a dmesg to this mailing list? Also, man mygate. On Wed, Nov 13, 2024 at 12:37 AM Richard Bostrom wrote: > I have a static ip using this configuration in my hostname.interface > inet 192.168

Re: IPv6 static host address inside dynamic network

2024-10-14 Thread Thomas Bohl
Am 14.10.2024 um 17:47 schrieb Chris Ross: On 2024-09-10 19:20:13, Thomas Bohl wrote: I used https://aloof.de/f/IPv6Aliases-en.sh for many years. HTH Apologies that I missed this earlier, Thomas. I took a look at this now, and it does do very much what I want. I have been trying to find s

Re: IPv6 static host address inside dynamic network

2024-10-14 Thread Chris Ross
> On Oct 14, 2024, at 00:39, Mike Fischer wrote: >> >> >> Obviously, polling is an option, but I’d rather be notified by the kernel >> when I need to. > > I think the suggestion made by Florian Obser earlier in this thread makes a > lot of sense. > > And if you want to get away from scrip

Re: IPv6 static host address inside dynamic network

2024-10-14 Thread Chris Ross
> On 2024-09-10 19:20:13, Thomas Bohl wrote: > I used https://aloof.de/f/IPv6Aliases-en.sh for many years. > HTH Apologies that I missed this earlier, Thomas. I took a look at this now, and it does do very much what I want. I have been trying to find something event-based, rather than pollin

Re: IPv6 static host address inside dynamic network

2024-10-13 Thread Mike Fischer
> Am 14.10.2024 um 04:58 schrieb Chris Ross : > > > >> On Sep 3, 2024, at 16:48, Chris Ross wrote: >>> >>> >>> On Sep 3, 2024, at 10:28, Mike Fischer wrote: >>> >>> There are two parts to this: >>> - The IPv6 prefix. >>> - The IID. >>> >>> The changes of the IPv6 prefix are generally tri

Re: IPv6 static host address inside dynamic network

2024-10-13 Thread Chris Ross
> On Sep 3, 2024, at 16:48, Chris Ross wrote: >> On Sep 3, 2024, at 10:28, Mike Fischer wrote: >> >> There are two parts to this: >> - The IPv6 prefix. >> - The IID. >> >> The changes of the IPv6 prefix are generally triggered from the outside >> (Internet provider). So here some mechanism t

Re: static

2024-10-11 Thread Otto Moerbeek
On Sun, Oct 06, 2024 at 04:59:56PM -0300, Gustavo Rios wrote: > Hi folks! > > Does it improve code performance declaring function variables static ? It depends on many factors if it will speedup things, it might even cause slowdowns. It can also introduce bugs because your function is

Re: static

2024-10-11 Thread Benjamin Stürz
https:/google.com/search?q=Does+it+improve+code+performance+declaring+function+variables+static+%3F On 10/6/24 9:59 PM, Gustavo Rios wrote: Does it improve code performance declaring function variables static ?

static

2024-10-06 Thread Gustavo Rios
Hi folks! Does it improve code performance declaring function variables static ? Thanks. -- The lion and the tiger may be more powerful, but the wolves do not perform in the circus

Re: IPv6 static host address inside dynamic network

2024-09-10 Thread Thomas Bohl
Am 02.09.2024 um 22:21 schrieb Chris Ross: I’m trying to move from a static IPv6 network to a dynamic allocation from an ISP. The hard part is that some of my hosts have secondary addresses for specific services to use. I need to find a way to listen to router adverts but then manually add an

Re: IPv6 static host address inside dynamic network

2024-09-04 Thread Mike Fischer
> Am 03.09.2024 um 17:45 schrieb Florian Obser : > > route -n monitor -inet6 | fgrep -A2 RTM_NEWADDR Very interesting! Thank you! I looked at the output of `route -n monitor -inet6` as there seems to be no documentation for what that looks like. And my Internet provider obliged me with a sho

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Chris Ross
olling might fit the bill. > > The IID is controlled by the host. Currently the only combination of > automatic prefix + static IID seems to be EUI64 IIDs. Additional syntax to > allow manually set static IIDs might be nice. Something like: `ifconfig $if > inet6 autoconf -iid :b

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Florian Obser
On 2024-09-03 16:28 +02, Mike Fischer wrote: > Note that I am not advocating for slaacd to directly execute arbitrary > scripts. But maybe an (optional) service that can be notified by > slaacd would allow slaacd to stay secure, stable and compact while > still providing proactive notification ins

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Mike Fischer
> Am 03.09.2024 um 16:28 schrieb Mike Fischer : > > Just complicate things even more, how do you handle routing? If your host > gets multiple public/routable prefixes, your default route will still point > to only one of the routers. So might need to deal with incoming packets from > router A

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Mike Fischer
vice that can be notified by slaacd would allow slaacd to stay secure, stable and compact while still providing proactive notification instead of polling might fit the bill. The IID is controlled by the host. Currently the only combination of automatic prefix + static IID seems to be EUI64 IIDs. Add

Re: IPv6 static host address inside dynamic network

2024-09-03 Thread Stuart Henderson
On 2024-09-02, Chris Ross wrote: > I’m trying to move from a static IPv6 network to a dynamic allocation from an > ISP. The hard part is that some of my hosts have secondary addresses for > specific services to use. I need to find a way to listen to router adverts > but then man

Re: IPv6 static host address inside dynamic network

2024-09-02 Thread Florian Obser
On 2024-09-02 22:51 -04, Chris Ross wrote: > Yeah. I see rtsold has a couple scripts it knows how to run, so that is a > place. But having a hook in slaacd(8) (or somewhere else?) would be nice. Not going to happen. engine.c: if (pledge("stdio", NULL) == -1) frontend.c:

Re: IPv6 static host address inside dynamic network

2024-09-02 Thread Chris Ross
that, one from the router I’m building which is getting its IPv6 from a different location than the prior/current gateway. I have the “new” network from that advertisement last night, with a lifetime of 0. With some effort, I could write something to parse slaacctl output with more thought. But,

Re: IPv6 static host address inside dynamic network

2024-09-02 Thread Geoff Steckel
On 9/2/24 16:21, Chris Ross wrote: I’m trying to move from a static IPv6 network to a dynamic allocation from an ISP. The hard part is that some of my hosts have secondary addresses for specific services to use. I need to find a way to listen to router adverts but then manually add an alias

Re: IPv6 static host address inside dynamic network

2024-09-02 Thread Mike Fischer
> Am 02.09.2024 um 22:21 schrieb Chris Ross : > > I’m trying to move from a static IPv6 network to a dynamic allocation from an > ISP. The hard part is that some of my hosts have secondary addresses for > specific services to use. I need to find a way to listen to router adv

IPv6 static host address inside dynamic network

2024-09-02 Thread Chris Ross
I’m trying to move from a static IPv6 network to a dynamic allocation from an ISP. The hard part is that some of my hosts have secondary addresses for specific services to use. I need to find a way to listen to router adverts but then manually add an alias with a static lower 64 bits. Looking

Re: gzip-static option isn't working on default index

2023-11-09 Thread Jim Anderson
append ".gz" to path and check existence */ ret = snprintf(gzpath, sizeof(gzpath), "%s.gz", path); goto abort; Jim On Thursday, November 9th, 2023 at 07:37, Paul Pace wrote: > I have gzip-static set in a server block in httpd.conf. > > If I make

gzip-static option isn't working on default index

2023-11-09 Thread Paul Pace
I have gzip-static set in a server block in httpd.conf. If I make the following request: curl -I -H 'Accept-Encoding: gzip,deflate' http://example.com the response has no Content-Encoding header and the Content-Length matches /var/www/htdocs/index.html. If I make the followi

Re: Static default route for a subnet

2023-03-29 Thread Kaya Saman
On 3/28/23 17:27, Stuart Henderson wrote: On 2023-03-28, Kaya Saman wrote: Anyway, what I am trying to figure out is how to NAT the rdomain's? At the moment from what I understand one has to put "rtable (n)" at the end of the NAT rule... That is for _changing_ rtable; if the interfaces inv

Re: Static default route for a subnet

2023-03-29 Thread Kaya Saman
On 3/28/23 17:27, Stuart Henderson wrote: On 2023-03-28, Kaya Saman wrote: Anyway, what I am trying to figure out is how to NAT the rdomain's? At the moment from what I understand one has to put "rtable (n)" at the end of the NAT rule... That is for _changing_ rtable; if the interfaces inv

Re: Static default route for a subnet

2023-03-28 Thread Kaya Saman
On 3/28/23 17:27, Stuart Henderson wrote: On 2023-03-28, Kaya Saman wrote: Anyway, what I am trying to figure out is how to NAT the rdomain's? At the moment from what I understand one has to put "rtable (n)" at the end of the NAT rule... That is for _changing_ rtable; if the interfaces inv

Re: Static default route for a subnet

2023-03-28 Thread Stuart Henderson
On 2023-03-28, Kaya Saman wrote: > > Anyway, what I am trying to figure out is how to NAT the rdomain's? > > > At the moment from what I understand one has to put "rtable (n)" at the > end of the NAT rule... That is for _changing_ rtable; if the interfaces involved (the $vpn_net1 interface and $

Re: Static default route for a subnet

2023-03-28 Thread Kaya Saman
Thanks Stuart! On 3/28/23 16:19, Stuart Henderson wrote: On 2023-03-28, Kaya Saman wrote: On my WAN vlan for what I am going to call ISP-B, as ISP-A is existing for a long time. What I'm trying to do right now is set this as a default gateway for a particular subnet. There's no such thing as

Re: Static default route for a subnet

2023-03-28 Thread Stuart Henderson
On 2023-03-28, Kaya Saman wrote: > On my WAN vlan for what I am going to call ISP-B, as ISP-A is existing > for a long time. What I'm trying to do right now is set this as a > default gateway for a particular subnet. There's no such thing as "default gateway for a subnet". One way to do what y

Static default route for a subnet

2023-03-28 Thread Kaya Saman
Hi again, so my shiny new fiber has been installed yesterday and currently I can ping the gateway IP address but not much more. It was interesting as they gave me this whole subnet and told me I get a gateway address. What they should have said to eliminate my confusion was that there is a

Re: Using gzip-static with httpd location

2023-03-23 Thread Zack Newman
On 3/23/23 21:22, Jared Harper wrote: On my server (7.2 amd64) I have gzip-static set in the server block as documented, and it appears to work as expected. I am sorry that it probably doesn't help your situation, but maybe the differences in configuration can help point you in the

Re: Using gzip-static with httpd location

2023-03-23 Thread Joel Carnat
Le 23/03/2023 à 22:22, Jared Harper a écrit : On Thursday, March 23rd, 2023 at 2:15 PM, Jordan Geoghegan wrote: On 3/9/23 17:31, Joel Carnat wrote: Hi, I just tried applying gzip compression on a simple test web site using httpd and the gzip-static option ; using OpenBSD 7.2/amd64. As I

Re: Using gzip-static with httpd location

2023-03-23 Thread Jared Harper
On Thursday, March 23rd, 2023 at 2:15 PM, Jordan Geoghegan wrote: > > On 3/9/23 17:31, Joel Carnat wrote: > > > Hi, > > > > I just tried applying gzip compression on a simple test web site using > > httpd and the gzip-static option ; using OpenBSD 7.2/amd64.

Re: Using gzip-static with httpd location

2023-03-13 Thread Jordan Geoghegan
On 3/9/23 17:31, Joel Carnat wrote: Hi, I just tried applying gzip compression on a simple test web site using httpd and the gzip-static option ; using OpenBSD 7.2/amd64. As I understood the man page, gzip-static is supposed to be used inside the server block ; like listen, errdocs or

Re: Using gzip-static with httpd location

2023-03-10 Thread Marcus MERIGHI
j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 17:41 (CET): > Le 10/03/2023 à 16:41, Marcus MERIGHI a écrit : > > j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 02:31 (CET): > > > I just tried applying gzip compression on a simple test web site using > > > httpd >

Re: Using gzip-static with httpd location

2023-03-10 Thread Joel Carnat
Le 10/03/2023 à 16:41, Marcus MERIGHI a écrit : Hello, j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 02:31 (CET): I just tried applying gzip compression on a simple test web site using httpd and the gzip-static option ; using OpenBSD 7.2/amd64. As I understood the man page, gzip-static is

Re: Using gzip-static with httpd location

2023-03-10 Thread Marcus MERIGHI
Hello, j...@carnat.net (Joel Carnat), 2023.03.10 (Fri) 02:31 (CET): > I just tried applying gzip compression on a simple test web site using httpd > and the gzip-static option ; using OpenBSD 7.2/amd64. > > As I understood the man page, gzip-static is supposed to be used inside

Using gzip-static with httpd location

2023-03-09 Thread Joel Carnat
Hi, I just tried applying gzip compression on a simple test web site using httpd and the gzip-static option ; using OpenBSD 7.2/amd64. As I understood the man page, gzip-static is supposed to be used inside the server block ; like listen, errdocs or tls. But doing so does not seem to enable

Re: Recommended place to store static arp entries

2023-03-04 Thread Daniele B.
> Indeed, I see, portability is an hard to obtain status also in pf, when the > if change. > > Do you have a more effective as *portable* tip in respect to this subject and > pf? In respect, the following should be also an other good one: set state-policy if-bound -- Daniele Bonini

Re: Recommended place to store static arp entries

2023-03-04 Thread Daniele B.
Crystal Kolipe : > If you change the hardware completely, then of course you are likely to have > to make changes to the networking configuration.  That's almost unavoidable My meaning was this one. In case you want to enforce mac comparison it is better working in pf.conf on the interface with

Re: Recommended place to store static arp entries

2023-03-02 Thread Daniel Jakots
On Tue, 28 Feb 2023 14:35:18 +0100, Claudio Jeker wrote: > To be honest I never had the need to store static arp entries. So for > me the best place is /dev/null. Not op, but I have such a need: I own an wifi AP which tends to not being able to let arp pass, in one direction. All the r

Re: Recommended place to store static arp entries

2023-03-02 Thread Crystal Kolipe
On Thu, Mar 02, 2023 at 05:33:09PM +0100, Daniele B. wrote: > > > The /etc/hostname.if files can take a MAC address as the if part now, so > > that > > is not necessarily an issue. > > Interesting though, how to specify the mac? > > However this doesnt change much in portability coordinates, if

Re: Recommended place to store static arp entries

2023-03-02 Thread Daniele B.
> The /etc/hostname.if files can take a MAC address as the if part now, so that > is not necessarily an issue. Interesting though, how to specify the mac? However this doesnt change much in portability coordinates, if you litterally switch you bsd from an hardware system to an other one luckly

Re: Recommended place to store static arp entries

2023-03-02 Thread Crystal Kolipe
On Thu, Mar 02, 2023 at 04:58:11PM +0100, Daniele B. wrote: > At this point it is better to enforce mac constraints in pf.conf than > loosing on portability (changing hardware, etc) enforcing mac in hostname.if, > my opinion. The /etc/hostname.if files can take a MAC address as the if part now, s

Re: Recommended place to store static arp entries

2023-03-02 Thread Daniele B.
> >> Please exuse me if this is a stupid counter question, >> but isn't this what ethers(5) is for? > > Not really - you could use it as input to a handrolled script if you > wanted, but the main purpose of that file is to lookup addresses/names > for ether_ntohost()/ether_hostton(). > > Like

Re: Recommended place to store static arp entries

2023-03-02 Thread Stuart Henderson
you >> > could suggest if there is a dedicated place or recommended >> > place for OpenBSD where static arp entries should be stored. >> > I found many answers over the internet, in some books it is >> > mentioning /etc/netstart. >> > Also on very old threa

Re: Recommended place to store static arp entries

2023-03-01 Thread Raimo Niskanen
r recommended > > place for OpenBSD where static arp entries should be stored. > > I found many answers over the internet, in some books it is > > mentioning /etc/netstart. > > Also on very old thread fro OpenBSD I see it was discussed at > > some point a possible idea l

Re: Recommended place to store static arp entries

2023-02-28 Thread Claudio Jeker
On Tue, Feb 28, 2023 at 03:30:18PM +0200, Cristian Danila wrote: > Dear Misc, > > I would really appreciate if more experienced members of you > could suggest if there is a dedicated place or recommended > place for OpenBSD where static arp entries should be stored. > I found

Recommended place to store static arp entries

2023-02-28 Thread Cristian Danila
Dear Misc, I would really appreciate if more experienced members of you could suggest if there is a dedicated place or recommended place for OpenBSD where static arp entries should be stored. I found many answers over the internet, in some books it is mentioning /etc/netstart. Also on very old

gzip-static for website root directory

2022-11-29 Thread Jim Anderson
I have a basic web server set up server "example.com" { listen on * port 80 gzip-static directory { index index.html no auto index } } When opening the root webpage (http://example.com), the server does not respond with "Content-Encoding: gzip&qu

Re: Ipsec + bridge + egre issue with multiple bridges an non-static ip

2022-11-26 Thread Markus Wipp
Hi all, Sorry for the noise. I found out that it was pf. When I tested with pf disabled I always only did this with pf disabled on one side. Once I disabled on both sides it worked. So I need to figure out now, what exactly is the issue. Thanks Markus > On 26. Nov 2022, at 11:19, Markus Wipp w

Ipsec + bridge + egre issue with multiple bridges an non-static ip

2022-11-26 Thread Markus Wipp
Hi all, I hope that someone here on the list could give me some hints on how I can make my setup working. I have the following setup: "Virtual server 1" is connected to "Virtual server 2" via egre over ipsec on both sides I’m using a bridge and a vether interface. Both virtual servers are loca

Re: Configuration of static ipv6 router

2022-08-15 Thread Nicolas Goy
On 2022 sam 06 aoû - 09:51, Zack Newman wrote: > Correction. Apparently even though it is not explicitly stated, > Section 2.4 merely allocates fe80::/10 for link-local addresses while > Section 2.5.6 defines what range, fe80::/64, from that allocation is > currently valid, so it is not a contradic

Re: Configuration of static ipv6 router

2022-08-04 Thread Nicolas Goy
On 2022 ven 29 jui - 14:08, Stuart Henderson wrote: > On 2022-07-28, Nicolas Goy wrote: > > > > Ok, I think I found the issue. > > > > The cisco is useing the address fe80:b2b:11fe:161::2 but for some > > reason, openbsd doesn't link this. > > > > I cannot ping fe80:b2b:11fe:161::2%vport0 > > >

Re: Configuration of static ipv6 router

2022-07-29 Thread Stuart Henderson
On 2022-07-28, Nicolas Goy wrote: > > Ok, I think I found the issue. > > The cisco is useing the address fe80:b2b:11fe:161::2 but for some > reason, openbsd doesn't link this. > > I cannot ping fe80:b2b:11fe:161::2%vport0 > > The system is adding fe80::%vport0/64 to the routing table. > > I am n

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
On 2022 jeu 28 jui - 12:20, Kevin Wallace wrote: > On 2022-07-28 11:32 AM, Nicolas Goy wrote: > > I found something weird that might be a bug. > > > ping6 fe80:b2b:11fe:161::2%vport0 > > The KAME IPv6 code uses the second word of link-local addresses for > internal bookkeeping, and clears it befo

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
I found something weird that might be a bug. If I do doas ifconfig vport0 inet6 fe80::2/10 Then ping6 fe80:b2b:11fe:161::2%vport0 On the tcpdump output, I see a different address 20:31:15.816576 fe80::fce1:baff:fed1:b34 > ff02::1:ff00:2: icmp6: neighbor sol: who has fe80:0:11fe:161::2 -

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
Ok, I think I found the issue. The cisco is useing the address fe80:b2b:11fe:161::2 but for some reason, openbsd doesn't link this. I cannot ping fe80:b2b:11fe:161::2%vport0 The system is adding fe80::%vport0/64 to the routing table. I am not sure, but I think that's the cause. I tried to

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
I added this as my first line in pf.conf pass quick log on vport0 proto icmp6 When I do tcpdump -i vport0 I do see the packets 19:21:09.846069 fe80:b2b:11fe:161::2 > ff02::1:ff01:1: icmp6: neighbor sol: who has [class 0xe0] But there is nothing on tcpdump -i pflog0 It seems those pack

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
As additional info, here are my sysctl net.inet6.ip6.forwarding=1 net.inet6.ip6.redirect=1 net.inet6.ip6.hlim=64 net.inet6.ip6.mrtproto=0 net.inet6.ip6.maxfragpackets=200 net.inet6.ip6.log_interval=5 net.inet6.ip6.hdrnestlimit=10 net.inet6.ip6.dad_count=1 net.inet6.ip6.auto_flowlabel=1 net.inet6

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
Ok, actually the ISP router is also trying the multicast after failing the unicast: Here are two packets, the first one works, the router responds (openbsd box), but the second one is ignored. first one (works is responded to): [+] Frame 12012: 86 bytes on wire (688 bits), 86 bytes captured (688

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
On 2022 jeu 28 jui - 16:14, Nicolas Goy wrote: > On 2022 jeu 28 jui - 15:52, Nicolas Goy wrote: > > On 2022 jeu 28 jui - 13:18, Nicolas Goy wrote: > > > > > > - I can ping internet from my router, but it cuts every 10 seconds or > > > so. If I inspect the traffic, I see that the ISP router is se

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
On 2022 jeu 28 jui - 15:52, Nicolas Goy wrote: > On 2022 jeu 28 jui - 13:18, Nicolas Goy wrote: > > > > - I can ping internet from my router, but it cuts every 10 seconds or > > so. If I inspect the traffic, I see that the ISP router is sending > > neighbor discovery with my router address, an

Re: Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
On 2022 jeu 28 jui - 13:18, Nicolas Goy wrote: > > - I can ping internet from my router, but it cuts every 10 seconds or > so. If I inspect the traffic, I see that the ISP router is sending > neighbor discovery with my router address, and that my router does not > respond. > This seems to

Configuration of static ipv6 router

2022-07-28 Thread Nicolas Goy
Hello, My ISP gave me a /56 and told me it was statically routed (no DHCPv6-PD). Let's say this prefix 2a02:aa08::YY00::/56 is now x00::/56 What I want to do, is to split this prefix into /64 and use the /64 for my vlans. So what I did is on my interfaces I have the following ips: wan x00:

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-10 Thread Sonic
lls the option 3 route if a default route is not provided by option 121. According to this paragraph of RFC3442: "If the DHCP server returns both a Classless Static Routes option and a Router option, the DHCP client MUST ignore the Router option." I'm not even sure Debian strictly f

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-10 Thread nacelle
On 2022-05-06, Stuart Henderson wrote: On 2022-05-04, nacelle ...: > https://marc.info/?l=openbsd-tech&m=162652200109398&w=2 I disagree. > while its technically correct with the rfc, in practice, not many OSes > rigidly enforces not using the router option when 121 is present that > I've used. It

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-09 Thread Sonic
Dealing with broken clients can be handled with separate groups or even "deny booting;" instead of breaking the dhcp server.

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-09 Thread Sonic
On Mon, May 9, 2022 at 6:03 AM Stuart Henderson wrote: > On 2022-05-09, Stuart Henderson wrote: > > ...so the correct configuration is clear: list both a 0.0.0.0/0 > classless route and "option routers", and it should work for all > cases. Yes. The server sends both, the clients that handle opti

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-09 Thread Stuart Henderson
On 2022-05-09, Stuart Henderson wrote: >>> >>> That doesn't seem like correct behavior (the ISC version certainly >>> offers both). Both options should be sent if configured, it's up to >>> the client to properly handle this. >>> Clients that are rfc3442 compliant will install the option 121 route

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-09 Thread Stuart Henderson
On 2022-05-06, Florian Obser wrote: > On 2022-05-06 10:28 -04, Sonic wrote: >> On Fri, May 6, 2022 at 7:18 AM Florian Obser wrote: >>> Also, dhcpd(8) does not even hand out option 3 when option 121 is >>> configured. >> >> That doesn't seem like correct behavior (the ISC version certainly >> off

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-06 Thread Florian Obser
On 2022-05-06 10:28 -04, Sonic wrote: > On Fri, May 6, 2022 at 7:18 AM Florian Obser wrote: >> Also, dhcpd(8) does not even hand out option 3 when option 121 is >> configured. > > That doesn't seem like correct behavior (the ISC version certainly > offers both). Both options should be sent if con

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-06 Thread Sonic
On Fri, May 6, 2022 at 7:18 AM Florian Obser wrote: > Also, dhcpd(8) does not even hand out option 3 when option 121 is > configured. That doesn't seem like correct behavior (the ISC version certainly offers both). Both options should be sent if configured, it's up to the client to properly handl

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-06 Thread Florian Obser
On 2022-05-06 08:26 UTC, Stuart Henderson wrote: > On 2022-05-04, nace...@narwhals.org wrote: >> https://marc.info/?l=openbsd-tech&m=162652200109398&w=2 I disagree. >> while its technically correct with the rfc, in practice, not many OSes >> rigidly enforces not using the router option when 121

Re: Modern RFC3442 (Classless DHCP Static Routes)

2022-05-06 Thread Stuart Henderson
On 2022-05-04, nace...@narwhals.org wrote: > https://marc.info/?l=openbsd-tech&m=162652200109398&w=2 I disagree. > while its technically correct with the rfc, in practice, not many OSes > rigidly enforces not using the router option when 121 is present that > I've used. It's not just technicall

Modern RFC3442 (Classless DHCP Static Routes)

2022-05-04 Thread nacelle
022 09:58:04 - @@ -1106,14 +1106,6 @@ parse_dhcp(struct dhcpleased_iface *ifac intprefixlen, compressed_prefixlen; csr = 1; -if (routers) { -/* - * Ignore routers option if classless static -

Re: IPv6 autoconf with static IID?

2021-12-29 Thread Mike Fischer
Ok, ignore my previous mail. The solution is to use -soii: # ifconfig em0 autoconf eui64 -soii lladdr f2:b6:71:e6:11:7e This makes the non temporary public and ULA addresses use the EUI-64 IID based on the lladdr. Thanks! Mike > Am 29.12.2021 um 19:37 schrieb Mike Fischer : > > On Tue, Dec 2

Re: IPv6 autoconf with static IID?

2021-12-29 Thread Mike Fischer
On Tue, Dec 28, 2021, at 21:05, Mike Fischer wrote: >> Am 28.12.2021 um 13:09 schrieb Paul de Weerd : >> Seems like the simplest way, especially using the lladdr option. > Yes, I’ll give that a try. Ok, I have tried the following: Remove my current IPv6 configuration from em0: # ifconfig em0 -ine

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
Hi Thomas! Am 28.12.2021 um 16:24 schrieb Thomas Bohl : > > Hello, > >> My Internet connection is using dynamic IPv6 prefixes. I want to configure a >> local (OpenBSD) machine so its public IPv6 address adjusts to changes in the >> network prefix but keeps a stati

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
Hi Diana! > Am 28.12.2021 um 15:58 schrieb deich...@placebonol.com: > > I'm still interested in why you are concerned about "leaking" the MAC address? Well, knowing the vendor of an interface might lead an attacker to exploit known security issues relevant to that vendor. While I deem the risk

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Delan Azabani
On Tue, Dec 28, 2021, at 21:05, Mike Fischer wrote: >> Am 28.12.2021 um 13:09 schrieb Paul de Weerd : >> Seems like the simplest way, especially using the lladdr option. > Yes, I’ll give that a try. That’s how I “solved” that problem too, though I’m not too worried about leaking anything, so I jus

Re: IPv6 autoconf with static IID?

2021-12-28 Thread deich...@placebonol.com
I'm still interested in why you are concerned about "leaking" the MAC address? Changing the MAC with laddr will still leak the MAC but now it will be the one you created. If you do decide to change the MAC to a long defunct NIC manufacturer. That is what I do for fun. Some of my 10G interfac

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
resting! I hadn’t thought of that. > | My options for running an OpenBSD server using IPv6 thus seem to be: > | - Find a provider with static public IPv6 addresses (prefixes) > > That would work, but means you have to change providers - is that > really what you want? Could be a goo

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Stuart Henderson
On 2021-12-28, Mike Fischer wrote: > Thanks Stuart! > >> Am 28.12.2021 um 10:01 schrieb Stuart Henderson : >> >> On 2021-12-27, Mike Fischer wrote: >>> After reading man pages for slaacd(8), hostname.if(5) and ifconfig(8) the >>> only way to combine a

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Paul de Weerd
(but note that it's not really different from "leaking" your IPv6 address in that case). | My options for running an OpenBSD server using IPv6 thus seem to be: | - Find a provider with static public IPv6 addresses (prefixes) That would work, but means you have to change providers

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Mike Fischer
Thanks Stuart! > Am 28.12.2021 um 10:01 schrieb Stuart Henderson : > > On 2021-12-27, Mike Fischer wrote: >> After reading man pages for slaacd(8), hostname.if(5) and ifconfig(8) the >> only way to combine a static IID with a dynamic prefix seems to be the eui64 >>

Re: IPv6 autoconf with static IID?

2021-12-28 Thread Stuart Henderson
On 2021-12-27, Mike Fischer wrote: > After reading man pages for slaacd(8), hostname.if(5) and ifconfig(8) the > only way to combine a static IID with a dynamic prefix seems to be the eui64 > option: > inet6 autoconf eui64 > > However this limits the IID to a fixed valu

IPv6 autoconf with static IID?

2021-12-27 Thread Mike Fischer
) machine so its public IPv6 address adjusts to changes in the network prefix but keeps a static Interface Identifier (IID). I’d also like to be able to configure the IID manually. Essentially this would be a server running on the LAN but with a public IPv6 address, reachable from the Internet

Re: static IPv6 config on OVH dedicated server

2021-04-17 Thread Eric JACQUOT
Hi, My bad... I finally read more man pages about ip6, route, trying to understand their network topology... New config for ovh ipv6 with a prefixlen 64. Example /etc/hosname.if : inet6 2607:5300:60:62ac:: 64 !route add -inet6 -net 2607:5300:60:62ff::/64 -cloning -link -iface ix0 !route add -

Re: static IPv6 config on OVH dedicated server

2021-04-11 Thread Eric JACQUOT
Forgot this. 1 hour later It sucks again . What a fucking network :( -Message initial- > De: Eric JACQUOT > Envoyé: lundi 12 avril 2021 0:13 > À: Piotr Isajew ; misc@openbsd.org > Sujet: RE: static IPv6 config on OVH dedicated server > > Hi Piotr, > > -Mes

Re: static IPv6 config on OVH dedicated server

2021-04-11 Thread Eric JACQUOT
Hi Piotr, -Message initial- > De: Piotr Isajew > Envoyé: vendredi 9 avril 2021 22:59 > À: misc@openbsd.org > Sujet: static IPv6 config on OVH dedicated server > > Hi, > > I'm struggling to configure IPv6 for my fresh OpenBSD 6.8 > installation running o

Re: static IPv6 config on OVH dedicated server

2021-04-09 Thread Fernando Gont
Piotr, On 9/4/21 17:28, Piotr Isajew wrote: The default gateway for your IPv6 block (IPv6_GATEWAY) is always ...xxFF:FF:FF:FF:FF. For example: The IPv6 address of the server is 2607:5300:60:62ac::/64. The IPv6_GATEWAY will therefore be 2607:5300:60:62FF:FF:FF:FF:FF. Th

Re: static IPv6 config on OVH dedicated server

2021-04-09 Thread Eric JACQUOT
À : misc@openbsd.org Objet : static IPv6 config on OVH dedicated server Hi, I'm struggling to configure IPv6 for my fresh OpenBSD 6.8 installation running on OVH (soyoustart.com) dedicated server. What I get from the ISP is the /64 address pool. OVH requires static configuration with ga

Re: static IPv6 config on OVH dedicated server

2021-04-09 Thread Eric JACQUOT
Too fast You will never reach an outside gateway. -- Eric JACQUOT De : Eric JACQUOT Envoyé : vendredi 9 avril 2021 23:55 À : Piotr Isajew; misc@openbsd.org Objet : Re: static IPv6 config on OVH dedicated server Hi Piotr, You have to configure your if with

How do I expose wireguard peer with global static IPv6 without binat

2020-08-22 Thread Aisha Tammy
The basic question is per the subject line, filling in the details here I have wireguard working with each peer having ipv4 and ipv6 addresses and all of them are able to ping each other and also to the WAN through the central peer. The central peer is a vultr VPS and has a /64 prefix

gcc linked -static segfaults with bogus syscall on recent snapshot

2020-08-13 Thread j
. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ry$ cat mytls.c __thread int a; int b; int main() { return a = b; } ry$ egcc -o mytls -static mytls.c ry$ ./mytls Segmentation fault (core dumped

Re: static IPv6 setup is not working stable

2020-08-11 Thread kug1977
class 0xc0] So it works like in the past, that a lot off packages goes lost first, than it works for a time and than it goes off again. Kind regards, Kay-Uwe > The best option I know of is to add a static, permanent NDP entry > with ndp(8) entry before bringing up the interface. This

  1   2   3   4   5   >