Re: setxkbmap break network
On Fri, Dec 04, 2009 at 08:41:12AM +0100, TomC!E! BodEC!r wrote: Hi all, someone have similar problem? When I try : $ sudo setxkbmap cz $ then my network connection stop responding and I must run : $ sudo sh /etc/netstart In Xorg.log there is same error as here https://bugs.freedesktop.org/show_bug.cgi?id=21761 Before this error I can see line with : mtrr set failed: Invalid argument OpenBSD 4.6-current (GENERIC.MP) #325: Sat Nov 28 18:58:05 MST 2009 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel 686-class) 2.40 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,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR real mem = 3707650048 (3535MB) avail mem = 3608199168 (3441MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/17/09, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf6510 (57 entries) bios0: vendor Dell Inc. version A17 date 09/17/2009 bios0: Dell Inc. Latitude E6400 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) EHC2(S3) EHCI(S3) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(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: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: 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,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 107 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL MP4948B serial 36706 type LION oem Samsung SDI acpibat1 at acpi0: BAT1 not present acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: LCD_ acpivout2 at acpivideo0: DVI_ acpivout3 at acpivideo0: DVI2 acpivout4 at acpivideo0: DP__ acpivout5 at acpivideo0: DP2_ acpivideo1 at acpi0: VID_ acpivout6 at acpivideo1: CRT_ acpivout7 at acpivideo1: LCD_ acpivout8 at acpivideo1: DP__ acpivout9 at acpivideo1: DP2_ acpivout10 at acpivideo1: DVI_ acpivout11 at acpivideo1: DVI2 acpivideo2 at acpi0: VID2 bios0: ROM list: 0xc/0xf800! 0xcf800/0x800 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 2 int 22 (irq 10), address xx:xx:xx:xx:xx:xx uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 2 int 21 (irq 11) azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 0) pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 0) pci2 at ppb1 bus 12 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: apic 2 int 17 (irq 3), MIMO 1T2R, MoW, address xx:xx:xx:xx:xx:xx ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x03: apic 2 int 18 (irq 0) pci3 at ppb2 bus 13 uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) uhci4 at pci0 dev 29
Re: setxkbmap break network
Sorry it was just test if there is some difference. Of course problem is same either with sudo or without. 2009/12/4 Abel Abraham Camarillo Ojeda acam...@the00z.org: On Fri, Dec 04, 2009 at 08:41:12AM +0100, TomC!E! BodEC!r wrote: Hi all, someone have similar problem? When I try : $ sudo setxkbmap cz $ then my network connection stop responding and I must run : $ sudo sh /etc/netstart In Xorg.log there is same error as here https://bugs.freedesktop.org/show_bug.cgi?id=21761 Before this error I can see line with : mtrr set failed: Invalid argument OpenBSD 4.6-current (GENERIC.MP) #325: Sat Nov 28 18:58:05 MST 2009 B B dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C X16,xTPR real mem B = 3707650048 (3535MB) avail mem = 3608199168 (3441MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 09/17/09, BIOS32 rev. 0 @ 0xffa10, SMBIOS rev. 2.4 @ 0xf6510 (57 entries) bios0: vendor Dell Inc. version A17 date 09/17/2009 bios0: Dell Inc. Latitude E6400 acpi0 at bios0: rev 2 acpi0: tables DSDT FACP HPET DMAR APIC ASF! MCFG TCPA SLIC SSDT acpi0: wakeup devices PCI0(S4) PCIE(S4) USB1(S3) USB2(S3) USB3(S3) USB4(S3) USB5(S3) USB6(S3) EHC2(S3) EHCI(S3) AZAL(S3) RP01(S4) RP02(S4) RP03(S4) RP04(S3) RP05(S3) RP06(S5) LID_(S3) PBTN(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: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz (GenuineIntel 686-class) 2.40 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,C X16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 3 (PCIE) acpiprt1 at acpi0: bus -1 (AGP_) acpiprt2 at acpi0: bus 11 (RP01) acpiprt3 at acpi0: bus 12 (RP02) acpiprt4 at acpi0: bus 13 (RP03) acpiprt5 at acpi0: bus -1 (RP04) acpiprt6 at acpi0: bus -1 (RP05) acpiprt7 at acpi0: bus -1 (RP06) acpiprt8 at acpi0: bus 0 (PCI0) acpiec0 at acpi0 acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpitz0 at acpi0: critical temperature 107 degC acpibtn0 at acpi0: LID_ acpibtn1 at acpi0: PBTN acpibtn2 at acpi0: SBTN acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT0 model DELL MP4948B serial 36706 type LION oem Samsung SDI acpibat1 at acpi0: BAT1 not present acpivideo0 at acpi0: VID_ acpivout0 at acpivideo0: CRT_ acpivout1 at acpivideo0: LCD_ acpivout2 at acpivideo0: DVI_ acpivout3 at acpivideo0: DVI2 acpivout4 at acpivideo0: DP__ acpivout5 at acpivideo0: DP2_ acpivideo1 at acpi0: VID_ acpivout6 at acpivideo1: CRT_ acpivout7 at acpivideo1: LCD_ acpivout8 at acpivideo1: DP__ acpivout9 at acpivideo1: DP2_ acpivout10 at acpivideo1: DVI_ acpivout11 at acpivideo1: DVI2 acpivideo2 at acpi0: VID2 bios0: ROM list: 0xc/0xf800! 0xcf800/0x800 cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2401, 2400, 1600, 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07 vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0xe000, size 0x1000 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: apic 2 int 22 (irq 10), address xx:xx:xx:xx:xx:xx uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 2 int 20 (irq 3) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 2 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: apic 2 int 22 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 Intel 82801I HD Audio rev 0x03: apic 2 int 21 (irq 11) azalia0: codecs: IDT 92HD71B7, Intel/0x2802, using IDT 92HD71B7 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: apic 2 int 16 (irq 0) pci1 at ppb0 bus 11 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: apic 2 int 17 (irq 0) pci2 at ppb1 bus 12 iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5100 rev 0x00: apic 2 int 17 (irq 3), MIMO 1T2R, MoW, address xx:xx:xx:xx:xx:xx ppb2 at pci0 dev 28 function 2 Intel 82801I
Re: pfsync advice
On 23:00, Thu 03 Dec 09, Ismail OZATAY wrote: Hi all, I am planning to replace my current openbsd cluster pf firewall hardwares which has 4 ethernet with new embedded hardwares. As you know I use one of these interfaces for pfsync . But new embedded hardwares have 3 ethernet. I thought that I need one more ethernet for pfsync but it is impossible to add because does not have any pci or pci-x slot more. I am wondering that can i use rs232 ports back-to-back for pfsync dev or how can use these hardwares ? Setup ipsec between the two machines, and use that for pfsync traffic. -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: pfsync advice
Can i use one my interfaces both some network and pfsync ? On 23:00, Thu 03 Dec 09, Ismail OZATAY wrote: Hi all, I am planning to replace my current openbsd cluster pf firewall hardwares which has 4 ethernet with new embedded hardwares. As you know I use one of these interfaces for pfsync . But new embedded hardwares have 3 ethernet. I thought that I need one more ethernet for pfsync but it is impossible to add because does not have any pci or pci-x slot more. I am wondering that can i use rs232 ports back-to-back for pfsync dev or how can use these hardwares ? Setup ipsec between the two machines, and use that for pfsync traffic.
Exclusive BRITA tap offer
This email has been sent to you by OK-mail.co.uk --- BRITA Exclusive Brita (R) tap offer Start enjoying the benefits - Ms Mischelle Law Millions of Households already enjoy the benefits of BRITA(R) filtered water for cleaner, clearer great tasting water. Now we are offering you the chance to enjoy the same great taste fresh from the tap. We are offering a limited number of people a BRITA(R) Chrome Titanium filter tap for just B#10* (worth B#342.50) *when you buy 4 BRITA tap cartridges (12 months supply) for just B#139.80 incl. PP But hurry this offer is open to the first 200 orders only. Click here to buy or for further information: http://tr1.lr001.net/r5.aspx?GV1=TYOP08O003I3000GOZ000PGHB00ATNERJ - Brita Water Filter Systems Ltd. 9 Granville Way Bicester, OX26 4JT United Kingdom Internet: www.brita.co.uk --- If you no longer wish to receive BRITA emails from OK-mail, click here: http://tr1.lr001.net/r5.aspx?GV1=TYOP08O003I3000GOZ000PGHC00ATNERJfguidv5=00 0GO3 You have received this email because you are a member of OK-mail. If you no longer wish to receive messages from us, click here: http://www.emb1.co.uk/Unsubscribe.asp?id=4email=m...@openbsd.orgMailingList ID=3 OK-mail Ltd, 46 Gillingham Street, London SW1V 1HU. mailcode=51116
Re: pfsync advice
On 11:11, Fri 04 Dec 09, Ismail OZATAY wrote: Can i use one my interfaces both some network and pfsync ? If you run it over ipsec, yes. On 23:00, Thu 03 Dec 09, Ismail OZATAY wrote: Hi all, I am planning to replace my current openbsd cluster pf firewall hardwares which has 4 ethernet with new embedded hardwares. As you know I use one of these interfaces for pfsync . But new embedded hardwares have 3 ethernet. I thought that I need one more ethernet for pfsync but it is impossible to add because does not have any pci or pci-x slot more. I am wondering that can i use rs232 ports back-to-back for pfsync dev or how can use these hardwares ? Setup ipsec between the two machines, and use that for pfsync traffic. -- Michiel van Baak mich...@vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x71C946BD Why is it drug addicts and computer aficionados are both called users?
Re: mount /usr partition nosuid
Mark Romer wrote: Yes, so this would already be done in openbsd. You will soon discover that in OpenBSD, you don't have to go around the system hardening it... -- Mauro Rezzonico ma...@ch23.org, Como, Italia Maybe this world is another planet's hell - H.Huxley
Re: pfsync advice
* Michiel van Baak mich...@vanbaak.info [2009-12-04 10:38]: On 11:11, Fri 04 Dec 09, Ismail OZATAY wrote: Can i use one my interfaces both some network and pfsync ? If you run it over ipsec, yes. and if you don't do so as well. personally, I'd use vlans. -- 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, Rootservers, Application Hosting
BGPd is not sending IPv6 prefixes anymore
Hi, I'm experiencing a strange behavior since latest OpenBSD 4.6 current update (yesterday). My prefixes are not announced anymore. OpenBGPd config: AS 49463 router-id 213.215.49.242 holdtime 90 holdtime min 3 fib-update yes log updates network 213.215.28.0/23 network 2001:7a8:820::/44 neighbor 2001:7a8:1:9ff2::1 { remote-as 13193 # remote-as 35830 descr nerim-ipv6-bgp-peer local-address 2001:7a8:1:9ff2::2 holdtime30 holdtime min3 announceself announce IPv6 unicast announce IPv4 none set localpref 200 } I get those messages in /var/log/messages Dec 4 12:00:21 bgpgw-001 bgpd[20852]: generation of bgp path attributes failed Dec 4 12:01:22 bgpgw-001 bgpd[20852]: generation of bgp path attributes failed Dec 4 12:03:26 bgpgw-001 last message repeated 2078 times Do anyone have a clue about it ?
Cursos de Verano 2010
[IMAGE] Director General: Dr. Horacio Serebrinsky - Vicedirector: Dr. Marcelo R. Ceberio La Escuela Sistimica Argentina es una institucisn que desarrolla actividades de formacisn de Terapeutas familiares sistimicos, investigacisn y asistencia psicolsgica. CURSOS DE VERANO 2010 INTRODUCCISN A LA CLMNICA SISTIMICA = Inicios: 7 Curso I: 25 de enero 2010 (25 al 29 de enero) 7 Curso II: 22 de febrero 2010 (22 al 26 de febrero) Dmas y Horarios: Lunes a Viernes de 18 a 19.30 y de 19.30 a 21. Diagrama: El curso se desarrollara en 10 clases introductorias y clmnicas sobre diferentes tematicas dentro del marco del pensamiento sistimico. El programa y los docentes estan sujetos a modificaciones. La reserva de vacantes puede ser realizada vma mail o telefsnicamente. PROGRAMA: 1: y 2: Clase Introduccisn al pensamiento sistimico Dr. Marcelo R. Ceberio Lic. Juan Verni Fobias y panico Dr. Marcelo R. Ceberio Lic. Silvia Muiqo 3: y 4: Clase Clmnica de niqos Lic. Lily Locker Adicciones desde el modelo sistimico Lic. Marina Perrone 5: y 6: Clase Psicosis desde el modelo sistimico Dr. Horacio Serebrinsky Familias ensambladas Lic. Silvia Muiqo 7: y 8: Clase Trastornos de Alimentacisn Lic. Graciela Piatti Lic. Gustavo Fos Terapia de pareja Lic. Fernando Rubano - Lic. Liliana Albuerne 9: y 10: Clase Hipnosis Ericksoniana Lic. Claudio Des Champs Cierre Clmnico Dr. Horacio Serebrinsky INFORMES E INSCRIPCISN: Fray Justo S. M. de Oro 1843 (C1414DBC) Cap. Fed. Te/Fax: 4774-2875/6112 4899-1053 / Mail: i...@escuelasistemica.com.ar / Web: www.escuelasistemica.com.ar
Re: BGPd is not sending IPv6 prefixes anymore
On Fri, Dec 04, 2009 at 12:11:14PM +0100, Laurent CARON wrote: Hi, I'm experiencing a strange behavior since latest OpenBSD 4.6 current update (yesterday). My prefixes are not announced anymore. OpenBGPd config: AS 49463 router-id 213.215.49.242 holdtime 90 holdtime min 3 fib-update yes log updates network 213.215.28.0/23 network 2001:7a8:820::/44 neighbor 2001:7a8:1:9ff2::1 { remote-as 13193 # remote-as 35830 descr nerim-ipv6-bgp-peer local-address 2001:7a8:1:9ff2::2 holdtime30 holdtime min3 announceself announce IPv6 unicast announce IPv4 none set localpref 200 } I get those messages in /var/log/messages Dec 4 12:00:21 bgpgw-001 bgpd[20852]: generation of bgp path attributes failed Dec 4 12:01:22 bgpgw-001 bgpd[20852]: generation of bgp path attributes failed Dec 4 12:03:26 bgpgw-001 last message repeated 2078 times Do anyone have a clue about it ? Seems to be an error on my side. I guess the following diff fixes your issue. Please test. -- :wq Claudio Index: rde_update.c === RCS file: /cvs/src/usr.sbin/bgpd/rde_update.c,v retrieving revision 1.71 diff -u -p -r1.71 rde_update.c --- rde_update.c1 Dec 2009 14:28:05 - 1.71 +++ rde_update.c4 Dec 2009 12:26:39 - @@ -796,7 +796,7 @@ up_generate_attr(struct rde_peer *peer, /* write mp attribute to different buffer */ if (ismp) - if (up_generate_mp_reach(peer, upa, a, AF_INET6) == -1) + if (up_generate_mp_reach(peer, upa, a, aid) == -1) return (-1); /* the bgp path attributes are now stored in the global buf */
Re: BGPd is not sending IPv6 prefixes anymore
On 04/12/2009 13:28, Claudio Jeker wrote: Seems to be an error on my side. I guess the following diff fixes your issue. Please test. Thanks for your input. It is now working flawlessly as it used to.
Receba a sua prenda GRATIS!!!
NOTA INFORMATIVA: O presente email destina-se znica e exclusivamente a informar potenciais utilizadores e nco pode ser considerado SPAM. De acordo com a legislagco internacional que regulamenta o correio electrsnico, o email nco pode sera ser considerado SPAM quando incluir uma forma do receptor ser removido da lista do emissor. Se pretender nco receber mais estes emails clique AQUI.
Packets to IPsec blackholed ?
Hello, I had a working ipsec tunnel this morning : Dec 04 09:30:35.086117 rule 375/(match) pass in on vlan100: 10.80.2.135.4685 10.96.37.1.23: S 2120140262:2120140262(0) win 64512 mss 1460,nop,nop,sackOK (DF) Dec 04 09:30:35.086154 rule 28/(match) pass out on enc0: 10.80.2.135.4685 10.96.37.1.23: S 2120140262:2120140262(0) win 64512 mss 1460,nop,nop,sackOK At noon I rebooted my gateway, and now packets get lost in the wild (no pass out nor block out): Dec 04 13:55:35.054695 rule 375/(match) pass in on vlan100: 10.80.2.135.3265 10.96.37.1.23: S 2811095018:2811095018(0) win 64512 mss 1460,nop,nop,sackOK (DF) But my tunnel is still up according to ipsecctl -sa. I have other tunnels who work like a charm. Anyone could tell me out to get my packets back on the right way ? TYVM -- Cordialement, Pierre BARDOU CSIM - Bureau 012 12 rue Michel Labrousse BP93668 F-31036 Toulouse CEDEX 1 Til : 05 67 69 71 84 Fax : 05 34 61 51 00 Mail : bardo...@mipih.fr [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
Re: Packets to IPsec blackholed ?
* BARDOU Pierre (bardo...@mipih.fr) wrote: Hello, I had a working ipsec tunnel this morning : Dec 04 09:30:35.086117 rule 375/(match) pass in on vlan100: 10.80.2.135.4685 10.96.37.1.23: S 2120140262:2120140262(0) win 64512 mss 1460,nop,nop,sackOK (DF) Dec 04 09:30:35.086154 rule 28/(match) pass out on enc0: 10.80.2.135.4685 10.96.37.1.23: S 2120140262:2120140262(0) win 64512 mss 1460,nop,nop,sackOK At noon I rebooted my gateway, and now packets get lost in the wild (no pass out nor block out): Dec 04 13:55:35.054695 rule 375/(match) pass in on vlan100: 10.80.2.135.3265 10.96.37.1.23: S 2811095018:2811095018(0) win 64512 mss 1460,nop,nop,sackOK (DF) But my tunnel is still up according to ipsecctl -sa. I have other tunnels who work like a charm. Anyone could tell me out to get my packets back on the right way ? you might have lost a route /j TYVM -- Cordialement, Pierre BARDOU CSIM - Bureau 012 12 rue Michel Labrousse BP93668 F-31036 Toulouse CEDEX 1 Til : 05 67 69 71 84 Fax : 05 34 61 51 00 Mail : bardo...@mipih.fr [demime 1.01d removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
pf route-to doesn't work for me after upgrading to 4.6
Hi, did anything change in regard to pf rules with the route-to option in recent versions of OpenBSD? I've just reinstalled an old system that was running OpenBSD 3.9 with 4.6, and gave it my old pf rulesets. There is a rule that is supposed to send all traffic originating from a certain local network into a tunnel instead of to the default gateway. Which it did with 3.9. Now it seems to do nothing - outgoing traffic just follows the default route, regardless of the route-to rule. It was basically something like this: pass in quick on $int_if route-to $vpn_if from $special_net \ to ! localnets keep state (The relevant traffic comes in through $vpn_if by itself.) Also tried binding the rule on the external interface, and using the route-to syntax with gateway address, but that didn't work either. Alex.
+ 10 beneficios adicionales por solo 2990 pesos. Por tiempo limitado.
Revisa todos tus beneficios dando clic AQUM Ve un ejemplo del tipo de pagina dando clic AQUM
Re: asynchronous I/O
On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst ted.unan...@gmail.com wrote: On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third kou...@gmail.com wrote: On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche use...@gmail.com wrote: Hi Guys, I have been looking for information on how to do asynchronous I/Os in OBSD with no luck. The only thing I have found so far is the O_ASYNC flag in the fcntl syscall. I couldn't find any manual that talks about this. Is this functionality included in OBSD?. If so, where can I find information? Well, open(2) mentions If the O_SYNC flag is set, all I/O operations on the file will be done synchronously., so I suppose we're supposed to assume the default is O_ASYNC. But I suspect what you're really looking for is select(2). He's probably looking for aio_read and aio_write and such, but as one can tell by the absence of man pages, they don't exist here. Exactly, I am more interested more in something close to aio_read aio_write. I was hoping there was some api I can use. Is there any reason why POSIX aio does not exist in OBSD? Security reasons maybe? Luis.
Re: pf route-to doesn't work for me after upgrading to 4.6
(forgot to reply to list) Please show a dmesg. Mitja -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Alexander Bochmann Sent: Friday, December 04, 2009 4:04 PM To: misc@openbsd.org Subject: pf route-to doesn't work for me after upgrading to 4.6 Hi, did anything change in regard to pf rules with the route-to option in recent versions of OpenBSD? I've just reinstalled an old system that was running OpenBSD 3.9 with 4.6, and gave it my old pf rulesets. There is a rule that is supposed to send all traffic originating from a certain local network into a tunnel instead of to the default gateway. Which it did with 3.9. Now it seems to do nothing - outgoing traffic just follows the default route, regardless of the route-to rule. It was basically something like this: pass in quick on $int_if route-to $vpn_if from $special_net \ to ! localnets keep state (The relevant traffic comes in through $vpn_if by itself.) Also tried binding the rule on the external interface, and using the route-to syntax with gateway address, but that didn't work either. Alex.
Re: asynchronous I/O
On Fri, Dec 4, 2009 at 10:20 AM, Luis Useche use...@gmail.com wrote: On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst ted.unan...@gmail.com wrote: On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third kou...@gmail.com wrote: On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche use...@gmail.com wrote: Hi Guys, I have been looking for information on how to do asynchronous I/Os in OBSD with no luck. The only thing I have found so far is the O_ASYNC flag in the fcntl syscall. I couldn't find any manual that talks about this. Is this functionality included in OBSD?. If so, where can I find information? Well, open(2) mentions If the O_SYNC flag is set, all I/O operations on the file will be done synchronously., so I suppose we're supposed to assume the default is O_ASYNC. But I suspect what you're really looking for is select(2). He's probably looking for aio_read and aio_write and such, but as one can tell by the absence of man pages, they don't exist here. Exactly, I am more interested more in something close to aio_read aio_write. I was hoping there was some api I can use. Is there any reason why POSIX aio does not exist in OBSD? Security reasons maybe? Not to disparage your choice of API, but you've got me wondering: does anyone actually use AIO? The best result I could find on koders.com was a line from nginx that called a function whose name ended in _aio. Everything else was just various other APIs that provide AIO as a backend. -Nick
Re: pf route-to doesn't work for me after upgrading to 4.6
On 12/4/09, Alexander Bochmann a...@lists.gxis.de wrote: Hi, did anything change in regard to pf rules with the route-to option in recent versions of OpenBSD? I've just reinstalled an old system that was running OpenBSD 3.9 with 4.6, and gave it my old pf rulesets. There is a rule that is supposed to send all traffic originating from a certain local network into a tunnel instead of to the default gateway. Which it did with 3.9. Now it seems to do nothing - outgoing traffic just follows the default route, regardless of the route-to rule. It was basically something like this: pass in quick on $int_if route-to $vpn_if from $special_net \ to ! localnets keep state (The relevant traffic comes in through $vpn_if by itself.) Also tried binding the rule on the external interface, and using the route-to syntax with gateway address, but that didn't work either. Alex. pf has virtually been rewritten in that time http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf.c
ASN Flow Exporter for OpenBGP device
Hello, I have an OpenBGP device and I need to find out which ASN demands more bandwidth to do some sort of traffic policy engineering. Therefore I need to know if there is any software that is able to export netflow data including SRC/DST AS on an OpenBGP system. I have used pfflow and softflowd but on the second AS is always '0' and pfflow will depend on the ability to have pf data per ASN. I know I can set up some rtlabel or pftable to allow OBGP interaction with PF. However, I would need to manually set the whole scenario and the reliability of my information would depend on my observation of potential ASN to be tracked. Its OK but this way I miss the behavior deviations, if a certain quiet ASN suddenly raises traffic and later lowers it back again. So, how options we have? Thank you in advance. -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br
Re: squid + squidclamav + squidGuard[Zombie].
John E.P. Hynes wrote: On 12/03/2009 03:04 PM, Alessandro Baggi wrote: j...@hytronix.com wrote: Hi Alessandro, I have managed to get Squid to crash all by itself. This is, in a way, good, because it finally gave me some information that I think might be helpful. First, Are you running squid with diskd? I am, and that's where one of the problems manifests: Running out of available message queues. If you can, try compiling a kernel with maxusers 1024 option MSGMAX=16384 # (max characters in a message) option MSGMNI=4096 # (# of message queues) option MSGMNB=32768 # (max characters in a message queue) option MSGTQL=2048 # #max # of messages in system) option MSGSSZ=64 # (size of a message segment) option MSGSEG=4096 # (# of message segments in system) ...and try setting kern.maxfiles=32768 ...and in login.conf openfiles-cur to 16384 ...and see if it helps. I'll let you know what it does for me. Of course, this is REALLY increasing the file handles to a ludicrous level too, and probably isn't necessary, but at this point, I just want to see what works. -John Hi John. I'm running squid with ufs. I can make this test on a vm. But this test is necessary? I say this because I've tried to run squidclamav without squid, then only two processes, squidclamav and squidGuard called by squidclamav...no operation, not redirect from squid...nothing..only runned by the shell. It dies in the same mode... the problem is not openBSD Kernel but squidclamav for me...and how we can see, squidclamav is not in openbsd package mirror dir and in a OpenBSD ports directory. In the next days I will try to recompile the kernel with new option, try not harm. But there is another way: using squid + squidclamav to filter viruses (if squidclamav doesn't crash, I'll make a test for this), and use squidguard domain blacklists in an acl to get content filtering. It's possibile that openbsd kill squidguard because squidclamav make a strange operation not allowed? Or maybe this is a bug also for Linux environment...I can try also with Linux (always on vm) too see if it has the same behaviour. Maybe we do have different problems then, because I now don't even have squid alone stable. It takes days to crash though. For me, squid and squidclamav and squidguard all crash with the same two errors, one related to file handles and the other related to message queues, but the latter is only because I'm using diskd instead of straight ufs. I think my problem is kernel related. And yes, it all runs flawlessly on Linux. Very strange. -John Hi john! I've make the test with: maxusers 1024 option MSGMAX=16384 # (max characters in a message) option MSGMNI=4096 # (# of message queues) option MSGMNB=32768 # (max characters in a message queue) option MSGTQL=2048 # #max # of messages in system) option MSGSSZ=64 # (size of a message segment) option MSGSEG=4096 # (# of message segments in system) ...and try setting kern.maxfiles=32768 ...and in login.conf openfiles-cur to 16384 but the result is the same...squidGuard dies. A question: how are explained this option? in man options there aren't.
Re: pf route-to doesn't work for me after upgrading to 4.6
Hi, ...on Fri, Dec 04, 2009 at 03:46:22PM +, Fred Crowson wrote: pf has virtually been rewritten in that time Ok, what bit me from that is that the default for rules was changed to keep state in the meantime and some other stuff that was relying on the old semantics interfered with the policy routing. After kicking that out, things magically work as expected... Seems I'll better rewrite the whole ruleset. (Why do I always find these things just after writing to the list, and not before?) Thanks for the answers, Alex.
Re: ASN Flow Exporter for OpenBGP device
* Eduardo Meyer dudu.me...@gmail.com [2009-12-04 17:29]: Hello, I have an OpenBGP device and I need to find out which ASN demands more bandwidth to do some sort of traffic policy engineering. Therefore I need to know if there is any software that is able to export netflow data including SRC/DST AS on an OpenBGP system. I have used pfflow and softflowd but on the second AS is always '0' and pfflow will depend on the ability to have pf data per ASN. I know I can set up some rtlabel or pftable to allow OBGP interaction with PF. However, I would need to manually set the whole scenario and the reliability of my information would depend on my observation of potential ASN to be tracked. Its OK but this way I miss the behavior deviations, if a certain quiet ASN suddenly raises traffic and later lowers it back again. So, how options we have? we'd really like that functionality (with pflow(4), of course) but no good idea on how to do that yet. -- 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, Rootservers, Application Hosting
Re: asynchronous I/O
On Fri, Dec 4, 2009 at 10:20 AM, Luis Useche use...@gmail.com wrote: Exactly, I am more interested more in something close to aio_read aio_write. I was hoping there was some api I can use. Is there any reason why POSIX aio does not exist in OBSD? Nobody wrote it.
Re: asynchronous I/O
Penned by Dope Ice Apollyon the Third on 20091204 10:43.03, we have: | On Fri, Dec 4, 2009 at 10:20 AM, Luis Useche use...@gmail.com wrote: | On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst ted.unan...@gmail.com wrote: | On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third | kou...@gmail.com wrote: | On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche use...@gmail.com wrote: | Hi Guys, | | I have been looking for information on how to do asynchronous I/Os in | OBSD with no luck. The only thing I have found so far is the O_ASYNC | flag in the fcntl syscall. I couldn't find any manual that talks about | this. Is this functionality included in OBSD?. If so, where can I find | information? | | | Well, open(2) mentions If the O_SYNC flag is set, all I/O operations | on the file will be done synchronously., so I suppose we're supposed | to assume the default is O_ASYNC. But I suspect what you're really | looking for is select(2). | | He's probably looking for aio_read and aio_write and such, but as one | can tell by the absence of man pages, they don't exist here. | | Exactly, I am more interested more in something close to aio_read | aio_write. I was hoping there was some api I can use. Is there any | reason why POSIX aio does not exist in OBSD? Security reasons maybe? | | | Not to disparage your choice of API, but you've got me wondering: does | anyone actually use AIO? The best result I could find on koders.com | was a line from nginx that called a function whose name ended in _aio. | Everything else was just various other APIs that provide AIO as a | backend. | | -Nick Unfortunately qemu has aio support. Fortunately, enough other os's do not have aio that they have code to handle their needs without aio support. -- Todd Fries .. t...@fries.net _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | 2525 NW Expy #525, Oklahoma City, OK 73112 \ sip:freedae...@ekiga.net | ..in support of free software solutions. \ sip:4052279...@ekiga.net \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt
Re: asynchronous I/O
2009/12/4 Ted Unangst ted.unan...@gmail.com: On Fri, Dec 4, 2009 at 10:20 AM, Luis Useche use...@gmail.com wrote: Exactly, I am more interested more in something close to aio_read aio_write. I was hoping there was some api I can use. Is there any reason why POSIX aio does not exist in OBSD? Nobody wrote it. And: APPLICATION USAGE The aio_read() function is part of the Asynchronous Input and Output option and need not be available on all implementations.
uthum1
Why does a uthum(4) unit show up as two devices? The sensors are only attached to the second one. uhidev2 at uhub2 port 2 configuration 1 interface 0 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev2: iclass 3/1 uthum0 at uhidev2 uhidev3 at uhub2 port 2 configuration 1 interface 1 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev3: iclass 3/0 uthum1 at uhidev3 $ sysctl hw.sensors | grep uthum hw.sensors.uthum1.temp0=22.31 degC (temp) hw.sensors.uthum1.percent0=41.98% (humidity) -- Christian naddy Weisgerber na...@mips.inka.de
Re: uthum1
Why does a uthum(4) unit show up as two devices? The sensors are only attached to the second one. uhidev2 at uhub2 port 2 configuration 1 interface 0 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev2: iclass 3/1 uthum0 at uhidev2 uhidev3 at uhub2 port 2 configuration 1 interface 1 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev3: iclass 3/0 uthum1 at uhidev3 $ sysctl hw.sensors | grep uthum hw.sensors.uthum1.temp0=22.31 degC (temp) hw.sensors.uthum1.percent0=41.98% (humidity) There are two uhid's on the device. The first one is a eeprom that says which type of sensor it is. Not connecting it as a device is more difficult than connecting it.
Re: ASN Flow Exporter for OpenBGP device
On Fri, Dec 4, 2009 at 3:08 PM, Henning Brauer lists-open...@bsws.de wrote: * Eduardo Meyer dudu.me...@gmail.com [2009-12-04 17:29]: Hello, I have an OpenBGP device and I need to find out which ASN demands more bandwidth to do some sort of traffic policy engineering. Therefore I need to know if there is any software that is able to export netflow data including SRC/DST AS on an OpenBGP system. I have used pfflow and softflowd but on the second AS is always '0' and pfflow will depend on the ability to have pf data per ASN. I know I can set up some rtlabel or pftable to allow OBGP interaction with PF. However, I would need to manually set the whole scenario and the reliability of my information would depend on my observation of potential ASN to be tracked. Its OK but this way I miss the behavior deviations, if a certain quiet ASN suddenly raises traffic and later lowers it back again. So, how options we have? we'd really like that functionality (with pflow(4), of course) but no good idea on how to do that yet. I can see how hard it gets to be, specially to make it lightweight. One approach would be auto labeling routing entries by AS (basic support for it already exists) and later, pflow would check for it on exporting time, or maybe check from openbgp directly. I hope its possible somehow. Thank you for your time, we really appreciate. -- 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, Rootservers, Application Hosting -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br
Re: asynchronous I/O
On Fri, Dec 4, 2009 at 1:34 PM, Todd T. Fries t...@fries.net wrote: Unfortunately qemu has aio support. Does it really need it? I cooked up a basic userland implementation using pthreads last night.
Re: uthum1
On Fri, Dec 04, 2009 at 12:01:31PM -0700, Theo de Raadt wrote: Why does a uthum(4) unit show up as two devices? The sensors are only attached to the second one. uhidev2 at uhub2 port 2 configuration 1 interface 0 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev2: iclass 3/1 uthum0 at uhidev2 uhidev3 at uhub2 port 2 configuration 1 interface 1 Ten X Technology, Inc. TEMPer sensor rev 1.10/1.50 addr 4 uhidev3: iclass 3/0 uthum1 at uhidev3 $ sysctl hw.sensors | grep uthum hw.sensors.uthum1.temp0=22.31 degC (temp) hw.sensors.uthum1.percent0=41.98% (humidity) There are two uhid's on the device. The first one is a eeprom that says which type of sensor it is. Not connecting it as a device is more difficult than connecting it. it also shows up as a non working wskbd which makes things somewhat confusing...
Re: asynchronous I/O
Penned by Ted Unangst on 20091204 16:30.57, we have: | On Fri, Dec 4, 2009 at 1:34 PM, Todd T. Fries t...@fries.net wrote: | Unfortunately qemu has aio support. | | Does it really need it? I cooked up a basic userland implementation | using pthreads last night. They provide compatibility functions #ifndef AIO_SUPPORT, which in my book means they don't. someone Ya. QEMU made the POSIX AIO support optional for older OS's and OS's without support... but it also helps QEMU performance quite a bit. someone AIO is useful for VMs, proxy servers, web servers and a few other types of apps. todd I guess I don't get what the difference between AIO and non blocking fd's are. I'd be more keen on getting current qemu working than getting an aio implementation specifically for qemu. Does aio really require threading? If you did implement aio using threads, it would be the first use of threading in all of base. Thanks, -- Todd Fries .. t...@fries.net _ | \ 1.636.410.0632 (voice) | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice) | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX) | 2525 NW Expy #525, Oklahoma City, OK 73112 \ sip:freedae...@ekiga.net | ..in support of free software solutions. \ sip:4052279...@ekiga.net \\ 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A http://todd.fries.net/pgp.txt
Re: asynchronous I/O
On Fri, Dec 4, 2009 at 4:45 PM, Todd T. Fries t...@fries.net wrote: Does aio really require threading? In some sense, yes, in others, no. aio is designed so you don't need (userland) threads. Normally you'd write your server to use non-blocking io. But that doesn't work with files on disk. How can it? With network sockets, you have somebody on the other end pushing data into your pipe which the kernel buffers. But the file system isn't going to read stuff from disk until you ask for it, there's no somebody else pushing data at you. That's what aio is for. It starts up a disk request without waiting for it. Then you can come back and get the result. Think of it as preemptive polling. Instead of calling select()/poll() to find out what's _ready_ for io, you call aio and then later it tells you what's _done_ with io. A normal implementation would be purely kernel based, with a few new syscalls. But the kernel would still need to keep track of all the buffers and io requests. So at that level, there's still something resembling threading. This is all fairly easy to fake in userland. When somebody calls aio_read(), just spin up a thread that calls read() until done. The main process goes on with its work, magic happens in the background. Of course, this requires the ability for one thread to execute while another is blocked, which the uthreads implementation we have doesn't have.
Re: Dual boot stable and current
On Fri, 4 Dec 2009 14:04:30 +1100 Aaron Mason simplersolut...@gmail.com wrote: On Fri, Dec 4, 2009 at 12:33 PM, Jonathan Thornburg jth...@astro.indiana.edu wrote: Christopher Zimmermann madroach () zakweb ! de asked is it possible to install two OpenBSDs on the same disk? I'd like to try -current in a separate installation. Yes. The way I do it is to have a single fdisk partition containing the entire disk (or more generally, as much of it as I want to use for all OpenBSD stuff combined), then create two separate sets of OpenBSD root, var, and usr partitions inside that, sharing /home. That is, I have the following 'disklabel' partitions: wd0a root #1 /etc/fstab mounts root #1, var #1, usr #1, home wd0b swap wd0c entire disk wd0d root #2 /etc/fstab mounts root #2, var #2, usr #2, home wd0e var #1 wd0f var #2 wd0g usr #1 wd0h usr #2 wd0j home I use the standard OpenBSD bootloader, so by default the computer boots system #1. If I want to boot system #2, I just type boot wd0d:/bsd at the boot prompt. Note that the system #1 /etc/fstab mounts *only* the system #1 partitions and home: % cat /etc/fstab /dev/wd0a /ffs rw,softdep 1 1 /dev/wd0b /tmp mfs rw,async,nodev,nosuid,-s=2000 0 /dev/wd0e /var ffs rw,softdep,nodev,nosuid 1 2 /dev/wd0g /usr ffs rw,softdep,nodev1 2 /dev/wd0b /usr/tmp mfs rw,async,nodev,nosuid,-s=2000 0 /dev/wd0j /homeffs rw,softdep,noatime,nodev,nosuid 1 2 Similarly, the system #2 /etc/fstab mounts *only* the system #2 partitions and home: # mount -r /dev/wd0d /mnt # cat /mnt/etc/fstab /dev/wd0d /ffs rw,softdep 1 1 /dev/wd0b /tmp mfs rw,async,nodev,nosuid,-s=2000 0 /dev/wd0f /var ffs rw,softdep,nodev,nosuid 1 2 /dev/wd0h /usr ffs rw,softdep,nodev1 2 /dev/wd0b /usr/tmp mfs rw,async,nodev,nosuid,-s=2000 0 /dev/wd0j /homeffs rw,softdep,noatime,nodev,nosuid 1 2 # The two OpenBSD installations are entirely separate, and may be as different as desired. (For example, the laptop on which I'm typing this has #1 = 4.6-stable and #2 = 4.4-stable.) A couple of important notes if you decide to try this: First, the standard OpenBSD install hard-codes a as the root partition. So... at the (I)nstall, (U)pgrade or (S)hell? prompt, type s to get a shell, then # ed install.sub $-1(go to the 2nd-to-last-line) s/a/d/ (change the 'a' to a 'd') w (write the memory buffer back to the file) q (quit the ed editor) (maybe follow with 'more install.sub' to confirm that all went well) OpenBSD will how happily install with root on the wd0d partition. [An alternative is to install what you want to wind up in #2 to the #1 partitions, use dump|restore or tar|tar to copy these to the #2 partitions (as per FAQ 10.2), run installboot(8) to fixup booting to the #2 partitions, then reinstall what you really want to #1.] Finally, and most important of all, *don't* try this unless you know what you're doing! Playing around with partitions this way works fine if you do things correctly, but mistakes can easily scramble your disk (more accurately, the data on it). In particular, don't try this until you grok the FMs disklabel(8), fstab(5), installboot(8). And have a full backup *before* you try it... -- -- Jonathan Thornburg [remove -animal to reply] jth...@astro.indiana-zebra.edu Dept of Astronomy, Indiana University, Bloomington, Indiana, USA If the triangles made a god, it would have three sides. -- Voltaire I believe Josh Grosse has the right idea - if your system supports booting of USB drives, $5 will buy a 1gb stick that is more than adequate for running OpenBSD on. OK, I get it. I thought root always had to be 'a'. But being able to use the same disklabel for both installations is even better than using two separate disklabels. Thanks for the hints and tips! Christopher
CPUID support on top
Not sure if useful to anyone else, but here it goes a patch that adds a new column to top, showing the last CPUID where a process has been seen. Other top implementations have this feature, which can be useful on some situations. Solution may not be very elegant, but it was the one which required less code churn. I may work on other solution if there is interest on having this merged. diff -u -r1.64 machine.c --- machine.c 28 Apr 2009 21:24:41 - 1.64 +++ machine.c 4 Dec 2009 22:53:39 - @@ -69,13 +69,13 @@ * These definitions control the format of the per-process area */ static char header[] = - PID XPRI NICE SIZE RES STATE WAIT TIMECPU COMMAND; + PID XPRI NICE SIZE RES STATE WAIT TIMECPU #C COMMAND; /* 0123456 -- field to fill in starts at header+6 */ #define UNAME_START 6 #define Proc_format \ - %5d %-8.8s %3d %4d %5s %5s %-9s %-7.7s %6s %5.2f%% %s + %5d %-8.8s %3d %4d %5s %5s %-9s %-7.7s %6s %5.2f%% %2d %s /* process state names for the STATE column of the display */ /* @@ -496,7 +496,7 @@ (pp-p_stat == SSLEEP pp-p_slptime maxslp) ? idle : state_abbr(pp), p_wait, format_time(cputime), 100.0 * pct, - printable(format_comm(pp))); + pp-p_cpuid, printable(format_comm(pp))); *pid = pp-p_pid; /* return the result */
Strategic Grant Proposal Workshop at UBC
Institute for Strategic Funding Development Strategic Grant Writing Proposal Workshop (Sponsored by ISFD) held at the University of British Columbia, Vancouver December 7 - 9, 2009 8:30AM - 4:30 PM CFRE Accredited Course for 20 contact hours or 20 CFRE Continuing Education Points! Participants completing the ISFD grant writing workshop will receive the following: a Certificate of Completion accredited by CFRE, grant funding CD, bonus fundraising CD, expert grant training instruction from grant industry leaders and much more! Please visit our website or give us a call 877.414.8991 to sign up now. Educators, non-profit professionals, graduate students, administrators researchers in the sciences and social sciences should register as soon as possible. Spaces fills up quickly, which means registration is on a first-come-first serve basis. Please forward, post, and distribute this e-mail to your colleagues and people who may benefit from this program. The Institute for Strategic Funding Development's grant writing workshop is a 3 day course designed to teach the basics of grant writing for industry professionals. It provides a comprehensive overview of effective grant development techniques, including: finding best fit funding sources, creating innovative programs, and planning for funding sustainability. The workshop is great for government, academic, research, health and non-profit professionals new to the grant writing world as well for professionals looking to expand their grant writing knowledge. The workshop will provide an intensive and interactive grant proposal development experience, where you will learn the proposal writing process in its entirety and have great confidence in writing future proposals. As an extra added bonus, you will also be able to develop a draft proposal or have our instructor review one of your existing grant proposals. The Strategic Grant Writing Proposal Workshop will be presented in 3 sessions: Strategic Proposal Writing Preparing a successful written proposal requires an organized, systematic approach to effectively convey your story. It demands disciplined strategies to align your content to what a grant maker is looking for. This workshop provides a step-by-step writing process to deal with any and all application requirements. What's more, you will learn why proposal writing is much different than other kinds of writing. Strategic Program Planning Planning a winning proposal requires developing ideas that are clear, significant and compelling. Your ideas must not only meet the criteria of a grant maker, but they must also demonstrate your in-depth knowledge about a grant maker. Effectively strategizing your proposal idea is what this workshop will emphasize. Strategic Grant Research Through interactive exercises, discussions, applicable research assignments and individual consultations, you will learn how to strategically identify appropriate funding agencies. This course will expose you to database applications, online research tools, as well as traditional publications that contain information about multiple grant opportunities. Once identified, you will learn how to initiate contact and cultivate effective relationships with potential grant makers. Tuition for our three-day grant writing workshop is $ 598 per person, with a 10% discount for early sign-ups (14 business days or more before the workshop). Standard Tuition: $598 per person. Each student will receive the following: * ISFD Certificate of Completion accredited by CFRE * 20 Continuation Education Units (CEU) or 20 Contact Hours * Strategic Grant Proposal Writing Workbook * Strategic Grant Proposal Research CD * Strategic Grant Proposal Personalized Materials * Bonus Fundraising Materials (Strategic Fundraising CD) * On-Going Consulting Services with ISFD Instructors Staff Registration: Online Phone - Call us at 877.414.8991. An ISFD consultant will be more than happy to assist you with your registration and answer any questions or concerns. Email - Send an email to i...@isfdonline.com with your basic contact information and a seat will be reserved. You received this e-mail due to your institutional or organizational affiliation. If we sent this e-mail to you in error, and you wish not to receive any further e-mails from us, please click on the following link: REMOVE or simply send us an email to rem...@isfdonline.com with the remove in the subject line.
Re: CPUID support on top
Not sure if useful to anyone else, but here it goes a patch that adds a new column to top, showing the last CPUID where a process has been seen. Other top implementations have this feature, which can be useful on some situations. Not needed. It is already there in the STATE field, after the /
Re: CPUID support on top
On Fri, Dec 04, 2009 at 04:27:06PM -0700, Theo de Raadt wrote: Not sure if useful to anyone else, but here it goes a patch that adds a new column to top, showing the last CPUID where a process has been seen. Other top implementations have this feature, which can be useful on some situations. Not needed. It is already there in the STATE field, after the / Right, but the idea was to eventually be able to sort the output by CPU. Anyway, I actually sent the wrong patch - this one contains an awfull bug! So... just ignore it. Sorry for the noise.
Re: Strategic Grant Proposal Workshop at UBC
You just spammed a mailing list. On Fri, Dec 4, 2009 at 6:22 PM, Adam Hicks a.hi...@grantsworkshop.org wrote: Institute for Strategic Funding Development Strategic Grant Writing Proposal Workshop (Sponsored by ISFD) held at the University of British Columbia, Vancouver December 7 - 9, 2009 8:30AM - 4:30 PM CFRE Accredited Course for 20 contact hours or 20 CFRE Continuing Education Points! Participants completing the ISFD grant writing workshop will receive the following: a Certificate of Completion accredited by CFRE, grant funding CD, bonus fundraising CD, expert grant training instruction from grant industry leaders and much more! Please visit our website or give us a call 877.414.8991 to sign up now. Educators, non-profit professionals, graduate students, administrators researchers in the sciences and social sciences should register as soon as possible. Spaces fills up quickly, which means registration is on a first-come-first serve basis. Please forward, post, and distribute this e-mail to your colleagues and people who may benefit from this program. The Institute for Strategic Funding Development's grant writing workshop is a 3 day course designed to teach the basics of grant writing for industry professionals. It provides a comprehensive overview of effective grant development techniques, including: finding best fit funding sources, creating innovative programs, and planning for funding sustainability. The workshop is great for government, academic, research, health and non-profit professionals new to the grant writing world as well for professionals looking to expand their grant writing knowledge. The workshop will provide an intensive and interactive grant proposal development experience, where you will learn the proposal writing process in its entirety and have great confidence in writing future proposals. As an extra added bonus, you will also be able to develop a draft proposal or have our instructor review one of your existing grant proposals. The Strategic Grant Writing Proposal Workshop will be presented in 3 sessions: Strategic Proposal Writing Preparing a successful written proposal requires an organized, systematic approach to effectively convey your story. It demands disciplined strategies to align your content to what a grant maker is looking for. This workshop provides a step-by-step writing process to deal with any and all application requirements. What's more, you will learn why proposal writing is much different than other kinds of writing. Strategic Program Planning Planning a winning proposal requires developing ideas that are clear, significant and compelling. Your ideas must not only meet the criteria of a grant maker, but they must also demonstrate your in-depth knowledge about a grant maker. Effectively strategizing your proposal idea is what this workshop will emphasize. Strategic Grant Research Through interactive exercises, discussions, applicable research assignments and individual consultations, you will learn how to strategically identify appropriate funding agencies. This course will expose you to database applications, online research tools, as well as traditional publications that contain information about multiple grant opportunities. Once identified, you will learn how to initiate contact and cultivate effective relationships with potential grant makers. Tuition for our three-day grant writing workshop is $ 598 per person, with a 10% discount for early sign-ups (14 business days or more before the workshop). Standard Tuition: $598 per person. Each student will receive the following: * ISFD Certificate of Completion accredited by CFRE * 20 Continuation Education Units (CEU) or 20 Contact Hours * Strategic Grant Proposal Writing Workbook * Strategic Grant Proposal Research CD * Strategic Grant Proposal Personalized Materials * Bonus Fundraising Materials (Strategic Fundraising CD) * On-Going Consulting Services with ISFD Instructors Staff Registration: Online Phone - Call us at 877.414.8991. An ISFD consultant will be more than happy to assist you with your registration and answer any questions or concerns. Email - Send an email to i...@isfdonline.com with your basic contact information and a seat will be reserved. You received this e-mail due to your institutional or organizational affiliation. If we sent this e-mail to you in error, and you wish not to receive any further e-mails from us, please click on the following link: REMOVE or simply send us an email to rem...@isfdonline.com with the remove in the subject line.
Re: asynchronous I/O
Iguess the short answers is that it is not implemented and probably it won't. There are certain applications that would certainly benefit from aio. The one I can think of (it is the one I use the most) is I/O trace replay. But I am sure that there are plenty of applications that can benefit from this facility. It is true that aio can be easily implemented having an I/O handler thread. But it is always nice to have a library that do it for you ;) Thanks for your responses, Luis On Fri, Dec 4, 2009 at 5:45 PM, Ted Unangst ted.unan...@gmail.com wrote: On Fri, Dec 4, 2009 at 4:45 PM, Todd T. Fries t...@fries.net wrote: Does aio really require threading? In some sense, yes, in others, no. aio is designed so you don't need (userland) threads. Normally you'd write your server to use non-blocking io. But that doesn't work with files on disk. How can it? With network sockets, you have somebody on the other end pushing data into your pipe which the kernel buffers. But the file system isn't going to read stuff from disk until you ask for it, there's no somebody else pushing data at you. That's what aio is for. It starts up a disk request without waiting for it. Then you can come back and get the result. Think of it as preemptive polling. Instead of calling select()/poll() to find out what's _ready_ for io, you call aio and then later it tells you what's _done_ with io. A normal implementation would be purely kernel based, with a few new syscalls. But the kernel would still need to keep track of all the buffers and io requests. So at that level, there's still something resembling threading. This is all fairly easy to fake in userland. When somebody calls aio_read(), just spin up a thread that calls read() until done. The main process goes on with its work, magic happens in the background. Of course, this requires the ability for one thread to execute while another is blocked, which the uthreads implementation we have doesn't have.
Fernando de la Mora 5 y 6 de diciembre
Correo proveniente de Citymail Mixico. Si no puedes ver correctamente el mensaje, haz Clic Aqum Comparte en Facebook Mi PerfilEnvia a un amigo Aprovecha la ultima venta nocturna del 2009 este sabado 5 de diciembre citymail citymail Es mejor borrar emails que tirar arboles para hacer papel. Pulsar aqui para darse de baja( misc@openbsd.org ) | Politica de privacidad [IMAGE]
Re: ASN Flow Exporter for OpenBGP device
On 2009-12-04, Eduardo Meyer dudu.me...@gmail.com wrote: I have an OpenBGP device and I need to find out which ASN demands more bandwidth to do some sort of traffic policy engineering. Therefore I need to know if there is any software that is able to export netflow data including SRC/DST AS on an OpenBGP system. take a look at pmacct, it's in ports/packages. it can collect netflow data and peer bgp (quagga-based code) to add ASN information, but as far as I know the bgp code hasn't been tested on OpenBSD yet.
SIGCHLD and libpthread.so
Hi, I see that SIGCHLD which was sent before calling sigaction() for SIGCHLD is delivered to the handler when program is linked to libpthread.so. However, this behavior doesn't occur when program isn't linked to libpthread.so. I feel the behavior of SIGCHLD when linked to libpthread.so is strange, but I don't know whether the behavior is correct or not. Can anyone tell me what happened? Best Regards, Jun Kawai -- % dmesg | head -2 OpenBSD 4.6-stable (GENERIC.MP) #0: Sat Dec 5 10:35:10 JST 2009 k...@cask.komos.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP % cat SIGCHLD-test.c #include signal.h #include stdio.h #include stdlib.h #include sys/types.h #include sys/wait.h #include time.h #include unistd.h void trap(int); void puts_curtime(void); int main(int argc, char *argv[]) { pid_t pid; struct sigaction act, oact; puts_curtime(); pid = fork(); if (pid == 0) { sleep(1); _exit(0); } else if (pid == -1) { exit(1); } else { int status; waitpid(pid, status, 0); } puts_curtime(); sleep(5); puts_curtime(); sigemptyset(act.sa_mask); act.sa_handler = trap; act.sa_flags = 0; if (sigaction(SIGCHLD, act, oact) != 0) { exit(1); } sleep(5); if (sigaction(SIGCHLD, oact, (struct sigaction *) 0) != 0) { exit(1); } puts_curtime(); exit(0); } void trap(int sig) { printf(Received SIGCHLD - ); puts_curtime(); return; } void puts_curtime(void) { time_t tloc; time(tloc); puts(ctime(tloc)); return; } % cc -Wall -o SIGCHLD-test SIGCHLD-test.c % cc -Wall -pthread -o SIGCHLD-test-thread SIGCHLD-test.c % ldd ./SIGCHLD-test ./SIGCHLD-test-thread ./SIGCHLD-test: StartEnd Type Open Ref GrpRef Name 0040 00802000 exe 10 0 ./SIGCHLD-test 00020d2b6000 00020d795000 rlib 01 0 /usr/lib/libc.so.51.0 000201c0 000201c0 rtld 01 0 /usr/libexec/ld.so ./SIGCHLD-test-thread: StartEnd Type Open Ref GrpRef Name 0040 00802000 exe 10 0 ./SIGCHLD-test-thread 00020a66d000 00020aa91000 rlib 01 0 /usr/lib/libpthread.so.11.1 0002036a5000 000203b84000 rlib 01 0 /usr/lib/libc.so.51.0 00020140 00020140 rtld 01 0 /usr/libexec/ld.so % ./SIGCHLD-test Sat Dec 5 12:06:34 2009 Sat Dec 5 12:06:35 2009 Sat Dec 5 12:06:40 2009 Sat Dec 5 12:06:45 2009 % echo $? 0 % ./SIGCHLD-test-thread Sat Dec 5 12:06:58 2009 Sat Dec 5 12:06:59 2009 Sat Dec 5 12:07:04 2009 Received SIGCHLD - Sat Dec 5 12:07:09 2009 Sat Dec 5 12:07:09 2009 % echo $? 0 % --
How can I get my driver bug fix committed?
About two weeks ago, I sent a fix for the ral(4) driver ([PATCH] Fix interrupt handling in ral(4) for RT2661 under load, http://www.mail-archive.com/t...@openbsd.org/msg01155.html). I have not gotten any response from any OpenBSD developers, and I have not seen the patch committed. I'm happy to answer any questions about the patch, revise it, or do whatever it takes to move this forward, but it is very disheartening to have my efforts to contribute a bug fix simply get ignored. What am I doing wrong? Thanks, Roland