How to load balancing between lan and adsl ?

2008-10-21 Thread Dongsheng Song
Hello forks,

My proxy use bnx1 connect to internal network, and bnx0 connect to inet.
Can I add adsl for load balancing ?

  |- ext_if(bnx0)
int_if(bnx1) -|
  |- adsl(tun1, bge0)

Thanks for some help,
Dongsheng



Re: : : Testing rthreads

2008-10-21 Thread Raimo Niskanen
On Mon, Oct 20, 2008 at 07:01:29AM -0700, Philip Guenther wrote:
 On Mon, Oct 20, 2008 at 12:38 AM, Raimo Niskanen
 [EMAIL PROTECTED] wrote:
 ...
  Is it obvious how to build librthread.so?
 
 It's just like 99% of the directories in the source tree:
  - make obj
  - make depend
  - make
 
 make install will install the shared and static libraries as
 'librthread' into /usr/lib.
 
 (For those wondering what the 1% of directories are, those would be
 the kernel (described in the release(8) manpage) and the outside
 packages which have a Makefile.bsd-wrapper file to fit them into the
 tree.)

Thank you very much!

I have not seen this in any FAQ. It looks just as when
building patches, but as you say, there are exceptions,
and it is hard to know if this is an exception. It is
also hard to know if it installs as librthread or
as libpthread. Reading the makefile would give
the answer but I have not tried reading OpenBSD
makefiles yet since I know makefiles often are
very hard to decifre.

So this was very valuable intel, thank you again!

 
 
 Philip Guenther

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



Re: routing problem

2008-10-21 Thread Charlie Clark
I have tried doing a route-to rule but it makes no difference, I set it 
up like this:


pass in quick on $ext_if route-to { ( $int_if (IP of host in DMZ ) } 
from any to (IP of host in DMZ)


But my router still does not pass the packets onto the host in the DMZ, 
I haven't tried a reply-to rule but I would have thought that the 
route-to rule should tell the router to pass all packets with the 
destination (IP of host in DMZ) on to (IP of host in DMZ).


For example even when this route-to rule is active and I try to ping a 
host in the DMZ from the outside net, it gets no further than the 
routers ext_if


It seems that any packet that comes into ext_if destined for any IP in 
the DMZ does not get any further, even with route-to rule, which I don't 
think is needed as all of the hosts are in the router's routing table 
and are on the same network as the router.


Thanks,

Charlie


Daniel Anderson wrote:
Instead of giving you the obligatory man pf.conf reply, I will do one better 
and reference an old reply I posed to the list with a sample pf.conf where 
someone asked basically the same thing. I omitted the part that matters in 
this example conf, but explain what you need to insert to get it to fly.


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

It all can be found under the man page on searching for reply-to or route-to.
This worked for me, so if anybody has got a more elegant means of doing it 
they should post.


-
On Monday 20 October 2008 04:20:15 am Charlie Clark wrote:
  

Hi,

I am trying to setup an openbsd router but are having a big problem
getting it to work.
Here is the scenario:

The router has 3 public IP's, with 2 internet connections and sits just
outside a DMZ. Behind the router there are a number of hosts with public
IP's (DMZ).
All of the interfaces on the router are on different subnets.
Let's say that the 3 interfaces are:

int_if = the interface which is directly connected to the DMZ
ext_if = the first internet connection (NOTE this ISP is the ISP which
allocated the IP's in the DMZ so there is no natting done on this
interface) ext2_if = the second internet connection  (NOTE  there is
natting on this interface so everything works fine here)

I have setup aproxyd to answer arp requests on ext_if for all of the
IP's in the DMZ using the layout:

proxy (IP) (MAC of ext_if)

If I ping any IP on the net from a host in the DMZ and do a tcpdump on
the router at the same time, I can see the packet coming in int_if, then
going out ext_if, then the reply coming back in ext_if but then
disappearing. It doesn't seem to be passing the packets, destined for
the hosts in the DMZ, on to them.

Is there something I am missing here?
The filter rules look fine and nothing is being blocked

I would appreciate any help.

Thanks,




  



--

Charlie Clark
Network Engineer

Lemon Computing Ltd
Unit 9
26-28 Priests Bridge
London
SW14 8TA
UK

Tel: +44 208 878 2138
Fax: +44 208 878 2163
Email: [EMAIL PROTECTED]
Site: http://www.lemon-computing.com/

Lemon Computing is a limited company registered in England  Wales under
Company No. 03697052



U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Stephane Lapie

Hello,

I am currently working with a Portwell NAR-5530 (network appliance  
running off Intel hardware, can use regular HDs or CF cards as boot  
device).


We want to use this at work for network appliances, but end up  
bumping in the following problem : the kernel detects any device  
plugged to the controller (SATA or CF) as UltraDMA-5, even though the  
BIOS specifies otherwise clearly.


This results in error messages while installing OpenBSD 4.3 (via  
PXE), as seen in the following dmesg trace retrieved from the serial  
interface :


OpenBSD 4.3 (RAMDISK_CD) #645: Wed Mar 12 11:31:03 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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,EST,TM2,CX16,xTPRPXEBOOT 2.02

real mem  = 2138324992 (2039MB)
avail mem = 2061471744 (1965MB)
mainbus0 at roote to com0
bios0 at mainbus0: AT/286+ BIOS, date 03/15/07, BIOS32 rev. 0 @  
0xf0010, SMBIOS rev. 2.4 @ 0xfbc30 (27 entries)

bios0: vendor American Megatrends Inc. version 080014 date 03/15/2007
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 2, can't enable ACPI
bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
agp at pchb0 not configured
vga1 at pci0 dev 2 function 0 Intel 82Q965 Video rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: irq 10
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 10, address 00:90:fb:12:b4:6d

ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: irq 11
pci2 at ppb1 bus 2
em1 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 11, address 00:90:fb:12:b4:6e

ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x02: irq 5
pci3 at ppb2 bus 3
em2 at pci3 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 5, address 00:90:fb:12:b4:6f

ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x02: irq 15
pci4 at ppb3 bus 4
em3 at pci4 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 15, address 00:90:fb:12:b4:70

ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: irq 10
pci5 at ppb4 bus 5
em4 at pci5 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 10, address 00:90:fb:12:b4:71

ppb5 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: irq 11
pci6 at ppb5 bus 6
em5 at pci6 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
irq 11, address 00:90:fb:12:b4:72

uhci0 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: irq 14
uhci1 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: irq 15
ehci0 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: irq 14
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb6 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xf2
pci7 at ppb6 bus 7
em6 at pci7 dev 12 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
irq 10, address 00:90:fb:12:b4:73
em7 at pci7 dev 13 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
irq 11, address 00:90:fb:12:b4:74
em8 at pci7 dev 14 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
irq 5, address 00:90:fb:12:b4:75
ichpcib0 at pci0 dev 31 function 0 Intel 82801H LPC rev 0x02: PM  
disabled
pciide0 at pci0 dev 31 function 2 Intel 82801H SATA rev 0x02: DMA,  
channel 0 configured to native-PCI, channel 1 configured to native-PCI

pciide0: using irq 15 for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: SanDisk SDCFH2-002G
wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
Intel 82801H SMBus rev 0x02 at pci0 dev 31 function 3 not configured
pciide1 at pci0 dev 31 function 5 Intel 82801H SATA rev 0x02: DMA,  
channel 0 wired to native-PCI, channel 1 wired to native-PCI

pciide1: using irq 15 for native-PCI interrupt
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f3c5 netmask ffe5 ttymask ffe7
rd0: fixed, 3800 blocks
uhub3 at uhub1 port 2 Mitsumi Electric Hub in Apple Extended USB  
Keyboard rev 1.10/4.10 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 Mitsumi Electric  
Apple Extended USB Keyboard rev 1.10/4.10 addr 3

uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to 

Re: : : Testing rthreads

2008-10-21 Thread Stuart Henderson
On 2008-10-21, Raimo Niskanen [EMAIL PROTECTED] wrote:
 I have not seen this in any FAQ. It looks just as when
 building patches, but as you say, there are exceptions,
 and it is hard to know if this is an exception. It is
 also hard to know if it installs as librthread or
 as libpthread. Reading the makefile would give
 the answer but I have not tried reading OpenBSD
 makefiles yet since I know makefiles often are
 very hard to decifre.

The output of make -n is sometimes easier to decipher.



U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Alexey Suslikov
Stephane Lapie wrote:

 Hello,

 I am currently working with a Portwell NAR-5530 (network appliance
 running off Intel hardware, can use regular HDs or CF cards as boot
 device).

 We want to use this at work for network appliances, but end up
 bumping in the following problem : the kernel detects any device
 plugged to the controller (SATA or CF) as UltraDMA-5, even though the
 BIOS specifies otherwise clearly.

You definitely should try to install recent snapshot on a CF
card and boot GENERIC.MP with APM disabled since that
box may mis-behave on interrupts without APCI.

Issue bsd.mp -c in UKC than disable apm and exit.

Alexey



Re: : : Testing rthreads

2008-10-21 Thread Marc Espie
On 2008-10-21, Raimo Niskanen [EMAIL PROTECTED] wrote:
 I have not seen this in any FAQ. It looks just as when
 building patches, but as you say, there are exceptions,
 and it is hard to know if this is an exception. It is
 also hard to know if it installs as librthread or
 as libpthread. Reading the makefile would give
 the answer but I have not tried reading OpenBSD
 makefiles yet since I know makefiles often are
 very hard to decifre.

So, since you know that `often makefiles are very hard to decipher',
you haven't even tried reading this one ?

You ARE a lazy bum.  

First try to look at it, and if you don't understand what's going on, THEN 
you have the right to come back and ask.



Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Jan Stary
On Oct 21 18:11:07, Stephane Lapie wrote:
 Hello,
 
 I am currently working with a Portwell NAR-5530 (network appliance  
 running off Intel hardware, can use regular HDs or CF cards as boot  
 device).
 
 We want to use this at work for network appliances, but end up  
 bumping in the following problem : the kernel detects any device  
 plugged to the controller (SATA or CF) as UltraDMA-5, even though the  
 BIOS specifies otherwise clearly.
 
 This results in error messages while installing OpenBSD 4.3 (via  
 PXE), as seen in the following dmesg trace retrieved from the serial  
 interface :
 
 OpenBSD 4.3 (RAMDISK_CD) #645: Wed Mar 12 11:31:03 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 cpu0: Intel(R) Core(TM)2 Quad CPU Q6600 @ 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,EST,TM2,CX16,xTPRPXEBOOT 2.02
 real mem  = 2138324992 (2039MB)
 avail mem = 2061471744 (1965MB)
 mainbus0 at roote to com0
 bios0 at mainbus0: AT/286+ BIOS, date 03/15/07, BIOS32 rev. 0 @  
 0xf0010, SMBIOS rev. 2.4 @ 0xfbc30 (27 entries)
 bios0: vendor American Megatrends Inc. version 080014 date 03/15/2007
 apm at bios0 function 0x15 not configured
 acpi0 at bios0: rev 2, can't enable ACPI
 bios0: ROM list: 0xc/0xb000! 0xcb000/0x1000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 Intel 82Q965 Host rev 0x02
 agp at pchb0 not configured
 vga1 at pci0 dev 2 function 0 Intel 82Q965 Video rev 0x02
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 ppb0 at pci0 dev 28 function 0 Intel 82801H PCIE rev 0x02: irq 10
 pci1 at ppb0 bus 1
 em0 at pci1 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 10, address 00:90:fb:12:b4:6d
 ppb1 at pci0 dev 28 function 1 Intel 82801H PCIE rev 0x02: irq 11
 pci2 at ppb1 bus 2
 em1 at pci2 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 11, address 00:90:fb:12:b4:6e
 ppb2 at pci0 dev 28 function 2 Intel 82801H PCIE rev 0x02: irq 5
 pci3 at ppb2 bus 3
 em2 at pci3 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 5, address 00:90:fb:12:b4:6f
 ppb3 at pci0 dev 28 function 3 Intel 82801H PCIE rev 0x02: irq 15
 pci4 at ppb3 bus 4
 em3 at pci4 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 15, address 00:90:fb:12:b4:70
 ppb4 at pci0 dev 28 function 4 Intel 82801H PCIE rev 0x02: irq 10
 pci5 at ppb4 bus 5
 em4 at pci5 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 10, address 00:90:fb:12:b4:71
 ppb5 at pci0 dev 28 function 5 Intel 82801H PCIE rev 0x02: irq 11
 pci6 at ppb5 bus 6
 em5 at pci6 dev 0 function 0 Intel PRO/1000MT (82573L) rev 0x00:  
 irq 11, address 00:90:fb:12:b4:72
 uhci0 at pci0 dev 29 function 0 Intel 82801H USB rev 0x02: irq 14
 uhci1 at pci0 dev 29 function 1 Intel 82801H USB rev 0x02: irq 15
 ehci0 at pci0 dev 29 function 7 Intel 82801H USB rev 0x02: irq 14
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb6 at pci0 dev 30 function 0 Intel 82801BA Hub-to-PCI rev 0xf2
 pci7 at ppb6 bus 7
 em6 at pci7 dev 12 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
 irq 10, address 00:90:fb:12:b4:73
 em7 at pci7 dev 13 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
 irq 11, address 00:90:fb:12:b4:74
 em8 at pci7 dev 14 function 0 Intel PRO/1000MT (82541GI) rev 0x05:  
 irq 5, address 00:90:fb:12:b4:75
 ichpcib0 at pci0 dev 31 function 0 Intel 82801H LPC rev 0x02: PM  
 disabled
 pciide0 at pci0 dev 31 function 2 Intel 82801H SATA rev 0x02: DMA,  
 channel 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide0: using irq 15 for native-PCI interrupt
 wd0 at pciide0 channel 0 drive 0: SanDisk SDCFH2-002G
 wd0: 4-sector PIO, LBA, 1953MB, 4001760 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
 Intel 82801H SMBus rev 0x02 at pci0 dev 31 function 3 not configured
 pciide1 at pci0 dev 31 function 5 Intel 82801H SATA rev 0x02: DMA,  
 channel 0 wired to native-PCI, channel 1 wired to native-PCI
 pciide1: using irq 15 for native-PCI interrupt
 usb1 at uhci0: USB revision 1.0
 uhub1 at usb1 Intel UHCI root hub rev 1.00/1.00 addr 1
 usb2 at uhci1: USB revision 1.0
 uhub2 at usb2 Intel UHCI root hub rev 1.00/1.00 addr 1
 isa0 at ichpcib0
 isadma0 at isa0
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 pccom0: console
 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
 biomask f3c5 netmask ffe5 ttymask ffe7
 rd0: fixed, 3800 blocks
 uhub3 at uhub1 port 2 Mitsumi Electric Hub in Apple Extended USB  
 Keyboard rev 1.10/4.10 addr 2
 uhidev0 at uhub3 port 3 configuration 1 interface 0 Mitsumi Electric  

Re: printer

2008-10-21 Thread Chris Bennett

Try installing packages LPRng and apsfilter
With LPRng installed, you get a different set of lpr, lpq and lpc, which 
are located at /usr/local/bin or /usr/local/sbin.
You will need to specify the full path or you will get regular bsd lpr, 
lpq and lpc.

Run apsfilter after getting LPRng running correctly

Not all printers have drivers, so you may also possibly have a printer 
that doesn't work with OpenBSD.
If you use KDE, you will have to select LPRng instead of BSD and will 
need to put the full path in front of lpr in firefox and thunderbird 
(all of this in printer dialogs)


igor denisov wrote:

Hi
Cannot get my printer works. Read 4.3bsd spooler manual nothing of it 
worked out on my coffee pot.

Regards,
Igor
--
igor denisov.

--
Opnd`ex| `brnlnahk|? P`gleqrh nazbkemhe m` @brnp`lakepe!
http://autorambler.ru/sellyourcar/




PF quotas

2008-10-21 Thread Artem Teslenko
Hi there,

It's possible to set quotas(limits) of traffic in bytes per host or subnet using
PF?

Thank a lot



Donnez-nous votre avis : Que pensez-vous du média salon

2008-10-21 Thread Evénements d'entreprise
[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

[IMAGE]

Enqujte nationale : La perception des entreprises exposantes du midia
salon

Madame, Monsieur,

Le midia salon est un outil de communication complexe, permettaint tout `
la fois aux entreprises de fidiliser leurs clients, de rentrer en contact
avec de nouveaux prospects et de toucher de nombreux leaders d'opinion.

Afin de comprendre la perception rielle des annonceurs,du midia salon,
tant en termes d'objectifs initiaux, que de rialisation du projet  ou
d'ivaluation des retombies, la Fidiration Frangaise des Mitiers de
l'Exposition et de l'Evinement lance en partenariat avec le Magazine
Evinement d'entreprise une grande enqujte, auprhs des entreprises.

Par l'intermidiaire de ce questionnaire en ligne, notre volonti est donc
de recueillir votre avis sur ce que vous pensez du midia salon, afin de
synthitiser la fagon dont il est pergu par les annonceurs. Vous pourrez y
ripondre de fagon anonyme ou nous laisser vos coordonnies, afin de
recevoir gratuitement pendant un an notre Magazine Evinements
d'entreprise.

Les risultats de cette premihre grande enqujte nationale, rialisie auprhs
des exposants seront envoyis gracieusement ` l'ensemble des personnes
ayant accepti d'y ripondre. Par consiquent, plus vous serez nombreux ` y
ripondre et plus cette itude aura de la valeur pour vous aider `
diterminer vos choix futurs.

Nous vous remercions donc par avance de votre participation et vous
prions de croire en l'expression de nos salutations distinguies.

Pierre Gougeon pour Evinements d'entreprise
Frangois Sire pour la FFM2E

[IMAGE]

Cliquez sur ce lien pour participer ` l'enqujte

[IMAGE]

[IMAGE]

[IMAGE]



Le Magazine Evinements d'entreprise [IMAGE] FFM2E [IMAGE] Lien de
disabonnement

[IMAGE]

[IMAGE]



Re: PF quotas

2008-10-21 Thread Artem Teslenko
Thanks, but use billing systems is overloaded solution for me. I need
simple way of setup limits as same in iptables (-m quota).

On Tue, 21 Oct 2008, P!P5QP3P5P9 PQPP=P=P8P:PP2 wrote:

 On Tue, Oct 21, 2008 at 4:47 PM, Artem Teslenko [EMAIL PROTECTED] wrote:
 
  Hi there,
 
  It's possible to set quotas(limits) of traffic in bytes per host or subnet
  using
  PF?
 
  Thank a lot
 
 
 You can use different billing apps for setting quotas. For example: netams (
 http://netams.com/), cnupt (http://www.openbsd.ru/projects.html) + perl
 scripts.
 
 -- 
 Sergey Bronnikov



Re: PF quotas

2008-10-21 Thread Peter N. M. Hansteen
Artem Teslenko [EMAIL PROTECTED] writes:

 It's possible to set quotas(limits) of traffic in bytes per host or subnet 
 using
 PF?

That depends on your specific definition of quotas and what limits you
are after.  It's fairly straightforward to set up queues to assign
specific amounts of bandwidth to traffic based on any criteria PF can
use as filtering criteria.

One possible approach is to start with rule labels and filtering rules
that use tables in their criteria.  Then you could set up some
scriptery to move hosts or subnets between tables (and by extension,
queues) based on accumulated traffic stored in the labels.

Shouldn't be all that hard to do that way, but of course that
particular way may or may not fit your site's needs.

- P

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
Remember to set the evil bit on all malicious network traffic
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.



snapshots packages rollback?

2008-10-21 Thread Michael

Hi,

just wanted to fetch the latest snapshot and noticed that most FTP 
mirrors have/had i386 snapshot packages from 10/12/08 but it looks like 
all mirrors are currently fetching packages that have a timestamp from 
10/04/08.


Are the packages rolled back or what is going on?


Michael



Re: printer

2008-10-21 Thread Ted Unangst
2008/10/21 igor denisov [EMAIL PROTECTED]:
 Hi
 Cannot get my printer works. Read 4.3bsd spooler manual nothing of it worked
 out on my coffee pot.

You have to wait for the water to boil.



Re: hi, i have an acer aspire 4520 too

2008-10-21 Thread Jairo Souto
I had been using Xorg vesa 1024x768. Since I updated OpenBSD-current on 
october, 19 Xorg does not work anymore, in any resolution.


The sound, azalia, begun to work after the following commands:
mixerctl outputs.speaker3.eapd=on
mixerctl outputs.headphones.eapd=on
I hope these work for you.

The wireless card, bwi0, runs without any trouble.

[EMAIL PROTECTED] escreveu:

does your openbsd runs ok in the acer aspire 4520? i cant run atheros 5007, the 
sound and the 1024x768 or 1280x800 modes doesnt work. can you help me?




Re: How to load balancing between lan and adsl ?

2008-10-21 Thread Jorge Valbuena
Hi, i hope this is what are you looking for !

1. http://www.openbsd.org/faq/faq6.html , take a look at section 6.14

2. http://www.openbsd.org/faq/pf/pools.html


Jv

 Original-Nachricht 
 Datum: Tue, 21 Oct 2008 14:22:52 +0800
 Von: Dongsheng Song [EMAIL PROTECTED]
 An: misc misc@openbsd.org
 Betreff: How to load balancing between lan and adsl ?

 Hello forks,
 
 My proxy use bnx1 connect to internal network, and bnx0 connect to inet.
 Can I add adsl for load balancing ?
 
   |- ext_if(bnx0)
 int_if(bnx1) -|
   |- adsl(tun1, bge0)
 
 Thanks for some help,
 Dongsheng

-- 
Pt! Schon vom neuen GMX MultiMessenger gehvrt? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger



Re: Suspend and Resume work

2008-10-21 Thread Dirk Mast
Dirk Mast wrote:

 Just wanted to say that with a recent -current snapshot,
 Suspend via apm -z and then Resume work fine on my
 HPNC4010 now!
 
 That's really a feature I was missing;
 4.3 instantly rebooted with acpi, a pre 4.4 current
 booted but had issues and now everything seems to work fine!
 
 
 Thanks for the great work!
 
 Only question I got, when in sleep there's a little noise
 like a fan that's trying to spin but gets blocked (could be
 something other of course).
 
 
 btw acpidump core dumps with:
 
 assertion dp == end failed: file
 /usr/src/usr.sbin/acpidump/asl_dump.c, line 707, function
 asl_dump_defif
 }Abort trap (core dumped)

Sorry, wrong kernel, apm was enabled, with acpi suspend doesn't work;
but I'm sure, that 4.3-release suspend wasn't possible at all;
not with apm and not with acpi (didn't boot), so it's a nice improvement!



OpenBSD 4.4-current (GENERIC) #1090: Sat Oct 11 15:35:21 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Pentium(R) M processor 1.60GHz (GenuineIntel 686-class) 598
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,SBF,EST,TM2
real mem  = 1006006272 (959MB)
avail mem = 964169728 (919MB)
User Kernel Config
UKC disb\^H \^Hable apm
333 apm0 disabled
UKC enable acpi
432 acpi0 already enabled
UKC quit
Continuing...
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/30/06, BIOS32 rev. 0 @ 0xf,
SMBIOS rev. 2.3 @ 0xfc06f (31 entries)
bios0: vendor Hewlett-Packard version 68BAS Ver. F.30 date 08/30/2006
bios0: Hewlett-Packard HP Compaq nc4010 (PF673AA#ABD)
apm at bios0 function 0x15 not configured
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices C044(S5) C0B9(S0) C183(S0) C188(S0) C189(S0)
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpiprt0 at acpi0: bus 1 (C045)
acpiprt1 at acpi0: bus 0 (C044)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C3, C2, C1, FVS, 1600, 1400, 1200, 1000, 800, 600 MHz
acpitz0 at acpi0: critical temperature 103 degC
acpitz1 at acpi0: critical temperature 103 degC
acpitz2 at acpi0: critical temperature 103 degC
acpibat0 at acpi0: C139 model Primary serial 1 2004/12/20 type LIon
oem Hewlett-Packard
acpibat1 at acpi0: C138 not present
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: C13B
acpibtn1 at acpi0: C13A
acpivideo at acpi0 not configured
bios0: ROM list: 0xc/0xf000 0xd/0x2000 0xd2000/0x1000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 ATI RS200M AGP rev 0x02
ppb0 at pci0 dev 1 function 0 ATI RS200 PCI rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 5 function 0 ATI Mobility M6 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp at vga1 not configured
autri0 at pci0 dev 6 function 0 Acer Labs M5451 Audio rev 0x02: irq 11
ac97: codec id 0x41445374 (Analog Devices AD1981B)
ac97: codec features headphone, 20 bit DAC, No 3D Stereo
audio0 at autri0
midi0 at autri0: 4DWAVE MIDI UART
pcib0 at pci0 dev 7 function 0 Acer Labs M1533 ISA rev 0x00
Acer Labs M5457 Modem rev 0x00 at pci0 dev 8 function 0 not configured
iwi0 at pci0 dev 9 function 0 Intel PRO/Wireless 2200BG rev 0x05: irq 5,
address 00:16:6f:cd:f3:69
cbb0 at pci0 dev 11 function 0 O2 Micro OZ711M1 CardBus rev 0x20: irq 11
cbb1 at pci0 dev 11 function 1 O2 Micro OZ711M1 CardBus rev 0x20: irq 11
O2 Micro OZ711Mx Misc rev 0x00 at pci0 dev 11 function 2 not configured
pciide0 at pci0 dev 16 function 0 Acer Labs M5229 UDMA IDE rev 0xc4: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK4026GAX
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
pciide0: channel 1 ignored (disabled)
alipm0 at pci0 dev 17 function 0 Acer Labs M7101 Power rev 0x00: 74KHz
clock
iic0 at alipm0
maxtmp0 at iic0 addr 0x4c: max6657
spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC2700CL2.5
spdmem1 at iic0 addr 0x51: 512MB DDR SDRAM non-parity PC2700CL2.5
ohci0 at pci0 dev 18 function 0 NEC USB rev 0x43: irq 10, version 1.0
ohci1 at pci0 dev 18 function 1 NEC USB rev 0x43: irq 10, version 1.0
ehci0 at pci0 dev 18 function 2 NEC USB rev 0x04: irq 10
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
bge0 at pci0 dev 19 function 0 Broadcom BCM5705M rev 0x03, BCM5705 A3
(0x3003): irq 10, address 00:12:79:57:e1:50
brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com2: irq 5 already in use
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
lpt0 at 

ftp-proxy and IP alias

2008-10-21 Thread Chris Smith
Ftp with ftp-proxy works properly when the outgoing address is the
base IP address of the interface but when an IP alias address is used
it doesn't. Is there a way to have it work properly on both the base
IP address and the aliases?

Thank you,

Chris



Re: hi, i have an acer aspire 4520 too

2008-10-21 Thread Owain Ainsworth
On Tue, Oct 21, 2008 at 11:52:39AM -0200, Jairo Souto wrote:
 I had been using Xorg vesa 1024x768. Since I updated OpenBSD-current on  
 october, 19 Xorg does not work anymore, in any resolution.

Care to be a bit more verbose about that?

Logs? configuration, if any? a dmesg would be a start!

-- 
If the code and the comments disagree, then both are probably wrong.
-- Norm Schryer



PLEASE TRY AND DO THIS WITH ME.

2008-10-21 Thread Felicia Johnson
You're invited to PLEASE TRY AND DO THIS WITH ME..


By your host Felicia Johnson:


 Date:  Tuesday October 21, 2008

 Time:  2:00 pm - 3:00 pm (GMT +00:00)

Will you attend? RSVP to this invitation at:

 
http://calendar.yahoo.com/feliciajohnson0003?v=126a1=0iid=yh%40hdazdrl45AdKoFx%40hQqd%40XAadahxuyxFeRT7%40Fev%40igid=mhhjYqn%40shm5a%40zmuxa7qbp%40kB4c%40x4cNx%40epBjb1Gzgad%40W

Copyright ) 2008 All Rights Reserved
 www.yahoo.ca

Privacy Policy:
 http://privacy.yahoo.com/privacy/ca

Terms of Service:
 http://ca.docs.yahoo.com/info/terms/



4.4 (back) in Canada

2008-10-21 Thread Don Hiatt
Just received 4.4 in Vancouver, BC along with my sweet new T-Shirt. :-)

OpenBSD developers rock, thank you gentlemen.

Cheers,

don



Re: ftp-proxy and IP alias

2008-10-21 Thread Chris Smith
On Tue, Oct 21, 2008 at 12:34 PM, Morris, Roy
[EMAIL PROTECTED] wrote:
 I wonder if the -a option would help :)

