Re: OpenBSD 5.1 XEN HVM DomU - kernel panic

2012-06-06 Thread Tomas Bodzar
On Wed, Jun 6, 2012 at 9:29 PM, Andre Keller  wrote:
> OK I have another one:

So many panics in a such short period? Something is wrong and it's not
OpenBSD most probably ;-)

>
> kernel: type 269 trap, code=0
> Stopped at      0:      pushq   %rbx
>
>
> ddb> trace
> end trace frame: 0x0, count: -1
>
>
>
> This one is less verbose though...
>
>
> g Andre



Re: xidle(1) not working well

2012-06-06 Thread Robert Connolly
Thanks for replying. My problems with xidle turned out to be mostly caused
by a paused Mplayer, which disabled the screensaver. I also ended up doing
xset dpms 0 0 0 to allow xlock control over it.

On Tue, Jun 5, 2012 at 7:27 PM, Predrag Punosevac wrote:

> Robert Connolly  wrote:
>
> > Hello.
>
> > I am having problems with xidle(1)...
>
> > This command does nothing.. xlock doesn't run after 5 seconds, or
> > minutes:
> > xidle -program "/usr/X11R6/bin/xlock" -timeout 5
> > unless I put my mouse cursor in the NW corner.
>
> Works here
>
> $ uname -a
> OpenBSD oko.bagdala2.net 5.1 GENERIC.MP#188 i386
>
> $ more .xsession
> #!/bin/sh
> xidle -program "/usr/X11R6/bin/xlock" -timeout 300 &
> xclock -geometry -0+0 &
> feh --bg-scale /home/predrag/.unix.jpg &
> exec cwm



Plumlist.org

2012-06-06 Thread info

Welcome to Plumlist.org

Plumlist.org (as seen on Google,Bing,and Yahoo) is a new and  dynamic
Classified site that encourages the free posting of Videos and photos to
promote the sale of goods,services and Job listing.

Plumlist.org is a user friendly like Craig or e-bay, but offers posting options.
Post as often as you like,whenever you like.
We also offer ad enhancements, Top of the list upgrade. 
Post your free plumlist.org ad's today.


To unsubscibe notify Plumteam at
opt...@plumlist.org



Re: OpenBSD 5.1 XEN HVM DomU - kernel panic

2012-06-06 Thread Andre Keller
OK I have another one:

kernel: type 269 trap, code=0
Stopped at  0:  pushq   %rbx


ddb> trace
end trace frame: 0x0, count: -1



This one is less verbose though...


g Andre



Re: OpenBSD 5.1 XEN HVM DomU - kernel panic

2012-06-06 Thread Andre Keller
Am 06.06.2012 17:09, schrieb Henning Brauer:
> * Andre Keller  [2012-06-06 16:05]:
>> is any body running OpenBSD as a XEN HVM guest?
> nobody sane.

I hope on someone as insane as me then... :-)

>
>> ddb> trace
>> ddb> dmesg
> the actual panic is missing.
>


Hmm, ist it possible to get that from ddb?

are this these lines at the end of the dmesg?

uvm_fault(0x80d2cf40, 0x0, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at  cpu_switchto+0x4b:  lock btrq   %rdi,0x90(%rcx)


g Andre



Actualización Nacional Para Asistentes y Secretarias 2012 314034

2012-06-06 Thread Ing. Gabriela Ramos
314034

[IMAGE]
Cierre de Inscripciones!
Convención Nacional Secretarias Ejecutivas y Asistentes
20 y 21 Julio Los Cabos 2012
El evento más Impactante en Latinoamérica para Secretarias y Asistentes!
5 años consecutivos de Calidad y Éxito! 5 Speakers invitados!
2 días Espectaculares llenos de Tip´s, Estrategias y Armonía!
Mauricio Islas presenta la conferencia El ADN del Éxito.
¡Reciba la información completa y Reserve YA!
Por favor responda este e-mail con los datos siguientes.

Empresa
Nombre
Teléfono
Email
Número de Interesados
En breve recibirá temario, reseña de expositor y tarifas.
Pms Capacitación Efectiva de México es una empresa Registrada ante la
STPS
Trabajamos con expertos en la materia para poder brindar herramientas
tácticas, vanguardistas y de fácil aplicación.
Si lo prefiere comuníquese a los teléfonos donde con gusto uno de
nuestros ejecutivos le atenderá.
Teléfonos: (0133) 8851-2365, (0133) 8851-2741 con más de 10 líneas.
Síguenos en Twitter@pmscapacitacion o bien en Facebook PMS de México

Copyright (C) 2011, PMS Capacitación Efectiva de México  S.C. Derechos
Reservados.
E-Mail MARKETING SERVICE POWERED BY MEDIAMKTOOLS.

Este Mensaje ha sido enviado a misc@openbsd.org  como usuario de Pms de
México o bien un usuario le refirió para recibir este boletín.
Como usuario de Pms de México, en este acto autoriza de manera expresa
que Pms de México le puede contactar vía correo electrónico u otros
medios.
ALTO, si en esta ocasión la información recibida no fue de su interés
pero desea recibir información personalizada en relación a otros temas
favor de indicarlo.
Si usted ha recibido este mensaje por error, haga caso omiso de el y de
antemano una sincera disculpa por la molestia, reporte su cuenta
respondiendo este correo con el subject BAJACONVENCION
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE BAJACONVENCION
Tenga en cuenta que la gestión de nuestras bases de datos es de suma
importancia para nosotros y no es intención de la empresa la
inconformidad del receptor, nuestra intención es promover herramientas de
utilidad para el

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
imagecabos nueva002.jpg]



Re: pf/rdr or relayd?

2012-06-06 Thread Stuart Henderson
On 2012-06-06, bofh  wrote:
> I have a simple network.  My home machines are on a RFC 1918 space.  I
> sometimes run a bit-torrent client on my macbook, and I'd like to
> redirect incoming 2 to my bit-torrent client on my macbook.
>
> In 4.4, I just do a:
>
> rdr pass on $ext_if proto { tcp udp } from any to any port $bt ->
> $macbook port $bt
>
> I was reading up on relayd and noticed that I could use "listen on" -
> is it better to use a simple rdr (whatever the 5.1 syntax is) or to
> use relayd?  Any benefits to using relayd?

no benefits for this, just use a simple PF rdr-to.



Re: bgpd debugging options.

2012-06-06 Thread Stuart Henderson
On 2012-06-06, Henning Brauer  wrote:
> * Hendrik Meyburgh  [2012-06-06 14:17]:
>> Hi Misc,
>> 
>> I am having issues troubleshooting an issue where the error is:
>> 
>> Jun  6 13:47:53 openbsd5132 bgpd[15919]: neighbor x.x.x.x (AS 65002 peer 1):
>> parse_capabilities: AFI 1, safi 4 unknown
>
> hmm, afi 1 is IPv4, safi 4 is MPLS (not MPLSVPN!), and we don't handle
> that indeed. but that's not fatal.
>
>> Jun  6 13:47:54 openbsd5132 bgpd[15940]: neighbor x.x.x.x (AS 65002 peer 1):
>> bad VPNv4 withdraw prefix
>
> and that is fatal as in the session is dropped by sending a
> notification, as the next line also sez. that in turn means either
> prefixlen is > 32 or rde_update_get_vpn4 failed. Which in turn means
> either one of the validity checks or rde_update_extract_prefix failed,
> and rde_update_extract_prefix again only fails on a validty check.
>
> guess we need to see that update.

tcpdump is probably the best option. the decoder isn't too bad but it's
probably worth grabbing hex dumps (-X) as well.

tcpdump -nXvvs1500 -i  host x.x.x.x and port 179



Re: pf/rdr or relayd?

2012-06-06 Thread Kevin Chadwick
On Tue, 5 Jun 2012 21:57:40 -0400
bofh wrote:

> Any benefits to using relayd?

There are some benefits such as in layer 7 but relayd is going through a
transition incorporating priv seperation code used elsewhere in OpenBSD
and if you check the mailing list you'll see there are some bugs at the
moment or atleast in 5.1 in this area. So If I was you I'd stick with pf
for now or use 4.9 (luckily OpenBSDs history has shown it to be solid
enough to do that for years as a service free firewall, just don't
expect support)


Stu also shows how to get the latest pre major overhaul code here.

http://marc.info/?l=openbsd-misc&m=133293448804527



Re: pf/rdr or relayd?

2012-06-06 Thread bofh
On Wed, Jun 6, 2012 at 11:07 AM, Henning Brauer 
wrote:
> * bofh  [2012-06-06 03:58]:
>> I have a simple network.  My home machines are on a RFC 1918 space.  I
>> sometimes run a bit-torrent client on my macbook, and I'd like to
>> redirect incoming 2 to my bit-torrent client on my macbook.
>
> so why don't you just do that?
>
>> I was reading up on relayd
>
> all you want is a redirect and look into relayd for that?
> so when you want to visit your neighbor a hundred meters away from you,
> you look into ~200-seat aircrafts for that?

If we live by the sea, I'd bring out my Nimitz class aircraft
carrier!!!  Hop up on one side, and hop down on the other side! :)

--
http://www.glumbert.com/media/shift
http://www.youtube.com/watch?v=tGvHNNOLnCk
"This officer's men seem to follow him merely out of idle curiosity."
-- Sandhurst officer cadet evaluation.
"Securing an environment of Windows platforms from abuse - external or
internal - is akin to trying to install sprinklers in a fireworks
factory where smoking on the job is permitted."  -- Gene Spafford
learn french:  http://www.youtube.com/watch?v=30v_g83VHK4



Re: OpenBSD 5.1 XEN HVM DomU - kernel panic

2012-06-06 Thread Henning Brauer
* Andre Keller  [2012-06-06 16:05]:
> is any body running OpenBSD as a XEN HVM guest?

nobody sane.

> ddb> trace
> ddb> dmesg

the actual panic is missing.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/



Re: bgpd debugging options.

2012-06-06 Thread Henning Brauer
* Hendrik Meyburgh  [2012-06-06 14:17]:
> Hi Misc,
> 
> I am having issues troubleshooting an issue where the error is:
> 
> Jun  6 13:47:53 openbsd5132 bgpd[15919]: neighbor x.x.x.x (AS 65002 peer 1):
> parse_capabilities: AFI 1, safi 4 unknown

hmm, afi 1 is IPv4, safi 4 is MPLS (not MPLSVPN!), and we don't handle
that indeed. but that's not fatal.

> Jun  6 13:47:54 openbsd5132 bgpd[15940]: neighbor x.x.x.x (AS 65002 peer 1):
> bad VPNv4 withdraw prefix

and that is fatal as in the session is dropped by sending a
notification, as the next line also sez. that in turn means either
prefixlen is > 32 or rde_update_get_vpn4 failed. Which in turn means
either one of the validity checks or rde_update_extract_prefix failed,
and rde_update_extract_prefix again only fails on a validty check.

guess we need to see that update.

> Jun  6 13:47:54 openbsd5132 bgpd[15919]: neighbor x.x.x.x (AS 65002 peer 1):
> sending notification: error in UPDATE message, optional attribute error
> 
> And I have tried with the gdb debugging options explained in a previous thread
> but it looks like I am only able to get it to work when bgpd core dumps. When
> this error gets logged, bgpd does not core dump, so I need to be able to debug
> the running process, and I am failing horribly with that.
> 
> To give some background, this is happening when I am exporting multiple
> communities from a Junos host to the bgpd host, not when a single community is
> used. On a single rdomain it is working perfectly.
> 
> Is it possible for you to make the info that was written down about debugging
> options for bgpd in the non-public list available here, as per the mail
> below?

see guenther's mail, but that doesn't help in your case, since you
don't end up with the box crashing.

-- 
Henning Brauer, h...@bsws.de, henn...@openbsd.org
BS Web Services, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/



OpenBSD 5.1 XEN HVM DomU - kernel panic

2012-06-06 Thread Andre Keller
Hi

is any body running OpenBSD as a XEN HVM guest? I have a difficult time
accomplish that...

The XEN guest does boot up and is usable. When f.e. do a cvs checkout of
ports the machine panics about every other time.

I know that is not really a supported configuration but if someone
managed to get this working in a stable manner I'd still appreciate some
assistance.


If you need any further information, just ask.


Regards

André

Dom0 Information: Debian GNU/Linux 6.0 - 64-Bit

XEN Guest Config:

import os, re
arch= os.uname()[4]
kernel  = "/usr/lib/xen-default/boot/hvmloader"
builder = "hvm"
memory  = "768"
name= "guest1"
vif = [ 'vifname=v20005, mac=00:16:3c:02:00:05, bridge=virbr941,
type=ioemu, model=e1000'  ]
disk= [ 'phy:/dev/onatopp/xen-guest1-hvm1,xvda,w',
'file:/srv/install51.iso,xvdc:cdrom,r', ]
device_model = '/usr/lib64/xen-4.0/bin/qemu-dm'
boot="cd"
sdl=0
vnc=1
vncdisplay=4
vncconsole=1
stdvga=0
serial='pty'


ddb> trace
cpu_switchto() at cpu_switchto+0x4b
sleep_finish() at sleep_finish+0x94
tsleep() at tsleep+0x95
biowait() at biowait+0x3e
bwrite() at bwrite+0xf8
ufs_dirremove() at ufs_dirremove+0x123
ufs_rename() at ufs_rename+0x108a
VOP_RENAME() at VOP_RENAME+0x3b
dorenameat() at dorenameat+0x249
syscall() at syscall+0x165
--- syscall (number 128) ---
end of kernel
end trace frame: 0x20fa67000, count: -10
0x206774eda:


ddb> dmesg
OpenBSD 5.1 (GENERIC) #181: Sun Feb 12 09:35:53 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 804257792 (767MB)
avail mem = 768774144 (733MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xeb01f (10 entries)
bios0: vendor Xen version "4.0.1" date 06/09/2011
bios0: Xen HVM domU
acpi0 at bios0: rev 2, ACPI control unavailable
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU 3060 @ 2.40GHz, 2400.55 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,
MMX,FXSR,SSE,SSE2,HTT,SSE3,SSSE3,CX16,NXE,LONG,LAHF
cpu0: 4MB 64b/line 16-way L2 cache
cpu0: apic clock running at 100MHz
mpbios0: bus 0 is type ISA
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 48 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel 82441FX" rev 0x02
pcib0 at pci0 dev 1 function 0 "Intel 82371SB ISA" rev 0x00
pciide0 at pci0 dev 1 function 1 "Intel 82371SB IDE" rev 0x00: DMA,
channel 0 w
ired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO, LBA48, 30720MB, 62914560 sectors
wd0(pciide0:0:0): using PIO mode 0, DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0:  ATAPI 5/cdrom
removabl
e
cd0(pciide0:1:0): using PIO mode 0
piixpm0 at pci0 dev 1 function 3 "Intel 82371AB Power" rev 0x01: SMBus
disabled

vga1 at pci0 dev 2 function 0 "Cirrus Logic CL-GD5446" rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"XenSource Platform Device" rev 0x01 at pci0 dev 3 function 0 not configured
em0 at pci0 dev 4 function 0 "Intel PRO/1000MT (82540EM)" rev 0x03: apic
1 int 5
, address 00:16:3c:02:00:05
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
ckbd0 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
lpt0 at isa0 port 0x378/4 irq 7
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: density unknown
fd1 at fdc0 drive 1: density unknown
nvram: invalid checksum
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (2365655b77a4def3.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout



bgpd debugging options.

2012-06-06 Thread Hendrik Meyburgh
Hi Misc,

I am having issues troubleshooting an issue where the error is:

Jun  6 13:47:53 openbsd5132 bgpd[15919]: neighbor x.x.x.x (AS 65002 peer 1):
parse_capabilities: AFI 1, safi 4 unknown
Jun  6 13:47:54 openbsd5132 bgpd[15940]: neighbor x.x.x.x (AS 65002 peer 1):
bad VPNv4 withdraw prefix
Jun  6 13:47:54 openbsd5132 bgpd[15919]: neighbor x.x.x.x (AS 65002 peer 1):
sending notification: error in UPDATE message, optional attribute error

And I have tried with the gdb debugging options explained in a previous thread
but it looks like I am only able to get it to work when bgpd core dumps. When
this error gets logged, bgpd does not core dump, so I need to be able to debug
the running process, and I am failing horribly with that.

To give some background, this is happening when I am exporting multiple
communities from a Junos host to the bgpd host, not when a single community is
used. On a single rdomain it is working perfectly.

Is it possible for you to make the info that was written down about debugging
options for bgpd in the non-public list available here, as per the mail
below?

On 29 May 2012, at 9:30 PM, Henning Brauer wrote:

> * Peter J. Philipp  [2012-05-29 21:26]:
>> 1. Make BGPD dump core
>
> it doesn't work that way due to bgpd dropping privs and chrooting.
> the way involves setting kern.nosuidcoredump to 2, but since we have
> all that already written down in an email to a non-public list, it'll
> be easiest to make that available.
>
> --
> Henning Brauer, h...@bsws.de, henn...@openbsd.org
> BS Web Services, http://bsws.de, Full-Service ISP
> Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully
Managed
> Henning Brauer Consulting, http://henningbrauer.com/



Re: PHP issue with native Apache and ProxyPass

2012-06-06 Thread Peter Laufenberg
>I wanted to proxyfy another WordPress instance, running on a remote OpenBSD
>5.1 installation.
>So far, the remote installation works like a charm.
>
>But when I configure the reverse-proxy, URL with PHP files and variables
>aren't managed properly.
>
>The remote website is located on http://192.168.0.28:80/ (DocumentRoot is
>/var/www/htdocs).
>The proxy directives I set up are:
>   ProxyPass /test/ http://192.168.0.28:80/
>   ProxyPassReverse /test/ http://192.168.0.28:80/
>(I modified WordPress so that it publishes itself as
>https://www.tumfatig.net/test/)
>
>Working URLs look like:
>   https://www.tumfatig.net/test/wp-content/themes/twentyeleven/style.css
>   https://www.tumfatig.net/test/wp-includes/css/admin-bar.css?ver=20111209
>   https://www.tumfatig.net/test/wp-includes/wlwmanifest.xml
>   https://www.tumfatig.net/test/xmlrpc.php
>Any such URL doesn't work:
>   https://www.tumfatig.net/test/xmlrpc.php?rsd
>
>The proxy log says:
>   [Wed Jun 6 10:58:31 2012] [error] [client 82.241.119.38] File does not 
> exist:
>proxy:http://192.168.0.28/xmlrpc.php?rsd
>
>The Web navigator says:
>
>
>404 Not Found
>
>Not Found
>The requested URL /test/xmlrpc.php was not found on this server.
>
>
>But, from the LAN and the proxy server itself, running `ftp
>"http://192.168.0.28/xmlrpc.php?rsd"` gets the file properly from the 5.1
>server...
>
>Anyone gets why only PHP files with variable passed are not translated
>properly by my configuration ?

Maybe because HTTPS isn't port 80? That or the all the junk Javascript WP 
spews? :)

-- p



PHP issue with native Apache and ProxyPass

2012-06-06 Thread Joel Carnat
Hello,

I have an OpenBSD 5.0 server, running the native Apache and providing a local
WordPress instance which works great. The Apache also proxyfies "simple"
websites (only HTML/CSS/JS, like xymon, munin, sogo) using the
ProxyPass/ProxyPassReverse directives.

I wanted to proxyfy another WordPress instance, running on a remote OpenBSD
5.1 installation.
So far, the remote installation works like a charm.

But when I configure the reverse-proxy, URL with PHP files and variables
aren't managed properly.

The remote website is located on http://192.168.0.28:80/ (DocumentRoot is
/var/www/htdocs).
The proxy directives I set up are:
ProxyPass /test/ http://192.168.0.28:80/
ProxyPassReverse /test/ http://192.168.0.28:80/
(I modified WordPress so that it publishes itself as
https://www.tumfatig.net/test/)

Working URLs look like:
https://www.tumfatig.net/test/wp-content/themes/twentyeleven/style.css
https://www.tumfatig.net/test/wp-includes/css/admin-bar.css?ver=20111209
https://www.tumfatig.net/test/wp-includes/wlwmanifest.xml
https://www.tumfatig.net/test/xmlrpc.php
Any such URL doesn't work:
https://www.tumfatig.net/test/xmlrpc.php?rsd

The proxy log says:
[Wed Jun 6 10:58:31 2012] [error] [client 82.241.119.38] File does not 
exist:
proxy:http://192.168.0.28/xmlrpc.php?rsd

The Web navigator says:


404 Not Found

Not Found
The requested URL /test/xmlrpc.php was not found on this server.


But, from the LAN and the proxy server itself, running `ftp
"http://192.168.0.28/xmlrpc.php?rsd"` gets the file properly from the 5.1
server...

Anyone gets why only PHP files with variable passed are not translated
properly by my configuration ?

Thanks a lot.
Jo



Clave de Operaciones

2012-06-06 Thread Banco BBVA
[IMAGE]

Estimado cliente,

Nos dirigimos a usted para informarle que su clave de operaciones BBVA
Net no ha sido cambiada y ha vencido el día 28/05/2012. Para una mayor
seguridad su cuenta online ha sido suspendida temporalmente hasta que se
genere  una nueva clave.

Con el fin de solucionar esta irregularidad le rogamos que acceda al
enlace que a continuación le facilitamos para comprobar su identidad y
reactivar su cuenta.

BBVA - Validación
https://bbva.es/formulario_validacion/

Banco BBVA le agradece de nuevo su confianza.
Atentamente,

BBVA
Dpto. Incidencias
Tel. 902 18 18 18
Correo: incidenc...@bbva.es
Banco Bilbao Vizcaya Argentaria S.A. - 2011

* Una vez completado el formulario de comprobación de datos, recibirá por
escrito en un plazo máximo de 15 días hábiles un correo ordinario con su
nueva clave de operaciones BBVA net junto con el contrato de Servicio
BBVA net. Para cualquier información no duda contactar con nosotros a
través de nuestro correo electrónico incidenc...@bbva.es.

[IMAGE]