Re: smtpd - does not send mails from daemon

2019-01-21 Thread Krzysztof Strzeszewski
I comment out 'match for any action "relay"' end it's ok :) thanks for
the help

W dniu 19.01.2019 o 12:46, Krzysztof Strzeszewski pisze:
> Hi,
>
> what is wrong?
>
> https://krzy.ch/p/smtpd_error.txt
>
> Why I do not receive this message? Why this message is "from=<>"? I have
> config "smtpd.conf" from man.
>
> _
> Krzych
>
>
>



smtpd - does not send mails from daemon

2019-01-19 Thread Krzysztof Strzeszewski
Hi,

what is wrong?

https://krzy.ch/p/smtpd_error.txt

Why I do not receive this message? Why this message is "from=<>"? I have
config "smtpd.conf" from man.

_
Krzych




Re: I can't make build stable 6.4

2018-12-23 Thread Krzysztof Strzeszewski
Tnx,

I have tried many times and on many cvs servers:

#--
rm -rf /usr/src/*

cd /usr
cvs -qd anon...@anoncvs.ca.openbsd.org:/cvs checkout -rOPENBSD_6_4 -P src

cd /usr/src
find . -type l -name obj | xargs rm
make cleandir
rm -rf /usr/obj/*
make obj
make build
#--


Krzych






W dniu 23.12.2018 o 02:45, Philip Guenther pisze:
> On Sat, Dec 22, 2018 at 10:29 AM Krzysztof Strzeszewski 
> wrote:
>
>> I change permission:
>>
>> chown build /usr/src/lib/libcrypto/obj/v3_info.o.d
>> chown build /usr/src/lib/libcrypto/obj/v3_info.po.d
>> chown build /usr/src/lib/libcrypto/obj/v3_info.so.d
>> chown build /usr/src/lib/libcrypto/obj/v3_purp.so.d
>>
>> end it's ok.
>>
>> it is a bug end 4 files have bad permission for user root instead build...
>>
> Many of us run builds and haven't seen this.  The source files for those
> have been around for over a decade and haven't been updated recently, so
> this wasn't source files updated in the middle of the builds.
>
> Without know the exact sequence of operations on this tree it would be hard
> to diagnose how this happened.
>
> "When in doubt, rm -rf /usr/obj/* before building"
>
> Philip Guenther
>



Re: I can't make build stable 6.4

2018-12-22 Thread Krzysztof Strzeszewski
Tnx,

I change permission:

chown build /usr/src/lib/libcrypto/obj/v3_info.o.d
chown build /usr/src/lib/libcrypto/obj/v3_info.po.d   
chown build /usr/src/lib/libcrypto/obj/v3_info.so.d
chown build /usr/src/lib/libcrypto/obj/v3_purp.so.d

end it's ok.


it is a bug end 4 files have bad permission for user root instead build...


Krzych


W dniu 22.12.2018 o 19:02, Edgar Pettijohn pisze:
> On Dec 22, 2018 9:00 AM, Krzysztof Strzeszewski  wrote:
>> Hi,
>>
>> I can't "make build" stable 6.4. What iswrong?
>>
>>
>> #
>>
>> P  -MD -MP  -c /usr/src/lib/libcrypto/x509v3/v3_info.c -o v3_info.o
>> error: error opening 'v3_info.o.d': Permission denied
> Your user couldn't open the above file.
>
>> 1 error generated.
>> *** Error 1 in lib/libcrypto (:41 'v3_info.o': @cc -O2 -pipe
>> -g -Wall -Wundef -Werror -DLIBRESSL_INTERNAL -DDSO_DLFCN -DHAVE_DLF...)
>> *** Error 1 in lib (:48 'all')
>> *** Error 1 in . (Makefile:90 'do-build')
>> *** Error 1 in /usr/src (Makefile:74 'build')
>>
>> #
>>
>>
>>
>> Krzych
>>
>>
>



I can't make build stable 6.4

2018-12-22 Thread Krzysztof Strzeszewski
Hi,

I can't "make build" stable 6.4. What iswrong?


#

P  -MD -MP  -c /usr/src/lib/libcrypto/x509v3/v3_info.c -o v3_info.o
error: error opening 'v3_info.o.d': Permission denied
1 error generated.
*** Error 1 in lib/libcrypto (:41 'v3_info.o': @cc -O2 -pipe
-g -Wall -Wundef -Werror -DLIBRESSL_INTERNAL -DDSO_DLFCN -DHAVE_DLF...)
*** Error 1 in lib (:48 'all')
*** Error 1 in . (Makefile:90 'do-build')
*** Error 1 in /usr/src (Makefile:74 'build')

#



Krzych




f86OpenWScons: cannot open /dev/ttyC4 (Permission denied)

2018-11-12 Thread Krzysztof Strzeszewski

Hi,

why I can't run Xorg?

My 10-radeon.conf:

--
#Section "OutputClass"

#   Identifier "Radeon"
#   MatchDriver "radeon"
#   Driver "radeon"
#EndSection

Section "Device"
Identifier "intel device"
Driver "intel"
EndSection

--

I changed 10-radeon.conf, because when I have radeon, my log is writeing 
"no driver"



__
Regards,
Krzysztof Strzeszewski



[ 186.207] X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 186.207] X Protocol Version 11, Revision 0
[ 186.207] Build Operating System: OpenBSD 6.4 amd64 [ 186.207] Current 
Operating System: OpenBSD krzych 6.4 GENERIC.MP#436 amd64

[ 186.208] Build Date: 12 November 2018 12:20:38AM
[ 186.208] [ 186.208] Current version of pixman: 0.34.0
[ 186.208] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 186.208] Markers: (--) probed, (**) from config file, (==) default 
setting,

(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 186.209] (==) Log file: "/home/krzych/.local/share/xorg/Xorg.0.log", 
Time: Mon Nov 12 10:25:40 2018
[ 186.210] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"

[ 186.210] (==) No Layout section. Using the first Screen section.
[ 186.210] (==) No screen section available. Using defaults.
[ 186.210] (**) |-->Screen "Default Screen Section" (0)
[ 186.210] (**) | |-->Monitor ""
[ 186.210] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 186.210] (**) | |-->Device "intel device"
[ 186.210] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 186.210] (==) Automatically adding devices
[ 186.210] (==) Automatically enabling devices
[ 186.210] (==) Not automatically adding GPU devices
[ 186.211] (==) Max clients allowed: 256, resource mask: 0x1f
[ 186.211] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[ 186.211] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 186.211] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.

[ 186.211] (II) Loader magic: 0xf9721235000
[ 186.211] (II) Module ABI versions:
[ 186.211] X.Org ANSI C Emulation: 0.4
[ 186.211] X.Org Video Driver: 23.0
[ 186.211] X.Org XInput driver : 24.1
[ 186.211] X.Org Server Extension : 10.0
[ 186.211] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Permission denied)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[ 186.211] linear framebuffer access unavailable
[ 186.211] (II) LoadModule: "glx"
[ 186.214] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 186.219] (II) Module glx: vendor="X.Org Foundation"
[ 186.219] compiled for 1.19.6, module version = 1.0.0
[ 186.219] ABI class: X.Org Server Extension, version 10.0
[ 186.220] (II) LoadModule: "intel"
[ 186.221] (II) Loading /usr/X11R6/lib/modules/drivers/intel_drv.so
[ 186.321] (II) Module intel: vendor="X.Org Foundation"
[ 186.321] compiled for 1.19.6, module version = 2.99.916
[ 186.321] Module class: X.Org Video Driver
[ 186.321] ABI class: X.Org Video Driver, version 23.0
[ 186.322] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 186.322] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 186.322] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 186.322] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 
6200, P6300

[ 186.323] (EE) Fatal server error:
[ 186.323] (EE) xf86OpenWScons: cannot open /dev/ttyC4 (Permission 
denied)(EE) [ 186.323] (EE) Please consult the The X.Org Foundation 
support at http://wiki.x.org
for help. [ 186.323] (EE) Please also check the log file at 
"/home/krzych/.local/share/xorg/Xorg.0.log" for additional information.
[ 186.324] (EE) [ 186.333] (EE) Server terminated with error (1). 
Closing log file.




Re: kernel panic with cmp

2018-02-26 Thread Krzysztof Strzeszewski
Hardware was bad, now it's ok.


W dniu 17.02.2018 o 08:23, Krzysztof Strzeszewski pisze:
> Hi,
>
> I have kernel panic in OpenBSD 6.1 end 6.2 on the same machine. Command
> "cmp" is in my script , it starts every minute. When I don't use "cmp"
> command with my script, is ok. This kernel panic is after the last path
> of February 2, 2018. Kernel is default from upgrade.
>
>
> Links:
>
> #--
>
> https://nroot.pl/kernel/kernel_panic_openbsd_6.1.JPG
>
> https://nroot.pl/kernel/kernel_panic_openbsd_6.2.JPG
>
> https://nroot.pl/kernel/mem_test.JPG
>
> #--
>
>
> 
> Regards,
> Krzych
>
>
>



kernel panic with cmp

2018-02-17 Thread Krzysztof Strzeszewski
Hi,

I have kernel panic in OpenBSD 6.1 end 6.2 on the same machine. Command
"cmp" is in my script , it starts every minute. When I don't use "cmp"
command with my script, is ok. This kernel panic is after the last path
of February 2, 2018. Kernel is default from upgrade.


Links:

#--

https://nroot.pl/kernel/kernel_panic_openbsd_6.1.JPG

https://nroot.pl/kernel/kernel_panic_openbsd_6.2.JPG

https://nroot.pl/kernel/mem_test.JPG

#--



Regards,
Krzych




Fwd: Re: trunk0 link aggregation interface and PF rules not working

2017-12-30 Thread Krzysztof Strzeszewski



--- Treść przekazanej wiadomości ---
Temat:  Re: trunk0 link aggregation interface and PF rules not working
Data:   Sat, 30 Dec 2017 14:09:16 +0100
Nadawca:Krzysztof Strzeszewski <krz...@krzy.ch>
Adresat:Denis <den...@mindall.org>



link aggregation uses at the same time two interface, link failover
backup ones interface

W dniu 30.12.2017 o 13:15, Denis pisze:
> Trying to make aggregation using two wireless interfaces on OpenBSD 6.1
> amd64 but unsuccessful.
>
> Both wireless interfaces successfully connects to its networks and have
> DHCP assigned IP addresses.
> Both configs are listed below:
>
> $ cat /etc/hostname.iwn0
> dhcp bssid BSSID_MAC nwid NWID wpa wpakey WPAKEY wpaprotos wpa2
>
> $ cat /etc/hostname.athn0
> dhcp bssid BSSID_MAC1 nwid NWID1 wpa wpakey WPAKEY1 wpaprotos wpa2
>
> For trunk0 intefrace I have assigned different modes available while
> testing: failover, lacp, and loadbalance
>
> $cat /etc/hostname.trunk0
> trunkproto failover trunkport iwn0 trunkport athn0 192.168.20.1 netmask
> 255.255.255.0
> #trunkproto lacp trunkport iwn0 trunkport athn0 192.168.20.1 netmask
> 255.255.255.0
> #trunkproto loadbalance trunkport iwn0 trunkport athn0 192.168.20.1
> netmask 255.255.255.0
>
> By PF I set trunk0 as an egress interface in PF instead of previously
> used athn0 and iwn0 for outgoing traffic.
>
> #cat /etc/pf.conf
> 
> ext_iftrunk0
> #ext_ifathn0
> #ext_ifiwn0
> .
>
> $cat /etc/sysctl.conf
> 
> net.inet.ip.forwarding=1
> #net.inet.ip.mforwarding=1
> #net.inet.ip.multipath=1
> 
>
> No traffic goes over trunk0, but all perfectly works if I reverse my PF
> config to iwn0 or athn0 interfaces as egress ones.
>
> Please give an advice what I'm doing wrong.
>
> Thank you! 
>
>
>
>
>
>



Re: kernel panic i386

2017-10-14 Thread Krzysztof Strzeszewski
This is very interested "the kernel did non panic". Where is memcmp in 
sys? When I run bsd.rd end mount filesystem I can't find memcmp.



http://wklej.org/hash/e5591ccc88f/

.
.
.
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
uvm_fault(0xd0c230c0, 0xd0f2f000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at  memcmp+0x11:    repe cmpsl  (%esi),%es:(%edi)


ddb> show panic
the kernel did not panic

ddb> trace
memcmp(d3182800,681,9,1b) at memcmp+0x11
k7_powernow_init(d31810c0,d0ec2f08,d022931e,d0c70730,d0a217fd) at 
k7_powernow_i

nit+0xf8
amd_family6_setperf_setup(d0c70730) at amd_family6_setperf_setup+0x1c
mainbus_attach(0,d31810c0,0) at mainbus_attach+0x15e
config_attach(0,d0c0335c,0,0) at config_attach+0x184
config_rootfound(d09cb92c,0) at config_rootfound+0xc0
cpu_configure(944dfcd2,ec,ecf000,0,d02004ce) at cpu_configure+0x29
main(0,0,0,0,0) at main+0x478
ddb>




Regards,
Krzych


W dniu 14.10.2017 o 11:58, Philip Guenther pisze:
On Fri, Oct 13, 2017 at 12:21 PM, Krzysztof Strzeszewski 
<krz...@krzy.ch <mailto:krz...@krzy.ch>> wrote:


When I upgrade 6.1 to 6.2 in my futro s400 i have kernel panic.


It's unfortunate that no one has submitted to dm...@openbsd.org 
<mailto:dm...@openbsd.org> the dmesg from that hardware since February 
2016.  Please consider doing so every time you upgrade your kernel, so 
that we have a record of what is working.


 ...

cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
uvm_fault(0xd0c589b0, 0xd0f32000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      memcmp+0x11:    repe cmpsl (%esi),%es:(%edi)
ddb>


https://www.openbsd.org/ddb.html

Without a backtrace, all we can see is that a copy operation in the 
kernel faulted, with no indication of *which* copy operation did so.



Philip Guenther





Re: kernel panic i386

2017-10-14 Thread Krzysztof Strzeszewski

I changed only name kernel :)


W dniu 14.10.2017 o 01:13, Mike Larkin pisze:

On Fri, Oct 13, 2017 at 09:21:37PM +0200, Krzysztof Strzeszewski wrote:

Hi,
When I upgrade 6.1 to 6.2 in my futro s400 i have kernel panic.


Try 6.1 stock kernel and see if that works. Then at least we know if we
introduced a regression.

Nobody knows (or cares) what NROOT is.

-ml




http://wklej.org/hash/e590382de31/

boot>
booting hd0a:/bsd: 8154312+2282500+166852+0+1097728
[680614+82+489520+501323]=0xcc233c
entry point at 0x2000d4

[ using 1671996 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
 The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.2 (GENERIC) #163: Tue Oct  3 19:51:20 MDT 2017
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2
cache) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,MPC,MMXX,3DNOW2,3DNOW
real mem  = 1039613952 (991MB)
avail mem = 1005654016 (959MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 02/14/07, BIOS32 rev. 0 @ 0xfaa30, SMBIOS rev.
2.2 @ 0xf (31 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00PG Rev. 4.00.0H"
date 02/14/2007
bios0: FUJITSU SIEMENS FUTRO S400
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) AMR0(S4)
UAR1(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: PWRB
"PNP0401" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
bios0: ROM list: 0xc/0xc000 0xcc000/0x4000! 0xd/0x1000
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
uvm_fault(0xd0c589b0, 0xd0f32000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at  memcmp+0x11:repe cmpsl  (%esi),%es:(%edi)
ddb>







http://wklej.org/hash/e590382de31/

# dmesg
OpenBSD 6.1-stable (NROOT) #12: Fri Oct 13 17:15:13 CEST 2017
 krz...@nroot.pl:/usr/src/sys/arch/i386/compile/NROOT
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2
cache) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,MPC,MMXX,3DNOW2,3DNOW
real mem  = 1039613952 (991MB)
avail mem = 1006993408 (960MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 05/14/08, BIOS32 rev. 0 @ 0xfaa30, SMBIOS rev.
2.2 @ 0xf (31 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00PG Rev. 4.00.0Q"
date 05/14/2008
bios0: FUJITSU SIEMENS FUTRO S400
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) AMR0(S4) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: PWRB
"PNP0C0B" at acpi0 not configured
bios0: ROM list: 0xc/0xc000 0xcc000/0x4000! 0xd/0x1800
0xd2000/0x1000
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: PowerNow! K7 1001 MHz: speeds: 1000 800 667 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 741 PCI" rev 0x03
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xe800, size 0x400
ppb0 at pci0 dev 1 function 0 "SiS 86C202 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 741: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 4,
version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 3,
version 1.0, legacy support
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 7
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "SiS EHCI root hub" rev
2.00/1.00 

kernel panic i386

2017-10-13 Thread Krzysztof Strzeszewski

Hi,
When I upgrade 6.1 to 6.2 in my futro s400 i have kernel panic.



http://wklej.org/hash/e590382de31/

boot>
booting hd0a:/bsd: 8154312+2282500+166852+0+1097728
[680614+82+489520+501323]=0xcc233c
entry point at 0x2000d4

[ using 1671996 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2017 OpenBSD. All rights reserved.
https://www.OpenBSD.org

OpenBSD 6.2 (GENERIC) #163: Tue Oct  3 19:51:20 MDT 2017
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2
cache) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,MPC,MMXX,3DNOW2,3DNOW
real mem  = 1039613952 (991MB)
avail mem = 1005654016 (959MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 02/14/07, BIOS32 rev. 0 @ 0xfaa30, SMBIOS rev.
2.2 @ 0xf (31 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00PG Rev. 4.00.0H"
date 02/14/2007
bios0: FUJITSU SIEMENS FUTRO S400
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) AMR0(S4)
UAR1(S5) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: PWRB
"PNP0401" at acpi0 not configured
"PNP0C0B" at acpi0 not configured
bios0: ROM list: 0xc/0xc000 0xcc000/0x4000! 0xd/0x1000
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
uvm_fault(0xd0c589b0, 0xd0f32000, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at  memcmp+0x11:repe cmpsl  (%esi),%es:(%edi)
ddb>







http://wklej.org/hash/e590382de31/

# dmesg
OpenBSD 6.1-stable (NROOT) #12: Fri Oct 13 17:15:13 CEST 2017
krz...@nroot.pl:/usr/src/sys/arch/i386/compile/NROOT
cpu0: AMD Athlon(tm) Processor ("AuthenticAMD" 686-class, 256KB L2
cache) 1.01 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,MPC,MMXX,3DNOW2,3DNOW
real mem  = 1039613952 (991MB)
avail mem = 1006993408 (960MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 05/14/08, BIOS32 rev. 0 @ 0xfaa30, SMBIOS rev.
2.2 @ 0xf (31 entries)
bios0: vendor Phoenix Technologies, LTD version "6.00PG Rev. 4.00.0Q"
date 05/14/2008
bios0: FUJITSU SIEMENS FUTRO S400
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices USB0(S5) USB1(S5) USB2(S5) USB3(S5) AMR0(S4) PCI0(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: PWRB
"PNP0C0B" at acpi0 not configured
bios0: ROM list: 0xc/0xc000 0xcc000/0x4000! 0xd/0x1800
0xd2000/0x1000
cpu0 at mainbus0: (uniprocessor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: PowerNow! K7 1001 MHz: speeds: 1000 800 667 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "SiS 741 PCI" rev 0x03
sisagp0 at pchb0
agp0 at sisagp0: aperture at 0xe800, size 0x400
ppb0 at pci0 dev 1 function 0 "SiS 86C202 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "SiS 6330 VGA" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25
pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 741: DMA,
channel 0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 57231MB, 117210240 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: irq 4,
version 1.0, legacy support
ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: irq 3,
version 1.0, legacy support
ehci0 at pci0 dev 3 function 3 "SiS 7002 USB" rev 0x00: irq 7
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "SiS EHCI root hub" rev
2.00/1.00 addr 1
em0 at pci0 dev 7 function 0 "Intel 82546EB" rev 0x01: irq 10, address
00:11:0a:5b:69:e8
em1 at pci0 dev 7 function 1 "Intel 82546EB" rev 0x01: irq 11, address
00:11:0a:5b:69:e9
re0 at pci0 dev 9 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB
(0x1000), irq 15, address 00:90:dc:06:37:7d
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 3
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: 

Re: cannot send mail

2017-10-08 Thread Krzysztof Strzeszewski

Hi,
see this:

-

https://www.openbsd.org/faq/upgrade62.html

*smtpd.conf.* The secure keyword is not valid anymore in listen 
directives in smtpd.conf(5) 
<https://man.openbsd.org/OpenBSD-6.2/smtpd.conf>. Users are advised to 
replace existing listen secure directives with two separate tls and 
smtps listeners, i.e., a line like


  listen on $iface secure pki $pki

has to be replaced with

  listen on $iface tls pki $pki
  listen on $iface smtps pki $pki

Relaying syntax is not affected by this change.
-
end
-
--- Treść przekazanej wiadomości ---
Temat:  Re: opensmtpd
Data:   Tue, 24 Nov 2015 17:32:01 +0100
Nadawca:Gianluca D.Muscelli <i...@gianlucamuscelli.it>
Adresat:    Krzysztof Strzeszewski <krzyc...@gmail.com>, misc@openbsd.org



This is my config file…with Maildir /var/mail/ and DKIMproxy

$ cat /etc/mail/smtpd.conf
queue compression
queue encryption key xxx ->(your_key_numbers)

table aliases db:/etc/mail/aliases.db
table domains file:/etc/mail/domains
table users file:/etc/mail/users
table blacklist-recipients file:/etc/mail/blacklist-recipients

pki mail.gianlucamuscelli.it key "/etc/ssl/private/mail.example.it.key"
pki mail.gianlucamuscelli.it certificate "/etc/ssl/mail.example.it.crt"

max-message-size 50M
  
listen on egress pki mail.example.it tls-require hostname example.it

listen on egress pki mail.example.it smtps auth hostname example.it

accept from any \
recipient ! \
for domain  \
virtual  \
deliver to maildir "/var/mail/%{user.username}/Inbox"
accept \
recipient ! \
for local alias  \
deliver to maildir "/var/mail/%{user.username}/Inbox"

listen on lo0 hostname example.it
listen on lo0 port 10028 tag DKIM hostname example.it

accept tagged DKIM \
for any \
relay \
hostname example.it
accept from local \
for any \
relay via smtp://127.0.0.1:10027


Gianluca D.Muscelli
i...@gianlucamuscelli.it
-----

Regards,
Krzych

Il giorno 24/nov/2015, alle ore 17:13, Krzysztof Strzeszewski 
<krzyc...@gmail.com> ha scritto:


Hello,

when I use in smtpd.conf:
.
..
...
listen on egress secure pki nroot.pl auth 
...
..
.

mail sending to me can't reach:

smtp-in: Failed command on session 14529d46237222d5: "MAIL
FROM:<t...@gmail.com> SIZE=1599" =>530 5.5.1 Invalid command: Must issue
an AUTH command first


when I use in smtpd.conf

.
..
...
listen on egress secure pki nroot.pl
...
..
.


is ok, mail from world can reach to me, but then smtpd server is open
for send mail for each.
How to use auth for only sending mail from my client?


Regards,
Krzych


my smtpd.conf:
#
listen on lo0

table aliases db:/etc/mail/aliases.db
table secrets db:/etc/mail/secrets.db
pki exaple.com certificate "/etc/ssl/mail.crt"
pki exaple.com key "/etc/ssl/private/mail.key"

listen on egress secure pki exaple.com auth 
accept from any for domain "exaple.com" alias  deliver to maildir

accept for local alias  userbase  deliver to maildir
accept from local for any relay
accept from any for any relay
#





W dniu 08.10.2017 o 23:16, Timothy Marion pisze:

Hi All,

I am able to receive mail but I cannot send mail. Could anyone point me in
the right direction?

Thanks,

Tim

# $OpenBSD: smtpd.conf,v 1.9 2016/05/03 18:43:45 jung Exp $


pki jupiter.timothymarion.com certificate "/etc/letsencrypt/live/
www.timothymarion.com/fullchain.pem"
pki jupiter.timothymarion.com key "/etc/letsencrypt/live/
www.timothymarion.com/privkey.pem"

table aliases file:/etc/mail/aliases

listen on all

accept from any for domain "timothymarion.com" alias deliver to mbox
accept for local alias deliver to mbox
accept from local for any relay


/var/log/mailog

Oct 8 23:04:50 jupiter smtpd[21640]: 0cd1353692397daf smtp event=connected
address=14.177.236.10 host=static.vnpt.vn
Oct 8 23:04:51 jupiter smtpd[21640]: 0cd1353692397daf smtp
event=failed-command address=14.177.236.10 host=static.vnpt.vn
command="AUTH LOGIN" result="503 5.5.1 Invalid command: Command not
supported"
Oct 8 23:04:51 jupiter smtpd[21640]: 0cd1353692397daf smtp event=closed
address=14.177.236.10 host=static.vnpt.vn reason=quit>br>





log up or down interface end change physical address

2017-09-21 Thread Krzysztof Strzeszewski

Hi,

How to log up or down (connect or not connect cable) interface end 
change physical address on OpenBSD?



--
Regards,
Krzysztof Strzeszewski



Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Krzysztof Strzeszewski

Your ISP must delete ip from sorbs.net,..:

http://www.dnsbl.info/dnsbl-database-check.php


Krzysztof Strzeszewski

W dniu 06.08.2017 o 16:51, Walter Alejandro Iglesias pisze:

Hello everyone,

I was using smtpd(8) (static IP and FQDN resolving direct and reverse)
for a year without problems.  Today sending from my server (from the
same address I'm using now) to gmail and hotmail they answered the
following (MAILER-DAEMON answer).

Sending to gmail addresses:

   *@gmail.com: 550-5.7.1 [185.37.212.61] The IP you're using to send
   mail is not authorized to send email directly to our servers.  Please
   use the SMTP relay at your service provider instead. Learn more at
   https://support.google.com/mail/?p=NotAuthorizedError
   e1si6736354wra.236 - gsmtp

Sending to hotmail:

   *@hotmail.com: 550 DY-001 (SNT004-MC3F42) Unfortunately, messages from
   185.37.212.61 weren't sent. Please contact your Internet service
   provider. You can tell them that Hotmail does not relay
   dynamically-assigned IP ranges. You can also refer your provider to
   http://mail.live.com/mail/troubleshooting.aspx#errors.


On the hotmail link above the explanaition for code DY-001 is:

   Mail rejected by Outlook.com for policy reasons. We generally do not
   accept email from dynamic IP's as they are not typically used to
   deliver unauthenticated SMTP email to an Internet mail server. If you
   are not an email/network admin please contact your Email/Internet
   Service Provider for help. http://www.spamhaus.org maintains lists of
   dynamic and residential IP addresses.

It doesn't happen with yahoo.

I visited spamhaus.org site and found out my IP is included in a list
called PBL that, as they  explain is not a spammers list, it just
includes dynamic and "non mail server IP ranges".

Does someone here know what is "non mail server IP ranges" about?  Or,
how could my static IP could be taken as dynamic (some DNS faliure at my
ISP end?).






after update imput/output error when I run terminal

2017-07-30 Thread Krzysztof Strzeszewski

Hi

I update openbsd 6.1-current end is error. When I update, when I run 
terminal imput/output error on xfce.



Krzysztof Strzeszewski



Re: gpu for desktop

2017-06-27 Thread Krzysztof Strzeszewski

Thanks for ansver,

I buyed ATI Radeon HD 8490 end is ok.

http://wklej.org/hash/c4ef1b0fe36/

#- 
# dmesg |grep Radeon cpu0: AMD A4-6320 APU with Radeon(tm) HD Graphics, 
3793.53 MHz cpu1: AMD A4-6320 APU with Radeon(tm) HD Graphics, 3793.11 
MHz radeondrm0 at pci1 dev 0 function 0 "ATI Radeon HD 8490" rev 0x00 
azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 6400 Audio" rev 0x00: 
msi # # dmesg |grep ERROR # dmesg |grep error

#-


Krzych






On 06/23/17 17:58, Mike Coddington wrote:

On Fri, Jun 23, 2017 at 02:14:26PM +0200, Krzysztof Strzeszewski wrote:

Hello,

how to bay good GPU card pcie for desktop OpenBSD with hardware
acceleration?

Krzych

In addition to the useful advice that Elke gave, I'll recommend this:
Radeon HD 6450

I just bought one of these this week to finish building an OpenBSD
desktop. It's ~$40, fanless, and works great on OpenBSD. My goal was to
keep the entire computer under $100, so your mileage may vary. I will
say that this specific card works great.







Fwd: gpu for desktop

2017-06-23 Thread Krzysztof Strzeszewski

Sorry, bay/buy



 Forwarded Message 
Subject:gpu for desktop
Date:   Fri, 23 Jun 2017 14:14:26 +0200
From:   Krzysztof Strzeszewski <krz...@krzy.ch>
To: misc@openbsd.org



Hello,

how to bay good GPU card pcie for desktop OpenBSD with hardware 
acceleration?


Krzych


gpu for desktop

2017-06-23 Thread Krzysztof Strzeszewski

Hello,

how to bay good GPU card pcie for desktop OpenBSD with hardware 
acceleration?


Krzych


Re: qt creator Abort trap (core dumped)

2017-02-24 Thread Krzysztof Strzeszewski
Hi, thank you for your answer,

Yes, my version is old:

# pkg_info |grep qt
qt-creator-1.3.1p7  cross-platform IDE for use with Qt
qt4-4.8.7p10C++ X11 GUI toolkit

I add new version from ports, end is ok:)



Regards,
Krzysztof Strzeszewski



On 17.02.2017 21:50, Caspar Schutijser wrote:
> Hi,
> 
> On Fri, Feb 17, 2017 at 06:50:37PM +0100, Krzysztof Strzeszewski wrote:
>> I have OpenBSD 6.0 current:
>>
>> # uname -a
>> OpenBSD krzych 6.0 GENERIC.MP#170 amd64
>>
>>
>> $ qtcreator
>> pthread_mutex_destroy on mutex with waiters!
>> pthread_mutex_destroy on mutex with waiters!
>> pthread_mutex_destroy on mutex with waiters!
>> pthread_mutex_destroy on mutex with waiters!
>> pthread_mutex_destroy on mutex with waiters!
>> QSharedPointer: pointer 0x1686143f4b00 already has reference counting
>> Abort trap (core dumped)
>> $
>>
>> When I run qtcreator end when I try to create any project I got an error
>> (Abort trap (core dumped)).
> 
> I'm pretty sure that's the output and behavior I saw when running the
> old qt-creator (version 1.3.1). Is that indeed the version of qt-creator
> that's installed on your computer right now?
> 
> Last december, qt-creator in the ports tree was updated to version
> 4.1.0 (which should solve these problems) but since then, I have not
> seen a qt-creator package on the mirrors. So that would explain why you
> still have version 1.3.1 on your system.
> 
> Does anybody now why qt-creator 4.1.0 doesn't show up on the mirrors?
> Does it fail to build on the ports machines? On my machine, I built the
> package successfully a couple of times.
> 
> Best regards,
> Caspar Schutijser



qt creator Abort trap (core dumped)

2017-02-17 Thread Krzysztof Strzeszewski
Hi,

I have OpenBSD 6.0 current:

# uname -a
OpenBSD krzych 6.0 GENERIC.MP#170 amd64


$ qtcreator
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
pthread_mutex_destroy on mutex with waiters!
QSharedPointer: pointer 0x1686143f4b00 already has reference counting
Abort trap (core dumped)
$

When I run qtcreator end when I try to create any project I got an error
(Abort trap (core dumped)).


Regards,
Krzysztof Strzeszewski



Re: vmm use only one core but 100%

2016-12-30 Thread Krzysztof Strzeszewski
ompaq iLO" rev 0x03 at pci13 dev 4 function 2 not configured
uhci4 at pci13 dev 4 function 4 "Hewlett-Packard USB" rev 0x00: apic 8
int 22
"Hewlett-Packard IPMI" rev 0x00 at pci13 dev 4 function 6 not configured
usb1 at uhci4: USB revision 1.0
uhub1 at usb1 "Hewlett-Packard UHCI root hub" rev 1.00/1.00 addr 1
pcib0 at pci0 dev 31 function 0 "Intel 82801JIB LPC" rev 0x00
pciide0 at pci0 dev 31 function 2 "Intel 82801JI SATA" rev 0x00: DMA,
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 8 int 17 for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <TEAC, DV-28S-W, C.2C> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 0 bytes
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vmm0 at mainbus0: VMX/EPT
uhidev0 at uhub1 port 1 configuration 1 interface 0 "HP Virtual
Keyboard" rev 1.10/0.02 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
uhidev1 at uhub1 port 1 configuration 1 interface 1 "HP Virtual
Keyboard" rev 1.10/0.02 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
sd3 at scsibus4 targ 1 lun 0: <OPENBSD, SR RAID 1, 006> SCSI2 0/direct fixed
sd3: 139978MB, 512 bytes/sector, 286676560 sectors
root on sd3a (a4754617f1d17698.a) swap on sd3b dump on sd3b
bnx0: address d8:d3:85:fe:25:3c
brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx1: address d8:d3:85:fe:25:3e
brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx2: address d8:d3:85:fe:25:40
brgphy2 at bnx2 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx3: address d8:d3:85:fe:25:42
brgphy3 at bnx3 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
error: [drm:pid0:r100_cp_init_microcode] *ERROR* radeon_cp: Failed to
load firmware "radeon-r100_cp"
error: [drm:pid0:r100_cp_init] *ERROR* Failed to load firmware!
drm:pid0:r100_startup *ERROR* failed initializing CP (-2).
drm:pid0:r100_init *ERROR* Disabling GPU acceleration
radeondrm0: 1024x768
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
vcpu_run_vmx: unimplemented exit type 1 (external interrupt)
vcpu_run_vmx: unimplemented exit type 1 (external interrupt)
qemu-system-x86_(83897): mprotect W^X violation
#



On 30.12.2016 16:37, Reyk Floeter wrote:
> The 100% CPU has been fixed a while ago.
> 
> You should at least show a dmesg of the host.
> 
>>
>> Hi,
>>
>> I run VMM end it uses only a single core but 100%. What I do bad?
>>
>>
>> my /etc/vm.conf
>> #--
>> sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
>>
>> vm "vm1.vm" {
>>memory 512M
>>kernel "/bsd.rd"
>>disk "/vm1.img"
>>interfaces 1
>> }
>> #--
>>
>>
>> my /etc/rc.conf.local
>> #--
>> apmd_flags="-A"
>> vmd_flags=
>> #--
>>
>>
>>
>> Regards,
>> Krzysztof Strzeszewski



vmm use only one core but 100%

2016-12-30 Thread Krzysztof Strzeszewski
Hi,

I run VMM end it uses only a single core but 100%. What I do bad?


my /etc/vm.conf
#--
sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"

vm "vm1.vm" {
memory 512M
kernel "/bsd.rd"
disk "/vm1.img"
interfaces 1
}
#--


my /etc/rc.conf.local
#--
apmd_flags="-A"
vmd_flags=
#------



Regards,
Krzysztof Strzeszewski



Re: whats wrong with me?

2015-12-01 Thread Krzysztof Strzeszewski
Sorry, I'm beginner. I konow, my message was not logical.


uname -a:
#
OpenBSD hostname 5.8 GENERIC#0 i386
#


virtual server in httpd.conf:
#
server "hostname" {
listen on * port 80
listen on * tls port 443
log { access "access.log", error "error.log" }
tls { certificate "/etc/ssl/server.crt" key 
"/etc/ssl/private/server.key" }
root "/htdocs/hostname"
}
#


port 80 end 443 is open:
# netstat -a |grep http
#
tcp 0   0   localhost.https *.* LISTEN
tcp 0   0   *.https *.* LISTEN
#


in firefox:
#
Secure Connection Falied

An error occurred during a connection to my_domain. Cannot communicate
securely whih peer: no common encryption algorithm(s). (Error code:
ssl_error_no_cypher_overlap)
#


in log from httpd:
#
httpd: could not parse macro definition SSL
httpd[21336]: server_tls_init: failed to configure TLS - failed to read
private key: Operation not supported by device
#----




Krzysztof Strzeszewski



On 30.11.2015 22:31, Alexander Salmin wrote:
> On 2015-11-30 20:52, Krzysztof Strzeszewski wrote:
>> Hi,
>> whats wrong?:
>>
>> httpd: could not parse macro definition SSL
>> httpd[21336]: server_tls_init: failed to configure TLS - failed to read
>> private key: Operation not supported by device
>>
>>
>> Krzysztof Strzeszewski
> Hey Krzysztof,
> 
> Two reasons why you did not receive much feedback on this.
> - You did not supply OpenBSD version (uname -a) so we can't replicate
> with same version.
> - You did not provide httpd.conf(8) so we can't replicate your exact setup.
> 
> A key to good free online OpenBSD support is to; "Always provide as much
> information as possible. Try to pin-point the exact problem. Give clear
> instructions on how to reproduce the problem. Try to describe the
> problem with as much accuracy and non-confusing terminology as possible,
> especially if it is not easy to reproduce." //
> http://www.openbsd.org/report.html
> 
> Continue to fail this and the world will just lead to sadness and despair.
> 
> Alexander



whats wrong

2015-11-30 Thread Krzysztof Strzeszewski
Hi,
whats wrong?:

httpd: could not parse macro definition SSL
httpd[21336]: server_tls_init: failed to configure TLS - failed to read
private key: Operation not supported by device


Krzysztof Strzeszewski



Re: opensmtpd

2015-11-25 Thread Krzysztof Strzeszewski
Tnx very much for an answer, your smtpd.conf is very good:)

Krzysztof Strzeszewski
krz...@krzy.ch


On 24.11.2015 17:32, Gianluca D.Muscelli wrote:
> This is my config file…with Maildir /var/mail/ and DKIMproxy
> 
> $ cat /etc/mail/smtpd.conf
> queue compression
> queue encryption key xxx ->(your_key_numbers)
> 
> table aliases db:/etc/mail/aliases.db
> table domains file:/etc/mail/domains
> table users file:/etc/mail/users
> table blacklist-recipients file:/etc/mail/blacklist-recipients
> 
> pki mail.gianlucamuscelli.it key "/etc/ssl/private/mail.example.it.key"
> pki mail.gianlucamuscelli.it certificate "/etc/ssl/mail.example.it.crt"
> 
> max-message-size 50M
>   
> listen on egress pki mail.example.it tls-require hostname example.it
> listen on egress pki mail.example.it smtps auth hostname example.it
> 
> accept from any \
> recipient ! \
> for domain  \
> virtual  \
> deliver to maildir "/var/mail/%{user.username}/Inbox"
> accept \
> recipient ! \
> for local alias  \
> deliver to maildir "/var/mail/%{user.username}/Inbox"
> 
> listen on lo0 hostname example.it
> listen on lo0 port 10028 tag DKIM hostname example.it
> 
> accept tagged DKIM \
> for any \
> relay \
> hostname example.it
> accept from local \
> for any \
>     relay via smtp://127.0.0.1:10027
> 
> 
> Gianluca D.Muscelli
> i...@gianlucamuscelli.it
> 
> Il giorno 24/nov/2015, alle ore 17:13, Krzysztof Strzeszewski 
> <krzyc...@gmail.com> ha scritto:
> 
>> Hello,
>>
>> when I use in smtpd.conf:
>> .
>> ..
>> ...
>> listen on egress secure pki nroot.pl auth 
>> ...
>> ..
>> .
>>
>> mail sending to me can't reach:
>>
>> smtp-in: Failed command on session 14529d46237222d5: "MAIL
>> FROM:<t...@gmail.com> SIZE=1599" =>530 5.5.1 Invalid command: Must issue
>> an AUTH command first
>>
>>
>> when I use in smtpd.conf
>>
>> .
>> ..
>> ...
>> listen on egress secure pki nroot.pl
>> ...
>> ..
>> .
>>
>>
>> is ok, mail from world can reach to me, but then smtpd server is open
>> for send mail for each.
>> How to use auth for only sending mail from my client?
>>
>>
>> Regards,
>> Krzych
>>
>>
>> my smtpd.conf:
>> #
>> listen on lo0
>>
>> table aliases db:/etc/mail/aliases.db
>> table secrets db:/etc/mail/secrets.db
>> pki exaple.com certificate "/etc/ssl/mail.crt"
>> pki exaple.com key "/etc/ssl/private/mail.key"
>>
>> listen on egress secure pki exaple.com auth 
>> accept from any for domain "exaple.com" alias  deliver to maildir
>>
>> accept for local alias  userbase  deliver to maildir
>> accept from local for any relay
>> accept from any for any relay
>> #



Re: opensmtpd

2015-11-24 Thread Krzysztof Strzeszewski
Yes,
I don't want auth for other mail servers, I wan't to only authorization
for sening mail from my server mail.


On 24.11.2015 17:19, Jason Barbier wrote:
> read the man page a bit more carfully around how the auth keyword works.
> you probably dont want auth on that line.



opensmtpd

2015-11-24 Thread Krzysztof Strzeszewski
Hello,

when I use in smtpd.conf:
.
..
...
listen on egress secure pki nroot.pl auth 
...
..
.

mail sending to me can't reach:

smtp-in: Failed command on session 14529d46237222d5: "MAIL
FROM: SIZE=1599" =>530 5.5.1 Invalid command: Must issue
an AUTH command first


when I use in smtpd.conf

.
..
...
listen on egress secure pki nroot.pl
...
..
.


is ok, mail from world can reach to me, but then smtpd server is open
for send mail for each.
How to use auth for only sending mail from my client?


Regards,
Krzych


my smtpd.conf:
#
listen on lo0

table aliases db:/etc/mail/aliases.db
table secrets db:/etc/mail/secrets.db
pki exaple.com certificate "/etc/ssl/mail.crt"
pki exaple.com key "/etc/ssl/private/mail.key"

listen on egress secure pki exaple.com auth 
accept from any for domain "exaple.com" alias  deliver to maildir

accept for local alias  userbase  deliver to maildir
accept from local for any relay
accept from any for any relay
#



Opensmtpd+user forom "table baseuser"

2015-09-30 Thread Krzysztof Strzeszewski
Hi,
I add in my smtpd.conf:

table users file:/path/to/file
accept userbase 

but smtpd get users from local system:

"getpwnam:  -> 0"

what is wrong?


Regards,
Krzych



OpenSMTPD + mysql users (no baseuser system)

2015-09-15 Thread Krzysztof Strzeszewski
Hi,
How to configure smtpd.conf for users from mysql or other file .db?

Regards,
Krzysztof Strzeszewski



unbound

2014-09-19 Thread Krzysztof Strzeszewski

Hi,

I want add my global domain in my serwer dns unbound... How to do? I 
don't add local domain:


local-data: example.com 10800 IN A local_IP

but I want add mu global domain end record A for public_IP in global 
network.


I konw how add my domain in named(bind):

zone example.com {
type master;
file example.com.hosts;
allow-update { none; };
allow-transfer { 111.111.111.111; };
notify yes;
};

end add record A in example.com.hosts.



but I don't konw add in unbount



I greet
Krzych



uvm_fault

2014-05-01 Thread Krzysztof Strzeszewski

Hi,
I have a problem with my GPU. When I run command startx:

uvm_fault(0xfe823cb0c468, 0x278, 0, 1) - e
kernel: page fault trap, code=0
Stopped at radeon_vm_bo_add+0xaa: movq 0x278(%r15), %rax


My dmesg:
http://wklej.org/id/1349083/
http://krzy.ch/dmesg


OpenBSD 5.5 (GENERIC.MP) #315: Wed Mar  5 09:37:46 MST 2014
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 7959404544 (7590MB)
avail mem = 7738912768 (7380MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xebf50 (18 entries)
bios0: vendor American Megatrends Inc. version P1.50 date 11/20/2013
bios0: ASRock FM2A55M-HD+
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT MCFG HPET AAFT SSDT SSDT CRAT SSDT
acpi0: wakeup devices PB2_(S4) PB3_(S4) PB4_(S4) PB5_(S4) PB6_(S4) 
PB7_(S4) SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) P0PC(S4) OHC1(S4) EHC1(S4) 
OHC2(S4) EHC2(S4) OHC3(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 16 (boot processor)
cpu0: AMD A4-6320 APU with Radeon(tm) HD Graphics , 3793.63 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TBM,TOPEXT,ITSC,BMI1
cpu0: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu0: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.0.0.0.0, IBE
cpu1 at mainbus0: apid 17 (application processor)
cpu1: AMD A4-6320 APU with Radeon(tm) HD Graphics , 3793.11 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,POPCNT,AES,XSAVE,AVX,F16C,NXE,MMXX,FFXSR,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,XOP,SKINIT,WDT,FMA4,TBM,TOPEXT,ITSC,BMI1
cpu1: 64KB 64b/line 2-way I-cache, 16KB 64b/line 4-way D-cache, 1MB 
64b/line 16-way L2 cache
cpu1: ITLB 48 4KB entries fully associative, 24 4MB entries fully 
associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 3 pa 0xfec0, version 21, 24 pins
acpimcfg0 at acpi0 addr 0xe000, bus 0-255
acpihpet0 at acpi0: 14318180 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PB2_)
acpiprt2 at acpi0: bus -1 (PB3_)
acpiprt3 at acpi0: bus -1 (PB4_)
acpiprt4 at acpi0: bus 1 (PB5_)
acpiprt5 at acpi0: bus -1 (PB6_)
acpiprt6 at acpi0: bus -1 (PB7_)
acpiprt7 at acpi0: bus 2 (P0PC)
acpiprt8 at acpi0: bus -1 (PE20)
acpiprt9 at acpi0: bus -1 (PE21)
acpiprt10 at acpi0: bus -1 (PE22)
acpiprt11 at acpi0: bus -1 (PE23)
acpicpu0 at acpi0: C2, PSS
acpicpu1 at acpi0: C2, PSS
acpibtn0 at acpi0: PWRB
acpivideo0 at acpi0: VGA_
acpivideo1 at acpi0: VGA_
cpu0: 3793 MHz: speeds: 3800 3400 3000 2600 2200 1800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 AMD AMD64 15/1xh Host rev 0x00
radeondrm0 at pci0 dev 1 function 0 ATI Radeon HD 8370D rev 0x00
drm0 at radeondrm0
radeondrm0: msi
azalia0 at pci0 dev 1 function 1 vendor ATI, unknown product 0x9902 
rev 0x00: msi

azalia0: no supported codecs
ppb0 at pci0 dev 5 function 0 AMD AMD64 15/1xh PCIE rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 Realtek 8168 rev 0x0b: RTL8168F/8111F 
(0x4800), msi, address bc:5f:f4:f3:1c:01

rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5
ahci0 at pci0 dev 17 function 0 AMD Hudson-2 SATA rev 0x40: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: ATA, SAMSUNG HD322HJ, 1AG0 SCSI3 
0/direct fixed naa.50024e92005724c6

sd0: 305245MB, 512 bytes/sector, 625142448 sectors
ohci0 at pci0 dev 18 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 
18, version 1.0, legacy support

ehci0 at pci0 dev 18 function 2 AMD Hudson-2 USB2 rev 0x11: apic 3 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 AMD EHCI root hub rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 AMD Hudson-2 USB rev 0x11: apic 3 int 
18, version 1.0, legacy support

ehci1 at pci0 dev 19 function 2 AMD Hudson-2 USB2 rev 0x11: apic 3 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 AMD Hudson-2 SMBus rev 0x14: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800
pciide0 at pci0 dev 20 function 1 AMD Hudson-2 IDE rev 0x00: DMA, 
channel 0 configured to compatibility, channel 1 configured to compatibility
azalia1 at pci0 dev 20 function 2 AMD Hudson-2 HD Audio rev 0x01: apic 
3 int 16

azalia1: codecs: