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 rest is fin

Re: Questions about man gcc-local

2023-03-02 Thread Jason McIntyre
On Thu, Mar 02, 2023 at 10:22:51PM -, Stuart Henderson wrote: > On 2023-03-02, Stanislav Syekirin > wrote: > > Hi all, > > > > is the man page for gcc-local > > (https://man.openbsd.org/OpenBSD-7.2/gcc-local) up to date? It > > mentions, for example, i386, but OpenBSD 7.2 on i386 doesn't se

Re: Questions about man gcc-local

2023-03-02 Thread Stuart Henderson
On 2023-03-02, Stanislav Syekirin wrote: > Hi all, > > is the man page for gcc-local > (https://man.openbsd.org/OpenBSD-7.2/gcc-local) up to date? It > mentions, for example, i386, but OpenBSD 7.2 on i386 doesn't seem to > include gcc. Also, the link to gcc(1) at the bottom of the man page is

Re: openbsd get really hot/warm

2023-03-02 Thread Stuart Henderson
On 2023-03-02, l...@netc.fr wrote: > > hello > > > > unfortunately since a week I was wondering about something : > > on two old hp elitebook, it looks like under win7 and linux/LMDE, that at a > general glance everything looks correct > > > > but on openbsd, something happens, even if CPU is not

Re: openbsd get really hot/warm

2023-03-02 Thread Mike Larkin
On Thu, Mar 02, 2023 at 06:43:02PM +0100, l...@netc.fr wrote: > > hello > > > > unfortunately since a week I was wondering about something : > > on two old hp elitebook, it looks like under win7 and linux/LMDE, that at a > general glance everything looks correct > > > > but on openbsd, something h

Re: openbsd get really hot/warm

2023-03-02 Thread Peter N. M. Hansteen
On Thu, Mar 02, 2023 at 06:43:02PM +0100, l...@netc.fr wrote: > > unfortunately since a week I was wondering about something : > > on two old hp elitebook, it looks like under win7 and linux/LMDE, that at a > general glance everything looks correct > > but on openbsd, something happens, even if

openbsd get really hot/warm

2023-03-02 Thread lm2
hello unfortunately since a week I was wondering about something : on two old hp elitebook, it looks like under win7 and linux/LMDE, that at a general glance everything looks correct but on openbsd, something happens, even if CPU is not high : it's a huge overheating, with fans going alm

Questions about man gcc-local

2023-03-02 Thread Stanislav Syekirin
Hi all, is the man page for gcc-local (https://man.openbsd.org/OpenBSD-7.2/gcc-local) up to date? It mentions, for example, i386, but OpenBSD 7.2 on i386 doesn't seem to include gcc. Also, the link to gcc(1) at the bottom of the man page is dead. Regards Stanislav

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: Using scan_ffs to recover a disklabel

2023-03-02 Thread Stuart Henderson
On 2023-02-21, cho...@jtan.com wrote: > Well the numbers scan_ffs gave me were gibberish. The manual warns > that it only looks for ffs1 partitions, not ffs2, but I ran it > anyway and tried poking variations on the numbers it gave me into > disklabel. That didn't work. Glad you got the data back

Re: Recommended place to store static arp entries

2023-03-02 Thread Stuart Henderson
On 2023-03-01, Raimo Niskanen wrote: > On Tue, Feb 28, 2023 at 02:35:18PM +0100, Claudio Jeker wrote: >> 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 dedicat

Re: Weird clang behavior

2023-03-02 Thread Otto Moerbeek
On Thu, Mar 02, 2023 at 12:00:18PM +, Ali Farzanrad wrote: > Hi, > > Is it normal to have such behavior? > > $ cat loop.c > int > main(void) > { > for (;;) > ; > } > $ clang -O1 -Wall -Wextra -S -o loop.c.s loop.c > $ clang++ -O1 -Wall -Wextra -S -o loop.cxx.s loop.c > cl

Weird clang behavior

2023-03-02 Thread Ali Farzanrad
Hi, Is it normal to have such behavior? $ cat loop.c int main(void) { for (;;) ; } $ clang -O1 -Wall -Wextra -S -o loop.c.s loop.c $ clang++ -O1 -Wall -Wextra -S -o loop.cxx.s loop.c clang++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecat

Re: freeradius denies to authentocate with eap-tls

2023-03-02 Thread Mikhael Lialin
Hello and good day. Finally found the actual reason. The outer client is failed eap tls because of packet fragmentation. on interface mtu is set as 1500, and packet is 1514. from tshark: RADIUS 1514 Access-Request id=4[BoundErrorUnreassembled Packet] RADIUS 1514 Access-Request id=4, Duplicat