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 known/e

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). > Once the boot p

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 ove

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 open

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 vulnera

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 attacke

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

2020-09-06 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 o

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 CHUN

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 postmast

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: 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 May

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 xse

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: 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: 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.

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; _res.

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.

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 some

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 port

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 /var/log/build

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

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 pro

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

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 - I

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 ssh_remote_ip

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.

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 file

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, e.g.,

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 > failure:/usr/src/lib/libssl/ssl/../

xmodmap and Xkeyboard interaction

2009-02-23 Thread Claus Assmann
I have a problem with xmodmap on an OpeBSD 4.4 installation (Dell Latitude D830). My .xmodmap file looks like this: remove Lock = Caps_Lock keysym Caps_Lock = Control_L add Control = Control_L keycode 22 = backslash bar keycode 51 = BackSpace BackSpace Delete underscore keycode 49 = Escape asc

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 be

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, etc

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 back

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 t

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 "Securi

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 wa

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: 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.

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 /usr/local/lib/libwebpdemux.so.2

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 s

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 supp

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 > event=fa

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: 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

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, qtbase/mkspecs/openbsd-g++/qmake.

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 incl

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 30

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?

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 mu

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 doesn't

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 crashe

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 > late

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 data/logs/outpu

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: 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,

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: " you will receive a "553 Recipient address syntax That's invalid even if you gave a proper address. RFC 5321: RCPT TO: [ SP ] ... Since it has been

Re: Trouble with connect to www.aeroflot.ru

2014-03-19 Thread Claus Assmann
On Wed, Mar 19, 2014, Steve Shockley wrote: > On 3/19/2014 12:22 PM, Leonov Aleksey wrote: > >I think what they filtered traffic from non windows or linux machine. > I think this is the case. I'm behind a transparent http proxy (Squid) on Just for the fun of it: it works from FreeBSD 8.x and Sun

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: 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

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 thi

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

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 maili

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 GeFo

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 a

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 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/comp

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 seems

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

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 fo

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., 5

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: drm:pid1527:intel_gt_r

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 dera...@amd64.openbsd.o

xkb: how to map Shift-Backspace to '|'?

2009-07-20 Thread Claus Assmann
As xmodmap doesn't work anymore, I'm trying to switch to xkb. I hacked /etc/X11/xkb/symbols/us to make the laptop keyboard more like a Unix keyboard: --- us- Mon Jul 20 14:56:22 2009 +++ us Mon Jul 20 15:09:41 2009 @@ -334,10 +334,18 @@ key { [ Multi_key ] }; }; -

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

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 a

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 so

Re: Code signing in OpenBSD

2007-12-05 Thread Claus Assmann
On Wed, Dec 05, 2007, STeve Andre' wrote: > Yes, one can dismiss the "benefits". Think about what an MD5 (or any > other cyptographic) checksum means. If the OpenBSD site publishes > that list, how does something more complicated help? > Answer: it doesn't. Wrong. If someone cracks a website,

Re: Code signing in OpenBSD

2007-12-05 Thread Claus Assmann
On Wed, Dec 05, 2007, STeve Andre' wrote: > On Wednesday 05 December 2007 18:22:19 Claus Assmann wrote: > > Someone actually did the former with sendmail.org (to distribute a > > version of sendmail with a backdoor). The problem was only noted > > because users check

4.3 Beta: no sound

2008-02-29 Thread Claus Assmann
I've upgraded one machine to 4.3 Beta (2008-02-23, i386, dmesg below) and there is no audio anymore (it used to work with 3.8). I tried to cat an audio file directly to the device: $ file gong.au gong.au: Sun/NeXT audio data: 8-bit ISDN u-law, mono, 8000 Hz $ cat gong.au > /dev/audio $ cat gong.au

Re: 4.3 Beta: no sound

2008-03-01 Thread Claus Assmann
[Thanks for all the answers!] On Sat, Mar 01, 2008, Jacob Meuser wrote: > are you speakers plugged into the line-out jack? these used to only > kinda play on the mic jack. the line-out jack should be working fine According to the docs I found I only tried "out" and "mic", never "in". It works i