It appears that that would tie it to a different address than the base
address, but then the base address and the other IP aliases (not
chosen by -a) probably would not work. Is this a misunderstanding on
my part? The internal addresses are natted to different IP aliases and
they all need to work.

Thank you,

Chris



Switch License From GPL to BSD/ISC

2008-10-21 Thread new_guy
Has anyone on misc every written source code, released it under the GPL and
then later switched the license to BSD or a similar license? This is
something I am considering. I understand that GPL cannot be revoked, etc.
However, as I hold the copyright, I should be able to do a new release and
from that point forward use BSD license, right? I will still keep a copy of
1.5 under the GPL, but no longer maintain it. While 2.0 and forward will be
BSD and actively developed. I've been researching this some, and I wanted to
ask those on misc who may have already done something such as this for their
advice.

Thanks
-- 
View this message in context: 
http://www.nabble.com/Switch-License-From-GPL-to-BSD-ISC-tp20094789p20094789.html
Sent from the openbsd user - misc mailing list archive at Nabble.com.



Re: Switch License From GPL to BSD/ISC

2008-10-21 Thread Jussi Peltola
If you're the copyright holder, you can release it under any license you
want. If other people have made significant contributions, however, you
can't re-license those. Only the copyright holder can.

For anything more specific, ask a lawyer.



