Re: Can one dd to /dev/rwd0c?

2008-09-24 Thread Brian Keefer
On Sep 23, 2008, at 8:49 PM, Ted Unangst wrote: On Tue, Sep 23, 2008 at 11:28 PM, Brian Keefer [EMAIL PROTECTED] wrote: I booted a Sunfire V120 off a 4.4 snapshot CD and dd if=/dev/zero of=/rsd0 was humming along quite nicely when I left this evening. You may want to go back and fix both

Who is responsible for html code of openbsd.org

2008-09-24 Thread Tomáš Bodžár
Hello, we have prepared czech site about OpenBSD and we are ready to start(email system up,ftp system up,translate is done,only FAQ 4 and up is in progress),but we still don't know if we can use html code from original site or make own.It's about 14 days,when we were ask for the first time

Re: Using trunk(4) to put a router in a switch ring

2008-09-24 Thread Pete Vickers
well i think you could insert your dual NIC openbsd host into the switch 'ring' physically, then bridging between the 2 NICs and firing up STP, but be aware that every time you up/down an interface or reboot your openbsd box, you'll trigger an STP recalc - which is around 45sec outage

filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread tico
Good evening all, Forgive me if this is common knowledge, but my reading of bgpd.conf(5) on OpenBSD 4.3 did not make the following clear to me: When running BGP with only IPv4 prefixes, the examples given in the sample bgpd.conf work splendidly. Reading the FILTERS section of bgpd.conf

Re: Using trunk(4) to put a router in a switch ring

2008-09-24 Thread Dave Wilson
Pete Vickers wrote: well i think you could insert your dual NIC openbsd host into the switch 'ring' physically, then bridging between the 2 NICs and firing up STP, but be aware that every time you up/down an interface or reboot your openbsd box, you'll trigger an STP recalc - which is around

Re: Who is responsible for html code of openbsd.org

2008-09-24 Thread Tomáš Bodžár
Hi all, sorry for the noise.Now I know,that Theo is somewhere out.But still one thing.I was thought abou translation on oficial page,but there is no answer for about month on my offer (from Saad Kadhi)? On Wed, wrote: In gmane.os.openbsd.misc, you wrote: we have prepared czech site

Re: filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread Stuart Henderson
On 2008-09-24, tico [EMAIL PROTECTED] wrote: Reading the FILTERS section of bgpd.conf lead me to believe that simply adding allow from any inet6 prefixlen 12 - 48 would allow the IPv6 prefixes that my neighbor was announcing to me be added from the RIB into the FIB, however this was not the

RES: Problems to compile squid with ldap auth on openBSD 4.3

2008-09-24 Thread Ricardo Augusto de Souza
# FLAVOR=ldap make install test -z /usr/local/bin || mkdir -p -- /usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/bin install -c -s -o root -g bin -m 555 'squidclient' '/usr/ports/www/squid/w-squid-2.7.STABLE3-ldap/fake-i386-ldap/usr/local/bin/s quidclient' test -z

Re: net interface active yet no connection

2008-09-24 Thread Josh Grosse
On Wed, 24 Sep 2008 11:16:24 +0200 (CEST), Ernst Terhardt wrote Hello, Hi. bugs@ is probably the wrong mailing list to use for informal problem discussions and diagnostics -- misc@ is a better choice for this discussion, so I am routing my response there. installed obsd-4.3 from iso image.

problem to compile with -fno-stack-protector

