Re: touchpad input driver: testing needed

2017-08-09 Thread J . A . Neitzel
Ulf Brosziewski  wrote:

> Hi Jeff,
> 
> thanks for the test and the report.  I'm pleased with the
> result, of course.  But there is a strange thing in
> the wsconsctl output:  The touchpad reports its vertical
> but not its horizontal resolution.  By itself, that's no
> problem if the ratio of X and Y units is - exactly or
> nearly - 1:1.  However, if the ratio is much smaller or
> higher, it distorts the angles in the input-output mapping,
> and under certain circumstances - slightly diagonal
> movements with moderate speed - it may cause sine-wave-like
> cursor paths in the output.  If you notice something like
> that, could you inform me about it?

Hmmm well...  I sure haven't notice anything like that, but if
I do, I'll certainly let you know.  On the bright side, your
driver functions better on my hardware than the synaptics one.

For example, it recognizes my finger movements, scrolling, and tapping
with more certainty and less force.  That's a win in my book =)

> Thanks again,
> Ulf

Sure thing; the thanks goes both ways; Jeff

> On 08/06/2017 04:20 PM, J.A. Neitzel wrote:
> > Hello,
> > 
> > The outputs from 'dmesg' and 'wsconsctl | grep mouse' on my
> > Dell Inspiron 5567 follow:
> > 
> > % dmesg
> > OpenBSD 6.1-current (GENERIC.MP) #34: Tue Aug  1 18:56:18 MDT 2017
> > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 8389611520 (8000MB)
> > avail mem = 8128987136 (7752MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xe9ca0 (93 entries)
> > bios0: vendor Dell Inc. version "1.0.2" date 09/09/2016
> > bios0: Dell Inc. Inspiron 5567
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT BOOT SSDT HPET SSDT 
> > UEFI SSDT LPIT SSDT SSDT DBGP DBG2 MSDM SSDT SLIC DMAR TPM2
> > acpi0: wakeup devices PXSX(S4) RP09(S4) PXSX(S4) RP10(S4) PXSX(S4) RP11(S4) 
> > PXSX(S4) RP12(S4) PXSX(S4) RP13(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) 
> > PXSX(S4) RP03(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712.00 MHz
> > cpu0: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> > cpu0: 256KB 64b/line 8-way L2 cache
> > cpu0: TSC frequency 271200 Hz
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 24MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> > cpu1 at mainbus0: apid 2 (application processor)
> > cpu1: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712.00 MHz
> > cpu1: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> > cpu1: 256KB 64b/line 8-way L2 cache
> > cpu1: smt 0, core 1, package 0
> > cpu2 at mainbus0: apid 1 (application processor)
> > cpu2: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712.00 MHz
> > cpu2: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> > cpu2: 256KB 64b/line 8-way L2 cache
> > cpu2: smt 1, core 0, package 0
> > cpu3 at mainbus0: apid 3 (application processor)
> > cpu3: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz, 2712.00 MHz
> > cpu3: 
> > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PT,SENSOR,ARAT
> > cpu3: 256KB 64b/line 8-way L2 cache
> > cpu3: smt 1, core 1, package 0
> > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 120 pins
> > acpimcfg0 at acpi0 addr 0xe000, bus 0-255
> > acpihpet0 

Re: how to know the state of the dd's progression

2017-08-09 Thread Nick Holland
On 08/09/17 17:09, Gregor Best wrote:
> Send a SIGINFO to dd.

which ever so nicely is IN THE MAN PAGE.

Nick.



Re: touchpad input driver: testing needed

2017-08-09 Thread Ulf Brosziewski
On 08/10/2017 01:47 AM, Ulf Brosziewski wrote:
> On 08/09/2017 02:12 PM, Matthias Schmidt wrote:
>> Hi,
>>
>>
>> * Marcus MERIGHI wrote:
>>> Hello, 
>>>
>>> just as Josh I have a X220 which works fine, thanks!
>>>
>>> notes: two-finger-scrolling has changed; it takes a little more to
>>> start scrolling; it scrolls a little slower; it stops scrolling
>>> instantly when I lift my fingers (formerly, if I scrolled with a swing
>>> and then released the touchpad it kept scrolling and slowed down slowly,
>>> unless I tapped the touchpad).
>>
>> Same HW here and all works as excepted.  Interestingly my touchpad keeps
>> scrolling when I lift my fingers.
>>
> 
> Hi,
> 
> are you sure that this isn't just Firefox trying to catch up
> with your inputs?  I may actually look like the "coasting" feature.

  s/I may/It may/

> 
> Thanks for the feedback,
> Ulf
> 
>> $ doas  wsconsctl | grep 'mouse'
>> wsconsctl: Use explicit arg to view keyboard.map.
>> mouse.type=synaptics
>> mouse.rawmode=0
>> mouse.scale=1472,5472,1408,4448,0,75,129
>> mouse.tp.tapping=0
>> mouse.tp.scaling=0.183
>> mouse.tp.swapsides=0
>> mouse.tp.disable=0
>> mouse1.type=ps2
>>
>> Cheers
>>
>>  Matthias
>>
>> OpenBSD 6.1-current (GENERIC.MP) #52: Tue Aug  8 23:36:00 MDT 2017
>> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> RTC BIOS diagnostic error 80
>> real mem = 17041059840 (16251MB)
>> avail mem = 16518242304 (15753MB)
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
>> bios0: vendor LENOVO version "8DET56WW (1.26 )" date 12/01/2011
>> bios0: LENOVO 4290W1B
>> acpi0 at bios0: rev 2
>> acpi0: sleep states S0 S3 S4 S5
>> acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA 
>> SSDT SSDT DMAR UEFI UEFI UEFI
>> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
>> EHC2(S3) HDEF(S4)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpihpet0 at acpi0: 14318179 Hz
>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.28 MHz
>> cpu0: 
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
>> cpu0: 256KB 64b/line 8-way L2 cache
>> cpu0: TSC frequency 2492279720 Hz
>> cpu0: smt 0, core 0, package 0
>> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
>> cpu0: apic clock running at 99MHz
>> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
>> cpu1 at mainbus0: apid 1 (application processor)
>> cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
>> cpu1: 
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
>> cpu1: 256KB 64b/line 8-way L2 cache
>> cpu1: smt 1, core 0, package 0
>> cpu2 at mainbus0: apid 2 (application processor)
>> cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
>> cpu2: 
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
>> cpu2: 256KB 64b/line 8-way L2 cache
>> cpu2: smt 0, core 1, package 0
>> cpu3 at mainbus0: apid 3 (application processor)
>> cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
>> cpu3: 
>> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
>> cpu3: 256KB 64b/line 8-way L2 cache
>> cpu3: smt 1, core 1, package 0
>> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
>> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
>> acpiec0 at acpi0
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus -1 (PEG_)
>> acpiprt2 at acpi0: bus 2 (EXP1)
>> acpiprt3 at acpi0: bus 3 (EXP2)
>> acpiprt4 at acpi0: bus -1 (EXP4)
>> acpiprt5 at acpi0: bus 13 (EXP5)
>> acpiprt6 at acpi0: bus -1 (EXP7)
>> acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
>> acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
>> acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
>> acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
>> acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
>> acpitz0 at acpi0: critical temperature is 99 degC
>> acpibtn0 at acpi0: LID_
>> 

Re: touchpad input driver: testing needed

2017-08-09 Thread Ulf Brosziewski
On 08/09/2017 02:12 PM, Matthias Schmidt wrote:
> Hi,
> 
> 
> * Marcus MERIGHI wrote:
>> Hello, 
>>
>> just as Josh I have a X220 which works fine, thanks!
>>
>> notes: two-finger-scrolling has changed; it takes a little more to
>> start scrolling; it scrolls a little slower; it stops scrolling
>> instantly when I lift my fingers (formerly, if I scrolled with a swing
>> and then released the touchpad it kept scrolling and slowed down slowly,
>> unless I tapped the touchpad).
> 
> Same HW here and all works as excepted.  Interestingly my touchpad keeps
> scrolling when I lift my fingers.
> 

Hi,

are you sure that this isn't just Firefox trying to catch up
with your inputs?  I may actually look like the "coasting" feature.

Thanks for the feedback,
Ulf

> $ doas  wsconsctl | grep 'mouse'
> wsconsctl: Use explicit arg to view keyboard.map.
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1472,5472,1408,4448,0,75,129
> mouse.tp.tapping=0
> mouse.tp.scaling=0.183
> mouse.tp.swapsides=0
> mouse.tp.disable=0
> mouse1.type=ps2
> 
> Cheers
> 
>   Matthias
> 
> OpenBSD 6.1-current (GENERIC.MP) #52: Tue Aug  8 23:36:00 MDT 2017
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error 80
> real mem = 17041059840 (16251MB)
> avail mem = 16518242304 (15753MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
> bios0: vendor LENOVO version "8DET56WW (1.26 )" date 12/01/2011
> bios0: LENOVO 4290W1B
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA 
> SSDT SSDT DMAR UEFI UEFI UEFI
> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.28 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: TSC frequency 2492279720 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus -1 (EXP4)
> acpiprt5 at acpi0: bus 13 (EXP5)
> acpiprt6 at acpi0: bus -1 (EXP7)
> acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
> acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
> acpitz0 at acpi0: critical temperature is 99 degC
> acpibtn0 at acpi0: LID_
> acpibtn1 at acpi0: SLPB
> "PNP0303" at acpi0 not configured
> "LEN0020" at acpi0 not configured
> "SMO1200" at acpi0 not configured
> acpibat0 at acpi0: BAT0 model "45N1029" serial 

Re: touchpad input driver: testing needed

2017-08-09 Thread Ulf Brosziewski

Hi,

thanks for testing and for these hints.  You are not the first
one who thinks that scrolling is a bit slow.  I will consider
increasing the default speed, but such a change would need some
checks because the speed is not uniform on different touchpads -
which is due to the fact that many models don't provide (reliable)
resolution values.

As to the initial delay before scrolling starts, I believe I can
do something about it - when I have time for that ;-)

There is no plan to add "coasting" to the features of the driver
("coasting" means that scrolling continues after the fingers have
been lifted).  I made a somewhat sketchy implementation in a
prototype, but I have the impression that it is not very popular
and not as essential as some other things.

On 08/09/2017 01:01 PM, Marcus MERIGHI wrote:
> Hello, 
> 
> just as Josh I have a X220 which works fine, thanks!
> 
> notes: two-finger-scrolling has changed; it takes a little more to
> start scrolling; it scrolls a little slower; it stops scrolling
> instantly when I lift my fingers (formerly, if I scrolled with a swing
> and then released the touchpad it kept scrolling and slowed down slowly,
> unless I tapped the touchpad).
> 
> Former synclient settings:
> 
> syndaemon -i 0.75 -t -K -d -R
> synclient TapButton1=1
> 
> I like tapping, so I enabled it (mouse.tp.tapping=1).
> 
> Thanks, Marcus
> 
> wsconsctl:
> 
> mouse.type=synaptics
> mouse.rawmode=0
> mouse.scale=1472,5472,1408,4448,0,75,129
> mouse.tp.tapping=1
> mouse.tp.scaling=0.183
> mouse.tp.swapsides=0
> mouse.tp.disable=0
> mouse1.type=ps2
> 
> dmesg:
> 
> OpenBSD 6.1-current (GENERIC.MP) #49: Mon Aug  7 22:06:26 MDT 2017
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error 80
> real mem = 4156157952 (3963MB)
> avail mem = 4023840768 (3837MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries)
> bios0: vendor LENOVO version "8DET73WW (1.43 )" date 10/12/2016
> bios0: LENOVO 4290N49
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA 
> SSDT SSDT DMAR UEFI UEFI UEFI
> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
> EHC2(S3) HDEF(S4)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.66 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: TSC frequency 2691663210 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 1, core 0, package 0
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.25 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 0, core 1, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus -1 (EXP4)
> acpiprt5 at acpi0: bus 13 (EXP5)
> acpiprt6 at acpi0: bus 14 (EXP7)
> acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 

Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Rupert Gallagher
The dns still fails RFC1912 (ptr).

Sent from ProtonMail Mobile

On Wed, Aug 9, 2017 at 6:39 PM, Walter Alejandro Iglesias  
wrote:

> Hello Rupert, In article you wrote: > 
> https://www.dnsinspect.com/roquesor.com/10171765 Try the link again. The 
> reason it showed false results was because dnsinspect.com IP was blocked in 
> my pf firewall. I have a script to detect hacking attempts in my port 25 and 
> block those IPs automatically. Thanks for your help anyways. And sorry if I 
> didn't answer you before. lhvy93s=@protonmail.com>

Re: how to know the state of the dd's progression

2017-08-09 Thread Gregor Best
Send a SIGINFO to dd.

-- 
Gregor



Re: how to know the state of the dd's progression

2017-08-09 Thread Todd C. Miller
dd will display progress when it receives SIGINFO, usually bound
to the Control-T keypress.

 - todd



how to know the state of the dd's progression

2017-08-09 Thread Tuyosi T
hi all .

in Linux , i know it by

dd-progress.bat
---
while true
do
date
killall -USR1 dd
echo
echo
sleep 10
date
sleep 10
date
sleep 10
done
---

what about in OpenBSD ?
-
regards


Re: Yubikey works on gpg1 but not gpg2

2017-08-09 Thread joe di castro
Hi Carolyn,

I had the same behavior when I tried this on -current but it was working well 
as supposed on -stable

Thus, my first thought was that the current version of the GnuPG 2 package was 
the culprit, but to be sure I tried to see if I could access the smartcard to 
discard first the drivers. So I installed the pcsc-tools package and tried to 
scan the smartcard:

  $ pcsc_scan
  PC/SC device scanner
  ...
  SCardEstablishContext: Service not available.

Now the error was clear, the pcscd daemon wasn't running. The solution was 
easy, enable it and start it:

  # rcctl enable pcscd
  # rcctl start pcscd

And that's it! You need the ccid and pcsc-tools packages installed in order to 
use a smartcard.

P.S. Anyway, both of us could have saved time and troubles if we had read the 
readme file of the package in 

  /usr/local/share/doc/pkg-readmes

where exactly this is explained and also there is an example with a Yubikey. My 
bad, I'm starting with OpenBSD coming from a looong time on Linux  and I don't 
know all the OB' bolts and nuts yet ;)

Regards,



El 7 de agosto de 2017 7:09:32 CEST, Carolyn Saunders  
escribió:
>I have a Yubikey that I'd like to use for gpg and ssh purposes. Running
>"gpg --card-status" works as expected; it brings up the various keys
>attached to the device and other information. However, running "gpg2
>--card-status" just hangs, seemingly forever. What am I missing here?
>Thanks :)



Re: What about some automated testing for X programs? Re: Libreoffice calc crash

2017-08-09 Thread Theo de Raadt
> As of today, what package testing is automated by anyone?

None.  So you can be first to do it...



Re: syspatch question

2017-08-09 Thread Bryan Harris
After reading this thread I wondered why haven't I gotten an update in a
while.  So I checked and syspatch -c show no output but found it had a 1
return code.  It turns out my URL in /etc/installurl was no longer a valid
mirror for some reason (didn't investigate, just fixed).  I suppose it's a
good idea to check the return code rather than
misinterpreting/misunderstanding an empty output.

On Wed, Aug 9, 2017 at 11:04 AM, Marko Cupać  wrote:

> On Tue, 8 Aug 2017 18:17:35 -0400
> Taylor Stearns  wrote:
>
> > On Tue, Aug 08, 2017 at 01:10:22PM -0400, tec...@protonmail.com wrote:
> > > I had this exact issue a few days ago, I just re-partitioned to a
> > > bigger size so not have to face the issue again as was a new install
> > > anyway. But, sure would be nice to see this added. Thanks
> > >
> > > > From: marko.cu...@mimar.rs
> > > > - at the moment of writing this, there are 025 patches. If
> > > > applying them all at once, they (perhaps needlessly) need quite
> > > > some space in /tmp (my mfs for /tmp is 256m, and it got filled
> > > > already at 012), as a result of (I guess)
> > > > deleting /tmp/syspatch.XX only after all the patches are
> > > > applied, or after /tmp gets filled up. Perhaps it is possible to
> > > > flush /tmp earlier in the process (maybe after each patch is
> > > > applied successfully)?
> >
> > Have you tried with -current? Here is a change from June that might be
> > what you're looking for:
> > https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/
> syspatch/syspatch.sh#rev1.108
>
> That's it, thank you. Also rev1.108 appears to work on 6.1-release
> without problems - I've just overwritten rev1.93 included in
> 6.1-release.
> --
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
>
> Marko Cupać
> https://www.mimar.rs/
>
>


Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Walter Alejandro Iglesias
Hello Rupert,

In article 

Re: vmd errors

2017-08-09 Thread Mike Larkin
On Sun, Aug 06, 2017 at 09:54:35PM +0200, Stephane HUC "PengouinBSD" wrote:
> $ doas pkill -9 vmd
> 
> $ doas vmd -dv
> startup
> webdev: started vm 3 successfully, tty /dev/ttyp7
> vionet queue notify - no space, dropping packet
> 
> $ doas vmctl start "webdev" -c -b bsd.rd -m 1024M -i 1 -d www.drive -d
> install61.fs
> vmctl: start vm command failed: Operation not permitted
> 

hm. doesn't seem to help much. Can you build with VMM_DEBUG (also make sure
to set vmm_debug=1 a few lines down from that) and send me the (lengthy)
output after it fails?

You can send it to me off-list if it's too big. You can get the output from
/var/log/messages.

-ml

> dmesg:
> OpenBSD 6.1 (GENERIC.MP) #19: Thu Aug  3 14:59:44 CEST 2017
> 
> rob...@syspatch-61-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8487264256 (8094MB)
> avail mem = 8225361920 (7844MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xec580 (74 entries)
> bios0: vendor Alienware version "A04" date 03/26/2015
> bios0: Alienware Alienware 13
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF!
> SLIC SSDT SSDT SSDT SSDT SSDT CSRT SSDT
> acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4)
> PEG2(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4)
> RP04(S4) RP05(S4) PEGP(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2398.34 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu0: 256KB 64b/line 8-way L2 cache
> cpu0: TSC frequency 2398343520 Hz
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2397.92 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu1: 256KB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2397.92 MHz
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu2: 256KB 64b/line 8-way L2 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2397.92 MHz
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,SENSOR,ARAT
> cpu3: 256KB 64b/line 8-way L2 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 40 pins
> acpimadt0: bogus nmi for apid 0
> acpimadt0: bogus nmi for apid 2
> acpimadt0: bogus nmi for apid 1
> acpimadt0: bogus nmi for apid 3
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG0)
> acpiprt2 at acpi0: bus -1 (PEG1)
> acpiprt3 at acpi0: bus -1 (PEG2)
> acpiprt4 at acpi0: bus -1 (RP01)
> acpiprt5 at acpi0: bus -1 (RP02)
> acpiprt6 at acpi0: bus 1 (RP03)
> acpiprt7 at acpi0: bus 2 (RP04)
> acpiprt8 at acpi0: bus 3 (RP05)
> acpiprt9 at acpi0: bus -1 (RP06)
> acpiprt10 at acpi0: bus -1 (RP07)
> acpiprt11 at acpi0: bus -1 (RP08)
> acpiec0 at acpi0: not present
> acpiec1 at acpi0
> acpicpu0 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C2(200@148 mwait.1@0x33), C1(1000@1 mwait.1), PSS
> acpipwrres0 at 

Re: syspatch question

2017-08-09 Thread Marko Cupać
On Tue, 8 Aug 2017 18:17:35 -0400
Taylor Stearns  wrote:

> On Tue, Aug 08, 2017 at 01:10:22PM -0400, tec...@protonmail.com wrote:
> > I had this exact issue a few days ago, I just re-partitioned to a
> > bigger size so not have to face the issue again as was a new install
> > anyway. But, sure would be nice to see this added. Thanks
> >   
> > > From: marko.cu...@mimar.rs
> > > - at the moment of writing this, there are 025 patches. If
> > > applying them all at once, they (perhaps needlessly) need quite
> > > some space in /tmp (my mfs for /tmp is 256m, and it got filled
> > > already at 012), as a result of (I guess)
> > > deleting /tmp/syspatch.XX only after all the patches are
> > > applied, or after /tmp gets filled up. Perhaps it is possible to
> > > flush /tmp earlier in the process (maybe after each patch is
> > > applied successfully)?  
> 
> Have you tried with -current? Here is a change from June that might be
> what you're looking for:
> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin/syspatch/syspatch.sh#rev1.108

That's it, thank you. Also rev1.108 appears to work on 6.1-release
without problems - I've just overwritten rev1.93 included in
6.1-release.
-- 
Before enlightenment - chop wood, draw water.
After  enlightenment - chop wood, draw water.

Marko Cupać
https://www.mimar.rs/



Re: touchpad input driver: testing needed

2017-08-09 Thread Marcus MERIGHI
open...@xosc.org (Matthias Schmidt), 2017.08.09 (Wed) 14:12 (CEST):
> * Marcus MERIGHI wrote:
> > notes: two-finger-scrolling has changed; it takes a little more to
> > start scrolling; it scrolls a little slower; it stops scrolling
> > instantly when I lift my fingers (formerly, if I scrolled with a swing
> > and then released the touchpad it kept scrolling and slowed down slowly,
> > unless I tapped the touchpad).
> 
> Same HW here and all works as excepted.  Interestingly my touchpad keeps
> scrolling when I lift my fingers.

Thanks for sharing! I've compared your wsconsctl/dmesg to mine and I see
no difference appart from mouse.tp.tapping. I set it to 0 but to no
avail. 

I use cwm(1) as window manager and test scrolling with iridium and
firefox on simple but lengthy web pages.

My attempts on finding reasons for the different behaviour below.

Thanks, Marcus

$ xinput --test /dev/wsmouse0

button press   5  # two-finger scroll down
button release 5 
button press   4  # two-finger scroll up
button release 4 

$ xset q

Keyboard Control:
  auto repeat:  onkey click percent:  0LED mask:  
  XKB indicators:
00: Caps Lock:   off01: Num Lock:off02: Scroll Lock: off
03: Shift Lock:  off04: Group 2: off05: Mouse Keys:  off
  auto repeat delay:  660repeat rate:  25
  auto repeating keys:  00fedbbf
fadfffdfe5ef


  bell percent:  50bell pitch:  400bell duration:  100
Pointer Control:
  acceleration:  2/1threshold:  0
Screen Saver:
  prefer blanking:  yesallow exposures:  yes
  timeout:  0cycle:  600
Colors:
  default colormap:  0x20BlackPixel:  0x0WhitePixel:  0xff
Font Path:
  
/usr/local/share/fonts/terminus/,/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/,built-ins
DPMS (Energy Star):
  Standby: 20Suspend: 60Off: 120
  DPMS is Enabled
  Monitor is On
Font cache:
  Server does not have the FontCache Extension

$ cat /etc/xorg.conf 
Section "InputClass"
Identifier "wsmouse touchpad"
Driver "ws"
MatchIsTouchpad "on"
EndSection

$ cat /var/log/Xorg.0.log

[ 59823.438] (WW) checkDevMem: failed to open /dev/xf86 and /dev/mem
(Operation not permitted)
Check that you have set 'machdep.allowaperture=1'
in /etc/sysctl.conf and reboot your machine
refer to xf86(4) for details
[ 59823.438]linear framebuffer access unavailable
[ 59823.445] (--) Using wscons driver on /dev/ttyC4
[ 59823.454] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 59823.454] X Protocol Version 11, Revision 0
[ 59823.454] Build Operating System: OpenBSD 6.1 amd64 
[ 59823.454] Current Operating System: OpenBSD dax.tor.at 6.1 GENERIC.MP#49 
amd64
[ 59823.454] Build Date: 07 August 2017  10:22:24PM
[ 59823.454]  
[ 59823.454] Current version of pixman: 0.34.0
[ 59823.454]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 59823.454] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 59823.454] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug  9 12:53:22 
2017
[ 59823.454] (==) Using config file: "/etc/xorg.conf"
[ 59823.454] (==) Using system config directory 
"/usr/X11R6/share/X11/xorg.conf.d"
[ 59823.454] (==) No Layout section.  Using the first Screen section.
[ 59823.454] (==) No screen section available. Using defaults.
[ 59823.454] (**) |-->Screen "Default Screen Section" (0)
[ 59823.454] (**) |   |-->Monitor ""
[ 59823.454] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 59823.454] (==) Disabling SIGIO handlers for input devices
[ 59823.454] (==) Automatically adding devices
[ 59823.454] (==) Automatically enabling devices
[ 59823.454] (==) Not automatically adding GPU devices
[ 59823.454] (==) Max clients allowed: 256, resource mask: 0x1f
[ 59823.455] (==) 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/
[ 59823.455] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 59823.455] (II) The server relies on wscons to provide the list of input 
devices.
If no devices become available, reconfigure wscons or disable 
AutoAddDevices.
[ 59823.455] (II) Loader magic: 0x14e3e0639000
[ 59823.455] (II) Module ABI versions:
[ 59823.455]X.Org ANSI C Emulation: 0.4
[ 59823.455]X.Org Video Driver: 20.0
[ 59823.455]X.Org XInput driver : 22.1
[ 59823.455]  

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?).






