No sound after suspend/resume (ThinkPad T14 Gen 1)

2023-08-19 Thread Claus
Hi, I recently got a Lenovo ThinkPad T14 Gen 1 (20UE), which works quite well with OpenBSD. The only issues (so far) are: - Internal mic is not working, mic with headphone jack does, still have to look into this... - Sound stops working after suspend(zzz). Running aucat then shows: $ aucat

Re: Is nVidia ION 2 compatible with Openbsd 7.2?

2023-01-27 Thread Claus Assmann
> Have trouble to make my Xorg work with a decent speed. > The machine has nVidia ION 2 graphics card which has a GT218 GPU. AFAIR nVidia cards are not well supported by Xorg anymore - you might want to search the mailing list archive for details. I bought some (used/old) ATi cards instead,

Re: Use daily(8), weekly(8), or monthly(8) but read less mail

2022-12-25 Thread Claus Assmann
On Sun, Dec 25, 2022, Ibsen S Ripsbusker wrote: > ... want > to read reports only when something failed? Use a mail filter. #!/bin/sh # filter (in)security mails: # if it's only this: return 1 which causes the mail to be discarded egrep -v '^(Running security|Checking the /etc/master.passwd

Re: some graphics (firmware?) problems

2022-02-20 Thread Claus Assmann
On Mon, Feb 21, 2022, Jonathan Gray wrote: > No, it is not firmware. But I'd need to see a dmesg with inteldrm > enabled to comment further. In -current there is a different version of That should be this one: OpenBSD 7.0 (GENERIC) #224: Thu Sep 30 14:13:34 MDT 2021

some graphics (firmware?) problems

2022-02-20 Thread Claus Assmann
Yesterday the monitor on my OpenBSD 7.0 box went blank twice while using firefox. Later on I found these entries in the log: Feb 19 10:17:38 vxrs /bsd: drm:pid11842:intel_gt_reset *NOTICE* [drm] Resetting chip for context closure in firefox<11842> Feb 19 11:06:10 vxrs /bsd:

Re: rspamd and empty "mail from" header

