Re: CVS Web crippled

2025-03-15 Thread dan
I just came from playing with my own stuff. For my splash engine, I solved externally from nginx, converting call to db layer to static resources in configuration arrays: just to fire your ideas, eg. if you know cvs has any cashing mechanism by reading files or diffs that it a way to solve. I

Re: CVS Web crippled

2025-03-15 Thread Lloyd
Stuart Henderson wrote: > However nginx would allow blocking user agents by regex (and also would > avoid another problem that these sites run into from time..) I observe a lot of malicious bot traffic that masquerades as Chrome so this technique is only effective against the lowest hanging fruit

Re: pkg_add -uU

2025-03-15 Thread latinfo
> On 2025-03-14, lati...@vcn.bc.ca wrote: >> Hello >> I have this answers when i try: >> # pkg_add -u and # syspatch: i have 2 VMs at different provider! What is >> it happening please? Vultr works correctly. Additionally: it is an ikev2 >> server: server to server and roadwarrior to server; it is

Re: sndio, uaudio and buffer xruns (clicking/popping)

2025-03-15 Thread Kirill A . Korinsky
On Tue, 11 Mar 2025 14:14:47 +0100, Alexandre Ratchov wrote: > > On Tue, Mar 11, 2025 at 01:20:03PM +0100, Emiel Kollof wrote: > > ffmpeg0: xrun, pause cycle > > ffmpeg0: xrun, pause cycle > > FWIW, these traces show that ffmpeg didn't provide samples to play (or > didn't consume recorded sample

Re: pkg_add -uU

2025-03-15 Thread latinfo
>> I have this answers when i try: >> # pkg_add -u and # syspatch: i have 2 VMs at different provider! What is >> # pkg_add -u >> https://cdn.openbsd.org/pub/OpenBSD/7.6/packages-stable/amd64/: ftp: >> connect: Permission denied >> https://cdn.openbsd.org/pub/OpenBSD/7.6/packages/amd64/: ftp: conne

Re: problems with "xz" on 7.6 hppa

2025-03-15 Thread Christian Groessler
On 3/14/25 20:40, Christian Weisgerber wrote: Christian Groessler: I've built "xz" from ports and it doesn't work: hppa$ echo bla | xz > /tmp/bla.xz So it works? Sometimes hppa$ echo bla | xz -9 > /tmp/bla.xz xz: (stdin): Cannot allocate memory The xz(1) man page has a table that s

Re: CVS Web crippled

2025-03-15 Thread Constantine A. Murenin
On Fri, 14 Mar 2025 at 17:36, Nick Holland wrote: > > hello. > As you may have noticed, cvsweb.openbsd.org has been having > issues. This time, it is due to effectively a Distributed Denial of > Service, though I don't actually believe it is /deliberately/ > malicious. Speculation is someone is

Re: Fwd: accented characters not showingutomatically started xterm:

2025-03-15 Thread Jan Stary
> Here the .spectrwm.conf stripping away the comments: > bar_enabled = 0 > bar_font = xos4 Terminus:pixelsize=24:antialias=true > bar_font_pua = Typicons:pixelsize=24:antialias=true I don't suppose these influence the xterm behaviour > modkey = Mod4 This also.

Re: aarch64 assembly "hello world"

2025-03-15 Thread jbranso
March 14, 2025 at 5:41 AM, "Computer Planet" mailto:open...@cpnetserver.net?to=%22Computer%20Planet%22%20%3Copenbsd%40cpnetserver.net%3E > wrote: > > Hi guys! > Please, could someone tell me how to print a very simple "Hello, world!" in > assembly for aarch64? > Thanks for reply. https://pe

Re: CVS Web crippled

2025-03-15 Thread Stuart Henderson
On 2025-03-15, Kirill A Korinsky wrote: > On Fri, 14 Mar 2025 23:33:45 +0100, > Nick Holland wrote: >> >> As you may have noticed, cvsweb.openbsd.org has been having >> issues. This time, it is due to effectively a Distributed Denial of >> Service, though I don't actually believe it is /delibe

