Re: Core dumps from daemon processes?

2010-02-24 Thread Anthony Howe
On 23/02/2010 23:30, Stuart Henderson whispered from the shadows...:
 kern.nosuidcoredump=2 works fine for me in -current (though =0 seems
 broken), so please try with a newer OS version. This should work, it's
 needed for debugging Xorg too.

OK. I can confirm your results, see below for the verbose blow by blow.

So for myself, its proven that if I upgrade to 4.6, there is at least
one method (sysctl kern.nosuidcoredump=2) to debug setuid() daemon
servers. I can live with that; just document kern.nosuidcoredump=2
please in core(5) or setuid(2) for developers.

Thank you all for your time.

Anthony Howe

--- long version ---

I'll going to skip the side debate of why my home file server (4.0) and
my production machine (4.3) are not at least up to date with 4.6. That
way be fiery dragons.

I've pulled out an old 500 Mhz machine from a cupboard and have
installed 4.6 on it...

OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K6(tm) 3D processor (AuthenticAMD 586-class) 502 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
real mem  = 532180992 (507MB)
avail mem = 505774080 (482MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 07/15/95, BIOS32 rev. 0 @ 0xfdb60,
SMBIOS rev. 2.1 @ 0xf5e60 (26 entries)
bios0: vendor American Megatrends Inc. version 062601 date 07/15/97
bios0: M599LMR M599LMR
...

Here is the nulld.c code, slightly tweaked for easy enable/disable of
setuid().

usage: nulld [numeric-uid-to-set]

Please note that this is not how I would write a setuid daemon server;
its strictly meant for testing behaviour of core dumps with respect to
setuid().

---
#include stdlib.h
#include string.h

int
main(int argc, char **argv)
{
(void) daemon(1,1);
(void) chdir(/tmp);

if (1  argc) {
printf(before uid=%d euid=%d\n, getuid(), geteuid());
(void) setuid(strtol(argv[1], NULL, 10));
printf(after uid=%d euid=%d\n, getuid(), geteuid());
}

for (;;)
sleep(60);

/* NOTREACHED */
return 0;
}
---

Three tests, assumes logged in as root, assumes ulimit -c unlimited:

1. No setuid(), assert kern.nosuidcoredump=1; core dump in /tmp as
expected. No argument.

r...@pizza:# rm /tmp/*core /var/crash/*core
rm: /tmp/*core: No such file or directory
rm: /var/crash/*core: No such file or directory
r...@pizza:# sysctl kern.nosuidcoredump=1
kern.nosuidcoredump: 1 - 1
r...@pizza:# ./nulld
r...@pizza:# pkill -ABRT nulld
r...@pizza:# ls /tmp /var/crash
/tmp:
.ICE-unix/  .X11-unix/  nulld.core

/var/crash:
minfree
r...@pizza:#


2. setuid(1), nosuidcoredump=0; no core dump in /tmp; there is a problem
in OpenBSD 4.6, though given Theo's earlier comments this appears to be
policy, which I can accept if its document in core(5) and/or setuid(2)
man pages.

r...@pizza:# rm /tmp/*core /var/crash/*core
rm: /var/crash/*core: No such file or directory
r...@pizza:# sysctl kern.nosuidcoredump=0
kern.nosuidcoredump: 1 - 0
r...@pizza:# ./nulld 1
r...@pizza:# before uid=0 euid=0
after uid=1 euid=1

r...@pizza:# pkill -ABRT nulld
r...@pizza:# ls /tmp /var/crash
/tmp:
.ICE-unix/ .X11-unix/

/var/crash:
minfree
r...@pizza:#


3. setuid(1), nosuidcoredump=2; core dump in /var/crash; no problem with
OpenBSD 4.6.

r...@pizza:# rm /tmp/*core /var/crash/*core
rm: /tmp/*core: No such file or directory
rm: /var/crash/*core: No such file or directory
r...@pizza:# sysctl kern.nosuidcoredump=2
kern.nosuidcoredump: 0 - 2
r...@pizza:# ./nulld 1
r...@pizza:# before uid=0 euid=0
after uid=1 euid=1

r...@pizza:# pkill -ABRT nulld
r...@pizza:# ls /tmp /var/crash
/tmp:
.ICE-unix/ .X11-unix/

/var/crash:
minfree nulld.core
r...@pizza:#

-- 
Anthony C HoweSkype: SirWumpus  SnertSoft
+33 6 11 89 73 78   Twitter: SirWumpus  BarricadeMX  Milters
http://snert.com/  http://nanozen.info/ http://snertsoft.com/



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Tomas Bodzar
BTW this is great paper about SoftUpdates and journaling
http://www.usenix.org/publications/library/proceedings/usenix2000/general/full_papers/seltzer/seltzer_html/index.html
which I found as link in old interview with Theo
http://kerneltrap.org/node/6 I know now more about meta-data and
similar stuff.

On Wed, Feb 24, 2010 at 1:20 AM, Noah McNallie n...@n0ah.org wrote:
 Hey guys. Noah here. I'd like to use openbsd on an older machine i have.
 I've had it on there before and never tested something that i've been
 testing on various operating systems lately. That's how well they do while
 under disk io load, concurrently.

 An example would be to tar -zxvf a large tarball and in another terminal,
 try to run a simple command. such as 'uname' or 'ls' or what have you. To
 test responsiveness. It may not be a very good test but it's a everyday
 usage test.

 Well, i've found on openbsd without sofdeps enabled it will do this just
 fine. But when enabling softdeps it will not. The 'uname' or 'ls' will take
 quite a while to complete.

 The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost
 required as it speeds up something like the extraction of a tarball
 exponentially. I'm guessing somewhere near 25x. It's very slow on this
 machine without sofdeps.

 Any help leading to a sollution is more than apreciated!

 Noah McNallie
 n0ah





-- 
http://www.openbsd.org/lyrics.html



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Shailesh Tyagi
Hi Theo,

You guys are doing a fantastic work!! Have never used and experienced such a
optimized OS in my life. Really really great job..

I would like to donate a new Dell R210 with  Xeon X3450 @ 2.67GHz/  8GB RAM.
Let me know the shipping address.

W/Regards,

Shailesh Tyagi | CEO
Direct | 1 646 810 7070

N O V A N E T  INC.
42W 38TH ST, Suite 301
New York, NY 10018
http://www.novanet.nethttp://www.novanet.net/




CONFIDENTIALITY NOTE :
The documents herein contain information, belonging to Novanet Ltd, which is
confidential and privileged. Unless you are the intended recipient, you may
not use, copy or disclose to anyone the documents or any information contained
in or attached to the documents.



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Jan Stary
On Feb 23 19:20:28, Noah McNallie wrote:
 Hey guys. Noah here. I'd like to use openbsd on an older machine i have.  
 I've had it on there before and never tested something that i've been  
 testing on various operating systems lately. That's how well they do  
 while under disk io load, concurrently.

 An example would be to tar -zxvf a large tarball and in another  
 terminal, try to run a simple command. such as 'uname' or 'ls' or what  
 have you. To test responsiveness. It may not be a very good test but  
 it's a everyday usage test.

 Well, i've found on openbsd without sofdeps enabled it will do this just  
 fine. But when enabling softdeps it will not. The 'uname' or 'ls' will  
 take quite a while to complete.

So, your system is slow _with_ softupdates?

 The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost  
 required as it speeds up something like the extraction of a tarball  
 exponentially. I'm guessing somewhere near 25x. It's very slow on this  
 machine without sofdeps.

So, your system is slow _without_ softupdates?



Re: Slow IO in PowerEdge R200 X3330 2.66Ghz 2x3MB Cache.

2010-02-24 Thread Tomas Bodzar
I think, that someone told to you that you must use current ;-)

Anyway here you can find something about AHCI and SATA
http://en.wikipedia.org/wiki/Serial_ATA If you don't have option to
turn AHCI on in your BIOS then you may have problems. If you will read
this
http://www.openbsd.org/cgi-bin/man.cgi?query=ahciapropos=0sektion=0manpath
=OpenBSD+Currentarch=i386format=html
then you will know that AHCI simulate SCSCI and that's why your disk
will be sd then.

On Wed, Feb 24, 2010 at 3:46 AM, Andres Salazar ndrsslz...@gmail.com wrote:
 Hello,

 I believe that these disks are SATA II

(http://www.seagate.com/ww/v/index.jsp?vgnextoid=6278576e14ee9110VgnVCM10
 f5ee0a0aRCRD)
 and thus would always fall under wd driver as per the man page.

 I believe that sd is for scsi only. Is this assumption correct?

 Andres

 On Tue, Feb 23, 2010 at 3:36 PM, Marco Peereboom sl...@peereboom.us
wrote:
 Your disks are still wd so io sucks. B Use -current.

 On Tue, Feb 23, 2010 at 03:22:28PM -0600, Andres Salazar wrote:
 Hello,

 I had a R201 running in 4.6 i386 stable..I was told this configuration
 was very new.. so I got a new box this time its a PowerEdge is R200
 without any special PCI SATA controller. With 2 SATA II Hard Disks.
 BIOS Sata setting is set to be B in ATA Mode (its either this or OFF).

 Either after all this change, and a clean install the IO is 55%
 greater then all my other machines. For example a userland recompile
 takes 55min , vrs the same proc and ram on another box is 35 min.

 Below is my dmesg.. which I dont see any flag?? Possibly there must be
 some incompatibility with the hard disk?

 OpenBSD 4.6-stable (GENERIC-13-12-09.MP) #0: Tue Feb 23 16:08:43 CST 2010
 B  B 
r...@bazz.my.domain:/usr/src/sys/arch/i386/compile/GENERIC-13-12-09.MP
 cpu0: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 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 = 3487866880 (3326MB)
 avail mem = 3383250944 (3226MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 05/15/09, BIOS32 rev. 0 @
 0xfac90, SMBIOS rev. 2.5 @ 0xcff9c000 (46 entries)
 bios0: vendor Dell Inc. version 1.4.3 date 05/15/2009
 bios0: Dell Inc. PowerEdge R200
 acpi0 at bios0: rev 2
 acpi0: tables DSDT FACP APIC SPCR HPET MCFG WD__ SLIC ERST HEST BERT
 EINJ SSDT SSDT SSDT SSDT SSDT
 acpi0: wakeup devices PCI0(S5)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: apic clock running at 333MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 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
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu2:

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
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Xeon(R) CPU X3330 @ 2.66GHz (GenuineIntel 686-class)
2.67
 GHz
 cpu3:

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 4 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 4
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 1 (PEX1)
 acpiprt2 at acpi0: bus 2 (SBE0)
 acpiprt3 at acpi0: bus 3 (SBE4)
 acpiprt4 at acpi0: bus 4 (SBE5)
 acpiprt5 at acpi0: bus 5 (COMP)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpicpu2 at acpi0: PSS
 acpicpu3 at acpi0: PSS
 bios0: ROM list: 0xc/0x9000 0xc9000/0x1000 0xca000/0x1800
 0xec000/0x4000!
 ipmi at mainbus0 not configured
 cpu0: Enhanced SpeedStep 2667 MHz: speeds: 2667, 2333, 2000 MHz
 pci0 at mainbus0 bus 0: configuration mode 1 (bios)
 pchb0 at pci0 dev 0 function 0 Intel 3200/3210 Host rev 0x01
 ppb0 at pci0 dev 1 function 0 Intel 3200/3210 PCIE rev 0x01: apic 4
 int 16 (irq 15)
 pci1 at ppb0 bus 1
 ppb1 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 4
 int 16 (irq 15)
 pci2 at ppb1 bus 2
 ppb2 at pci0 dev 28 function 4 Intel 82801I PCIE rev 0x02
 pci3 at ppb2 bus 3
 bge0 at pci3 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 16 (irq 15), address 00:25:64:3c:7f:8c
 brgphy0 at bge0 phy 1: BCM5750 10/100/1000baseT PHY, rev. 0
 ppb3 at pci0 dev 28 function 5 Intel 82801I PCIE rev 0x02
 pci4 at ppb3 bus 4
 bge1 at pci4 dev 0 function 0 Broadcom BCM5721 rev 0x21, BCM5750 C1
 (0x4201): apic 4 int 17 (irq 14), address 00:25:64:3c:7f:8d
 

Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Bret S. Lambert
On Wed, Feb 24, 2010 at 10:52:05AM +0100, Jan Stary wrote:
 On Feb 23 19:20:28, Noah McNallie wrote:
  Hey guys. Noah here. I'd like to use openbsd on an older machine i have.  
  I've had it on there before and never tested something that i've been  
  testing on various operating systems lately. That's how well they do  
  while under disk io load, concurrently.
 
  An example would be to tar -zxvf a large tarball and in another  
  terminal, try to run a simple command. such as 'uname' or 'ls' or what  
  have you. To test responsiveness. It may not be a very good test but  
  it's a everyday usage test.
 
  Well, i've found on openbsd without sofdeps enabled it will do this just  
  fine. But when enabling softdeps it will not. The 'uname' or 'ls' will  
  take quite a while to complete.
 
 So, your system is slow _with_ softupdates?
 
  The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost  
  required as it speeds up something like the extraction of a tarball  
  exponentially. I'm guessing somewhere near 25x. It's very slow on this  
  machine without sofdeps.
 
 So, your system is slow _without_ softupdates?
 

It's a floor wax, *and* a dessert topping!



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Tobias Ulmer
On Wed, Feb 24, 2010 at 10:52:05AM +0100, Jan Stary wrote:
 On Feb 23 19:20:28, Noah McNallie wrote:
  Hey guys. Noah here. I'd like to use openbsd on an older machine i have.  
  I've had it on there before and never tested something that i've been  
  testing on various operating systems lately. That's how well they do  
  while under disk io load, concurrently.
 
  An example would be to tar -zxvf a large tarball and in another  
  terminal, try to run a simple command. such as 'uname' or 'ls' or what  
  have you. To test responsiveness. It may not be a very good test but  
  it's a everyday usage test.
 
  Well, i've found on openbsd without sofdeps enabled it will do this just  
  fine. But when enabling softdeps it will not. The 'uname' or 'ls' will  
  take quite a while to complete.
 
 So, your system is slow _with_ softupdates?

No, softdep trades responsiveness for speed. The overall throughput increases,
of course. I've discussed this with him on IRC some time ago. It was futile,
he's hung up on thinking he can get the impossible by whining about it.

This thread is as pointless as anything.

 
  The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost  
  required as it speeds up something like the extraction of a tarball  
  exponentially. I'm guessing somewhere near 25x. It's very slow on this  
  machine without sofdeps.
 
 So, your system is slow _without_ softupdates?



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Michal
On 24/02/2010 09:52, Jan Stary wrote:
 On Feb 23 19:20:28, Noah McNallie wrote:
 Hey guys. Noah here. I'd like to use openbsd on an older machine i have.  
 I've had it on there before and never tested something that i've been  
 testing on various operating systems lately. That's how well they do  
 while under disk io load, concurrently.

 An example would be to tar -zxvf a large tarball and in another  
 terminal, try to run a simple command. such as 'uname' or 'ls' or what  
 have you. To test responsiveness. It may not be a very good test but  
 it's a everyday usage test.

 Well, i've found on openbsd without sofdeps enabled it will do this just  
 fine. But when enabling softdeps it will not. The 'uname' or 'ls' will  
 take quite a while to complete.
 
 So, your system is slow _with_ softupdates?
 
 The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost  
 required as it speeds up something like the extraction of a tarball  
 exponentially. I'm guessing somewhere near 25x. It's very slow on this  
 machine without sofdeps.
 
 So, your system is slow _without_ softupdates?
 

I think he means untar is faster but doing ls, uname etc is slower WHILE
doing the untar. It's a fair enough question till you actually think
about it. I think Tobias Ulmer summed it up best



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Marco Peereboom
On Wed, Feb 24, 2010 at 10:59:12AM +0100, Bret S. Lambert wrote:
 On Wed, Feb 24, 2010 at 10:52:05AM +0100, Jan Stary wrote:
  On Feb 23 19:20:28, Noah McNallie wrote:
   Hey guys. Noah here. I'd like to use openbsd on an older machine i have.  
   I've had it on there before and never tested something that i've been  
   testing on various operating systems lately. That's how well they do  
   while under disk io load, concurrently.
  
   An example would be to tar -zxvf a large tarball and in another  
   terminal, try to run a simple command. such as 'uname' or 'ls' or what  
   have you. To test responsiveness. It may not be a very good test but  
   it's a everyday usage test.
  
   Well, i've found on openbsd without sofdeps enabled it will do this just  
   fine. But when enabling softdeps it will not. The 'uname' or 'ls' will  
   take quite a while to complete.
  
  So, your system is slow _with_ softupdates?
  
   The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost  
   required as it speeds up something like the extraction of a tarball  
   exponentially. I'm guessing somewhere near 25x. It's very slow on this  
   machine without sofdeps.
  
  So, your system is slow _without_ softupdates?
  
 
 It's a floor wax, *and* a dessert topping!
 

dude they sell that at taco bell



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Artur Grabowski
On Wed, Feb 24, 2010 at 1:20 AM, Noah McNallie n...@n0ah.org wrote:

 Well, i've found on openbsd without sofdeps enabled it will do this just
 fine. But when enabling softdeps it will not. The 'uname' or 'ls' will take
 quite a while to complete.

Simplified explaination. Without softdeps, your tar does one disk
write and waits for it to finish, then ls does one disk read and waits
for it to finish. Continue until done. With softdeps, tar will fill
the whole buffer cache with writes, not letting any other process run,
then ls will try to read one block, wait for at least one write to
finish before it can get a buffer, but in the mean time, tar will be
awoken by those writes finishing and schedule even more writes before
ls gets the chance to run. It's slightly stupid and there have been
experiments with diffs to make this better, but there's no
functionality in the tree to deal with this currently.

 exponentially.

Did I miss some evolution of the english language? I recently keep
hearing abuse of this word everywhere. A multiplication by a constant
was not an exponential function last time I did high school math.

//art



i want to write to u, dear

2010-02-24 Thread Juli S

Hi, gentleman!

Ill let you go to the whims of fate...
If I were to kiss your luscious lips and drink of them their wine I will 
love you more and ask you to be mine. If you were to hold me in your arms
and rock me off to sleep, I will lay there all night long. I'll say that 
I am yours to keep. We will be blessed with a love that will shine...
I dont know what to say... But I will always be 
here togetherandforever.com/fantasyfeel/  when you need me...
To say that I love you... I will see the beauty in your smile and 
happiness in your eyes and it will make me happy too! Now... that you 
don't belong to me I am  still hoping... We will be together...

When the right time comes I will just be right here... Waiting  for you
to be mine... Always thinking you should be mine...

Waiting for your reply
Juli S



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Diana Eichert

On Tue, 23 Feb 2010, Marco Peereboom wrote:


I run them with multi 10Gb adapters and over 16TB of storage as my lab
infrastructure box.  Compiles pretty darn nicely, yay 16 cores ;-)


Hey Marco, what 10G NICs are you using?

diana



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Marco Peereboom
Intel copper running ix.  I can send you a dmesg if you want.

On Wed, Feb 24, 2010 at 06:16:31AM -0700, Diana Eichert wrote:
 On Tue, 23 Feb 2010, Marco Peereboom wrote:

 I run them with multi 10Gb adapters and over 16TB of storage as my lab
 infrastructure box.  Compiles pretty darn nicely, yay 16 cores ;-)

 Hey Marco, what 10G NICs are you using?

 diana



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Kapetanakis Giannis

On 24/02/10 15:27, Marco Peereboom wrote:

Intel copper running ix.  I can send you a dmesg if you want.


I would be interested on that dmesg as well.



Re: load balancing PPPoE connections

2010-02-24 Thread Steven Surdock
 -Original Message-
 From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf
Of
 Stuart Henderson
 Subject: Re: load balancing PPPoE connections

 On 2010/02/24 09:37, Edwin Eyan Moragas wrote:
  On Wed, Feb 24, 2010 at 12:58 AM, Stuart Henderson
s...@spacehopper.org
 wrote:
...
   i have two outgoing DSL connections using PPPoE.
  
  how did you go about managing connections if one of the PPPoE
  connections go down?

 for that particular site, vi pf.conf and reload has been enough so
far.
 you could probably do something with ifstated adjusting pf rules,
though.

Ifstated and a couple of anchor sets works well for me.  Have a core set
of rules in pf.conf and two anchors.  Pull in and out the anchors
depending on the status of the links as detected by ifstated.

-Steve S.



Re: pfctl table cleared time is jumping around

2010-02-24 Thread Dan Harnett
On Wed, Feb 24, 2010 at 08:30:05AM +0100, Henning Brauer wrote:
 * Dan Harnett dan...@harnett.name [2010-02-23 21:19]:
  
  Probably wrong, but this fixes it.
 
 i would not call that wrong.
 
 i don't understand how this ever worked and I don't understand what
 broke it. the only commit in that timeframe that could cause this is
 ryan's pool removal and that doesn't touch anything near that
 codepath. puzzled.


Ryan's commit actually removed a very similar line.

$ cd /usr/src/sys/net
$ cvs diff -D 2010/01/11 -D 2010/01/12 pf_table.c
Index: pf_table.c
===
RCS file: /home/cvs/openbsd/src/sys/net/pf_table.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -p -r1.80 -r1.81
--- pf_table.c  24 Nov 2008 13:22:09 -  1.80
+++ pf_table.c  12 Jan 2010 03:20:51 -  1.81

[... snip! ...]

@@ -1087,7 +,6 @@ pfr_walktree(struct radix_node *rn, void
as.pfras_a.pfra_fback = PFR_FB_NOCOUNT;
}
splx(s);
-   as.pfras_tzero = ke-pfrke_tzero;
 
if (COPYOUT(as, w-pfrw_astats, sizeof(as), flags))
return (EFAULT);

[... snip! ...]



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Diana Eichert

On Wed, 24 Feb 2010, Marco Peereboom wrote:


Intel copper running ix.  I can send you a dmesg if you want.


Yeah, that would be great.  I'll look around and see if I can borrow
one or two from one of my co-contractors.


thanks



Re: pfctl table cleared time is jumping around

2010-02-24 Thread Henning Brauer
* Dan Harnett dan...@harnett.name [2010-02-24 15:29]:
 On Wed, Feb 24, 2010 at 08:30:05AM +0100, Henning Brauer wrote:
  * Dan Harnett dan...@harnett.name [2010-02-23 21:19]:
   
   Probably wrong, but this fixes it.
  
  i would not call that wrong.
  
  i don't understand how this ever worked and I don't understand what
  broke it. the only commit in that timeframe that could cause this is
  ryan's pool removal and that doesn't touch anything near that
  codepath. puzzled.
 
 
 Ryan's commit actually removed a very similar line.

I'm blind and the mystery is solved. thanks for tracking this down.

 $ cd /usr/src/sys/net
 $ cvs diff -D 2010/01/11 -D 2010/01/12 pf_table.c
 Index: pf_table.c
 ===
 RCS file: /home/cvs/openbsd/src/sys/net/pf_table.c,v
 retrieving revision 1.80
 retrieving revision 1.81
 diff -u -p -r1.80 -r1.81
 --- pf_table.c  24 Nov 2008 13:22:09 -  1.80
 +++ pf_table.c  12 Jan 2010 03:20:51 -  1.81
 
 [... snip! ...]
 
 @@ -1087,7 +,6 @@ pfr_walktree(struct radix_node *rn, void
 as.pfras_a.pfra_fback = PFR_FB_NOCOUNT;
 }
 splx(s);
 -   as.pfras_tzero = ke-pfrke_tzero;
  
 if (COPYOUT(as, w-pfrw_astats, sizeof(as), flags))
 return (EFAULT);
 
 [... snip! ...]
 

-- 
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



Лишний вес-не проблема.

2010-02-24 Thread Виктория
J`fd{i hg m`q hleer qbni qnaqrbemm{i bgckd m` beq h rekn. Dk mejnrnp{u qknbn 
onkm{i - qhmnmhl qhk{ h ak`cnonkswh. Dk dpschu onkm{i ngm`w`er nrqsrqrbhe 
jnmrpnk m`d qnani, ophb{wjs j q`lnnop`bd`mh~ h aeqonlnymne p`gbedemhe psj`lh. 
Dk rper|hu onkm{i - }rn oknune m`qrpnemhe h rnqj`. Dk werbepr{u }rn qknbn 
bnnaye mhwecn me gm`whr - wel fe oknu khxmhi beq? 
Rel me lemee qecndm l{ hqo{r{b`el jnknqq`k|mne d`bkemhe qn qrnpnm{ nayeqrb` - 
lmemh dpschu k~dei, opeqq{, pejk`l{, lnd{, - jnrnpne g`qr`bker m`q qrpelhr|q 
j qrpnimnqrh. Ank|xhmqrbn k~dei - j`j ledhjnb, r`j h meqoevh`khqrnb - onk`c`er, 
wrn khxmhi beq - opnakel` jnqlerhweqj` (opnakel` bmexmecn bhd`), ` me 
ledhvhmqj`. H khx| nrmnqhrek|mn med`bmn onbhkhq| rnwm{e m`swm{e d`mm{e, 
qbhderek|qrbs~yhe n rnl, wrn khxmhi beq me r`j aegnahdem, j`j j`ferq. 
B wel fe phqj khxmecn beq` dk gdnpnb|? 
Onb{xemmne jpnbmne d`bkemhe (choeprnmh) bqrpew`erq s onkm{u k~dei b 3 p`g` 
w`ye, wel s usd{u. 
@repnqjkepng (` gm`whr, h ankegmh qepdv`) s lnknd{u k~dei q khxmhl beqnl 
p`gbhb`erq b 2 p`g` w`ye, wel s k~dei q mnpl`k|m{l beqnl. 
Bepnrmnqr| p`gbhrh q`u`pmncn dh`aer` s slepemmn onkm{u bngp`qr`er bn lmncn 
p`g.
Khxmhi beq - }rn m`cpsgj` m` qsqr`b{, bem{, kecjhe. B{ }rncn onj` me g`lew`kh? 
H }rn d`kejn me beq| oepewem| medscnb, j jnrnp{l ophbndhr hga{rnwm{i beq. Eqkh 
fe s B`q sfe eqr| choeprnmh, q`u`pm{i dh`aer hkh B{ jsphre, rn phqj dk 
gdnpnb|.
Melevjhi swem{i-dhernknc h `brnp m`xslebxhu aeqrqekkepnb Sdn Onkklep qwhr`er, 
wrn r`j m`g{b`el` +anp|a` q hgkhxmhl beqnl;  opnqwhr`mm{i hqrnwmhj, dnund` 
dk nrp`qkh dhernknchh h gdp`bnnup`memh. Dhernknc onqnbernb`k nqrepec`r|q 
opndsjrnb, hg jnrnp{u a{kn hgbkewemn jna{ mewrn no`qmne dk rncn, wrna{ 
dna`bhr| rsd` mewrn wpegb{w`imn onkegmne.
+Onqlnrphre, ophg{b`~r m`q, b{ rnkqr{e, spndkhb{e h ank|m{e. Oph onlnyh m`xei 
opndsjvhh, }jqjk~ghbm{u qnbernb h sqksc b{ bqe qmnb` qr`mere jp`qhb{lh, 
lnknd{lh h qrpnim{lh. ]rhl rp~j`l sfe me ndmn qrnkerhe;.
Wel b{xe d`bkemhe m` onkm{u k~dei, qwhr`er Onkklep, rel rnkye nmh qr`mnbrq, 
onqjnk|js qrpeqq h oknune m`qrpnemhe ophbndr j rnls, wrn nmh ub`r`~rq g` eds 
j`j g` qo`q`rek|m{i jpsc.
Bnr jmhc` jnrnp` asder hmrepeqm` femyhm`l, jnrnp{e unrr unpnxn b{ckder| h 
a{r| jp`qhb{lh. 
B jmhce opedqr`bkem{ me rnk|jn vemm` hmtnpl`vh n rnl, j`j onusder| h a{r| 
jp`qhbni, mn h lmncn hqrnphi, p`qqj`gnb h p`gl{xkemhi. 
M` qrp`mhv`u jmhch p`qql`rphb`~rq bnopnq{ oqhunknchh ohr`mh, khxmecn beq`, 
jp`qnr{. Hqrnphh sqoeunb bdnumnbr h m`ckdmn opndelnmqrphps~r, wrn 
ong`anrhr|q n qbnel reke lnfmn, me ophaec` j r`akerj`l, dher`l h opnwhl 
q`lnhqrg`mhl. G`hmrepeqnb`kn?? Ohxel lme ohq|ln (viktoriya...@mail.ru)  
,b{xk~ `puhb.



4.6 openssh and ldap or radius

2010-02-24 Thread Markus
Hi all,
i try to authenticate  at my sshd using login_-ldap and login_radius both
are not working with sshd only if i do a dry run on the commandline the login
is passed.
In the debug run of radius and the slapd i figured out that the sshd
is passing the username == NOUSER to the login progs!!
Did anyone had an idea?

thanks in adv.

Markus



--
Diese Nachricht wurde auf Viren und andere gefdhrliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
For all your IT requirements visit: http://www.mki-consult.de



Re: Dell R610 problems with Openbsd?

2010-02-24 Thread Theo de Raadt
  I run them with multi 10Gb adapters and over 16TB of storage as my lab
  infrastructure box.  Compiles pretty darn nicely, yay 16 cores ;-)
 
 Hey Marco, what 10G NICs are you using?

One of the 10G cards I am using is:

ppb3 at pci3 dev 0 function 0 PLX PEX 8648 rev 0xbb
pci4 at ppb3 bus 5
ppb4 at pci4 dev 4 function 0 PLX PEX 8648 rev 0xbb: apic 1 int 6 (irq 0)
pci5 at ppb4 bus 6
ix0 at pci5 dev 0 function 0 Intel 10GbE SFP+ (82599) rev 0x01: apic 1 int 6 
(irq 15), address 00:12:c0:88:27:38
ix1 at pci5 dev 0 function 1 Intel 10GbE SFP+ (82599) rev 0x01: apic 1 int 13 
(irq 14), address 00:12:c0:88:27:39
ppb5 at pci4 dev 5 function 0 PLX PEX 8648 rev 0xbb: apic 1 int 13 (irq 0)
pci6 at ppb5 bus 7
ix2 at pci6 dev 0 function 0 Intel 10GbE SFP+ (82599) rev 0x01: apic 1 int 13 
(irq 14), address 00:12:c0:88:27:3a
ix3 at pci6 dev 0 function 1 Intel 10GbE SFP+ (82599) rev 0x01: apic 1 int 15 
(irq 11), address 00:12:c0:88:27:3b
ppb6 at pci4 dev 8 function 0 PLX PEX 8648 rev 0xbb: apic 1 int 6 (irq 0)
pci7 at ppb6 bus 8
ppb7 at pci4 dev 9 function 0 PLX PEX 8648 rev 0xbb: apic 1 int 13 (irq 0)
pci8 at ppb7 bus 9

Support was just added by jsg and claudio.  Very glad to have it, and really
it is OK that I only have one SFP+ for it.

It is pretty insane that stuff like this exists.



dumpdates

2010-02-24 Thread Didier Wiroth
Hello,
I would like to backup the /etc directory, like this:
sudo dump -0uan -f - /etc | gzip -9 | ssh -i .ssh/id_rsa_host2 m...@host2 dd 
of=/home/me/dump-files/dump-etc-l0-`date +%d%m%Y`.gz

a) Is it normal that /etc/dumpdates is empty after the backup?
b) What do I have to modify to add the information into /etc/dumpdates?

Thanks a lot!
Didier



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Noah McNallie

On 02/24/2010 05:10 AM, Tobias Ulmer wrote:

On Wed, Feb 24, 2010 at 10:52:05AM +0100, Jan Stary wrote:

On Feb 23 19:20:28, Noah McNallie wrote:

Hey guys. Noah here. I'd like to use openbsd on an older machine i have.
I've had it on there before and never tested something that i've been
testing on various operating systems lately. That's how well they do
while under disk io load, concurrently.

An example would be to tar -zxvf a large tarball and in another
terminal, try to run a simple command. such as 'uname' or 'ls' or what
have you. To test responsiveness. It may not be a very good test but
it's a everyday usage test.

Well, i've found on openbsd without sofdeps enabled it will do this just
fine. But when enabling softdeps it will not. The 'uname' or 'ls' will
take quite a while to complete.


So, your system is slow _with_ softupdates?


No, softdep trades responsiveness for speed. The overall throughput increases,
of course. I've discussed this with him on IRC some time ago. It was futile,
he's hung up on thinking he can get the impossible by whining about it.

This thread is as pointless as anything.




The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost
required as it speeds up something like the extraction of a tarball
exponentially. I'm guessing somewhere near 25x. It's very slow on this
machine without sofdeps.


So, your system is slow _without_ softupdates?





please read latest post

Noah McNallie
n0ah



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Noah McNallie

On 02/24/2010 04:52 AM, Jan Stary wrote:

On Feb 23 19:20:28, Noah McNallie wrote:

Hey guys. Noah here. I'd like to use openbsd on an older machine i have.
I've had it on there before and never tested something that i've been
testing on various operating systems lately. That's how well they do
while under disk io load, concurrently.

An example would be to tar -zxvf a large tarball and in another
terminal, try to run a simple command. such as 'uname' or 'ls' or what
have you. To test responsiveness. It may not be a very good test but
it's a everyday usage test.

Well, i've found on openbsd without sofdeps enabled it will do this just
fine. But when enabling softdeps it will not. The 'uname' or 'ls' will
take quite a while to complete.


So, your system is slow _with_ softupdates?


The machine is a 300MHz 2MB L2 sparc64 SUN Ultra 30. softdeps is almost
required as it speeds up something like the extraction of a tarball
exponentially. I'm guessing somewhere near 25x. It's very slow on this
machine without sofdeps.


So, your system is slow _without_ softupdates?




it is very fast for single process tasks, but when another process would 
like to use the disk it seems to just let one hog everything, as the 
other process gets very poor performance. i'm still looking to find 
openbsd daily snapshots, maybe it's fixed, it was a problem in netbsd 
too until upgraded to HEAD from this month, and the issue had vanished.


i find it strange, it seems like an issue that would have been around 
since the conception of the softdep code/sparc64 code. hence why i don't 
find apt to be 'fixed' as an implementation error in the latest openbsd. 
i feel perhaps the only reason it was 'fixed' in netbsd is because i 
compiled in it's two 'new' disk schedulers 'READPRIO' and 'PRIOCSCAN'.


I hope mentioning netbsd is not off topic, i feel it's not as netbsd and 
openbsd inter mingle code at times. let me know.


Noah McNallie
n0ah



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Tony Abernethy
Noah McNallie wrote:
 please read latest post
Doesn't get any lazier than that.



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread J Sisson
On Wed, Feb 24, 2010 at 12:02 PM, Noah McNallie n...@n0ah.org wrote:
 it is very fast for single process tasks, but when another process would
 like to use the disk it seems to just let one hog everything

I do believe that's Artur's response explained earlier.



Re: softdeps enabled = poor concurrent access?

2010-02-24 Thread Noah McNallie

On 02/24/2010 07:41 AM, Artur Grabowski wrote:

On Wed, Feb 24, 2010 at 1:20 AM, Noah McNallien...@n0ah.org  wrote:


Well, i've found on openbsd without sofdeps enabled it will do this just
fine. But when enabling softdeps it will not. The 'uname' or 'ls' will take
quite a while to complete.


Simplified explaination. Without softdeps, your tar does one disk
write and waits for it to finish, then ls does one disk read and waits
for it to finish. Continue until done. With softdeps, tar will fill
the whole buffer cache with writes, not letting any other process run,
then ls will try to read one block, wait for at least one write to
finish before it can get a buffer, but in the mean time, tar will be
awoken by those writes finishing and schedule even more writes before
ls gets the chance to run. It's slightly stupid and there have been
experiments with diffs to make this better, but there's no
functionality in the tree to deal with this currently.


exponentially.


Did I miss some evolution of the english language? I recently keep
hearing abuse of this word everywhere. A multiplication by a constant
was not an exponential function last time I did high school math.

//art



after reading this, i would guess it was enabling READPRIO in netbsd 
that fixed it, as that gives reading priority.. though softdeps did not 
stop increasing performance, tar files still extracted at ~25x the 
rate.. i dunno, you guys can write me down all you want, i won't even 
make fun of openbsd for not having a disk scheduler. and i still adore 
it, my next bat is at how to remove it's security implementations to 
speed it up.


Noah McNallie
n0ah



Re: dumpdates

2010-02-24 Thread Dan Harnett
On Wed, Feb 24, 2010 at 07:00:44PM +0100, Didier Wiroth wrote:
 Hello,
 I would like to backup the /etc directory, like this:
 sudo dump -0uan -f - /etc | gzip -9 | ssh -i .ssh/id_rsa_host2 m...@host2 dd 
 of=/home/me/dump-files/dump-etc-l0-`date +%d%m%Y`.gz
 
 a) Is it normal that /etc/dumpdates is empty after the backup?
 b) What do I have to modify to add the information into /etc/dumpdates?


Only filesystem backups are recorded in /etc/dumpdates.  If you dump the
filesystem that /etc is in (/), then it'll be recorded as you expect.



Opportunità di Lavoro nel mondo della vendita diretta

2010-02-24 Thread Opportunitaguadagno.com Newsletter
Para visualizar esta mensagem, use um programa de
e-mail compativel com html!



Re: Core dumps from daemon processes?

2010-02-24 Thread Rogier Krieger
Would the following be an improvement for the documentation? Feel free
to flame my mdoc(7) skills or lack thereof.

Regards,

Rogier


### Eclipse Workspace Patch 1.0
#P man5
Index: core.5
===
RCS file: /cvs/src/share/man/man5/core.5,v
retrieving revision 1.12
diff -u -r1.12 core.5
--- core.5  31 May 2007 19:19:58 -  1.12
+++ core.5  24 Feb 2010 18:57:21 -
@@ -158,7 +158,16 @@
 .Xr gdb 1 ,
 .Xr pmdb 1 ,
 .Xr setrlimit 2 ,
-.Xr sigaction 2
+.Xr sigaction 2 ,
+.Xr sysctl 3
+.Sh CAVEATS
+Programs with their set-user-ID bit set will not dump core as a security
+precaution. This prevents sensitive information from ending up on disk.
+For debugging programs affected by this, refer to
+.Xr sysctl 3
+for the
+.Li kern.nosuidcoredump
+option for how to deal with this.
 .Sh HISTORY
 A
 .Nm



OpenBSD insecure OS?

2010-02-24 Thread carlos albino garcia grijalba
I foud this:
http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/

so ?

_
Hotmail: Trusted email with Microsofts powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969



Re: OpenBSD insecure OS?

2010-02-24 Thread Marco Peereboom
retarded

On Wed, Feb 24, 2010 at 07:02:15PM +, carlos albino garcia grijalba
wrote:
 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/

 so ?

 _
 Hotmail: Trusted email with Microsofts powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969



Re: OpenBSD insecure OS?

2010-02-24 Thread J Sisson
http://old.nabble.com/The-insecurity-of-OpenBSD-td27268082.html



Re: OpenBSD insecure OS?

2010-02-24 Thread Michiel van Baak
On 19:02, Wed 24 Feb 10, carlos albino garcia grijalba wrote:
 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
 
 so ?

Search the archives, and move along.
-- 

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: OpenBSD insecure OS?

2010-02-24 Thread richardtoohey
Quoting carlos albino garcia grijalba genesi...@hotmail.com:

 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
 
 so ?
 
 _
  Hotmail: Trusted email with Microsofts powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969
 
  

Your twin has already been on this list, so the trolling is rather wasted:

http://marc.info/?l=openbsd-miscm=126412951221902w=2



Re: OpenBSD insecure OS?

2010-02-24 Thread Thomas Pfaff
On Wed, 24 Feb 2010 19:02:15 +
carlos albino garcia grijalba genesi...@hotmail.com wrote:

 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
 
 so ?
 

Gah, not again.  Search the archives (http://marc.info).



Re: OpenBSD insecure OS?

2010-02-24 Thread Dunceor
On Wed, Feb 24, 2010 at 8:02 PM, carlos albino garcia grijalba
genesi...@hotmail.com wrote:
 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/

 so ?

Old, move along.
http://www.mail-archive.com/misc@openbsd.org/msg86163.html



Re: OpenBSD insecure OS?

2010-02-24 Thread Darrin Chandler
On Wed, Feb 24, 2010 at 07:02:15PM +, carlos albino garcia grijalba wrote:
 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
 
 so ?

http://marc.info/?t=12641295802r=1w=2

So.

-- 
Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
dwchand...@stilyagin.com   |  http://phxbug.org/  |  http://metabug.org/
http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG Federation



Re: OpenBSD insecure OS?

2010-02-24 Thread Bryan

On 2/24/2010 1:02 PM, carlos albino garcia grijalba wrote:

I foud this:
http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/

so ?

_
Hotmail: Trusted email with Microsofts powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

   


Will the mouth-breathers please start searching the mailing list?  This 
has already been trolled, killed, and thankfully, you've re-zombied it.  
*golf clap*


Also, get a better mail service, and e-mail handle... both blow...



Re: OpenBSD insecure OS?

2010-02-24 Thread Henry Sieff
On Wed, Feb 24, 2010 at 11:02 AM, carlos albino garcia grijalba
genesi...@hotmail.com wrote:
 I foud this:
 http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/

 so ?

translation
trolling trolling trolling::
http://trolling.trolling.troll/troll/troll/troll/trolling-trolls-of-trollovia/

troll?
/translation

hth

gfy



Re: OpenBSD insecure OS?

2010-02-24 Thread carlos albino garcia grijalba
Folks i dont mean obsd is insecure i love obsd, ive been using it for 5 years
i just want the community to read the history
sorry.

 Date: Wed, 24 Feb 2010 12:20:03 -0700
 From: dwchand...@stilyagin.com
 To: genesi...@hotmail.com
 CC: misc@openbsd.org
 Subject: Re: OpenBSD insecure OS?

 On Wed, Feb 24, 2010 at 07:02:15PM +, carlos albino garcia grijalba
wrote:
  I foud this:
  http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
 
  so ?

 http://marc.info/?t=12641295802r=1w=2

 So.

 --
 Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
 dwchand...@stilyagin.com   |  http://phxbug.org/  |
http://metabug.org/
 http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG
Federation

_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969



include sys/cdefs.h in sys/mmap.h

2010-02-24 Thread Christopher Zimmermann
Hi!

I just got some errors while trying to compile ptlib:

error: type specifier omitted for parameter `size_t'
[...]

They resulted from size_t not being defined in sys/mmap.h
I could fix this problem by including sys/types.h instead
of sys/cdefs.h in sys/mmap.h

Is this a problem of ptlib, which should not directly
include mmap.h or should this possibly be fixed in OpenBSD?


Christopher

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]



Need advice re: Wistron CM9 and Net 4501

2010-02-24 Thread daniel

I'm running 4.6 (release, I think) on a Soekris Net 4501. See dmesg,
below. I recently got a Wistron CM9 (ath) mini-pci card for it (I've
been running, wired-only, for 4-5 years). I'm getting a couple
different error messages while attempting to use it. I initially thought
(hoped) that the problem was an insufficient power supply (12V 1.2A). I
have since tried two other power supplies (up to 12V 2.5A) and still
have the same problems.

Most of the time the Soekris ends up hanging or otherwise becoming
completely unresponsive until I pull the plug and reboot it. Sometimes
it takes several minutes to become unresponsive.

I've tried ifconfig ath0 scan but it doesn't seem to see anything--
even though I can usually see 10-12 APs from other machines. Before the
Soekris hangs, I can see it from a laptop.

I'm trying to use it in hostap mode; configuring it as described in
ath(4) like this:

inet 192.168.1.1 255.255.255.0 NONE media autoselect mediaopt hostap \
nwid my_net chan 11

I've tried bringing it up/down with ifconfig to try to reset and
reconfigure it but I can't seem to get anywhere.

At various times, I see:
ath0: ath_reset: unable to reset hardware; hal status 3534594048
ar5k_ar5212_nic_wakeup: failed to resume the AR5212 (again)
continuously on the console. ath(4) says the first line should not
happen and I can't find the status code enumerated in the HAL include
file. I couldn't find anything regarding the second line,
ar5k_ar5212_nic_wakeup.

I also see a lot of:
/bsd: ath0: ath_chan_set: unable to reset channel 11 (2462 MHz)
in /var/log/messages. ath(4) says this also should not happen.


I'd really appreciate some guidance on how to debug this.

Thanks,

Daniel


OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 (AuthenticAMD 486-class)
cpu0: FPU
real mem  = 66678784 (63MB)
avail mem = 54636544 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/80/03, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf/0x1
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 AMD ElanSC520 PCI rev 0x00: product  
0 steppin

g 1.1, CPU clock 133MHz, reset 0
gpio0 at elansc0: 32 pins
ath0 at pci0 dev 16 function 0 Atheros AR5212 rev 0x01: irq 10
ath0: AR5213A 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:de:1d:a1
sis0 at pci0 dev 18 function 0 NS DP83815 10/100 rev 0x00, DP83815D:  
irq 11, a

ddress 00:00:24:c1:96:70
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 NS DP83815 10/100 rev 0x00, DP83815D:  
irq 5, ad

dress 00:00:24:c1:96:71
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 NS DP83815 10/100 rev 0x00, DP83815D:  
irq 9, ad

dress 00:00:24:c1:96:72
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: CF1G133
wd0: 1-sector PIO, LBA, 991MB, 2030112 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f1c5 netmask ffe5 ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
sis2 at pci0 dev 20 function 0 NS DP83815 10/100 rev 0x00, DP83815D:  
irq 9, ad

dress 00:00:24:c1:96:72
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: CF1G133
wd0: 1-sector PIO, LBA, 991MB, 2030112 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
biomask f1c5 netmask ffe5 ttymask 
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
WARNING: / was not properly unmounted   # [ because it keeps hanging ]



Re: OpenBSD insecure OS?

2010-02-24 Thread Brad Tilley
On Wed, 24 Feb 2010 19:36 +, carlos albino garcia grijalba
genesi...@hotmail.com wrote:
 Folks i dont mean obsd is insecure i love obsd, ive been using it for 5
 years
 i just want the community to read the history
 sorry.


OpenBSD doesn't have the rubber stamps. That's what confuses people.
However, it has been certified for use by circus clowns (under certain
conditions and restrictions):

http://marc.info/?l=openbsd-miscm=126596870506480w=2

 
  Date: Wed, 24 Feb 2010 12:20:03 -0700
  From: dwchand...@stilyagin.com
  To: genesi...@hotmail.com
  CC: misc@openbsd.org
  Subject: Re: OpenBSD insecure OS?
 
  On Wed, Feb 24, 2010 at 07:02:15PM +, carlos albino garcia grijalba
 wrote:
   I foud this:
   http://allthatiswrong.wordpress.com/2010/01/20/the-insecurity-of-openbsd/
  
   so ?
 
  http://marc.info/?t=12641295802r=1w=2
 
  So.
 
  --
  Darrin Chandler|  Phoenix BSD User Group  |  MetaBUG
  dwchand...@stilyagin.com   |  http://phxbug.org/  |
 http://metabug.org/
  http://www.stilyagin.com/  |  Daemons in the Desert   |  Global BUG
 Federation
 
 _
 Hotmail: Trusted email with powerful SPAM protection.
 https://signup.live.com/signup.aspx?id=60969



Re: include sys/cdefs.h in sys/mmap.h

2010-02-24 Thread Ingo Schwarze
Christopher Zimmermann wrote on Wed, Feb 24, 2010 at 08:53:28PM +0100:

 I just got some errors while trying to compile ptlib:
 
 error: type specifier omitted for parameter `size_t'
 [...]
 
 They resulted from size_t not being defined in sys/mmap.h
 I could fix this problem by including sys/types.h instead
 of sys/cdefs.h in sys/mmap.h
 
 Is this a problem of ptlib, which should not directly
 include mmap.h or should this possibly be fixed in OpenBSD?

I suspect you have found a bug in OpenBSD,
so i have just posted a patch to t...@.



OpenBGPD Multicast SAFI Support?

2010-02-24 Thread Michael H Lambert
If I'm reading the manpages and latest CVS correctly, OpenBGPD does not yet
support SAFI_MULTICAST for either IPv4 or IPv6, although some of the hooks
appear to be present.  Does anyone have a good feel for how much effort would
be required to add this functionality (or just where changes need to be made)?
It looks to be the big sticking point in moving from quagga to OpenBGPD.

Thanks,

Michael



.../i386/SHA256 not sorted?

2010-02-24 Thread Jan Stary
My snapshot downloading script just complained
that there is a difference between i386/SHA256
and the result of running

cat index.txt | grep -Fv SHA256 | xargs cksum -a sha256 

in the i386 directory. The difference is exactly this:

16a17
 SHA256 (install47.iso) = 
 7105afbd45e11072347ce43bcae92d2343022500ab5e397bb16480940bb96b62
20d20
 SHA256 (install47.iso) = 
7105afbd45e11072347ce43bcae92d2343022500ab5e397bb16480940bb96b62

That is, the same line is the 20th line in SHA256,
but ends up being the 17th line when computing the cksums
(because install47.iso is the 17th, alphabetically);
the checkum itself is the same, though

Looking at SHA256, it seems that install47.iso
is out of order, alphabetically. Once edited into
the 'correct' place, there is no difference.

Is it intentional that index.txt is sorted but SHA256 is not?



Re: OpenBGPD Multicast SAFI Support?

2010-02-24 Thread Claudio Jeker
On Wed, Feb 24, 2010 at 04:19:33PM -0500, Michael H Lambert wrote:
 If I'm reading the manpages and latest CVS correctly, OpenBGPD does not yet
 support SAFI_MULTICAST for either IPv4 or IPv6, although some of the hooks
 appear to be present.  Does anyone have a good feel for how much effort would
 be required to add this functionality (or just where changes need to be made)?
 It looks to be the big sticking point in moving from quagga to OpenBGPD.
 

Why are you using MBGP? Your the first requesting this. Multicast routing
is totaly different from unicast routing. It will need fairly massive
changes.

-- 
:wq Claudio



kern.maxclusters: 6144 - ?

2010-02-24 Thread Pete Vickers
Hi,

A proxy (squid) server running i368/4.6RELEASE with around 800 users, what
would be a reasonable value to increase  kern.maxclusters too, to cure this :


r...@proxy-s ~ grep mcl   /var/log/messages
Dec 10 10:13:43 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters
Dec 10 11:06:07 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters
Dec 15 13:41:48 proxy-s /bsd: WARNING: mclpools limit reached; increase
kern.maxclusters


r...@proxy-s ~ sysctl kern.maxclusters
kern.maxclusters=6144


r...@proxy-s ~ netstat -m
4098 mbufs in use:
1131 mbufs allocated to data
2962 mbufs allocated to packet headers
5 mbufs allocated to socket names and addresses
1084/6152/6144 mbuf 2048 byte clusters in use (current/peak/max)
0/8/6144 mbuf 4096 byte clusters in use (current/peak/max)
0/8/6144 mbuf 8192 byte clusters in use (current/peak/max)
0/8/6144 mbuf 9216 byte clusters in use (current/peak/max)
0/8/6144 mbuf 12288 byte clusters in use (current/peak/max)
0/8/6144 mbuf 16384 byte clusters in use (current/peak/max)
0/8/6144 mbuf 65536 byte clusters in use (current/peak/max)
14176 Kbytes allocated to network (22% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines


something like kern.maxclusters=1 or ?



/Pete



Re: .../i386/SHA256 not sorted?

2010-02-24 Thread Stuart Henderson
On 2010-02-24, Jan Stary h...@stare.cz wrote:
 My snapshot downloading script just complained
 that there is a difference between i386/SHA256
 and the result of running

 cat index.txt | grep -Fv SHA256 | xargs cksum -a sha256 

ouch. try 'cksum -c SHA256'...



Re: is the Lemote Yeeloong available in the US?

2010-02-24 Thread Miod Vallat
Sorry to hijack that thread while it is getting old...

It seems that it is easier for people in northern America (but maybe USA
only) to get Gdium Liberty netbooks, rather than Lemote Yeeloong
netbooks.

The OpenBSD/loongson port runs on the Gdium about as badly as on the
Yeeloong - which basically means that neither support suspend at the
moment (to be fair, Gdium audio is not supported either... but the
keyboard is much better).

People curious to try OpenBSD on these low-power MIPS designs are thus
advised to try and get hardware from a not-too-far-away reseller. After
all, transatlantic shipping costs are expensive!

Miod, hairless Loongson hacker



Re: .../i386/SHA256 not sorted?

2010-02-24 Thread Jan Stary
On Feb 24 23:22:20, Stuart Henderson wrote:
 On 2010-02-24, Jan Stary h...@stare.cz wrote:
  My snapshot downloading script just complained
  that there is a difference between i386/SHA256
  and the result of running
 
  cat index.txt | grep -Fv SHA256 | xargs cksum -a sha256 
 
 ouch. try 'cksum -c SHA256'...

Eh, how could I have missed that?
Thanks.



Relaying with multiple accounts in OpenSMTPD

2010-02-24 Thread Josh Rickmar
I'm currently trying to replace msmtp with smtpd in my mutt configuration. I 
have it relaying 
messages through my email provider, but only for one of my accounts. (Currenly 
I am using 'for 
all' in my smtpd.conf.)  Is there a way to filter based on the From header?  
After looking through 
smtpd.conf(5) I see that there's an option to filter by domain, but this 
appears to only match the 
domain in the To header.

Thanks,

Josh Rickmar



Latin Professionals needed for exclusive network, invitation inside

2010-02-24 Thread Emerald Executive Group
I am pleased to inform you that today February 22, 2010, Emerald Who's Who
for Executives and Professionals has selected you as potential candidate
into our organization to represent Mexico and the latin professional
community. Emerald is the authority for professional networking and
recognition in virtually every industry across the globe.  

In the current economic climate, it is important to be part of a network
of professionals to assist with seeking the best possible candidates for
positions and business endeavors. Our members assist each other with
business and career opportunities every day. Emerald Who's Who is
consistently helping our members increase existing business, develop new
ventures and acquire new contacts, locally, nationally and
internationally.

We have released our new website, allowing individuals to increase their
networking potential. Along with our human networking department, we are
sure to assist qualified professionals as we have in the past, as we are
currently doing as well as the implementations we have planned for
professionals in the future.

Should you be inducted into Emerald Who's Who, you will also be included
in the 2010-2011 edition of Emerald Who's Who for Executives and
Professionals. This is an annual edition of accomplished individuals
across the world.

Your inclusion into our organization requires that further professional
information about you is provided within the next 5 days.Please note there
is no dues or fee's to be considered into the Emerald Who's Who for
Executives and Professionals.
We have provided the link below to help you submit your information
quickly and easily.

http://www.emeraldexecutivegroup.com/link.php?M=140550N=3L=4F=T

While our editorial department is continuously working on publishing
timelines, I cannot assure that you will be included in our next annual
print publication featuring all executives and professionals like
yourself. If we receive your information in the next 5 days, we can still
consider your submission.

Kind regards, 
Anthony Miller
Research Director
Emerald Who's Who for Executives and Professionals Inc.
954 Third Ave, NY, NY 10022

www.emeraldww.com


Testimonial:

Thanks Emerald, your networking dept. surely helped us here in Panama.
Since we are an international real estate and development company, we have
been able to seek prospects and close some great deals straight from the
existing member data base. With Panama on its way up, we urge new and
existing members to join your colleagues in investing in your future. Keep
it up Emerald, you have a great thing going. - 
Simon Hurst, KnightsBridge Investment Group-Panama


Emerald Who's Who, 954 Third Ave, Suite 817, New York, NY 10022
Unsubscribe me from this list
[http://www.emeraldexecutivegroup.com/link.php?M=140550N=3L=3F=T]
Click this link to unsubscribe:
http://www.emeraldexecutivegroup.com/unsubscribe.php?M=140550C=b15e3eb303d8eea181ee81b14779fe94L=2N=3



panic: rlphy_service: attempt to isolate phy

2010-02-24 Thread Alexander Nasonov
OpenBSD 4.6 panics on my 4 core amd64 HP workstation when I do
ifconfig -a.

I'm unable to type anything in ddb prompt because the workstation
has only USB, video, audio and ethernet outputs (it's a slim model).

However, I can use the keyboard in initial ddb prompt when I boot
with -d option.

It panics here:
/*
 * Can't isolate the RTL8139 phy, so it has to be the only one.
 */
if (IFM_INST(ife-ifm_media) != sc-mii_inst)
panic(rlphy_service: attempt to isolate phy);

One variable in the if condition is 0 and the other is 31.
I think it wrongly detects 32 rply instances.

Below are dmesg of GENERIC.MP and GENERIC.MP with NFE_DEBUG option
enabled and nfe_debug set to 5.

Thanks,
Alex

PS If you consider buying HP with Windows preinstalled, you may find
it useful that HP has modified EULA and if you don't agree with it,
you must return both hardware and software.

OpenBSD 4.6 (GENERIC.MP) #81: Thu Jul  9 21:26:19 MDT 2009
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 3756720128 (3582MB)
avail mem = 3633721344 (3465MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xfcef0 (21 entries)
bios0: vendor American Megatrends Inc. version 5.06 date 08/18/2009
bios0: HP-Pavilion VG249AA-ABU s5210uk
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP APIC MCFG OEMB HPET SLIC SSDT
acpi0: wakeup devices NSMB(S4) P0P1(S4) HDAC(S4) BR10(S4) BR11(S4) BR12(S4) 
NMAC(S5) USB0(S3) USB2(S3) SLPB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) II X4 620 Processor, 2612.31 MHz
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) II X4 620 Processor, 2611.89 MHz
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu2 at mainbus0: apid 2 (application processor)
cpu2: AMD Athlon(tm) II X4 620 Processor, 2611.89 MHz
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
cpu3 at mainbus0: apid 3 (application processor)
cpu3: AMD Athlon(tm) II X4 620 Processor, 2611.89 MHz
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative
cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative
ioapic0 at mainbus0 apid 4 pa 0xfec0, version 11, 24 pins
acpihpet0 at acpi0: 2500 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (P0P1)
acpiprt2 at acpi0: bus 2 (BR10)
acpiprt3 at acpi0: bus 3 (BR11)
acpiprt4 at acpi0: bus 4 (BR12)
acpicpu0 at acpi0: PSS
acpicpu1 at acpi0: PSS
acpicpu2 at acpi0: PSS
acpicpu3 at acpi0: PSS
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: PWRB
pci0 at mainbus0 bus 0
NVIDIA MCP61 Memory rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 NVIDIA MCP61 ISA rev 0xa2
nviic0 at pci0 dev 1 function 1 NVIDIA MCP61 SMBus rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600
iic1 at nviic0
NVIDIA MCP61 Memory rev 0xa2 at pci0 dev 1 function 2 not configured
ohci0 at pci0 dev 2 function 0 NVIDIA MCP61 USB rev 0xa3: apic 4 int 14 (irq 
14), version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 NVIDIA MPC61 USB rev 0xa3: apic 4 int 7 (irq 7)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NVIDIA EHCI root hub rev 2.00/1.00 addr 1
ppb0 at pci0 dev 4 function 0 NVIDIA MCP61 rev 0xa1
pci1 at ppb0 bus 1
azalia0 at pci0 dev 5 function 0 NVIDIA MCP61 HD Audio rev 0xa2: apic 4 int 
10 (irq 10)
azalia0: codecs: Realtek ALC662
audio0 at azalia0
nfe0 at pci0 dev 7 function 0 NVIDIA MCP61 LAN 