2008-09-24 Thread alemus
Hi, I tried to compile a simple program written in C with -fno-stack-protector option and i have some troubles... this is my simple file main.c: int main() { int i; short int *screen = (short int *) 0xB8000; char msg[]=Hello World; for(i=0; msg[i] != '\0'; *(screen++) = 0x1F00 |

default route ignored

2008-09-24 Thread Federico
Hi all, I have a routing problem that I can't understand. I have firewall equipped with OpenBSD 4.3. On this machine i have 3 nic: nic A: 89.96.AA.xx/28 nic B: 89.96.BB.xx/29 nic C: 10.1.1.0/24 As you can read, nic A and nic B are on different and separate subnets. I've put on /etc/mygate the

Re: default route ignored

2008-09-24 Thread Giancarlo Razzolini
Federico escreveu: Hi all, I have a routing problem that I can't understand. I have firewall equipped with OpenBSD 4.3. On this machine i have 3 nic: nic A: 89.96.AA.xx/28 nic B: 89.96.BB.xx/29 nic C: 10.1.1.0/24 As you can read, nic A and nic B are on different and separate subnets.

Re: default route ignored

2008-09-24 Thread Claudio Jeker
On Wed, Sep 24, 2008 at 04:07:22PM +0200, Federico wrote: Hi all, I have a routing problem that I can't understand. I have firewall equipped with OpenBSD 4.3. On this machine i have 3 nic: nic A: 89.96.AA.xx/28 nic B: 89.96.BB.xx/29 nic C: 10.1.1.0/24 As you can read, nic A and nic

Re: Limit number of login sessions

2008-09-24 Thread Maximo Pech
Well I guess I will have to resolve this by coding something. What do you think about this: There will be a daemon that has a list of logged users. When a user logs in a small program is launched that tell the daemon the user has logged in. The daemon looks for the user in the list of users, If

Re: default route ignored

2008-09-24 Thread Federico
Also, if your subnets mask are wrong, it could explain this behavior. You've got it! Such a blindness! ... I found a wrong broadcast address in an alias. Damn... Ok, thank you guys for this flash of inspiration, the flu is stunning me. Cya

Re: New scheduler, same problem (ALTQ questions)

2008-09-24 Thread Chris McGee
Giancarlo, thank you for your ideas. 2) Regarding hfsc, what is the old bandwidth statement used for? It seems like it would be obsolete. Changing it doesn't seem to affect anything, either. The manpage doesn't say. :) What do you mean by old bandwidth? I mean

cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I just had a massive power failure and my raid drive is failing with a: cannot alloc NNN bytes for blockmap cannot alloc NNN bytes for lncntp searching the archives and man pages for both OpenBSD and FreeBSD reveals: fsck_ffs(3) freebsd

Re: Limit number of login sessions

2008-09-24 Thread Ted Unangst
On Wed, Sep 24, 2008 at 10:48 AM, Maximo Pech [EMAIL PROTECTED] wrote: 2008/9/22 Maximo Pech [EMAIL PROTECTED] This will be a ssh tunnel, I want to share it with a few friends, but I don't want them sharing it with someone else because if a lot of people start using it my upload bandwidth

продам KIA CERATO

2008-09-24 Thread antomanovait902
@brnhnahk|: KIA CERATO Vber: Wepm{i Dbhc`rek|: 2.03 QVVT Jnpnaj`: LR Jnlokejr`vh: EU Opnaec: 28 000 Cnd: 2007 Dno. nanpsdnb`mhe: G`yhr` dbhc`rek, jnf`m{i psk|, l`cmhrntnm - Kenwood(1 CD, USB, MP3), o`pjrpnmhj - SteelMate p`gcnbnpwhb{i, qhcm`kj` - Pantera q dbsuqrnpnmmei qbg|~|, weuk{ m` bqe

Wireless once again being a pain, this time ipw

2008-09-24 Thread Edd Barrett
Hi, I have an X31 which I have installed -current on. It has an ipw card: ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11 Its function seems to work for a while, then I get: Sep 24 15:22:35 x31 /bsd: ipw0: fatal firmware error Sep 24 15:22:36 x31 /bsd: ipw0: timeout

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, it is also important to note that this is a 3TB single partition with ffs2 thanks again Jason Comment: http://getfiregpg.org iD8DBQFI2nEe2ZVbbZM1O8gRAoO1AKCGudcFAzNG+heHSvkH1f3Ql04cEACeNhaj 3eshHXLM8CGSSp2sZO3pWXo= =vPPP -END PGP

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread Pierre Riteau
On Wed, Sep 24, 2008 at 05:51:00PM +0100, Edd Barrett wrote: Hi, I have an X31 which I have installed -current on. It has an ipw card: ipw0 at pci2 dev 2 function 0 Intel PRO/Wireless 2100 rev 0x04: irq 11 Its function seems to work for a while, then I get: Sep 24 15:22:35 x31 /bsd: ipw0:

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Ted Unangst
On Wed, Sep 24, 2008 at 12:56 PM, Jason Sidabras [EMAIL PROTECTED] wrote: Sorry, it is also important to note that this is a 3TB single partition with ffs2 http://www.openbsd.org/faq/faq14.html#LargeDrive

Re: New scheduler, same problem (ALTQ questions)

2008-09-24 Thread Giancarlo Razzolini
Chris McGee escreveu: Giancarlo, thank you for your ideas. 2) Regarding hfsc, what is the old bandwidth statement used for? It seems like it would be obsolete. Changing it doesn't seem to affect anything, either. The manpage doesn't say. :)