Re: aarch64 assembly "hello world"

2025-03-15 Thread Stuart Henderson
On 2025-03-14, jbra...@dismail.de wrote: > March 14, 2025 at 5:41 AM, "Computer Planet" mailto:open...@cpnetserver.net?to=%22Computer%20Planet%22%20%3Copenbsd%40cpnetserver.net%3E > > wrote: > > > >> >> Hi guys! >> Please, could someone tell me how to print a very simple "Hello, world!" in >>

Re: It would be nice if the Elixir package supported multiple versions of Elixir

2025-03-15 Thread Paul Pace
On 2025-03-06 11:54, Volker Schlecht wrote: On 2025-03-06 07:48, Paul Pace wrote: I am currently figuring out how to install and configure Akkoma (a fork of Pleroma), and while Akkoma currently supports up to Elixir 1.17, Pleroma only supports up to Elixir 1.16. Did you actually try to run Pl

pkg_add -uU

2025-03-15 Thread latinfo
Hello I have this answers when i try: # pkg_add -u and # syspatch: i have 2 VMs at different provider! What is it happening please? Vultr works correctly. Additionally: it is an ikev2 server: server to server and roadwarrior to server; it is a reinstallation; because the folers at /etc/iked were de

old sonyvaio .mp & .sp; repeating ']' after boot fsck's

2025-03-15 Thread avon . r
OpenBSD 7.6-current (GENERIC.MP) #549: Sun Feb 16 08:26:48 MST 2025 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8542482432 (8146MB) avail mem = 8257134592 (7874MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at ro

Re: Firefox cannot save downloads (or read local files)

2025-03-15 Thread Stuart Henderson
On 2025-03-10, Manuel Giraud wrote: > Stuart Henderson writes: > > [...] > >>> Not on ESR, but it works for me with the following appended to >>> /etc/firefox/unveil.content: >>> >>> /usr/local/share/doc r >> >> Be aware that once you touch any of those /etc/firefox unveil/pledge >> files, >> you

Re: sndio, uaudio and buffer xruns (clicking/popping)

2025-03-15 Thread Emiel Kollof
Jan Stary schreef op 2025-03-11 12:02: On Thu, Mar 06, 2025 at 10:48:06AM +0100, Andrath of the Abyss wrote: > I was wondering if people with USB audio interfaces have the same issue > as me. When using the microphone of my usb audio interface, the recorded > audio starts to stutter/pop, indicati

Re: CVS Web crippled

2025-03-15 Thread Nick Holland
On 3/14/25 18:47, Nick Owens wrote: ... sorry to hear about AI's latest victim. i had this problem on my gitea instance running on openbsd, where the crawler decided to follow every link to every revision of my mirrors of openbsd src and linux, and i "fixed" it with robots.txt which the particula

Re: pkg_add -uU

2025-03-15 Thread Janne Johansson
> I have this answers when i try: > # pkg_add -u and # syspatch: i have 2 VMs at different provider! What is > # pkg_add -u > https://cdn.openbsd.org/pub/OpenBSD/7.6/packages-stable/amd64/: ftp: > connect: Permission denied > https://cdn.openbsd.org/pub/OpenBSD/7.6/packages/amd64/: ftp: connect: >

bioctl raid5 disk performance questions

2025-03-15 Thread Divan Santana
Greetings :) I have a openbsd 76 system (dmesg [1]) with bioctl raid5 setup. It achieves performance writes of between 18-43 MB/s with a dd test[2] and 7-11 MB/s with rsync tests[3]. But the backend drives are reported to write at 220MB/s according to it's vendor spec [4]. I would expect with a

Re: CVS Web crippled

2025-03-15 Thread Dan
Actually in my nginx.conf among the tweaks to cache, limit and speed up figure the followings: # backend cache proxy_temp_path directive proxy_cache_[*] directives # file cache open_file_cache[*] directives # connection limits limit_conn_zone [*] directives limit_conn conn_per_[*] directives

Click and drag not working on Thinkpad x1 gen5 touchpad