Re: touchpad input driver: testing needed

2017-08-09 Thread Matthias Schmidt
Hi,


* Marcus MERIGHI wrote:
> Hello, 
> 
> just as Josh I have a X220 which works fine, thanks!
> 
> notes: two-finger-scrolling has changed; it takes a little more to
> start scrolling; it scrolls a little slower; it stops scrolling
> instantly when I lift my fingers (formerly, if I scrolled with a swing
> and then released the touchpad it kept scrolling and slowed down slowly,
> unless I tapped the touchpad).

Same HW here and all works as excepted.  Interestingly my touchpad keeps
scrolling when I lift my fingers.

$ doas  wsconsctl | grep 'mouse'
wsconsctl: Use explicit arg to view keyboard.map.
mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1472,5472,1408,4448,0,75,129
mouse.tp.tapping=0
mouse.tp.scaling=0.183
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse1.type=ps2

Cheers

Matthias

OpenBSD 6.1-current (GENERIC.MP) #52: Tue Aug  8 23:36:00 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80
real mem = 17041059840 (16251MB)
avail mem = 16518242304 (15753MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (66 entries)
bios0: vendor LENOVO version "8DET56WW (1.26 )" date 12/01/2011
bios0: LENOVO 4290W1B
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2492.28 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2492279720 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2491.91 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus -1 (EXP7)
acpicpu0 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu1 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu2 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpicpu3 at acpi0: C3(350@104 io@0x415), C1(1000@1 halt), PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"LEN0020" at acpi0 not configured
"SMO1200" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "45N1029" serial76 type LION oem "LGC"
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout at acpivideo0 not configured
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2492 MHz: speeds: 2501, 2500, 2200, 2000, 1800, 1600, 
1400, 1200, 1000, 800 MHz
pci0 at mainbus0 

Re: nginx chroot with a proxy_pass unix socket

2017-08-09 Thread Stuart Henderson
On 2017-08-09, Maurizio De Magnis  wrote:
> server {
>   server_name myapp.com;
>   access_log /var/www/apps/my_app/logs/access.log;
>   error_log /var/www/apps/my_app/logs/error.log;
>   root /var/www/apps/my_app/current;
>   location / {
> proxy_pass http://unix:/var/www/apps/my_app/application.socket;

That seems wrong, why would you have http://unix:/...?

> Do you have any suggestions on how to implement a unix socket connection with 
> NGINX chroot enabled?

You may need to use the path inside the chroot (/apps/... rather than
/var/www/apps/...), especially if you reload rather than restart nginx
to reconfigure. But it might be simpler to just add symlinks so that
the path /var/www/whatever works whether you're inside or outside the
chroot:

cd /var/www
mkdir var
ln -s .. var/www 




How about to let this die?

2017-08-09 Thread Walter Alejandro Iglesias
Guys,

The issue was solved after the fist answer (Martijn van Duren's).

Everyone's opinions have been very useful.  But since this is not
OpenBSD related I propose to let it die.




Re: touchpad input driver: testing needed

2017-08-09 Thread Marcus MERIGHI
Hello, 

just as Josh I have a X220 which works fine, thanks!

notes: two-finger-scrolling has changed; it takes a little more to
start scrolling; it scrolls a little slower; it stops scrolling
instantly when I lift my fingers (formerly, if I scrolled with a swing
and then released the touchpad it kept scrolling and slowed down slowly,
unless I tapped the touchpad).

Former synclient settings:

syndaemon -i 0.75 -t -K -d -R
synclient TapButton1=1

I like tapping, so I enabled it (mouse.tp.tapping=1).

Thanks, Marcus

wsconsctl:

mouse.type=synaptics
mouse.rawmode=0
mouse.scale=1472,5472,1408,4448,0,75,129
mouse.tp.tapping=1
mouse.tp.scaling=0.183
mouse.tp.swapsides=0
mouse.tp.disable=0
mouse1.type=ps2

dmesg:

OpenBSD 6.1-current (GENERIC.MP) #49: Mon Aug  7 22:06:26 MDT 2017
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 80
real mem = 4156157952 (3963MB)
avail mem = 4023840768 (3837MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xdae9c000 (64 entries)
bios0: vendor LENOVO version "8DET73WW (1.43 )" date 10/12/2016
bios0: LENOVO 4290N49
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
SSDT DMAR UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EXP7(S4) EHC1(S3) 
EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.66 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: TSC frequency 2691663210 Hz
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.25 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 1, package 0
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz, 2691.26 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpiprt6 at acpi0: bus 14 (EXP7)
acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 99 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"LEN0020" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "45N1172" serial 13541 type LION oem "SANYO"
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
"PNP0C14" at acpi0 not configured
"PNP0C14" at acpi0 not configured
acpidock0 at acpi0: GDCK not docked (0)
acpivideo0 at acpi0: VID_
acpivout at acpivideo0 not configured
acpivideo1 at acpi0: VID_
cpu0: Enhanced SpeedStep 2691 MHz: speeds: 2701, 2700, 2400, 2200, 2000, 1800, 
1600, 1400, 1200, 1000, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 

Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Gareth Nelson
With all due respect, there's a legit question here - it's not just
"philosophical crap".

I believe people have already suggested ensuring DNS (including SPF records
etc) is properly setup too.

---
“Lanie, I’m going to print more printers. Lots more printers. One for
everyone. That’s worth going to jail for. That’s worth anything.” -
Printcrime by Cory Doctrow

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

On Wed, Aug 9, 2017 at 10:57 AM, Rupert Gallagher 
wrote:

> We reject tons of junk from static ISP-branded IPs with a broken or absent
> DNS. If one wants to serve their own email from their static IP, they
> should have the decency to serve their own authoritative DNS, instead of
> blaming the ISP or writing philosophical crap on mailing lists.
>
> Sent from ProtonMail Mobile
>
> On Wed, Aug 9, 2017 at 10:47 AM, Rui Ribeiro  wrote:
>
> > I would advise not assuming the email ISP will forward blindly all the
> email it gets. Back then years ago I ran an ISP, and the most strange ever
> support call I get was a competitor buying a modem of ours, and escalating
> a support call our email server was not forwarding *their* email. C: Well,
> our main server queue is full of messages and spam, and we just pointed our
> email server to yours to alleviate it...and it does not goes through
> ME: You know our central email server besides having anti-spam and grey
> listing, only forwards our own domain, right? (we had other email servers
> for corner cases, but it even then it would not fit their...special case)
> On 8 August 2017 at 22:39, Kevin Chadwick wrote: > I understand that given
> everyone uses gmail, hotmail or mail provided by > some multinational
> hosting service they assume mail coming from > residential connections
> cannot be other thing but spam sent from hacked > machines. But someone
> paying for a static IP in a residential > connection is the opposite case.
> When you have to deal with thousands > of users you resort to any trick you
> find on the Internet and start to > blindly blacklist all; this is a big
> servers problem. And the more > users you have to deal with the worse. On
> the contrary, from my part, I > have just a pair of personal addresses, so
> it's not a big deal for me to > audit my server and use more sane, less
> harmful and, overall, more > effective measures to filter spam and to
> prevent spam be sent from my > machine. And I think this is the direction
> everyone should point to > instead of resting day after day more and more
> on big companies for > everything. In general, everyone should tend to
> decentralize instead of > monopolize. The real problem is the passive
> attitude most people assume > in the use of the Internet (and life in
> general but I don't want to bore > you with cheap philosophy. :-)) > > > >
> > > Regards, > > > Thank you for your advice. > > > > +1, way more spam
> comes from universities and enterprise machines than > residential static
> ips with PTR records. It is not your error to fix. > > BTW Microsoft have
> their own SPF sign up thing but if I recall it was too > much hastle and
> maybe pay for. > > Keep ignoring those that suggest using your ISP, why
> would you send *all* > your mail through a likely untrustworthy mail
> system. > > Just accept that hotmail users often fish mail out of spam
> because the big > mail systems are crappy. > -- Regards, -- Rui Ribeiro
> Senior Linux Architect and Network Administrator ISCTE-IUL
> https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434 @gmail.com>


protonmail on misc@openbsd.org

2017-08-09 Thread Rupert Gallagher
A note to postmaster on the problem of folded quoted text and code in 
mime-attachment. It turns out that other mailing lists do not fold. The problem 
sems local to your list management software.

Sent from ProtonMail Mobile

nginx chroot with a proxy_pass unix socket

2017-08-09 Thread Maurizio De Magnis
Hello everybody, I’m on 6.1 and trying to configure NGINX.
I’m posting this issue here because it may be peculiar to OpenBSD but I know it 
could be more appropriate to post it on an NGINX specific mailing list.
Please let me know if I’m in topic.

I successfully installed NGINX (`$ doas pkg_add nginx`) and managed to setup a 
pure static vhost:


/etc/nginx/nginx.conf:
```
# ...
server {
  listen 80;
  server_name myapp.com;
  access_log /var/www/apps/my_app/logs/access.log;
  error_log /var/www/apps/my_app/logs/error.log;
  root /var/www/apps/my_app/current;
}
# ...
```

And it works just fine.

Then I tried to implement a reverse proxy with the `proxy_pass` directive 
toward a local Ruby-based application server (Puma, booting a Ruby app).

If I define a proxy_pass toward a TCP port then the requests correctly reach 
the application server but when I try to migrate the setup into a unix socket 
binding, then I get an error due to NGINX being chrooted.


/etc/nginx/nginx.conf:
```
# ...
server {
  server_name myapp.com;
  access_log /var/www/apps/my_app/logs/access.log;
  error_log /var/www/apps/my_app/logs/error.log;
  root /var/www/apps/my_app/current;
  location / {
proxy_pass http://unix:/var/www/apps/my_app/application.socket;
  }
}
# ...
```

/var/log/nginx/error.log:
```
2017/08/05 23:17:34 [crit] 58554#0: *5 connect() to 
unix:/var/www/apps/my_app/application.socket failed (2: No such file or 
directory) while connecting to upstream, client: 192.168.1.3, server: 
myapp.com, request: "GET / HTTP/1.1", upstream: 
"http://unix:/var/www/apps/my_app/application.socket:/;, host: “myapp.com"
```

```
$ ls -al /var/www
drwxr-xr-x  4 olistik  olistik  512 Aug  3 18:17 apps
drwxr-xr-x  3 www  www  512 Jul 16 22:48 htdocs
drwxr-xr-x  2 root daemon   512 Apr  1 21:38 run
drwx--  2 www  www  512 Jul 15 20:51 tmp
```

This is how I start the application server:

```
$ bundle exec puma --debug -v -e production -b 
unix:///var/www/apps/my_app/application.socket -v
Puma starting in single mode...
* Version 3.9.1 (ruby 2.4.1-p111), codename: Private Caller
* Min threads: 0, max threads: 16
* Environment: production
* Listening on unix:///var/www/apps/my_app/application.socket
Use Ctrl-C to stop
```

The only way I found to work around this issue is to disable NGINX chroot:

```
$ doas rcctl enable nginx
$ doas rcctl set nginx flags -u
$ doas rcctl restart nginx
```

But it’s not ideal to lose the isolation chroot gives.

Do you have any suggestions on how to implement a unix socket connection with 
NGINX chroot enabled?

Thank in advance,
olistik


Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Rupert Gallagher
We reject tons of junk from static ISP-branded IPs with a broken or absent DNS. 
If one wants to serve their own email from their static IP, they should have 
the decency to serve their own authoritative DNS, instead of blaming the ISP or 
writing philosophical crap on mailing lists.

Sent from ProtonMail Mobile

On Wed, Aug 9, 2017 at 10:47 AM, Rui Ribeiro  wrote:

> I would advise not assuming the email ISP will forward blindly all the email 
> it gets. Back then years ago I ran an ISP, and the most strange ever support 
> call I get was a competitor buying a modem of ours, and escalating a support 
> call our email server was not forwarding *their* email. C: Well, our main 
> server queue is full of messages and spam, and we just pointed our email 
> server to yours to alleviate it...and it does not goes through ME: You 
> know our central email server besides having anti-spam and grey listing, only 
> forwards our own domain, right? (we had other email servers for corner cases, 
> but it even then it would not fit their...special case) On 8 August 2017 at 
> 22:39, Kevin Chadwick wrote: > I understand that given everyone uses gmail, 
> hotmail or mail provided by > some multinational hosting service they assume 
> mail coming from > residential connections cannot be other thing but spam 
> sent from hacked > machines. But someone paying for a static IP in a 
> residential > connection is the opposite case. When you have to deal with 
> thousands > of users you resort to any trick you find on the Internet and 
> start to > blindly blacklist all; this is a big servers problem. And the more 
> > users you have to deal with the worse. On the contrary, from my part, I > 
> have just a pair of personal addresses, so it's not a big deal for me to > 
> audit my server and use more sane, less harmful and, overall, more > 
> effective measures to filter spam and to prevent spam be sent from my > 
> machine. And I think this is the direction everyone should point to > instead 
> of resting day after day more and more on big companies for > everything. In 
> general, everyone should tend to decentralize instead of > monopolize. The 
> real problem is the passive attitude most people assume > in the use of the 
> Internet (and life in general but I don't want to bore > you with cheap 
> philosophy. :-)) > > > > > > Regards, > > > Thank you for your advice. > > > 
> > +1, way more spam comes from universities and enterprise machines than > 
> residential static ips with PTR records. It is not your error to fix. > > BTW 
> Microsoft have their own SPF sign up thing but if I recall it was too > much 
> hastle and maybe pay for. > > Keep ignoring those that suggest using your 
> ISP, why would you send *all* > your mail through a likely untrustworthy mail 
> system. > > Just accept that hotmail users often fish mail out of spam 
> because the big > mail systems are crappy. > -- Regards, -- Rui Ribeiro 
> Senior Linux Architect and Network Administrator ISCTE-IUL 
> https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434 @gmail.com>

Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Rui Ribeiro
I would advise not assuming the email ISP will forward blindly all the
email it gets.

Back then years ago I ran an ISP, and the most strange ever support call I
get was a competitor buying a modem of ours, and escalating a support call
our email server was not forwarding *their* email.

C: Well, our main server queue is full of messages and spam, and we just
pointed our email server to yours to alleviate it...and it does not goes
through
ME: You know our central email server besides having anti-spam and grey
listing, only forwards our own domain, right? (we had other email servers
for corner cases, but it even then it would not fit their...special case)



On 8 August 2017 at 22:39, Kevin Chadwick  wrote:

> I understand that given everyone uses gmail, hotmail or mail provided by
> some multinational hosting service they assume mail coming from
> residential connections cannot be other thing but spam sent from hacked
> machines.  But someone paying for a static IP in a residential
> connection is the opposite case.  When you have to deal with thousands
> of users you resort to any trick you find on the Internet and start to
> blindly blacklist all; this is a big servers problem.  And the more
> users you have to deal with the worse.  On the contrary, from my part, I
> have just a pair of personal addresses, so it's not a big deal for me to
> audit my server and use more sane, less harmful and, overall, more
> effective measures to filter spam and to prevent spam be sent from my
> machine.  And I think this is the direction everyone should point to
> instead of resting day after day more and more on big companies for
> everything.  In general, everyone should tend to decentralize instead of
> monopolize.  The real problem is the passive attitude most people assume
> in the use of the Internet (and life in general but I don't want to bore
> you with cheap philosophy. :-))
>
>
> >
> > Regards,
>
>
> Thank you for your advice.
>
>
>
> +1, way more spam comes from universities and enterprise machines than
> residential static ips with PTR records. It is not your error to fix.
>
> BTW Microsoft have their own SPF sign up thing but if I recall it was too
> much hastle and maybe pay for.
>
> Keep ignoring those that suggest using your ISP, why would you send *all*
> your mail through a likely untrustworthy mail system.
>
> Just accept that hotmail users often fish mail out of spam because the big
> mail systems are crappy.
>



-- 
Regards,

--
Rui Ribeiro
Senior Linux Architect and Network Administrator
ISCTE-IUL
https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434


Re: possible YP faq-doc bug ?

2017-08-09 Thread harold felton
howdee ingo,

thank you...

On Tue, Aug 8, 2017 at 11:30 AM, Ingo Schwarze  wrote:

> Hi Harold,
>
> harold felton wrote on Tue, Aug 08, 2017 at 04:19:59AM -0700:
>
> > yp-server step 9: i think requires cmd '# rcctl enable ypserv'
> >   rather than just the file-listed to survive a reboot...
> > yp-client step 3: requires similar cmd '# rcctl enable ypbind'
> >   rather than just the file-listed...
>
> True, the FAQ was outdated in several respects, including these
> ones.  Thanks for reporting, i just updated it.

> while testing this, i seemed to find that checking quotas during
> > bootup with only ypbind (without ypserv) on my local machine
> > became locked-up...  hitting ^C while locked-up then would
> > immediately cause the normal done-message to appear...
>
> Right now, i have no idea what is going on in that repsect.
> I never used quotas, so i just fixed the easier parts.
>
> > as i said, i do not know much (about yp) and am still trying to
> > setup yp-password-changing - which seems to want a non-existent
> > yppasswdd (daemon) next ???
>
> That was deleted about two years ago:
>
> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/libexec/
> rpc.yppasswdd/Attic/Makefile
>
> Yours,
>   Ingo
>

the link was very amusing (yppasswdd = 'drunk spell test')  :-)

i did-not/do-not use or need quotas either, but it was setup
during my default-installation.   when i try this again in awhile,
if there is still a problem, i will let yall know...

i am mostly just testing/trying things on my local network
so i appreciate the time/effort that yall put into everything...

sincerely, harold.


What about some automated testing for X programs? Re: Libreoffice calc crash

2017-08-09 Thread tinkr
It would be worthwhile that someone set up a testing environment that 
automatically downloads and installs the latest OpenBSD and package versions, 
and runs these standard tasks through standard programs, as a way for users to 
be more spared from being the first to discover these bugs (and with the 
associated latency of taking a couple of days for someone to debug it, I guess 
normally this means the user will have no given-program for a couple of days).

Webdriver provides an API to operate a web browser, 
http://webdriver.io/api.html . I wonder what API is out there to operate X in a 
similar fashion.

Such a testing suite could send automated emails to bugs@ or misc@ .

I know failed builds are detected and reported in this way automatically today 
using, what's the name, the.. laundry build bot, which sends emails with the 
list of packages that don't build on a given architecture.

As of today, what package testing is automated by anyone?


>> I'm running -current snapshot dated Thu Aug  3 12:12:07 MDT 2017 with
>> libreoffice-5.2.7.2p5v0 and have been doing some heavy work in Calc for the
>> last hour without any issues.
>> 
> 
> Good to know it's seems ok on next snapshot. (I'm on -stable ont this
> machine).
> 
>> What exactly you mean by "write changes" and "validate"; just typing values
>> in a cell and pressing Enter to finish your entry? Does it happen on a
>> blank spreadsheet?
> 
> Just typing values in a cell ans finish entry, yes.
> 
> It doesn't happen in blank spreadsheet, only when I modify a cell.
> 
>> Do you have the user account set to the "staff" class, or somehow assigning
>> it a high datasize limit in login.conf?
> 
> Yes, I run libreoffice with this user.
> 
> -- 
> thuban

Re: Libreoffice calc crash

2017-08-09 Thread Thuban
> I'm running -current snapshot dated Thu Aug  3 12:12:07 MDT 2017 with
> libreoffice-5.2.7.2p5v0 and have been doing some heavy work in Calc for the
> last hour without any issues.
> 

Good to know it's seems ok on next snapshot. (I'm on -stable ont this
machine).

> What exactly you mean by "write changes" and "validate"; just typing values
> in a cell and pressing Enter to finish your entry? Does it happen on a
> blank spreadsheet?

Just typing values in a cell ans finish entry, yes.

It doesn't happen in blank spreadsheet, only when I modify a cell.

> Do you have the user account set to the "staff" class, or somehow assigning
> it a high datasize limit in login.conf?

Yes, I run libreoffice with this user.

-- 
thuban


signature.asc
Description: PGP signature


OpenBSDI 6.1 some Warnings when using OpenLDAP Tools

2017-08-09 Thread Markus Rosjat

Hi there,

this is more an info then a problem though since it seems to work.
When I use the slap tool like slapcat I get a size mismatch warning like 
this


slapcat:/usr/local/lib/libicuuc.so.12.0: 
/usr/local/lib/libicudata.so.12.0 : WARNING: symbol(icudt58_dat) size 
mismatch, relink your program



It's a fresh install from the ports so some of the maintainers might 
like to know that.


regards

--
Markus Rosjatfon: +49 351 8107223mail: ros...@ghweb.de

G+H Webservice GbR Gorzolla, Herrmann
Königsbrücker Str. 70, 01099 Dresden

http://www.ghweb.de
fon: +49 351 8107220   fax: +49 351 8107227

Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss! Before 
you print it, think about your responsibility and commitment to the 
ENVIRONMENT