Re: Switch License From GPL to BSD/ISC

2008-10-21 Thread Darrin Chandler
On Tue, Oct 21, 2008 at 09:58:04AM -0700, new_guy wrote:
 Has anyone on misc every written source code, released it under the GPL and
 then later switched the license to BSD or a similar license? This is
 something I am considering. I understand that GPL cannot be revoked, etc.
 However, as I hold the copyright, I should be able to do a new release and
 from that point forward use BSD license, right? I will still keep a copy of
 1.5 under the GPL, but no longer maintain it. While 2.0 and forward will be
 BSD and actively developed. I've been researching this some, and I wanted
to
 ask those on misc who may have already done something such as this for
their
 advice.

You are correct, and even a bit too cautious. You can offer the current
version (and previous versions) under BSD/MIT/ISC as well as GPL.
Certainly you can offer future versions only as BSD/MIT/ISC.

IANAL, but I think I understand this well enough to comment.

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

[demime 1.01d removed an attachment of type application/pgp-signature]



Halloween Greeting Cards. No Registration. No Fees.

2008-10-21 Thread eCard
Halloween FUN CARDS!

Send an Ecard to your friends this year! Spook them with one of our animated, 
personal greeting cards! They will love it!

Our Greeting cards:

Are totally Free!

Can be personalized