2025-03-15 Thread Marc Lasch
Hello, I'm running OpenBSD 7.6 (updated from 7.5) on a Thinkpad x1 gen5. Click and drag does not work properly with the wsmouse and (legacy?) synaptics driver. `xinput test x` does not show any moving events pressing down the touchpad with one finger and using a second finger to move the cur

Re: CVS Web crippled

2025-03-15 Thread Dan
Ancidentally, I'm also running recently into these kind of problems with my Splash engine (now stopped) code.5mode.com (https://5mode.net/l/ddos1) However my log for code. reports "just" 12 server errors in 1 week.. Obviously target of these gentlemen are the few web apps heavy dependent on db

Re: CVS Web crippled

2025-03-15 Thread Kirill A . Korinsky
On Fri, 14 Mar 2025 23:33:45 +0100, Nick Holland wrote: > > As you may have noticed, cvsweb.openbsd.org has been having > issues. This time, it is due to effectively a Distributed Denial of > Service, though I don't actually believe it is /deliberately/ > malicious. Speculation is someone is tr

Re: pkg_add -uU

2025-03-15 Thread Stuart Henderson
On 2025-03-14, lati...@vcn.bc.ca wrote: > Hello > I have this answers when i try: > # pkg_add -u and # syspatch: i have 2 VMs at different provider! What is > it happening please? Vultr works correctly. Additionally: it is an ikev2 > server: server to server and roadwarrior to server; it is a > re

Re: printf portability

2025-03-15 Thread Christian Schulte
On 3/15/25 08:58, Philip Guenther wrote: > No, it's not. Per POSIX XCU 1.4, utilities that do not explicitly > state otherwise are allowed to recognize options whether any are > defined by the standard. printf(1) follows that default, so for the > first positional argument to (portably) start wit

Re: printf portability

2025-03-15 Thread Otto Moerbeek
On Sat, Mar 15, 2025 at 08:55:18AM +0100, Christian Schulte wrote: > On 3/15/25 07:37, Otto Moerbeek wrote: > > On Sat, Mar 15, 2025 at 07:29:39AM +0100, Christian Schulte wrote: > > > >> Hi @misc, > >> > >> I recently stumbled upon an issue with GNU printf(1). I was using > >> echo(1) in a tests

Re: printf portability

2025-03-15 Thread Philip Guenther
No, it's not. Per POSIX XCU 1.4, utilities that do not explicitly state otherwise are allowed to recognize options whether any are defined by the standard. printf(1) follows that default, so for the first positional argument to (portably) start with a minus-sign, a -- option must precede it, ala

Re: printf portability

2025-03-15 Thread Janne Johansson
> which is the expected output. On linux I get > schulte@vps:~$ printf -0 > -bash: printf: -0: invalid option > Would you rate this a bug in GNU printf(1)? The gnu printf manpage does mention "Your shell may have its own version of printf, which usually supersedes the version described

Re: printf portability

2025-03-15 Thread Christian Schulte
On 3/15/25 07:37, Otto Moerbeek wrote: > On Sat, Mar 15, 2025 at 07:29:39AM +0100, Christian Schulte wrote: > >> Hi @misc, >> >> I recently stumbled upon an issue with GNU printf(1). I was using >> echo(1) in a testsuite.at on OpenBSD successfully, but that failed on >> linux badly. The OpenBSD ma

Re: aarch64 assembly "hello world"

2025-03-15 Thread Janne Johansson
Well, if you want to make a system call "easily" to simply send a string to stdout, you will want to bounce via libc for the actual syscall. As openbsd is right now, you can't just put a value in a register and hop off to make system calls, which incidentally is what some buffer overflow or ROP pay

Re: printf portability

2025-03-15 Thread Otto Moerbeek
On Sat, Mar 15, 2025 at 07:29:39AM +0100, Christian Schulte wrote: > Hi @misc, > > I recently stumbled upon an issue with GNU printf(1). I was using > echo(1) in a testsuite.at on OpenBSD successfully, but that failed on > linux badly. The OpenBSD man page of echo(1) contains this sentence: > >