Re: Plausible deniable encryption

2012-12-19 Thread Nick Holland
On 12/19/12 00:50, Robert Connolly wrote:
 Assuming you have read what is out there, I have a technigur
 

and the margin was too small...



Re: Plausible deniable encryption

2012-12-19 Thread John Long
On Wed, Dec 19, 2012 at 07:04:49AM -0500, Nick Holland wrote:
 On 12/19/12 00:50, Robert Connolly wrote:
  Assuming you have read what is out there, I have a technigur
  
 
 and the margin was too small...

I think he could plausibly deny that...



Re: Plausible deniable encryption

2012-12-19 Thread Ariel Burbaickij
Or party vans are sent much earlier out nowadays

On Wed, Dec 19, 2012 at 1:04 PM, Nick Holland
n...@holland-consulting.netwrote:

 On 12/19/12 00:50, Robert Connolly wrote:
  Assuming you have read what is out there, I have a technigur
 

 and the margin was too small...



Can't back to command console after exit X-windows

2012-12-19 Thread livemoon
Hi, I installed 5.2 in my Fujitsu ph521 laptop. It use AMD Brazos E350. It
can use X-windows by radeon driver. But the problem is: when I exit my cwm,
the screen become white, and cannot back to console by type any key.
How to fix it?
Thanks!

--
Blog Site: livemoon.org
Twitter: mwjpiero
·Çµ­±¡ÎÞÒÔÃ÷Ö¾£¬·ÇÄþ¾²ÎÞÒÔÖÂÔ¶



snapshot: base52.tgz - clamav - Heuristics.Broken.Executable

2012-12-19 Thread MERIGHI Marcus
Hello, 

just wanted to let you know: -current base52.tgz is recognised by clamav
as Heuristics.Broken.Executable. This bit me on a squid-havp
installation while downloading snapshots.

Bye, Marcus