Have a variety to choose from

Require NO Registration

Have NO Spyware or Adware

Click Here to send one today! 
http://designerdigs.net/ipWhtxBqsWBBphtBtBtBxhENispWqt/


For more information about My Fun Cards, including our address and unsubscribe 
go to http://designerdigs.net/ipWhtxBqsWBBphtBthtBxhENispWqt/



My Fun Cards

One North Lexington

9th Floor

White Plains, NY 10601


This email is a commercial advertisement sent in compliance with the CanSpam 
Act of 2003. 
if you wish to be excluded from all mailings, please use the link at the bottom 
of the page.
Brought to you By:
PMC Marketing 68995c8 ,  1440 Coral Ridge Dr. #422 , Coral Springs , Florida 
33071
144782068
Unsubscribe misc@openbsd.org 
http://designerdigs.net/ipWhtxBqsWBBphtBtEtBxhENispWqt/



Re: 4.4 (back) in Canada

2008-10-21 Thread Frank Bax

Don Hiatt wrote:

Just received 4.4 in Vancouver, BC along with my sweet new T-Shirt. :-)

OpenBSD developers rock, thank you gentlemen.




My disks and T-shirt arrived on Friday in Ontario!



Re: ftp-proxy and IP alias

2008-10-21 Thread Chris Smith
On Tue, Oct 21, 2008 at 1:04 PM, Camiel Dobbelaar [EMAIL PROTECTED] wrote:
 Use multiple proxies and rdr's for the different lans.

 (ftp-proxy cannot magically determine which address to use based on the
 internal address)

OK, looks like this will work:

rc.conf.local:
ftpproxy_flags=-a r.s.t.u -p 8021
ftpproxy_flags=-a r.s.t.v -p 8022

pf.conf
rdr pass on $int_if proto tcp from alias1_sys to any port ftp -
127.0.0.1 port 8021
rdr pass on $int_if proto tcp from alias2_sys to any port ftp -
127.0.0.1 port 8022