2022-02-18 Thread Claus Assmann
On Fri, Feb 18, 2022, kasak wrote: > But, is this correct behavior of "mail from" header? Maybe the header What is a ``"mail from" header''? Do you mean the mail header From: or are you referring to the SMTP MAIL command MAIL From: > should have "<>" in it? You can check the fine RFCs (e.g.,

Re: How to properly set up OpenMDNS

2021-12-28 Thread Claus Assmann
> > 2. I was trying to set up a LAN-only smtpd server on OpenBSD, but > > sendmail on my mac doesn't seem to be able to resolve OpenBSD's name > I guess that sendmail is probably doing DNS lookups directly rather > than hostname lookups so probably not converted to MDNS. sendmail requires DNS

Re: route one port via a specific host (both directions)

2021-12-10 Thread Claus Assmann
On Fri, Dec 10, 2021, Michael Hekeler wrote: > Am 10.12.21 08:49 schrieb Claus Assmann: > > I am trying to run an SMTP server on a dynamic IP address > Running a smtp server on dynamic IP is just asking for troubles. That's why I want to run the server behind a static IP -- as my ma

route one port via a specific host (both directions)

2021-12-10 Thread Claus Assmann
I am trying to run an SMTP server on a dynamic IP address (and maybe other services later on, e.g., DNS or HTTP) For this, I would like to redirect traffic via a host (STATIC) which has a static IP address to/from the host (DYNAMIC) with the dynamic IP address. To route the port incoming it

Re: cd*.iso reboot loop (vultr, Skylake AVX MDS)

2021-12-04 Thread Claus Assmann
Just in case someone is wondering: vultr moved the VM to a different server, the system is up and running again. BTW: I guess I can ignore this: fd0 at fdc0 drive 1: density unknown OpenBSD 6.9 (GENERIC) #464: Mon Apr 19 10:28:56 MDT 2021

cd*.iso reboot loop (vultr, Skylake AVX MDS)

2021-12-04 Thread Claus Assmann
My vultr OpenBSD 6.8 instance crashed and when it tried to reboot it failed at: root on sd0a (...) WARNING: / was not properly unmounted kernel: privileged instruction fault trap, code=0 mds_handler_skl_avx+0x33: clflush __ALIGN_SIZE+0x500(%rid,%rax,8) I tried to boot from cd{68,69,70}iso but

nvidia graphics cards: one ok, two slow: how to determine for others?

2021-11-04 Thread Claus Assmann
The graphics card in my PC broke (no "signal" after a few minutes) It is an NVIDIA GeForce 7100 GS. I replaced it with an NVIDIA GeForce GT 240 which I found in my "stock". But with this card I get the very slow scrolling under X again (which I posted about with a different card before: NVIDIA

Re: cannot boot from SSD

2021-10-26 Thread Claus Assmann
Thanks for the details; I overwrote the mbr using dd of=/dev/rsd0c if=/usr/mdec/mbr bs=512 count=1 and then used fdisk to reinstall the OpenBSD partition to the values I used before - and now the system can boot from the ssd. Thank you very much for the help! -- Address is valid for this

Re: cannot boot from SSD

2021-10-26 Thread Claus Assmann
On Mon, Oct 25, 2021, Crystal Kolipe wrote: > Can you provide the output of the atactl identify command for this unit? Thanks for the reply; below is the output from atactl identify, fdisk, and disklabel. The disk can be mounted without a problem and -- based on a brief look -- has the installed

cannot boot from SSD

2021-10-25 Thread Claus Assmann
I installed OpenBSD 7.0 via miniroot70.img from a USB stick on a Kingston SA400S3 SSD but unfortunately the machine does not boot from it (there is just a blinking cursor at the top of console). The SSD is connected via SATA (see below) so I hoped the machine (see dmesg) could boot from it. Is

Re: wait returns 127 for existing process?

2021-08-15 Thread Claus Assmann
On Sun, Aug 15, 2021, Andreas Kusalananda Khri wrote: > wait returns 127 if the process is not a child of the current shell. > Is it a child process of the current shell? If so, does it install a Yes, indirectly via 2-3 sh scripts. > signal handler for the HUP signal? Yes, the "usual" one for

wait returns 127 for existing process?

2021-08-15 Thread Claus Assmann
I must misunderstand something about wait (sh command), but I'm not sure what: why does wait return 127 for an existing process? $ PM=31309;kill -HUP $PM; echo $?; ps -p $PM; wait $PM; echo $?; ps -p $PM 0 PID TT STATTIME COMMAND 31309 p0 S0:00.03 ../libpmilter/t-pmilter-1 -r

Re: sshd: no IP address in error msg?

2021-03-21 Thread Claus Assmann
On Wed, Mar 17, 2021, Darren Tucker wrote: [[...]] > standardized logging that should include the source address and port: Thanks for the reply - unfortunately I missed that in the source code , so I checked the logs on a newer OS version and it shows the IP as you wrote. Sorry for the noise.

sshd: no IP address in error msg?

2021-03-13 Thread Claus Assmann
My authlog file contains entries like this: sshd[89023]: error: kex_exchange_identification: banner line contains invalid characters but I can't find the IP address of the host which triggered this by looking for more log entries of sshd with the same pid. Would it make sense to add

Re: very slow scrolling in xterm

2020-12-20 Thread Claus Assmann
On Sun, Dec 20, 2020, Matthieu Herrb wrote: > You could try to enable shadowFB support through a minimal xorg.conf > like that : ... I tried that: unfortunately it does not make a change. > I think the XAA retirement happened earlier than that but I didn't dig You are right, I misremembered -

Re: very slow scrolling in xterm

2020-12-19 Thread Claus Assmann
On Sun, Dec 20, 2020, Nick Holland wrote: > In fact, that machine is loaded with nvidia hw. If you fixed > the video, I suspect you will slam into other walls shortly after. I know it's a "slow" computer (1) by todays standards, but the only annoying thing is the slow scrolling (hit return, and

very slow scrolling in xterm

2020-12-19 Thread Claus Assmann
On one machine the scrolling in an xterm is very slow since the upgrade to 6.7 and also in 6.8. Now that I want to use this machine a bit more I'm wondering what settings can be used to avoid that problem. dmesg and Xorg log are (hopefully) attached, what other info could help to track down the

Re: openssl s_client gives "called a function you should not call"

2020-11-12 Thread Claus Assmann
On Thu, Nov 12, 2020, Paul de Weerd wrote: > $ openssl s_client -starttls smtp -connect localhost:587 > RCPT TO: ^ = RENEGOTIATING and the syntax is wrong too: NO space after colon, see the fine RFCs. openssl(1): When used interactively (which means neither -quiet nor -ign_eof have

Re: strange SMTP interaction with mail.openbsd.org ?

2020-09-11 Thread Claus Assmann
On Fri, Sep 11, 2020, Leen Besselink wrote: > I waited longer now and CHUNKING is not in the EHLO banner, but I do see > QUiT again without sending any emails. > So even though I had turned it off and on a couple of times, it was probably > just a coincidence. Did you get an answer from

Re: strange SMTP interaction with mail.openbsd.org ?

2020-09-08 Thread Claus Assmann
On Mon, Sep 07, 2020, Leen Besselink wrote: > So I just got confirmation, when CHUNKING is in the EHLO then it will do > STARTTLS, but after a second EHLO it will notice the CHUNKING and just QUIT. Interesting... but unfortunately that's not the problem I am seeing - my server does not offer

Re: strange SMTP interaction with mail.openbsd.org ?

2020-09-07 Thread Claus Assmann
On Sun, Sep 06, 2020, Leen Besselink wrote: > So I was checking the logs and I saw mail.openbsd.org connected and > disconnected but strange enough did not deliver any mail: I noticed something similar and asked on misc at opensmtpd.org Date: Sat, 16 May 2020 12:20:35 +0200 Subject: design

Re: secure MTA

2020-04-08 Thread Claus Assmann
On Wed, Apr 08, 2020, Kevin Chadwick wrote: > You missed some out. I assume on purpose. Wrong "assumption"; I did it to keep it short -- I included the info how someone could find the details. > So it does require internal users to make an action and a MITM or outbound > connection to an

Re: secure MTA (was: news from ...)

2020-04-08 Thread Claus Assmann
On Wed, Apr 08, 2020, Kevin Chadwick wrote: > OpenSMTPD does not listen to the internet, by default and even if you do set > it From: Qualys Security Advisory To: oss-secur...@lists.openwall.com Message-ID: <20200224184538.GF17396@localhost.localdomain> - Client-side exploitation: This

Re: mutt can't sent smtps after upgrade to 6.7-beta

2020-04-06 Thread Claus Assmann
On Tue, Apr 07, 2020, Vitaliy Makkoveev wrote: > send mail via yahoo's smtps. Error is "SSL failed: error:1404B3F2:SSL > routines:ST_CONNECT:sslv3 alert unexpected message". mutt on this machine > set smtp_url = 'smtps://lo...@smtp.mail.yahoo.com:465/' Try to reproduce the problem using the

dn_skipname() not docoumented?

2020-03-20 Thread Claus Assmann
Is there no man page for dn_skipname() on purpose or is it an oversight? I found it on FreeBSD: RESOLVER(3)FreeBSD Library Functions ManualRESOLVER(3) int dn_skipname(const u_char *comp_dn, const u_char *eom); DESCRIPTION The dn_skipname() function skips

Re: USB printer?

2020-02-17 Thread Claus Assmann
I got a HP DeskJet 2630 printer and connected it via usb I tried to use it "directly", i.e., /etc/printcap: usb:lp=/dev/ulpt0:sd=/var/spool/output/usb:sf:sh:tr=^D: as mentioned in the original mail but this results in an "output error" after I started lpd and used lpr doc.ps ulpt0 at uhub0

suggestions for USB printer (maybe even with scanner)?

2020-02-05 Thread Claus Assmann
I need to buy a printer to connect to one of my OpenBSD machines and I prefer a USB connection (as I don't control the network at my current place). Can I just buy any USB printer or are there printers which do not work with OpenBSD? If so, what do I need to check / avoid? Any suggestion for

Re: DNS lookups on a different port for testing?

2020-01-23 Thread Claus Assmann
On Thu, Jan 23, 2020, Stuart Henderson wrote: > On 2020-01-22, Claus Assmann wrote: > > The functional tests for sendmail use ldns-testns as DNS server > > which provides specific test data and error behaviours. > > It runs on a port > 1024 to avoid requiring root access.

DNS lookups on a different port for testing?

2020-01-22 Thread Claus Assmann
The functional tests for sendmail use ldns-testns as DNS server which provides specific test data and error behaviours. It runs on a port > 1024 to avoid requiring root access. There's code in sendmail to set the IP and port for a NS: _res.nsaddr_list[0].sin_family = AF_INET;

Re: Request for recommendation - encryption and signature for file backup

2020-01-02 Thread Claus Assmann
Maybe duplicity? It's available as package (not sure whether it does signing). -- Address is valid for this mailing list only.

Re: regression tests (was: OpenBSD Errata: December 11th, 2019 (ldso))

2019-12-14 Thread Claus Assmann
On Sat, Dec 14, 2019, Frank Beuth wrote: > OpenBSD doesn't have unit tests (or if they are, they're not in the main Hmm, what about src/regress/ ? You are probably welcome to contribute tests :-) -- Address is valid for this mailing list only.

Re: [sh] Single quote in comment within subshell buggy

2019-12-14 Thread Claus Assmann
On Sat, Dec 14, 2019, Richard Ulmer wrote: > foo=$( > # It's bar: > echo bar > ) > echo $foo Because I was curious I just tested it on a FreeBSD 11.2 box: no error with /bin/sh and /bin/ksh. -- Address is valid for this mailing list only.

Re: Disabling laptop display & turning off suspend on lid close

2019-11-22 Thread Claus Assmann
On Fri, Nov 22, 2019, Unicorn wrote: > Still would like to know how to turn the display off, have not figured > that out yet ;) man xset Not sure if this is what you want (yes, it's ugly): #!/bin/sh if test $# -ge 1 then TO=$1 else TO=300 fi xset s $TO xset s blank if test $# -lt 1 then

Re: Display flickers after upgrade to 6.6

2019-11-09 Thread Claus Reheis
The xfwm4 --vblank=xpresent --replace & did fix this for me until last update made the problem gone for me permanently! Thx Here is my dmesg: OpenBSD 6.6 (GENERIC.MP) #0: Sat Oct 26 08:08:07 MDT 2019 r...@syspatch-66-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/ GENERIC.MP real mem =

Re: fw_update long timeout, how to specify mirror

2019-10-22 Thread Claus Assmann
Tommy Nevtelen wrote: > I have some systems without access to the Internets and with internal > mirrors for packages and fw_update packages. But when openbsd does a > sysupgrade or a new install it runs fw_update against > firmware.openbsd.org. The problem here is that it will hang until the

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Claus Assmann
On Mon, Aug 05, 2019, Marc Espie wrote: > [[...]] the same useless mp4 video. Maybe it is/contains an (attempt of an) exploit? -- Address is valid for this mailing list only.

Re: gdb: DW_TAG_ (abbrev = 85, offset = 20161909)

2019-02-12 Thread Claus Assmann
On Sun, Feb 10, 2019, Ted Unangst wrote: > Claus Assmann wrote: > > Any suggestion how I can debug that program? (it's huge and written > > in C++ with which I am not familiar anyway :-( > You want egdb from ports, especially for anything c++. (pkg_add gdb) Thanks, that se

gdb: DW_TAG_ (abbrev = 85, offset = 20161909)

2019-02-09 Thread Claus Assmann
I'm trying to debug a core dump from GoldenCheetah which has been compiled with clang++ on OpenBSD 6.4 amd64. gdb fails like this: $ gdb /usr/local/bin/GoldenCheetah GoldenCheetah.core GNU gdb 6.3 ... [[loading lots of shared (qt) libraries]] ... Loaded symbols for

Re: amd64 snap (1546747502) hangs after cpu1 at mainbus0: apid 1 (application processor)

2019-01-07 Thread Claus Assmann
On Mon, Jan 07, 2019, Christer Solskogen wrote: > I got this as well, it was fixed in the next snap. Yes, the next snapshot didn't exhibit the problem. Thanks for the replies. -- Address is valid for this mailing list only.

amd64 snap (1546747502) hangs after cpu1 at mainbus0: apid 1 (application processor)

2019-01-06 Thread Claus Assmann
I'm probably doing something wrong, but anyway: I've (auto)installed the current amd64 snapshot: Build date: 1546747502 - Sun Jan 6 04:05:02 UTC 2019 however, after rebooting it hangs at: ... cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application

Re: statethreads crashes in ld on 6.4

2018-12-04 Thread Claus Assmann
On Tue, Dec 04, 2018, Otto Moerbeek wrote: > malloc(3) uses mmap without MAP_STACK flag, so you'll end up with memory > not marked MAP_STACK in both cases. Thanks for the information. > Define MALLOC_STACK and add MAP_STACK to the flags, You mean "undefine MALLOC_STACK", right? I don't see a

Re: statethreads crashes in ld on 6.4

2018-12-04 Thread Claus Assmann
On Mon, Dec 03, 2018, Philip Guenther wrote: [thanks for the analysis/explanation!] > And now this kbind() call blows up: the address is not on the original > thread's stack but in one of those mmap()s...but those mmap()s were not > marked as stacks by including MAP_STACK. To quote the

Re: statethreads crashes in ld on 6.4

2018-12-03 Thread Claus Assmann
On Sun, Dec 02, 2018, Philip Guenther wrote: > Since ld.so is relinked on each boot, just an address doesn't really show > what died. The disassembly up to that address would help. > More important is knowing what signal killed the process. ktracing it and > seeing what the syscalls leading up

Re: statethreads crashes in ld on 6.4

2018-12-03 Thread Claus Assmann
On Sun, Dec 02, 2018, Edgar Pettijohn wrote: > Sorry just saw it came with some examples. Testing with the `lookupdns' > program > ended with a Bus error (core dumped). Here is gdb output: You might want to download MeTA1 and use its statethreads version, I'm not sure all of my fixes made it

Re: statethreads crashes in ld on 6.4

2018-12-03 Thread Claus Assmann
Thanks for the replies! Here's an update what I tried so far -- I will follow the suggestions next. About the - signal: it's "segmentation violation". - syscall: it's accept(2): st_accept invokes that function. -- I checked setjmp: no change from 6.3 to 6.4 (cvs diff, comparing files,

statethreads crashes in ld on 6.4

2018-12-01 Thread Claus Assmann
statethreads (http://state-threads.sourceforge.net/) crashes on OpenBSD 6.4/amd64 (release) with an error in ld (see below); it works fine on previous OpenBSD versions. Do I have to set some "special" cc/ld options to make this work? Or are patches to statehreads required (there doesn't seem to

Re: Need an advice about DHCP IPv6 server software

2017-12-07 Thread Claus Lensbøl
Do you know if the Windows box gets the RA from rtadvd? If you have pf running you may need to allow it there. https://content.pivotal.io/blog/a-barebones-pf-ipv6-firewall-ruleset / Claus On 07-12-2017 23:18, Denis wrote: > I've set up rtadvd, but Win7 still have no IPv6 address. Only L

Re: Need an advice about DHCP IPv6 server software

2017-12-06 Thread Claus Lensbøl
a working DHCP config for you, but if you "just" need SLAAC, I can provide you some, perhaps a bit, old examples. Let me know. / Claus On 06-12-2017 15:14, Denis wrote: > Hi All, > > I have working OpenBSD based IPv4 router, but now need to add IPv6 > functionality to the

Re: boot> does not "time out" after failed PXE boot

2017-10-03 Thread Claus Assmann
On Tue, Oct 03, 2017, Alexander Hall wrote: > Unless I'm mistaken, Claus refers to things that happen prior to the > boot prompt appearing the first time. Yes. It's the boot order in the BIOS, i.e., it tries PXE boot before the HD (i.e., before the ">boot" prompt even shows up

boot> does not "time out" after failed PXE boot

2017-10-02 Thread Claus Assmann
After a failed/aborted PXE boot (e.g., hitting a key or no network) a laptop is "hanging" at the (OpenBSD 6.2 snapshot) >boot prompt which normally (AFAICT) times out and just boots after a few seconds (from disk); it boots fine after hitting "Return". Can someone please clarify if this is

Re: Problems with IPv6 and routing domains

2017-07-11 Thread Claus Lensbøl
o0 If this is a regression or an implementation problem (or perhaps some documentation missing for v6 behaving differently), I don't know. Just to add the to the tests, I've syspatched my system with all the errata patches for 6.1, but with the same results. I'm posting this, hoping to bring some eye

Re: Problems with IPv6 and routing domains

2017-07-04 Thread Claus Lensbøl
Hi Peter On 04-07-2017 16:32, Peter Hessler wrote: > On 2017 Jul 04 (Tue) at 16:24:53 +0200 (+0200), Claus Lensbøl wrote: > :Hi Peter, > : > :I'm getting: > :# route -T75 default ::1 -blackhole > :route: botched keyword: default > :usage: route [-dnqtv] [-T tableid] comm

Re: Problems with IPv6 and routing domains

2017-07-04 Thread Claus Lensbøl
Jul 04 (Tue) at 15:16:24 +0200 (+0200), Claus Lensbøl wrote: > :Hi misc, > : > :I'm having trouble with implementing rdomains and IPv6. > : > :I have followed this guide which might be a bit old but the best I could > :find: > :https://www.packetmischief.ca/2011/09/20/virtualizin

Problems with IPv6 and routing domains

2017-07-04 Thread Claus Lensbøl
to move packets from rtable 0 to rtable 75. Btw, this set-up is made with virtualbox, but I have an identical physical set-up with the same issue. -- Med venlig hilsen/Best regards Claus Lensbøl Fab:IT ApS Vesterbrogade 37, 2. th DK-1620 København Tlf: +45 70 202 407 Main Site: www.fab-it.dk VPS Product: vpsforce.eu

HPLIP HP Laserjet Pro MFP M130fn PPD Plugin installation fails

2017-06-04 Thread Reheis Claus
plugin_install.py License blablabla Do you accept the license terms for the plug-in (y=yes*, n=no, q=quit) ? y sh: lsb_release: not found Plugin installation failed error: Plugin installation failed Any advice? thx Greetings Claus

Re: Minor error in strftime man page

2017-04-18 Thread Claus Assmann
On Tue, Apr 18, 2017, Hrishikesh Muruk wrote: > http://man.openbsd.org/man3/strftime.3 > The there are two definitions for the %I option Nope. Use an editor and search for %I and you'll find only one. The other is 'l' (0x6c) Maybe you need a better font?

Re: OpenBSD to Dell Latitude E6510

2017-03-28 Thread Claus Assmann
On Tue, Mar 28, 2017, Majern??ek ?tefan wrote: > Is it possible install openbsd to notebook dell latitude E6510? Yes. An old install: OpenBSD 5.6 (GENERIC.MP) #333: Fri Aug 8 00:20:21 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP RTC BIOS diagnostic error

Re: qt 5.8.0 on OpenBSD 6.0 snapshot

2017-03-04 Thread Claus Assmann
Here's an update on this: > eg++ -c -pipe -O2 -fPIC -std=c++1y -fvisibility=hidden ... > -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -isystem /usr/include > -isystem /usr/local/include -I../../../mkspecs/openbsd-g++ -o > .obj/qbasicfontdatabase.o basic/qbasicfontdatabase.cpp > In file

Re: qt 5.8.0 on OpenBSD 6.0: compilation fails

2017-02-21 Thread Claus Assmann
On Tue, Feb 21, 2017, Stuart Henderson wrote: > Some of the patches may be sane to upstream (or are backported and Well, since the Qt source code comes with OpenBSD "support" [1] I hoped it would at least compile without errors "out of the box". [1] for example,

Re: qt 5.8.0 on OpenBSD 6.0: compilation fails

2017-02-21 Thread Claus Assmann
On Tue, Feb 21, 2017, Rafael Sadowski wrote: > You will not be happy with these plan. Not without reason there is only > Qt 5.6 in -current. It is a hard piece of work for example see the patch > set onyl for qt core: Thanks, somehow the cvs checkout for ports/x11/qt5 on my system didn't include

qt 5.8.0 on OpenBSD 6.0: compilation fails

2017-02-20 Thread Claus Assmann
(should this be asked on -ports?) Maybe someone can give me a hint how to compile qt 5.8.0 on OpenBSD 6.0 (amd64)? (I would like to install it for some other SW which needs at least qt 5.7, but the pkg is 5.5). Currently I'm stuck at this: eg++ -c -pipe -O2 -fPIC -std=c++1y -fvisibility=hidden

Re: How to detect this kind of attacks (MTA: Invalid RCPT)

2016-11-26 Thread Claus Assmann
On Sat, Nov 26, 2016, Walter Alejandro Iglesias wrote: > Is there a way to detect on the fly spam attacks like the pasted below > (maillog)? It seems pf max-src-conn-rate takes in care only the Check the docs for your MTA. > Nov 26 05:59:46 server smtpd[55880]: 3bcc430eee258cd7 smtp >

Re: Is 6.1 expected to happen soon?

2016-11-03 Thread Claus Reheis
Thank you and all the people involved in OpenBSD development for providing me with a system I can trust and rely on! I am running OpenBSD Current since a few months without any major issues on my desktop Greetings rehcla On 11/04/16 01:32, Theo de Raadt wrote: Aren't the snapshots

Re: autoinstall (eg: disklabel -T) doesn't support templates that specify partition sizes in sectors?

2016-10-07 Thread Claus Assmann
On Thu, Oct 06, 2016, Erling Westenvik wrote: [I'm only replying because I ran into a problem in this area and posted a patch suggestion to the tech list; a different fix was applied after some discussion.] > templates, I was a little surprised to find that disklabel(8) apparently > does not

Re: DMARC and misc@ (and likely other OpenBSD lists)

2016-08-26 Thread Claus Assmann
> If the OpenBSD list admins are reading this: would it be possible to > make a similar change in the OpenBSD mailing list configuration? Please don't. Those people who break e-mail for some (imaginary?) "gain" should deal with the problems themselves instead of forcing others to make changes.

Re: sendmail mx question

2016-04-05 Thread Claus Assmann
> so the real smtp has the lower number but higher priority but like I said my > sendmail always ends up with shit.example.not.nz. What does "sendmail always ends up with shit.example.not.nz." mean? Of course sendmail tries the secondary MX after trying the main MX. Still no real

Re: sendmail mx question

2016-04-05 Thread Claus Assmann
On Tue, Apr 05, 2016, Craig Skinner wrote: > 1 shit.example.not.nz. # <<--- always defering server > 2 smtp.example.not.nz. # <<--- real server > Your server connects to 'shit.example.not.nz', which defers the mail, > telling your server to try again later. So,. your server tries again >

USB: panic: uvm_fault(0xd6bfac8c, 0x4e000, 0, 1)

2016-03-13 Thread Claus Assmann
On Sat, Mar 12, 2016, Claus Assmann wrote: > I have this USB ANT+ stick > "Dynastream Innovations ANT USBStick2" rev 2.00/1.00 addr 2 I updated that laptop to the 2016-03-10 i386 snapshot and got it to "work", i.e., the data was read for about 40m then the system cr

usb_interrupt_write: can't open /dev/ugen1.01 for bulk read: Device not configured

2016-03-12 Thread Claus Assmann
I have this USB ANT+ stick "Dynastream Innovations ANT USBStick2" rev 2.00/1.00 addr 2 which works "ok" under OpenBSD 5.2 in conjunction with libusb-0.1.12 in Golden Cheetah on a Dell laptop. Unfortunately that laptop hangs after 5-25 minutes of using this (most likely a HW problem: the fan

Re: OT: Looking for email host with qmail like minus-addressing for custom domain

2016-03-03 Thread Claus
that. :( Claus

OT: Looking for email host with qmail like minus-addressing for custom domain

2016-03-02 Thread Claus Niesen
d a better host. I'd rather not host my own mailserver but so far haven't been able to find an alternative. Your suggestions are greatly appreciated. Feel free to contact me off list. Thanks, Claus Specific requirements: - allows usage of custom domain - allows multiple email accounts - q

Re: piping stderr to tee log (so I can have my log and watch it, too)

2016-01-18 Thread Claus Assmann
On Mon, Jan 18, 2016, Joel Rees wrote: >cd /usr/src && cvs -d$CVSROOT up -Pd | tee /var/log/build/cvssrc.log > except the 2>&1 is, I think the book says, too late to collect both Which book? > output streams into buildsys.log . cd /usr/src && cvs -d$CVSROOT up -Pd 2>&1 | tee

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-24 Thread Claus Lensbøl
On 18-08-2015 21:32, Ed Hynan wrote: From: Claus Lensbøl cl...@fab-it.dk I am running openbsd 5.6 GENERIC.MP#333 amd64. Using isc-dhcp-server 4.3.0. I had no route to host w/ ISC DHCP 4.3.0 on OpenBSD 4.9 -- the patch at end of message got it working. Hint was need for '%IF' using ping6. I

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-18 Thread Claus Lensbøl
On 17-08-2015 23:08, Giancarlo Razzolini wrote: Em 17-08-2015 17:55, Claus Lensbøl escreveu: all the vlan interfaces has the same link-local address. Each vlan interface has a scope though, which I do not know how works. Not sure either. But you could try forcing each VLAN to have a different

DHCPv6 server - send_packet6: Network is unreachable

2015-08-17 Thread Claus Lensbøl
what this issue could be? Or maybe give a direction in which I could try to debug? -- Med venlig hilsen/Best regards Claus Lensbøl Fab:IT ApS Vesterbrogade 37, 2. th DK-1620 København Tlf: +45 70 202 407 Main Site: www.fab-it.dk VPS Product: vpsforce.eu

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-17 Thread Claus Lensbøl
93.90.114.100 to __automatic_e513959b_14 port = 8080 flags S/SA block return in on ! lo0 proto tcp from any to any port 6000:6010 On 17-08-2015 13:30, Jérémie Courrèges-Anglas wrote: Claus Lensbøl cl...@fab-it.dk writes: [...] Does anyone have a clue about what this issue could be? Or maybe give

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-17 Thread Claus Lensbøl
On 17-08-2015 21:04, Giancarlo Razzolini wrote: Em 17-08-2015 08:54, Claus Lensbøl escreveu: pass quick inet6 proto udp from 2a02:188:5002::/48 to __automatic_e513959b_6 port = 547 pass quick on lo0 inet6 proto udp from 2a02:188:5002::/48 to fe80::1 port = 547 pass quick on bge0 inet6 proto udp

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-17 Thread Claus Lensbøl
On 17-08-2015 21:37, Giancarlo Razzolini wrote: Em 17-08-2015 16:22, Claus Lensbøl escreveu: Do you have any good ideas for rules to compensate for this? Allow the entire link-local range? fe80::/10? Link-local aren't routable (at least shouldn't be) and the machines can talk to each other

Re: DHCPv6 server - send_packet6: Network is unreachable

2015-08-17 Thread Claus Lensbøl
On 17-08-2015 22:27, Giancarlo Razzolini wrote: Em 17-08-2015 17:05, Claus Lensbøl escreveu: Ok, I'll try it out tomorrow and return with results. Thank you for now. I was re-reading your e-mail and the following come to my attention: # ping6 fe02::1%vlan710 ping6: no address associated

Re: dual separator?

2014-08-22 Thread Claus Assmann
On Fri, Aug 22, 2014, Adam Thompson wrote: I have a large number of email tags, but use both + and - as a separator. So far, I'm entering all the - ones into aliases; is there a better way to do this? In postfix, I was able to use a regex to manipulate incoming addresses to Hmm, it might be

Re: SMTP syntax (was: Content Filtering in smtpd(8) with amavisd-new)

2014-02-26 Thread Claus Assmann
On Wed, Feb 26, 2014, Aaron Poffenberger wrote: I tried that. If you telnet into smtpd to manually send an email and set rcpt to: user you will receive a 553 Recipient address syntax That's invalid even if you gave a proper address. RFC 5321: RCPT TO:forward-path [ SP rcpt-parameters ]

Re: Strange STARTTLS issue

2013-09-12 Thread Claus Assmann
On Thu, Sep 12, 2013, John Hynes wrote: openssl s_client -starttls smtp -connect mail.dean.edu:25 ...from any of my OpenBSD 5.3 hosts, I get the same response: CONNECTED(0003) 12556912661392:error:140790E5:SSL routines:SSL23_WRITE:ssl handshake

starttls.8 clarification attempt

2012-10-14 Thread Claus Assmann
I just pointed someone to the starttls man page and noticed some things that are wrong or don't make much sense: The first entry is missing a tag. I don't understand: force string verification depths to at least 80 bits string - strong maybe? But depths to at least 80 bits doesn't make much sense

uhub6: port 3, set config at addr 2 failed

2012-09-23 Thread Claus Assmann
When I connect a Polar USB reader (interface to a Polar HRM) to a machine running OpenBSD 5.2 current (see dmesg below), I get the following errors (I tried different USB slots just in case some cabling would be bad): uhub6: port 3, set config at addr 2 failed uhub6: device problem, disabling

Re: ext2 max filesystem size

2012-09-08 Thread Claus Lensbøl
mounted device Any ideas? On Fri, Sep 7, 2012 at 6:07 PM, Ted Unangst t...@tedunangst.com wrote: On Fri, Sep 07, 2012 at 15:11, Claus Lensbøl wrote: Hi I'm trying to figure out the maximum file system size for ext2 on openbsd, but I can't seem to find it documented anywhere. Does anybody

ext2 max filesystem size

2012-09-07 Thread Claus Lensbøl
Hi I'm trying to figure out the maximum file system size for ext2 on openbsd, but I can't seem to find it documented anywhere. Does anybody know if the limitation is the old 2TB (as in linux pre 2.6.17 ish), or 32TB as newer implementations? / Claus

Re: patch for the afterboot.8 man page

2012-07-26 Thread Claus Assmann
On Thu, Jul 26, 2012, John Long wrote: Third time's the charm? No. If you take a look at the file, you'll see that each new sentence starts at a new line. That's what someone was trying to tell you before... (this convention makes diffs simpler).

Re: ksh's HISTFILE

2012-03-13 Thread Claus Assmann
On Tue, Mar 13, 2012, Hugo Villeneuve wrote: On Mon, Mar 12, 2012 at 01:03:54PM +0200, lilit-aibolit wrote: export HISTFILE=~/.sh_history Because last time I tried, it was unusable if you ran more than two session concurently, as both shell would use the same file directly Maybe try

Re: Unbound in base

2012-02-14 Thread Claus Assmann
On Tue, Feb 14, 2012, Vitali wrote: On Tue, Feb 14, 2012 at 10:09 AM, Peter van Oord van der Vlies Why replacing bind ? https://www.isc.org/software/bind/advisories/cve-2012-1033 Bad CVE choice... That's a design issue in DNS, not a vulnerability in BIND. And if you want to throw CVEs

Re: sendmail TLS errors

2012-02-04 Thread Claus Assmann
On Sat, Jan 28, 2012, Peter Fraser wrote: It would have been nice if sendmail falls back to a none TLS connection if the handshake occurs. See the RFC about STARTTLS why this isn't possible within a single session. Hence the MTA would have to remember that TLS failed before and not try it in

Re: one ADSL connection with 10 static IPs and PF

2011-11-29 Thread Claus
On 11/29/2011 4:18 AM, Mostaf Faridi wrote: I need help Use your ADSL modem in a transparent bridge mode. That way no IPs are assigned to it. Now you can control everything with with OpenBSD and pf, nat, etc the way you like. Have fun! BTW, having your ADSL in bridging mode means there

Re: Sendmail listens on *:465 when it is not supposed to!

2011-05-14 Thread Claus Assmann
On Sun, May 15, 2011, Michael Sioutis wrote: # DAEMON_OPTIONS(`Family=inet, Port=465, Name=MTA-SSL, M=s')dnl (--- Yes, a comment!) beginning with # and I thought these would be treated as comments as well. The fine documentation (cf/README) says:

SSD with firmware upgrade under OpenBSD

2010-11-28 Thread Claus Assmann
I was about to buy an OCZ Vertex 2 SSD when I read that firmware updates for that kind of SSD require some M$ Windows version. Is someone using SSDs with a high IOPS rate (the Sandforce controller claims 45-50 kIOPS) which can be updated under some freely available software? I would like to try

Re: (mailx) How can I alter From header

2010-10-24 Thread Claus Assmann
On Mon, Oct 25, 2010, Dmitrij Czarkoff wrote: /etc/mail/genericstable (hashed with sudo make at /etc/mail): ddc czark...@gmail.com d...@ao531h.bedova czark...@gmail.com The documentation (cf/README) states: genericstable This feature will cause unqualified addresses (i.e., without

Re: (mailx) How can I alter From header

2010-10-24 Thread Claus Assmann
On Mon, Oct 25, 2010, Dmitrij Czarkoff wrote: /var/log/maillog: from=d...@ao531h.bedova, size=562, nrcpts=1, proto=ESMTP, relay=localhost [127.0.0.1] Oct 25 01:55:02 ao531h smtpd[24195]: 1287964495.exbcVgC3ABHbm9B9: ^ ^^^

  1   2   >