Re: Relaying with multiple accounts in OpenSMTPD

2010-02-24 Thread Gilles Chehade
On Wed, Feb 24, 2010 at 07:29:42PM -0500, Josh Rickmar wrote:
 I'm currently trying to replace msmtp with smtpd in my mutt configuration. I 
 have it relaying 
 messages through my email provider, but only for one of my accounts. 
 (Currenly I am using 'for 
 all' in my smtpd.conf.)  Is there a way to filter based on the From header?  
 After looking through 
 smtpd.conf(5) I see that there's an option to filter by domain, but this 
 appears to only match the 
 domain in the To header.
 

nope sorry, there's no way to do such filtering for now

Gilles

-- 
Gilles Chehade
freelance developer/sysadmin/consultant

   http://www.poolp.org



Re: OpenBGPD Multicast SAFI Support?

2010-02-24 Thread Michael H Lambert
On 24 Feb 2010, at 17:24, Claudio Jeker wrote:

 On Wed, Feb 24, 2010 at 04:19:33PM -0500, Michael H Lambert wrote:
 If I'm reading the manpages and latest CVS correctly, OpenBGPD does not
yet
 support SAFI_MULTICAST for either IPv4 or IPv6, although some of the hooks
 appear to be present.  Does anyone have a good feel for how much effort
would
 be required to add this functionality (or just where changes need to be
made)?
 It looks to be the big sticking point in moving from quagga to OpenBGPD.


 Why are you using MBGP? Your the first requesting this. Multicast routing
 is totaly different from unicast routing. It will need fairly massive
 changes.

I'll agree that multicast FORWARDING is totally different from unicast
forwarding.  However, I'm talking BGP and not PIM.  I think that populating
the RIBs is sufficient from a BGP perspective.

Michael



Re: Relaying with multiple accounts in OpenSMTPD

2010-02-24 Thread Josh Rickmar
On Wed, February 24, 2010 7:48 pm, Gilles Chehade wrote:
 On Wed, Feb 24, 2010 at 07:29:42PM -0500, Josh Rickmar wrote:
 I'm currently trying to replace msmtp with smtpd in my mutt
 configuration. I have it relaying
 messages through my email provider, but only for one of my accounts.
 (Currenly I am using 'for
 all' in my smtpd.conf.)  Is there a way to filter based on the From
 header?  After looking through
 smtpd.conf(5) I see that there's an option to filter by domain, but this
 appears to only match the
 domain in the To header.


 nope sorry, there's no way to do such filtering for now

 Gilles

Okay, thanks. I'll stick with msmtp for now. Is something like this
planned for the future?

Josh Rickmar



Estratto Conto - Ref.24Gen-24Feb

2010-02-24 Thread BCC
Gentile Cliente,

da questo momento h disponibile on-line l'estratto conto mensile riferito
al codice del rapporto 20010-440199234: potr` consultarlo, stamparlo e
salvarlo
sul suo PC per creare un suo archivio personalizzato.

Le ricordiamo che ogni estratto conto rimane in linea fino al terzo mese
successivo all'emissione.

Grazie ancora per aver scelto i servizi on-line di BCC.

I migliori saluti.

Servizio Clienti BCC

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of Est. Conto.12553DEFANGED-html]



managing routes for multiple PPPoE connections

2010-02-24 Thread Edwin Eyan Moragas
hi misc,

this is a follow up on the post i made regarding multiple PPPoE connections.

from the manpage of pppoe(4), a default route is added using the pppoe
connection:

!/sbin/route add default -ifp pppoe0 0.0.0.1

i have no idea how to manage the routes when a connection goes down.
is a simple `route delete` enough?

to sum things up with what i intend to do so far:
1) connect using PPPoE to internet providers
2) setup PF to load balance between the two connections
3) check link availability using ifstated(8)

when a link goes down:
1) change pf rules
2) (?) `route delete...`

i tried doing the above but i got stuck with traffic still routed to
the dead PPPoE link.

hints/pointers?

thank you

/e



Congreso Premier: Desarrollo Integral de Asistentes Ejecutivas,12 de Marzo 2010 México D.F.

2010-02-24 Thread Lic. Rosa Baumgarten
Congreso Premier
Desarrollo Integral de Habilidades para Asistentes Ejecutivas
InnovaciC3n, Productividad y ProyecciC3n
12 de Marzo de 2010
MC)xico D.F.

PMS de MC)xico le presenta este exclusivo seminario, cualquier empresario
o directivo de una compaC1Ca sabe el valor que tiene el trabajo de una
buena asistente, este programa refuerza y perfecciona las habilidades
fundamentales que una buena asistente debe dominar para desempeC1arse
eficazmente ante las exigencias diarias de su trabajo.

Beneficios para usted:
-Proporcionarle a cada participante elementos que les permitan innovar,
aumentar su eficacia y por ende la productividad.
-Puntos relevantes: La participante al usar sus principios y tC)cnicas,
podrC! realizar su trabajo con menos frustraciC3n, lo disfrutarC! mC!s e
incrementarC! su profesionalismo. Esto le ayudarC! a tener un mejor
entendimiento de sC misma y de su compaC1Ca, por lo que le serC! mC!s
fC!cil llegar a lograr la excelencia profesional.

Dirigido a: Secretarias, Asociadas al departamento, Asistentes
administrativos, Asistentes ejecutivos, o cualquier otra persona
relacionada con este tipo de puesto.

Ventajas de asistir a nuestro seminario:
Es la forma mC!s efectiva para mantenerse a la vanguardia, le brindara
estrategias aplicables en su organizaciC3n, y una excelente
retroalimentaciC3n con los asistentes de diferentes empresas.

Mayores informes responda este correo electrC3nico con los siguientes
datos.
Empresa:
Nombre:
TelC)fono:
Email.
NC:mero de Interesados:
Y en breve le haremos llegar la informaciC3n completa del evento. 
O bien comunCquense a nuestros telC)fonos  un ejecutivo con gusto le
atenderC!
Tels. (33) 8851-2365, (33)8851-2741, (33)3125-4658

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Pms de
MC)xico o bien un usuario le refiriC3 para recibir este boletCn.
Como usuario de Pms de MC)xico, en este acto autoriza de manera expresa
que Pms de MC)xico le puede contactar vCa correo electrC3nico u otros
medios.
Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJAASISTENTE
Unsubscribe to this mailing list, reply a blank message with the subject
UNSUBSCRIBE ASISTENTE
Tenga en cuenta que la gestiC3n de nuestras bases de datos es de suma
importancia y no es intenciC3n de la empresa la inconformidad del
receptor.