I started the second instance of ftp-proxy manually and it worked
fine. As long as rc.conf.local starts up both instances on reboot
(which I can test after hours) than should be good to go.

Thank you,

Chris



Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Emilio Perea
On Tue, Oct 21, 2008 at 06:11:07PM +0900, Stephane Lapie wrote:
 I am currently working with a Portwell NAR-5530 (network appliance running 
 off Intel hardware, can use regular HDs or CF cards as boot device).

 We want to use this at work for network appliances, but end up bumping in 
 the following problem : the kernel detects any device plugged to the 
 controller (SATA or CF) as UltraDMA-5, even though the BIOS specifies 
 otherwise clearly.

I had the same problem with an early Soekris 4801 which was not wired to
support DMA or U-DMA on the CF slot.  The solution was to disable both
with the 0x0ff0 flag to wd (see the wd man page):

*--*
frisco# config -o new -e bsd.rd
OpenBSD 4.4 (RAMDISK_CD) #857: Tue Aug 12 17:31:49 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
Enter 'help' for information
ukc change wd
 32 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0x0
change [n] y
channel [-1] ?
flags [0] ? 0x0ff0
 32 wd* changed
 32 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0xff0
ukc q
Saving modified kernel.
frisco# mv new bsd.rd
frisco#
*--*

Do the same with bsd and it should install fine.  Once you have it
working properly you might be able to fine tune it to use a DMA mode it
supports, but this will get you going.



Packets sent with wrong SPI

2008-10-21 Thread (private) HKS
OpenBSD 4.3.

I'm trying to get a couple IPSec VPNs up and am running into
increasingly bizarre behavior in my test environment. The current
issue is that packets are being sent encoded with the wrong SPI.

Router A has two interfaces: 10.123.0.46/24 and 10.100.0.1/16.
Router B has one interface: 10.123.0.48/24.

I can get A and B encrypting traffic between 10.123.0.46 and
10.123.0.48 with no problem, but when I add flows for 10.100.0.0/16
the SPIs start getting mixed up. Specifically, pings from 10.123.0.46
(A) to 10.123.0.48 (B) use the wrong SPII am using manual keying to
eliminate isakmpd as a source of other issues (that were probably my
fault somehow). The keys are the defaults included in the ipsec.conf
example since this is a test environment.

Here is router A's ipsec.conf:
--
flow esp from 10.123.0.46 to 10.123.0.48 local 10.123.0.46 peer
10.123.0.48 type require
esp tunnel from 10.123.0.46 to 10.123.0.48 spi 0x00010002:0x00020001
authkey 
0x54f79f479a32814347bb768d3e01b2b58e49ce674ec6e2d327b63408c56ef4e8:0x7f48ee352c626cdc2a731b9d90bd63e29db2a9c683044b70b2f4441521b622d6
enckey 0xb341aa065c3850edd6a61e150d6a5fd3:0xf7795f6bdd697a43a4d28dcf1b79062d

flow esp from 10.100.0.0/16 to 10.123.0.48 peer 10.123.0.48 type require
esp tunnel from 10.100.0.0/16 to 10.123.0.48 spi 0x00010004:0x00040001
authkey 
0x54f79f479a32814347bb768d3e01b2b58e49ce674ec6e2d327b63408c56ef4e8:0x7f48ee352c626cdc2a731b9d90bd63e29db2a9c683044b70b2f4441521b622d6
enckey 0xb341aa065c3850edd6a61e150d6a5fd3:0xf7795f6bdd697a43a4d28dcf1b79062d
--

Output from router A's ipsecctl -sa looks like you would expect:
--
FLOWS:
flow esp in from 10.123.0.48 to 10.100.0.0/16 peer 10.123.0.48 type require
flow esp out from 10.100.0.0/16 to 10.123.0.48 peer 10.123.0.48 type require
flow esp in from 10.123.0.48 to 10.123.0.46 local 10.123.0.46 peer
10.123.0.48 type require
flow esp out from 10.123.0.46 to 10.123.0.48 local 10.123.0.46 peer
10.123.0.48 type require

SAD:
esp tunnel from 10.123.0.46 to 10.123.0.48 spi 0x00010002 auth
hmac-sha2-256 enc aes
esp tunnel from 10.100.0.0 to 10.123.0.48 spi 0x00010004 auth
hmac-sha2-256 enc aes
esp tunnel from 10.123.0.48 to 10.123.0.46 spi 0x00020001 auth
hmac-sha2-256 enc aes
esp tunnel from 10.123.0.48 to 10.100.0.0 spi 0x00040001 auth
hmac-sha2-256 enc aes
--

Attempting to ping 10.123.0.48 from 10.123.0.46 gets no response, and
tcpdump -i enc0 shows this:
--
tcpdump: listening on enc0, link-type ENC
09:15:11.230658 (authentic,confidential): SPI 0x00010004: 10.123.0.46
 10.123.0.48: icmp: echo request (encap)
09:15:12.240381 (authentic,confidential): SPI 0x00010004: 10.123.0.46
 10.123.0.48: icmp: echo request (encap)
09:15:13.250028 (authentic,confidential): SPI 0x00010004: 10.123.0.46
 10.123.0.48: icmp: echo request (encap)
09:15:14.260702 (authentic,confidential): SPI 0x00010004: 10.123.0.46
 10.123.0.48: icmp: echo request (encap)
--

Which is clearly the wrong SPI. If I try to ping in the reverse
direction, B sends its packets with the correct SPI while the replies
are encoded for 0x00010004. Removing the subnet lines from ipsec.conf
corrects this issue.

Is this a bug in IPsec or something I'm doing wrong?

Thanks for the help. dmesg follows.

-HKS


OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz (GenuineIntel
686-class) 2.33 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,SSE3,DS-CPL
real mem  = 267939840 (255MB)
avail mem = 251031552 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/06/06, BIOS32 rev. 0 @
0xfd880, SMBIOS rev. 2.31 @ 0xe0010 (45 entries)
bios0: vendor Phoenix Technologies LTD version 6.00 date 12/06/2006
bios0: VMware, Inc. VMware Virtual Platform
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xfd880/0x780
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf30/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:07:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #2 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0x1000 0xc9000/0x1000
0xdc000/0x4000! 0xe/0x4000!
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x01
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x01
pci1 at ppb0 bus 1
piixpcib0 at pci0 dev 7 function 0 Intel 82371AB PIIX4 ISA rev 0x08
pciide0 at pci0 dev 7 function 1 Intel 82371AB IDE rev 0x01: DMA,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: VMware Virtual IDE Hard Drive
wd0: 64-sector PIO, LBA, 8192MB, 16777216 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: HC2281Q, NCF700G, 1.01 SCSI0 

Re: aterm, rxvt -- memory usage

2008-10-21 Thread Jesus Sanchez