Re: Limit number of login sessions

2008-09-24 Thread ttw+bsd
On 24.09-09:48, Maximo Pech wrote: Well I guess I will have to resolve this by coding something. What do you think about this: [ ... ] would you not be better to use ALTQ to limit the bandwidth available to each user? then if they share their password their only sharing their own use? if not

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Chris, I am a little worried about running `fsck -p` in case of loss of data but I did it and edited my fstab. once booted I still have no luck running fsck_ffs: error is now: cannot alloc NNN bytes for statemap dmesg follows: OpenBSD 4.3

Re: Can one dd to /dev/rwd0c?

2008-09-24 Thread Bryan Irvine
On Sun, Sep 21, 2008 at 10:41 AM, bofh [EMAIL PROTECTED] wrote: Afaik, erasing a disk 7x7 times using a truly random source of entrophy, using the proton decay multiplexed with the frequency of solar flares on alpha centauri, and just dd'ing /dev/zero to the drive *ONE* time makes no

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread Edd Barrett
On Wed, Sep 24, 2008 at 6:04 PM, Pierre Riteau [EMAIL PROTECTED] wrote: This could be the same problem than Linux users are seeing: http://kerneltrap.org/mailarchive/linux-kernel/2008/9/21/3358724 This is not good especially as I have opened the back plate on my X31 to find no mini-pci slot to

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
Thanks Ted and Chris, I have to go pick up some more RAM, i don't have a system I can take down to shift this over. Jason On Wed, Sep 24, 2008 at 12:17 PM, Jason Sidabras [EMAIL PROTECTED]wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Chris, I am a little worried about

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Otto Moerbeek
On Wed, Sep 24, 2008 at 11:34:36AM -0500, Jason Sidabras wrote: /etc/fstab (line of interest): /dev/sd0a /pub_raid ffs rw,noexec,softdep 0 2 I can't seem to edit my fstab in single user mode because everything is ro. System has 2GB of real memory and is running bsd.mp GENERIC. I You can

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Otto Moerbeek
On Wed, Sep 24, 2008 at 12:25:53PM -0500, Jason Sidabras wrote: Thanks Ted and Chris, I have to go pick up some more RAM, i don't have a system I can take down to shift this over. That won't help. You are running into MAXDSIZE, which is not increased by adding RAM. -Otto Jason

Re: Can one dd to /dev/rwd0c?

2008-09-24 Thread Brian Keefer
On Sep 23, 2008, at 11:17 PM, Brian Keefer wrote: On Sep 23, 2008, at 8:49 PM, Ted Unangst wrote: On Tue, Sep 23, 2008 at 11:28 PM, Brian Keefer [EMAIL PROTECTED] wrote: I booted a Sunfire V120 off a 4.4 snapshot CD and dd if=/dev/zero of=/rsd0 was humming along quite nicely when I left

Re: filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread tico
On 2008-09-24, tico [EMAIL PROTECTED] wrote: Reading the FILTERS section of bgpd.conf lead me to believe that simply adding allow from any inet6 prefixlen 12 - 48 would allow the IPv6 prefixes that my neighbor was announcing to me be added from the RIB into the FIB, however this was not the

Re: filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread Claudio Jeker
On Wed, Sep 24, 2008 at 01:28:01PM -0500, tico wrote: On 2008-09-24, tico [EMAIL PROTECTED] wrote: Reading the FILTERS section of bgpd.conf lead me to believe that simply adding allow from any inet6 prefixlen 12 - 48 would allow the IPv6 prefixes that my neighbor was announcing to me be

Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Carl Horne
Hi, I have put all my eggs in this basket so I am desperate to get this fixed. This may only be a tcpdump issue. If I have 19 interfaces tcpdump works as expected. If I have 20 or more it fails. First I try with 20 interfaces setup and I get: # tcpdump -nttt -i bge0 tcpdump: Failed to open

Re: filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread Claudio Jeker
On Wed, Sep 24, 2008 at 08:50:47PM +0200, Claudio Jeker wrote: ... So the problems I see are the following: 1) the (inet|inet6) parameter either doesn't work, doesn't work consistently, or at the very least doesn't work as described in the man page for bgpd.conf(5) IMHO. 2) the

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Chris Kuethe
I also told him to get a -current amd64 with 3.5GB. i've got a few things running on my amd64 at home w/ 4.1GB working set. On Wed, Sep 24, 2008 at 10:38 AM, Otto Moerbeek [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 12:25:53PM -0500, Jason Sidabras wrote: Thanks Ted and Chris, I have to