Re: 4.3 Beta: no sound

2008-03-02 Thread Claus Assmann
On Sat, Mar 01, 2008, Jacob Meuser wrote: > > Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) > > == > > AO: [null] 32000Hz 2ch s16le (2 bytes per sample) > > does that mean "no driver"? > try

Dell E521: no sensors?

2006-12-29 Thread Claus Assmann
Is it correct that the Dell E521 does not have any sensor chips? I can't find any of the supported devices listed in iic(4) in dmesg. Or does the system have some other unsupported sensor device? dmesg from 4.0 release (non-MP) below (as mentioned earlier when I asked about this machine: ohci has

Re: Dell E521: no sensors?

2007-01-01 Thread Claus Assmann
On Sat, Dec 30, 2006, Stuart Henderson wrote: > On 2006/12/29 18:11, Claus Assmann wrote: > > Is it correct that the Dell E521 does not have any sensor chips? > the bios to see if anything's reported there though, it would be > a bit of a surprise if at least cpu temperat

Re: Broken link in 'man sendmail(8)'

2007-02-22 Thread Claus Assmann
On Thursday 22 February 2007 06:10, Tom Van Looy wrote: > The manual page of sendmail(8) contains the following link: > http://www.sendmail.org/tips/DontBlameSendmail.html > > It seems sendmail replaced the link by the following: > http://www.sendmail.org/tips/DontBlameSendmail.php I forwarded th

Re: Broken link in 'man sendmail(8)'

2007-02-22 Thread Claus Assmann
> > http://www.sendmail.org/tips/DontBlameSendmail.html The link has been "recreated" (it is redirected by the webserver now; thanks to the fast reaction of the sendmail.org webmaster).

Re: cvsync broken?

2007-05-10 Thread Claus Assmann
On Thu, May 10, 2007, Hannah Schroeter wrote: > Just trying to cvsync my stuff. And it wants to remove quite much: > hostname cvsync.de.openbsd.org same problem with anoncvs1.usa.openbsd.org and anoncvs3.usa.openbsd.org

Re: Relaying denied. Trying to do TLS+SMTP AUTH. Do I really need SASL?

2007-06-30 Thread Claus Assmann
On Sat, Jun 30, 2007, Fredrik Staxeng wrote: > I get the dreaded 'Relaying denied. Proper authentication needed.' You don't need AUTH, STARTTLS is sufficient. See cf/README: Relaying SMTP STARTTLS can allow relaying for remote SMTP clients which have successfully authenticated themselv

Re: Relaying denied. Trying to do TLS+SMTP AUTH. Do I really need SASL?

2007-06-30 Thread Claus Assmann
On Sat, Jun 30, 2007, Fredrik Staxeng wrote: > Claus Assmann <[EMAIL PROTECTED]> writes: > >> I get the dreaded 'Relaying denied. Proper authentication needed.' > >You don't need AUTH, STARTTLS is sufficient. See cf/README: > Then I would need clien

Re: Relaying denied. Trying to do TLS+SMTP AUTH. Do I really need SASL?

2007-06-30 Thread Claus Assmann
On Sat, Jun 30, 2007, Fredrik Staxeng wrote: > I have a self-signed server cert that I created using commands that > I barely understand. I have no idea where to start. By reading the fine instructions :-) man starttls sendmail operations guide: doc/op/op.* > I guess I need a CA key, and CA cert

Re: Relaying denied. Trying to do TLS+SMTP AUTH. Do I really need SASL?

2007-06-30 Thread Claus Assmann
On Sat, Jun 30, 2007, Fredrik Staxeng wrote: > >man starttls > > I have read that, done that. Nothing about client certs there. sendmail doesn't care as long as it is a cert. > Anyway, you are the maintainer of the free version of sendmail? Yes. > Would you consider putting in LOGIN/PLAIN s

Re: lookup option in /etc/resolv.conf ignored

2007-10-13 Thread Claus Assmann
>On 2007/10/13 11:43, Karel Kulhavy wrote: > According to man resolv.conf this should result in /etc/hosts having > priority > over the DNS system. However, it simply doesn't work. Both Firefox and the > "host" command behave as if I didn't do anything. > > Why doesn't it work when man resolv.conf