Hi list!

I thought it would be great to have rxvt-unicode on the ports tree, so I
reopened this thread to see users interest about have rxvt-unicode on
OpenBSD as official supported application.

-Jesus


fulvio ciriaco escribis:

From: Arun G Nair [EMAIL PROTECTED]
Subject: Re: aterm, rxvt -- memory usage
Date: Tue, 22 Apr 2008 22:43:56 +0530

  

On Mon, Apr 21, 2008 at 11:44 PM, Claer [EMAIL PROTECTED] wrote:


 I personnaly use unicode rxvt. It's a clone of rxvt that comes with
 unicode (oh surprising) and with client/server mode to reduce memory
 usage when you have serveral terms like I used to have.

 urxvt is also one of the rare terms out there with transparency and
 whitening the background and not darkening it.
  

Hi, I where can I find urxvt for openbsd ? I can't seem to find it in
ports. Am using 4.2.

-Arun


--
...Keep Smiling...



Hi,
I have a working port (in current) for rxvt-unicode.
Find it enclosed in the form of a patch file.

add
urxvt*perl-ext-common: 
matcher,tabbed,selection-popup,option-popup,searchable-scrollbackM-s,readline
to your .Xdefaults to make use of perl add-ons.
These are tabs, regexp search in scrollback buffer, readline ...

Fulvio
diff -rNup rxvt-unicode/Makefile /usr/ports/x11/rxvt-unicode/Makefile
--- rxvt-unicode/Makefile   Thu Jan  1 01:00:00 1970
+++ /usr/ports/x11/rxvt-unicode/MakefileSun Feb 24 23:12:07 2008
@@ -0,0 +1,38 @@
+# $OpenBSD: Makefile,v 1.38 2008-02-22 fulvio$
+
+COMMENT=rxvt based terminal with perl plugin enhancements
+
+VER=   9.02
+DISTNAME=  rxvt-unicode-${VER}
+EXTRACT_SUFX=  .tar.bz2
+
+CATEGORIES=x11
+MASTER_SITES=  http://dist.schmorp.de/rxvt-unicode/
+
+HOMEPAGE=  http://software.schmorp.de/pkg/rxvt-unicode.html
+
+MAINTAINER=TOBEASSIGNED
+
+# GPL
+PERMIT_PACKAGE_CDROM=   Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_DISTFILES_FTP=   Yes
+WANTLIB=		X11 Xpm c Xft fontconfig  
+

+USE_X11=   Yes
+USE_LIBTOOL=   Yes
+LIBTOOL_FLAGS= --tag=disable-shared
+CONFIGURE_STYLE=   gnu
+
+CONFIGURE_ARGS=\
+   --enable-perl \
+   --enable-smart-resize \
+   --enable-xft \
+   --enable-font-styles \
+  --enable-utmp \
+   --enable-wtmp \
+   --enable-transparency \
+   --enable-rxvt-scroll
+
+.include bsd.port.mk
diff -rNup rxvt-unicode/distinfo /usr/ports/x11/rxvt-unicode/distinfo
--- rxvt-unicode/distinfo   Thu Jan  1 01:00:00 1970
+++ /usr/ports/x11/rxvt-unicode/distinfoSun Feb 24 22:43:37 2008
@@ -0,0 +1,4 @@
+SHA1 (rxvt-unicode-9.02.tar.bz2) = f58a851ab4bf2da60a926a4885749302e73a92ed
+MD5 (rxvt-unicode-9.02.tar.bz2) = f3c4fea3d544a340fa5a1d601ff5f204
+SIZE (rxvt-unicode-9.02.tar.bz2) = 862299
+SHA256 (rxvt-unicode-9.02.tar.bz2) = 
234b9a3e3f88c4984b1e909f8028638fc3b61d801d8afaa9cd08154b1a480a31
diff -rNup rxvt-unicode/pkg/DESCR /usr/ports/x11/rxvt-unicode/pkg/DESCR
--- rxvt-unicode/pkg/DESCR  Thu Jan  1 01:00:00 1970
+++ /usr/ports/x11/rxvt-unicode/pkg/DESCR   Sun Feb 24 23:10:47 2008
@@ -0,0 +1,27 @@
+rxvt-unicode is a clone of the well known terminal emulator rxvt.
+Its main features (many of them unique) over rxvt are:
+
+* Stores text in Unicode (either UCS-2 or UCS-4).
+* Uses locale-correct input, output and width: as long as your system 
supports the locale, rxvt-unicode will display correctly.
+* Daemon mode: one daemon can open multiple windows on multiple displays, 
which improves memory usage and startup time considerably.
+* Embedded perl, for endless customization and improvement opportunities, 
such as:
+  o Tabbed terminal support.
+  o Regex-driven customisable selection that can properly select shell 
arguments, urls etc.
+  o Selection-transformation and option popup menus.
+  o Automatically transforming the selection once made.
+  o Incremental scrollback buffer search.
+  o Automatic URL-underlining and launching.
+  o Remote pastebin, digital clock, block graphics to ascii filter and 
whatever you like to implement for yourself.
+* Crash-free. At least I try, but rxvt-unicode certainly crashes much less 
often than rxvt and its many clones, and reproducible bugs get fixed 
immediately.
+* Completely flicker-free.
+* Re-wraps long lines instead of splitting or cutting them on resizes.
+* Full combining character support (unlike xterm :).
+* Multiple fonts supported at the same time: No need to choose between 
nice japanese and ugly latin, or no japanese and nice latin characters :).
+* Supports Xft and core fonts in any combination.
+* Can easily be embedded into other applications.
+* All documentation accessible through manpages.
+* Locale-independent XIM support.
+* Many small improvements, such as improved and corrected terminfo, 
improved secondary screen modes, italic and bold font support, tinting and 
shading.
+* Encapsulation of 

OpenLDAP

2008-10-21 Thread John Nietzsche
Dear members list,

i would like to know if openldap (in ports collection) will be shipped
with suport for BDB in openbsd 4.4 ports infra structure?

Thanks a lot for your time and cooperation.

Best regards,

John.



Re: OpenLDAP

2008-10-21 Thread Philip Guenther
On Tue, Oct 21, 2008 at 12:33 PM, John Nietzsche
[EMAIL PROTECTED] wrote:
 i would like to know if openldap (in ports collection) will be shipped
 with suport for BDB in openbsd 4.4 ports infra structure?

Since the release is frozen, UTSL:

http://www.openbsd.org/cgi-bin/cvsweb/ports/databases/openldap/Makefile?rev=1.85;content-type=text%2Fplain

.if ${FLAVOR:L:Mbdb}
BROKEN= OpenLDAP 2.3 is incompatible with Berkeley DB 4.6



Contratación, Despido, Finiquito y Liquidación