OpenBSD 5.2-current (GENERIC) #5: Wed Dec 12 23:33:03 MST 2012
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) 64 Processor 3500+ (AuthenticAMD 686-class, 512KB L2 
cache) 2.22 GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,SSE3,CX16,LAHF,SVM,EAPICSP,AMCR8
real mem  = 1055387648 (1006MB)
avail mem = 1027170304 (979MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 06/23/06, BIOS32 rev. 0 @ 0xf1f40, SMBIOS 
rev. 2.3 @ 0xf (52 entries)
bios0: vendor Phoenix Technologies, LTD version ASUS M2N8L ACPI BIOS Revision 
0203 date 06/23/2006
bios0: ASUSTek Computer INC. M2N8L
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP MCFG APIC
acpi0: wakeup devices HUB0(S5) USB0(S4) USB2(S4) AZAD(S5) MMAC(S5) MMCI(S5) 
UAR1(S5) PS2M(S4) PS2K(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xf000, bus 0-255
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 200MHz
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature is 75 degC
acpibtn0 at acpi0: PWRB
aibs0 at acpi0: RTMP RVLT RFAN
aibs0: FSIF: misformed package: 3/5, assume 5
bios0: ROM list: 0xc/0xec00 0xd/0x4000! 0xd4000/0x1000 0xd5000/0x1800
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
NVIDIA C51 Host rev 0xa2 at pci0 dev 0 function 0 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 1 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 2 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 3 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 4 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 5 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 6 not configured
NVIDIA C51 Memory rev 0xa2 at pci0 dev 0 function 7 not configured
vga1 at pci0 dev 5 function 0 NVIDIA GeForce 6150 rev 0xa2
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
NVIDIA MCP51 Host rev 0xa2 at pci0 dev 9 function 0 not configured
pcib0 at pci0 dev 10 function 0 NVIDIA MCP51 ISA rev 0xa3
nviic0 at pci0 dev 10 function 1 NVIDIA MCP51 SMBus rev 0xa3
iic0 at nviic0
adt0 at iic0 addr 0x2e: sch5017 rev 0x8a
spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5
spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5
iic1 at nviic0
NVIDIA MCP51 Memory rev 0xa3 at pci0 dev 10 function 2 not configured
ohci0 at pci0 dev 11 function 0 NVIDIA MCP51 USB rev 0xa3: apic 2 int 20, 
version 1.0, legacy support
ehci0 at pci0 dev 11 function 1 NVIDIA MCP51 USB rev 0xa3: apic 2 int 20
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
pciide0 at pci0 dev 13 function 0 NVIDIA MCP51 IDE rev 0xa1: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: WDC WD5000AAKB-00H8A0
wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 14 function 0 NVIDIA MCP51 SATA rev 0xa1: DMA
pciide1: using apic 2 int 20 for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: SAMSUNG SP0812C
wd1: 16-sector PIO, LBA48, 76351MB, 156368016 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
ppb0 at pci0 dev 16 function 0 NVIDIA MCP51 PCI-PCI rev 0xa2
pci1 at ppb0 bus 1
VIA VT6306 FireWire rev 0xc0 at pci1 dev 3 function 0 not configured
fxp0 at pci1 dev 9 function 0 Intel 8255x rev 0x0c, i82550: apic 2 int 16, 
address 00:02:b3:bc:1a:53
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
em0 at pci1 dev 14 function 0 Intel PRO/1000GT (82541GI) rev 0x05: apic 2 int 
17, address 00:1b:21:2a:14:ba
azalia0 at pci0 dev 16 function 1 NVIDIA MCP51 HD Audio rev 0xa2: apic 2 int 
20
azalia0: codecs: Realtek ALC861
audio0 at azalia0
nfe0 at pci0 dev 20 function 0 NVIDIA MCP51 LAN rev 0xa3: apic 2 int 20, 
address 00:17:31:92:e0:1e
nfe0: no PHY found!
pchb0 at pci0 dev 24 function 0 AMD AMD64 0Fh HyperTransport rev 0x00
pchb1 at pci0 dev 24 function 1 AMD AMD64 0Fh Address Map rev 0x00
pchb2 at pci0 dev 24 function 2 AMD AMD64 0Fh DRAM Cfg rev 0x00
kate0 at pci0 dev 24 function 3 AMD AMD64 0Fh Misc Cfg rev 0x00: core rev 
DH-F2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 

Re: snapshot: base52.tgz - clamav - Heuristics.Broken.Executable

2012-12-19 Thread Stuart Henderson
On 2012-12-19, MERIGHI Marcus mcmer-open...@tor.at wrote:
 Hello, 

 just wanted to let you know: -current base52.tgz is recognised by clamav
 as Heuristics.Broken.Executable. This bit me on a squid-havp
 installation while downloading snapshots.

I think this should be reported to ClamAV rather than OpenBSD.



Re: snapshot: base52.tgz - clamav - Heuristics.Broken.Executable

2012-12-19 Thread Francois Pussault
 
 From: Stuart Henderson s...@spacehopper.org
 Sent: Wed Dec 19 16:45:56 CET 2012
 To: misc@openbsd.org
 Subject: Re: snapshot: base52.tgz - clamav - Heuristics.Broken.Executable
 
 
 On 2012-12-19, MERIGHI Marcus mcmer-open...@tor.at wrote:
  Hello, 
 
  just wanted to let you know: -current base52.tgz is recognised by clamav
  as Heuristics.Broken.Executable. This bit me on a squid-havp
  installation while downloading snapshots.
 
 I think this should be reported to ClamAV rather than OpenBSD.
 

I also think so : Many anti-viral software find compressed binary file as 
Heuristics viruses.


Cordialement
Francois Pussault
3701 - 8 rue Marcel Pagnol
31100 Toulouse 
France 
+33 6 17 230 820   +33 5 34 365 269 
fpussa...@contactoffice.fr



ospf Linkstate unknown

2012-12-19 Thread Kapetanakis Giannis

Hi,

I'd like to ask why I get Linkstate unknown on interfaces em0/em1:

# ospfctl s i
Interface   AddressState  HelloTimer LinkstateUptime   
   nc  ac

gre0   zz.zz.zz.zz/32  P2P00:00:02   active04:34:441   1
em1xx.xx.xx.xx/24  DR 00:00:04 unknown  00:06:31
1   1
em0yy.yy.yy.yy/29  DR 00:00:01   unknown03w5d22h
1   1


# ospfctl s n
zz.zz.zz.zz1   FULL/P2P 00:00:32 zz.zz.zz.zz  gre0  
04:53:13
xx.xx.xx.xx1   FULL/BCKUP   00:00:35 xx.xx.xx.xx em1   
00:25:00
yy.yy.yy.yy1   FULL/BCKUP   00:00:31 yy.yy.yy.yy em0   
03w1d06h



em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 52:54:00:25:e7:a8
description: External
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet xx.xx.xx.x1 netmask 0xfff8 broadcast xx.xx.xx.xx
inet6 fe80::5054:ff:fe25:e7a8%em0 prefixlen 64 scopeid 0x1
inet xx.xx.xx.x2 netmask 0x


em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
lladdr 52:54:00:62:d4:cc
description: other VLAN24
priority: 0
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet yy.yy.yy.yy netmask 0xff00 broadcast yy.yy.yy.yy
inet6 fe80::5054:ff:fe62:d4cc%em1 prefixlen 64 scopeid 0x2

ospfd.conf:

router-id xx.xx.xx.x1
fib-update yes
stub router no
spf-delay 1
spf-holdtime 5

hello-interval 10
metric 1
retransmit-interval 5
router-dead-time 40
router-priority 1
transmit-delay 1

redistribute static
redistribute connected
...+ passwords

# CORE
area 0.0.0.0 {
   interface em0 {
  auth-type crypt
  auth-md $HER_core_id $core_pass
  auth-md-keyid $core_id
   }
}

# OTHER AREA
area 0.0.0.1 {
   stub
   interface em1 {
  auth-type crypt
  auth-md $HER_other_id $other_pass
  auth-md-keyid $other_id
   }
}

... other areas

regards,

Giannis



Re: snapshot: base52.tgz - clamav - Heuristics.Broken.Executable

2012-12-19 Thread Gregor Pintar
2012/12/19, MERIGHI Marcus mcmer-open...@tor.at:
 Hello,

 just wanted to let you know: -current base52.tgz is recognised by clamav
 as Heuristics.Broken.Executable. This bit me on a squid-havp
 installation while downloading snapshots.

http://www.clamav.net/lang/en/sendvirus/submit-fp/

Anti-virus software sucks.



Strange behaviour on OpenBSD 5.2 and usb disk

2012-12-19 Thread Marcos Laufer
This is a DL360G3 running OpenBSD 5.2 . I can't use a  WD My Passport 
USB disk, i get input/output error, here is what i got:

# dmesg 
OpenBSD 5.2 (GENERIC) #0: Fri Dec 14 23:58:18 ART 2012
root@private:/u/system/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.07 GHz
cpu0: 
FPU,V86,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,SBF,CNXT-ID,xTPR
real mem  = 3220738048 (3071MB)
avail mem = 3157274624 (3011MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, SMBIOS 
rev. 2.3 @ 0xec000 (42 entries)
bios0: vendor HP version P31 date 01/28/2004
bios0: HP ProLiant DL360 G3
acpi0 at bios0: rev 0
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP APIC SPCR
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 133MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PCI1)
acpiprt2 at acpi0: bus 4 (PCI2)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature is 31 degC
bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xee000/0x2000!
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ServerWorks CNB20-HE Host (GC-LE) rev 0x33
pchb1 at pci0 dev 0 function 1 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pchb2 at pci0 dev 0 function 2 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
pci1 at pchb2 bus 1
bge0 at pci1 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
(0x1002): apic 3 int 14, address 00:0f:20:96:8c:de
brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
vga1 at pci0 dev 3 function 0 ATI Rage XL rev 0x27
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ciss0 at pci0 dev 4 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01: apic 
3 int 15
ciss0: 1 LD, HW rev 1, FW 2.36/2.36
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.36 SCSI0 0/direct 
fixed
sd0: 17359MB, 512 bytes/sector, 35553120 sectors
Compaq iLO rev 0x01 at pci0 dev 5 function 0 not configured
Compaq iLO rev 0x01 at pci0 dev 5 function 2 not configured
piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
iic0 at piixpm0
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM registered ECC PC2100CL2.5
spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2100CL2.5
spdmem2 at iic0 addr 0x54: 1GB DDR SDRAM registered ECC PC2100CL2.5
spdmem3 at iic0 addr 0x56: 1GB DDR SDRAM registered ECC PC2100CL2.5
pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: TEQC0 0, TV=28E=C0 0 0 0, R.4F ATAPI 5/cdrom 
removable
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1
ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05: apic 2 
int 10, version 1.0, legacy support
pchb3 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
pchb4 at pci0 dev 17 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
pchb5 at pci0 dev 17 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
pci2 at pchb5 bus 4
bge1 at pci2 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
(0x1002): apic 3 int 13, address 00:0f:20:96:8c:e1
brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
mtrr: Pentium Pro MTRR support
umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My Passport 
0748 rev 2.10/10.15 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct fixed
sd1: 953837MB, 512 bytes/sector, 1953458176 sectors
ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure 
services fixed
ses0: unable to read enclosure configuration
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a 

Re: Can't back to command console after exit X-windows

2012-12-19 Thread Stefan Sperling
On Wed, Dec 19, 2012 at 10:55:47PM +0800, livemoon wrote:
 Hi, I installed 5.2 in my Fujitsu ph521 laptop. It use AMD Brazos E350. It
 can use X-windows by radeon driver. But the problem is: when I exit my cwm,
 the screen become white, and cannot back to console by type any key.
 How to fix it?
 Thanks!

This is a known problem with the radeon driver. It fails to properly
restore text mode. The problem isn't seen on Linux because on Linux the
radeon driver relies on kernel-mode switching. I.e. the Linux kernel
switches the graphics hardware back into text mode, instead of the radeon
driver doing it (which is known as user-mode switching). I am seeing this
problem also on a thinkpad x131e, which has an AMD E450.

To fix it, we'll need to either fix the broken user-mode VT switching
code written for newer radeon chips in the radeon driver (user-mode
switching code is not maintained anymore at x.org so they probably
won't fix it for us), or implement kernel mode switching in OpenBSD
which isn't trivial at all.



Re: Strange behaviour on OpenBSD 5.2 and usb disk

2012-12-19 Thread Kenneth R Westerback
On Wed, Dec 19, 2012 at 05:23:55PM -0300, Marcos Laufer wrote:
 This is a DL360G3 running OpenBSD 5.2 . I can't use a  WD My Passport 
 USB disk, i get input/output error, here is what i got:
 
 # dmesg 
 OpenBSD 5.2 (GENERIC) #0: Fri Dec 14 23:58:18 ART 2012
 root@private:/u/system/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.07 GHz
 cpu0: 
 FPU,V86,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,SBF,CNXT-ID,xTPR
 real mem  = 3220738048 (3071MB)
 avail mem = 3157274624 (3011MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, 
 SMBIOS rev. 2.3 @ 0xec000 (42 entries)
 bios0: vendor HP version P31 date 01/28/2004
 bios0: HP ProLiant DL360 G3
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S4 S5
 acpi0: tables DSDT FACP APIC SPCR
 acpi0: wakeup devices
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 133MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
 ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
 ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
 ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PCI1)
 acpiprt2 at acpi0: bus 4 (PCI2)
 acpicpu0 at acpi0
 acpitz0 at acpi0: critical temperature is 31 degC
 bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xee000/0x2000!
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 ServerWorks CNB20-HE Host (GC-LE) rev 0x33
 pchb1 at pci0 dev 0 function 1 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
 pchb2 at pci0 dev 0 function 2 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
 pci1 at pchb2 bus 1
 bge0 at pci1 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
 (0x1002): apic 3 int 14, address 00:0f:20:96:8c:de
 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
 vga1 at pci0 dev 3 function 0 ATI Rage XL rev 0x27
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ciss0 at pci0 dev 4 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01: 
 apic 3 int 15
 ciss0: 1 LD, HW rev 1, FW 2.36/2.36
 scsibus0 at ciss0: 1 targets
 sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.36 SCSI0 0/direct 
 fixed
 sd0: 17359MB, 512 bytes/sector, 35553120 sectors
 Compaq iLO rev 0x01 at pci0 dev 5 function 0 not configured
 Compaq iLO rev 0x01 at pci0 dev 5 function 2 not configured
 piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
 iic0 at piixpm0
 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM registered ECC PC2100CL2.5
 spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2100CL2.5
 spdmem2 at iic0 addr 0x54: 1GB DDR SDRAM registered ECC PC2100CL2.5
 spdmem3 at iic0 addr 0x56: 1GB DDR SDRAM registered ECC PC2100CL2.5
 pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus1 at atapiscsi0: 2 targets
 cd0 at scsibus1 targ 0 lun 0: TEQC0 0, TV=28E=C0 0 0 0, R.4F ATAPI 5/cdrom 
 removable
 cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1
 ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05: apic 2 
 int 10, version 1.0, legacy support
 pchb3 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
 pchb4 at pci0 dev 17 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
 pchb5 at pci0 dev 17 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
 pci2 at pchb5 bus 4
 bge1 at pci2 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
 (0x1002): apic 3 int 13, address 00:0f:20:96:8c:e1
 brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
 isa0 at mainbus0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 mtrr: Pentium Pro MTRR support
 umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My 
 Passport 0748 rev 2.10/10.15 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus2 at umass0: 2 targets, initiator 0
 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct 
 fixed
 sd1: 953837MB, 512 bytes/sector, 1953458176 sectors
 ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 13/enclosure 
 services fixed
 

Re: Panic at pmap_remove_ptes, 5.2/i386

2012-12-19 Thread Stuart Henderson
On 2012-12-18, Marcin mig...@gmail.com wrote:
 Today a member of my 2 machines firewall cluster running 5.2  panicked
 with following info (screenshot at http://tinypic.com/r/11t7nrl/6):

 panic: pmap_remove_ptes: unmanaged page marked PG_PVLIST, va =
 0x3c005000, pa = 0xf000

 The machine, along with its identical twin, runs a standard suite of:
 PF (including carp and pfsync), relayd and bgpd.
 It is the 5th panic since the cluster was commisioned over a week ago,
 all of them  happened in the same function pmap_remove_ptes.

 I found an older thread  with Stuart reporting similar issue here
 http://marc.info/?l=openbsd-techm=132593610913252

Frequent is kind-of good ;) I had a few crashes close together but
then nothing (and I've moved most of those boxes to amd64 by now).

It was suggested that I run with kern.pool_debug=1 (which will be
disabled by default on release kernels) and try the slow recycle
diff, I do not have a copy of that diff any more but somebody reading
might do.

Really you'll want some way to log DDB output (serial console
preferably, unless you are lucky and the dmesg buffer survives
a reboot) and at least run show all pools as well as the usual
trace / ps.

If you have a crash dump (look in /var/crash) that may possibly
be of use to someone too.



Re: snort inline

2012-12-19 Thread Justin Mayes
Another update in case there is any interest in running divert-packet along
with NATing. I ditched snort and wrote a little divert program based on the
man page to test easier. I can now see that with nat as well as
divert-packet on egress rule on external interface the packet will get
NATed and go out. A reply will come back to external interface and then get
diverted again and never make it to the client. I am as sure as I can be at
this point that you cannot divert packets from a NATed client.

Justin

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Justin 
Sent: Sunday, November 25, 2012 4:37 PM
To: misc@openbsd.org
Subject: Re: snort inline

Quick update. It seems to be a nat problem. If I just test by pinging either
the 192.168.1.32 interface or the 192.168.0.13 interface it works fine and
snort sees the packets. Its only when the traffic is NATed that it fails. 



-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Justin 
Sent: Saturday, November 24, 2012 2:21 PM
To: misc@openbsd.org
Subject: snort inline

Anyone running snort 2.9.3.1p0 in inline / IPS mode with 5.2 cuurent? From
what I read it's possible with pf divert functionality. 

This is what I'm doing for testing in pf using simple ping

 

Gateway info 

internal interface fxp0 - 192.168.1.32

external interface bce0 - 192.168.0.13

 

Running snort via this cmd line

snort --daq-dir /usr/local/lib/daq -Q --daq ipfw -c /etc/snort/snort.conf -v

 

Internal interface is in the skip list hence no active rules for it

Pfctl -sr

pass out on bce0 all flags S/SA scrub (reassemble tcp) nat-to (bce0:0)

pass in on bce0 inet all flags S/SA scrub (reassemble tcp)

 

This works as expected, I can ping 8.8.8.8 and since no diverting is active
snort sees nothing

I change rules to this to start diverting to snort

Pfctl -sr

pass out on bce0 all flags S/SA scrub (reassemble tcp) divert-packet port
8000 nat-to (bce0:0)

pass in on bce0 inet all flags S/SA scrub (reassemble tcp)

 

Now internal interface sees outgoing ping

tcpdump -n -i fxp0 -n host 8.8.8.8

192.168.1.32  8.8.8.8: icmp: request:

 

External interface shows it going out and coming back

192.168.0.13  8.8.8.8: icmp: request:

8.8.8.8  192.168.0.13: icmp: reply:

 

Snort sees it twice, external interface first

192.168.0.13 - 8.8.8.8

ICMP TTL:63 TOS:0x0 ID:0 IpLen:20 DgmLen:84 DF

Type:8  Code:0  ID:64870   Seq:2  ECHO

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

 

8.8.8.8 - 192.168.1.32

ICMP TTL:48 TOS:0x20 ID:64655 IpLen:20 DgmLen:84

Type:0  Code:0  ID:52297  Seq:2  ECHO REPLY

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

 

Client @ 192.168.1.32 never sees reply. Any comments or suggestions?

 

Justin 

[demime 1.01d removed an attachment of type application/pkcs7-signature
which had a name of smime.p7s]

[demime 1.01d removed an attachment of type application/pkcs7-signature
which had a name of smime.p7s]

[demime 1.01d removed an attachment of type application/pkcs7-signature which 
had a name of smime.p7s]



Re: Strange behaviour on OpenBSD 5.2 and usb disk

2012-12-19 Thread Marcos Laufer
Kenneth R Westerback wrote:
 On Wed, Dec 19, 2012 at 05:23:55PM -0300, Marcos Laufer wrote:
   
 This is a DL360G3 running OpenBSD 5.2 . I can't use a  WD My Passport 
 USB disk, i get input/output error, here is what i got:

 # dmesg 
 OpenBSD 5.2 (GENERIC) #0: Fri Dec 14 23:58:18 ART 2012
 root@private:/u/system/src/sys/arch/i386/compile/GENERIC
 cpu0: Intel(R) Xeon(TM) CPU 3.06GHz (GenuineIntel 686-class) 3.07 GHz
 cpu0: 
 FPU,V86,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,SBF,CNXT-ID,xTPR
 real mem  = 3220738048 (3071MB)
 avail mem = 3157274624 (3011MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf, 
 SMBIOS rev. 2.3 @ 0xec000 (42 entries)
 bios0: vendor HP version P31 date 01/28/2004
 bios0: HP ProLiant DL360 G3
 acpi0 at bios0: rev 0
 acpi0: sleep states S0 S4 S5
 acpi0: tables DSDT FACP APIC SPCR
 acpi0: wakeup devices
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 133MHz
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 cpu at mainbus0: not configured
 ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 16 pins
 ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins
 ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins
 ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PCI1)
 acpiprt2 at acpi0: bus 4 (PCI2)
 acpicpu0 at acpi0
 acpitz0 at acpi0: critical temperature is 31 degC
 bios0: ROM list: 0xc/0x8000 0xc8000/0x4000 0xee000/0x2000!
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 ServerWorks CNB20-HE Host (GC-LE) rev 0x33
 pchb1 at pci0 dev 0 function 1 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
 pchb2 at pci0 dev 0 function 2 ServerWorks CNB20-HE Host (GC-LE) rev 0x00
 pci1 at pchb2 bus 1
 bge0 at pci1 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
 (0x1002): apic 3 int 14, address 00:0f:20:96:8c:de
 brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
 vga1 at pci0 dev 3 function 0 ATI Rage XL rev 0x27
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 ciss0 at pci0 dev 4 function 0 Compaq Smart Array 5i/532 rev.2 rev 0x01: 
 apic 3 int 15
 ciss0: 1 LD, HW rev 1, FW 2.36/2.36
 scsibus0 at ciss0: 1 targets
 sd0 at scsibus0 targ 0 lun 0: COMPAQ, LOGICAL VOLUME, 2.36 SCSI0 0/direct 
 fixed
 sd0: 17359MB, 512 bytes/sector, 35553120 sectors
 Compaq iLO rev 0x01 at pci0 dev 5 function 0 not configured
 Compaq iLO rev 0x01 at pci0 dev 5 function 2 not configured
 piixpm0 at pci0 dev 15 function 0 ServerWorks CSB5 rev 0x93: polling
 iic0 at piixpm0
 spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM registered ECC PC2100CL2.5
 spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2100CL2.5
 spdmem2 at iic0 addr 0x54: 1GB DDR SDRAM registered ECC PC2100CL2.5
 spdmem3 at iic0 addr 0x56: 1GB DDR SDRAM registered ECC PC2100CL2.5
 pciide0 at pci0 dev 15 function 1 ServerWorks CSB5 IDE rev 0x93: DMA
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus1 at atapiscsi0: 2 targets
 cd0 at scsibus1 targ 0 lun 0: TEQC0 0, TV=28E=C0 0 0 0, R.4F ATAPI 5/cdrom 
 removable
 cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1
 ohci0 at pci0 dev 15 function 2 ServerWorks OSB4/CSB5 USB rev 0x05: apic 2 
 int 10, version 1.0, legacy support
 pchb3 at pci0 dev 15 function 3 ServerWorks CSB5 LPC rev 0x00
 pchb4 at pci0 dev 17 function 0 ServerWorks CIOB-X2 PCIX rev 0x05
 pchb5 at pci0 dev 17 function 2 ServerWorks CIOB-X2 PCIX rev 0x05
 pci2 at pchb5 bus 4
 bge1 at pci2 dev 2 function 0 Broadcom BCM5703X rev 0x02, BCM5702/5703 A2 
 (0x1002): apic 3 int 13, address 00:0f:20:96:8c:e1
 brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0 ServerWorks OHCI root hub rev 1.00/1.00 addr 1
 isa0 at mainbus0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pms0 at pckbc0 (aux slot)
 pckbc0: using irq 12 for aux slot
 wsmouse0 at pms0 mux 0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 mtrr: Pentium Pro MTRR support
 umass0 at uhub0 port 4 configuration 1 interface 0 Western Digital My 
 Passport 0748 rev 2.10/10.15 addr 2
 umass0: using SCSI over Bulk-Only
 scsibus2 at umass0: 2 targets, initiator 0
 sd1 at scsibus2 targ 1 lun 0: WD, My Passport 0748, 1015 SCSI4 0/direct 
 fixed
 sd1: 953837MB, 512 bytes/sector, 1953458176 sectors
 ses0 at scsibus2 targ 1 lun 1: WD, SES Device, 1015 SCSI4 

issue tracker

2012-12-19 Thread sickmind
Hi,

I have been using OpenBSD for quite a long time, and find it awesome.
I've got some spare time lately and decided to hunt some bugs, but I
don't really know where to start. Any suggestions?

P.S. Yeah, I know about openbsd-bugs, but I suppose that's not all there
is.



Xfce4 and ctrl:swapcaps not working

2012-12-19 Thread Raymond Lillard

Hello Misc,

I am running -current (amd64) on a Lenovo w500.

I start Xfce4 from the command line with startx.  I have
added:
exec /usr/local/bin/startxfce4
to ~/.xinitrc.

Everything comes up nicely, but I cannot swap the Control_L
and CAPS_LOCK automatically at startup.

I can swap them from an xterm command line using
setxkbmap -option ctrl:swapcaps
and
xmodmap ~/.Xmodmap
Both of these methods do work, but I want it to happen
automatically when I launch X.

I have gone to the Session and Startup dialog and
created an entry for the setxkbmap command method.
The command executes and returns 0.

I have added:
XKBOPTIONS=ctrl:swapcaps
to /etc/default/keyboard.  This doesn't work either.

I have instrumented /etc/xdg/xfce4/xinitrc to verify that

# load local modmap
test -r $HOME/.Xmodmap  xmodmap $HOME/.Xmodmap

in that file is executed and returns 0

Googling finds the solutions described above. These aren't
working for me.  At this point I am out of ideas.  I am
resisting writing an xorg.conf file.  Am I down to that?

Clue sticks gladly accepted.

Thanks to all,
Ray



Re: issue tracker

2012-12-19 Thread Tobias Ulmer
On Wed, Dec 19, 2012 at 09:43:18PM +, sickm...@lavabit.com wrote:
 Hi,
 
 I have been using OpenBSD for quite a long time, and find it awesome.
 I've got some spare time lately and decided to hunt some bugs, but I
 don't really know where to start. Any suggestions?
 
 P.S. Yeah, I know about openbsd-bugs, but I suppose that's not all there
 is.
 

At the moment, bugs@ is all there is. I've not found it very helpful to
just stare at random bugs. If they are trivial, they usually get fixed
quickly. If they are hard, they are usually not solvable without serious
interest in the general area. And at that point, you don't need to ask
for tasks. There are (almost) no middle-ground bugs.

If you use OpenBSD, is there really no part that bothers *you*? Try to
identify and work on these first.



Re: Plausible deniable encryption

2012-12-19 Thread Ted Unangst
On Tue, Dec 18, 2012 at 21:50, Robert Connolly wrote:
 Assuming you have read what is out there, I have a technigur

When you are locked in a room with men determined to beat you until they get 
what they want, you will reconsider the wisdom of being unable to prove you 
don't have what they want.