openbsd 4.3 amd64 and d-link dfe-550tx (st201)

2008-09-24 Thread wolk
Support for d-link dfe-550tx(st201) in amd64 arch is broken or only disable? i386 works fine in GENERIC 4.3 kernel. Jacek -- System poczty na jablko.one.pl

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread Ido Admon
That's me some 3 weeks ago: http://marc.info/?l=openbsd-miscm=122099826019882w=2 In short, it's the exact same situation (X31, IPW2100 etc.). As detailed in my original message, there's a sort of workaround: ifconfig ipw0 up first and them try rescanning. Usually works for me, but still need to

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Stuart Henderson
On 2008-09-24, Carl Horne [EMAIL PROTECTED] wrote: I have put all my eggs in this basket so I am desperate to get this fixed. This may only be a tcpdump issue. If I have 19 interfaces tcpdump works as expected. If I have 20 or more it fails. First I try with 20 interfaces setup and I get:

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread STeve Andre'
On Wednesday 24 September 2008 13:39:54 Edd Barrett wrote: On Wed, Sep 24, 2008 at 6:04 PM, Pierre Riteau [EMAIL PROTECTED] wrote: This could be the same problem than Linux users are seeing: http://kerneltrap.org/mailarchive/linux-kernel/2008/9/21/3358724 This is not good especially as I

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Carl Horne
Stuart, Thanks so much. I am using urlsnarf to log url requests and there is one instance running for each gre tunnel. I have a script that auto starts or stop one as soon as I added or removed a tunnel. So when I added a tunnel it would fire up a new instance breaking tcpdump. Removing the

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Carl Horne
Some more info. I downloaded version 3.9.8 of tcpdump from www.tcpdump.org and built it. It gives the following error: # /usr/local/tcpdump/sbin/tcpdump -nttt -i bge0 tcpdump: /dev/bpf10: No such file or directory When I look in /dev I see bpf0 through bpf9. Hope this helps. Thanks,

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Daniel Ouellet
Carl Horne wrote: Some more info. I downloaded version 3.9.8 of tcpdump from www.tcpdump.org and built it. It gives the following error: Carl, I think you are going down a more dangerous path then you might need to do here. You are mixing many things now. I would start first by running

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Stuart Henderson
On 2008/09/24 14:12, Carl Horne wrote: Stuart, Thanks so much. I am using urlsnarf to log url requests and there is one instance running for each gre tunnel. I have a script that auto starts or stop one as soon as I added or removed a tunnel. So when I added a tunnel it would fire up a

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Stuart Henderson
On 2008-09-24, Carl Horne [EMAIL PROTECTED] wrote: Some more info. I downloaded version 3.9.8 of tcpdump from www.tcpdump.org and built it. It gives the following error: Take care with non-OpenBSD versions of tcpdump, most (all?) still don't jail the protocol dissectors into an unprivileged

Re: openbsd 4.3 amd64 and d-link dfe-550tx (st201)

2008-09-24 Thread Stuart Henderson
On 2008-09-24, wolk [EMAIL PROTECTED] wrote: Support for d-link dfe-550tx(st201) in amd64 arch is broken or only disable? i386 works fine in GENERIC 4.3 kernel. This gives a good clue: $ fgrep ste* /sys/arch/amd64/conf/GENERIC #ste* at pci? # Sundance ST201 ethernet

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Christopher Linn
On Wed, Sep 24, 2008 at 01:52:05PM -0600, Carl Horne wrote: Some more info. I downloaded version 3.9.8 of tcpdump from www.tcpdump.org and built it. It gives the following error: this will likey not work. openbsd tcpdump is heavily modified from the upstream. there are parts of this you

Re: openbsd 4.3 amd64 and d-link dfe-550tx (st201)

2008-09-24 Thread Ted Unangst
On Wed, Sep 24, 2008 at 5:52 PM, Stuart Henderson [EMAIL PROTECTED] wrote: On 2008-09-24, wolk [EMAIL PROTECTED] wrote: Support for d-link dfe-550tx(st201) in amd64 arch is broken or only disable? i386 works fine in GENERIC 4.3 kernel. This gives a good clue: $ fgrep ste*

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread Dan Harnett
On Wed, Sep 24, 2008 at 06:39:54PM +0100, Edd Barrett wrote: On Wed, Sep 24, 2008 at 6:04 PM, Pierre Riteau [EMAIL PROTECTED] wrote: This could be the same problem than Linux users are seeing: http://kerneltrap.org/mailarchive/linux-kernel/2008/9/21/3358724 This is not good especially as

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Used bsd.rd -current and increased my RAM to 3.1GB. No luck. Looked into changing MAXDSIZ in /usr/src/sys/arch/amd64/include/vmparam.h and compiling a bsd.rd from - -STABLE just so I can run fsck_ffs. Increasing MAXDSIZ from (1*1024*1024*1024) to