2008-10-21 Thread ROMINA ROCHA
ContrataciC3n, Despido, Finiquito y LiquidaciC3n
MC)xico, D.F.: 30 de Octubre

B!Cnica PresentaciC3n Nacional!


Este seminario le ofrece las respuestas que usted necesita para manejar
efectivamente las relaciones laborales de su organizaciC3n, desde el punto de
vista individual y colectivo. AC:n cuando nuevas reformas y temas legales se
estC!n incubando en las instituciones gubernamentales; hoy por hoy las
amenazas de una mala administraciC3n de su personal, puede causarle problemas
potenciales... incluyendo:

- Desarrollo de Sindicatos Rojos con objetivos y causas contrarias a los
planes de la organizaciC3n.

- Demandas Laborales individuales y colectivas que pueden daC1ar gravemente a
una empresa.

- Otros conflictos que afectan la productividad y buen desempeC1o de los
colaboradores.



Solicite un folleto gratuito con la informaciC3n Completa de este seminario

Responda este correo con los siguientes datos:
Seminario: ContrataciC3n, Despido, Finiquito y LiquidaciC3n
Nombre:
Empresa:
Puesto:
Telefono:
Ciudad:

O llamenos al 01.800.250.10.20 (Lada sin costo)







.

Esta invitaciC3n fuC) enviada a: misc@openbsd.org
Si no desea invitaciones futuras responda -evitar-



Re: Packets sent with wrong SPI

2008-10-21 Thread (private) HKS
On Tue, Oct 21, 2008 at 5:01 PM, Mitja Muenih [EMAIL PROTECTED] wrote:
 Can you try to explicitly bind ping to the right source address?

 Something like

 ping -I 10.123.0.46 10.123.0.48


Exact same result.

-HKS



THE BREAKTHROUGH TO A NEWLY SUCCESS ONLINE !!!

2008-10-21 Thread Mark Norwood

Shallom,

Do you want to be paid using your computer?
 All you need to do is to fill in online form
 and submit them daily..


click the link below..
http://u76.org/qbj

   This is amazing..This is not the traditional
home typist job,a lot of of people do not know
the system of making money..this is unique,its
a way of entering simple data online.The company
involved with this business want you to become
affiliate with them.Giving you step by step
instructions on how you become a successful
home typist person..Then log in to your account
and see how much you have made  anytime of a day...


 Hopefully yours,
 Mark Norwood
 http://u76.org/qbj



Re: 4.4 (back) in Canada

2008-10-21 Thread Jean Raby
On Tue, Oct 21, 2008 at 1:12 PM, Frank Bax [EMAIL PROTECTED] wrote:
 Don Hiatt wrote:

 Just received 4.4 in Vancouver, BC along with my sweet new T-Shirt. :-)

 OpenBSD developers rock, thank you gentlemen.



 My disks and T-shirt arrived on Friday in Ontario!



Mine arrived yesterday in Quibec

Thanks!



Get Paid $200 by just working 60mins per Day !!!

2008-10-21 Thread Cris Hooper

Shallom,

Do you want to be paid using your computer?
 All you need to do is to fill in online form
 and submit them daily..


click the link below..
http://u76.org/qb4

   This is amazing..This is not the traditional
home typist job,a lot of of people do not know
the system of making money..this is unique,its
a way of entering simple data online.The company
involved with this business want you to become
affiliate with them.Giving you step by step
instructions on how you become a successful
home typist person..Then log in to your account
and see how much you have made  anytime of a day...


 Hopefully yours,
 Cris Hooper
 http://u76.org/qb4



acpitz0: _AL1[0] not a object ref

2008-10-21 Thread Alvaro Mantilla Gimenez
Hi,

   I just installed the 4.4-release on my Laptop and I am receiving this
error message. The message does not stop.

   I  am looking on the net and I've found this thread about this problem:
https://kerneltrap.org/mailarchive/openbsd-misc/2008/9/22/3371364/thread

   I know the 4.4 it is not officially release yet but I just want to know
if this problem will be corrected on 4.4-stable or I have to install
-current on my laptop.

   Regards,


Alvaro



Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Stuart Henderson
On 2008-10-21, Emilio Perea [EMAIL PROTECTED] wrote:
 On Tue, Oct 21, 2008 at 06:11:07PM +0900, Stephane Lapie wrote:
 I am currently working with a Portwell NAR-5530 (network appliance running 
 off Intel hardware, can use regular HDs or CF cards as boot device).

 We want to use this at work for network appliances, but end up bumping in 
 the following problem : the kernel detects any device plugged to the 
 controller (SATA or CF) as UltraDMA-5, even though the BIOS specifies 
 otherwise clearly.

 I had the same problem with an early Soekris 4801 which was not wired to
 support DMA or U-DMA on the CF slot.  The solution was to disable both
 with the 0x0ff0 flag to wd (see the wd man page):

 *--*
 frisco# config -o new -e bsd.rd
 OpenBSD 4.4 (RAMDISK_CD) #857: Tue Aug 12 17:31:49 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
 Enter 'help' for information
 ukc change wd
  32 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0x0
 change [n] y
 channel [-1] ?
 flags [0] ? 0x0ff0
  32 wd* changed
  32 wd* at wdc0|wdc1|wdc*|wdc*|pciide*|pciide* channel -1 flags 0xff0
 ukc q
 Saving modified kernel.
 frisco# mv new bsd.rd
 frisco#
 *--*

 Do the same with bsd and it should install fine.  Once you have it
 working properly you might be able to fine tune it to use a DMA mode it
 supports, but this will get you going.



You missed the part lower down in Stephane's email (read down past
the dmesg), showing exactly what's happening in the source code and
why changing flags does not have an effect.



Re: U-DMA mode problems with OpenBSD 4.3 and above + SATA controllers + CF card

2008-10-21 Thread Emilio Perea
On Wed, Oct 22, 2008 at 12:10:40AM +, Stuart Henderson wrote:
 
 You missed the part lower down in Stephane's email (read down past
 the dmesg), showing exactly what's happening in the source code and
 why changing flags does not have an effect.

Not to mention the other two replies...  Sorry about that!



Re: acpitz0: _AL1[0] not a object ref

2008-10-21 Thread Marco Peereboom
You need -current.

On Tue, Oct 21, 2008 at 05:47:40PM -0600, Alvaro Mantilla Gimenez wrote:
 Hi,
 
I just installed the 4.4-release on my Laptop and I am receiving this
 error message. The message does not stop.
 
I  am looking on the net and I've found this thread about this problem:
 https://kerneltrap.org/mailarchive/openbsd-misc/2008/9/22/3371364/thread
 
I know the 4.4 it is not officially release yet but I just want to know
 if this problem will be corrected on 4.4-stable or I have to install
 -current on my laptop.
 
Regards,
 
 
 Alvaro