usb: uhub1: port 1, set config at addr 2 failed

2006-08-26 Thread Claus Assmann
I got a new toy (Polar heart rate monitor and IR -> USB interface) which I'm trying to use with OpenBSD but the software (http://daveb.net/s710/) has been written for Linux. It uses libusb (which I installed) but when I connect the IR-USB interface and invoke the program (s710d -d usb) these errors

Re: Bug in egrep?

2006-09-07 Thread Claus Assmann
On Thu, Sep 07, 2006, Otto Moerbeek wrote: > If anybody has access to a Solaris machine, I like to know what the > test does there. $ uname -a SunOS mine 5.9 Generic_118558-11 sun4u sparc SUNW,Ultra-2 $ echo "some text here" | /usr/bin/egrep -x "" ; echo $? /usr/bin/egrep: illegal option --

Re: sendmail STARTTLS

2008-07-10 Thread Claus Assmann
On Thu, Jul 10, 2008, GVG GVG wrote: > -rw-r--r-- 1 root wheel 1679 Jun 23 17:04 key.pem ^ ^ > and in the mail_log there is nothing recorded! No errors or warnings! 1. man starttls (and see the referenced website). 2. increase the LogLevel (even though those errors should be logged at

Re: sendmail STARTTLS

2008-07-10 Thread Claus Assmann
On Thu, Jul 10, 2008, GVG GVG wrote: > I first have to excuse myself cause I claimed that there were no errors in > the log file! > > Well, there was no debugging output enabled. Now I did that with '-d0-17.4' > flags! You do NOT need to enable debugging to get logging... > Still I don't see an

AMD X2: Dell E521 or others?

2006-11-06 Thread Claus Assmann
Is anyone running OpenBSD on a Dell E521 machine (it seems to use an "NForce 430" chipset) with AMD X2? I'm looking for new computer with a dual core CPU for some performance testing (no "multimedia" stuff needed, some "cheap" machine will be sufficient). I also would like to run SunOS 5.10 on it,

Re: Compiling Sendmail

2005-06-06 Thread Claus Assmann
On Mon, Jun 06, 2005, Timothy Horie wrote: > I need to recompile it without TLS. I've tried a lot of ways to get rid > of it without a recompile, but all paths led nowhere. I don't want TLS, > I don't want to Start TLS, I don't want any error messages in the logs > regarding TLS, I don't want to

sys/param.h: #define OpenBSD 200519

2005-06-07 Thread Claus Assmann
Why is OpenBSD defined in sys/param.h as 200519 and not as 200505 as the comment suggests: /* OpenBSD version (year & month). */ I'm using this value to figure out the OpenBSD version to turn on/off some features for sendmail (e.g., turn off NETISO for 3.7 and later).

Re: Can't rebuilt aliases.db file...?

2005-06-23 Thread Claus Assmann
On Thu, Jun 23, 2005, Timothy Horie wrote: > I'm trying to rebuild my /etc/mail/aliases file after changing it but it > isn't working. Check that you reference the right file: grep AliasFile `sendmail -bt -d0.14

Re: ayuda con sendmail

2005-08-18 Thread Claus Assmann
On Thu, Aug 18, 2005, Efrin Sanchez wrote: > Aug 18 14:22:55 sanjorge sm-mta[17316]: ruleset=check_relay, > arg1=localhost.my.domain, arg2=127.0.0.1, relay=localhost.my.domain > [127.0.0.1], reject=553 5.3.0 RELAY #Relevo de Correo desde That's funny we are just discussing what to do about co

Re: sendmail and mutt (RunAsUser for MSP ignored)

2005-08-18 Thread Claus Assmann
On Thu, Aug 18, 2005, [EMAIL PROTECTED] wrote: > SMTP AUTH to my ISP. mutt is using the default submit.mc, calling > via "/usr/sbin/sendmail -C/etc/mail/submit.cf -oem -oi" . Don't use -C, sendmail doesn't like that. (see man sendmail and doc/op/op.*) > -r-xr-sr-x 1 root smmsp 606532 Aug 1

  1   2   >