Re: Does OpenBSD only allow 19 Interfaces

2008-09-24 Thread Carl Horne
It was just a quick test. I did not install it. Thanks, Carl -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Henderson Sent: Wednesday, September 24, 2008 3:47 PM To: misc@openbsd.org Subject: Re: Does OpenBSD only allow 19 Interfaces On

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Ted Unangst
On Wed, Sep 24, 2008 at 6:54 PM, Jason Sidabras [EMAIL PROTECTED] wrote: Increasing MAXDSIZ from (1*1024*1024*1024) to (2*1024*1024*1024), which is well within my RAM limits and larger than the number the error says it is having trouble allocating (183MB). And this is where my expertise ends.

Re: problem to compile with -fno-stack-protector

2008-09-24 Thread David Higgs
On Wed, Sep 24, 2008 at 8:59 AM, alemus [EMAIL PROTECTED] wrote: Hi, I tried to compile a simple program written in C with -fno-stack-protector option and i have some troubles... this is my simple file main.c: int main() { int i; short int *screen = (short int *) 0xB8000; char

Re: Wireless once again being a pain, this time ipw

2008-09-24 Thread Edd Barrett
Hi, On Wed, Sep 24, 2008 at 11:44 PM, Dan Harnett [EMAIL PROTECTED] wrote: It's under the keyboard on the X31 and relatively easy to get to. The hardware maintenance manual has full instructions. Thanks everyone for the replies. I found the mini pci and mail you all noe from a wi(4), it

Savez vous les risques que vous prenez sans sauvegarde informatique ?

2008-09-24 Thread Votre sauvegarde informatique
Leader europien de la mise en relation B to B DOSSIER SPECIAL : INFORMATIQUE ET SECURITE INFORMATIQUE. Connaissez vous les risques de ne pas avoir de sauvegarde ? Savez quand cas de perte de vos donnies sans sauvegarde votre assurance ne vous prend pas en charge ? Il existe aujourd'hui des

Kernel debugging setup - pccom vs com and failed mappings?

2008-09-24 Thread Peter
I'm trying to set up a virtualised qemu OpenBSD kernel debug environment, with a reasonable amount of success, but am running into the following problem on bootup : com1: at isa0 port 0x2f8/8 irq 3panic: com_isa_attach: mapping failed The operating system has halted Presumably because the

Re: cannot alloc NNN bytes for blockmap

2008-09-24 Thread Jason Sidabras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks Ted. I'd be willing to test patches if OBSD needs it. Otherwise it looks like I have enough disk space in my hot spare to move the system over. When reformatting what block size should be used to reduce the fsck overhead. Per 14.7: Larger

turning off spamd greylisting

2008-09-24 Thread Juan Miscaro
I am running 4.3 (june 4 snapshot) and I'm using spamd in the default greylisting mode. Works fine. Now I would like to know what is the best way to immediately turn off greylisting mode and enter blacklisting mode only. Stopping spamd and then starting it with the '-b' switch? Or do I need to

Support for WEP shared authentication?

2008-09-24 Thread David Murphy
Hi folks. I'm trying to get my Nintendo DS to use my OpenBSD 4.3 router to access the internet, but it's sort of inconsistent. Everything works on unencrypted wifi, but only some games work when I turn WEP on. After some research, the most likely culprit appears to be that some NDS games don't

ipsec SA up but passing one way traffic

2008-09-24 Thread Lord Sporkton
I have set up an aggressive mode VPN between a cisco 877 and OpenBSD server. The SA seems to have set up correctly however the connection only appears to pass traffic from the cisco to the server. The private IPs on the cisco have a nat exemption to keep it from natting when going through the

Re: filters in bgpd.conf when running IPv6 feeds on a 4.3 box

2008-09-24 Thread tico
Yay! Claudio Jeker wrote: On Wed, Sep 24, 2008 at 08:50:47PM +0200, Claudio Jeker wrote: ... So the problems I see are the following: 1) the (inet|inet6) parameter either doesn't work, doesn't work consistently, or at the very least doesn't work as described in the man page for