Re: res_init() and 0.0.0.0

2013-09-17 Thread Otto Moerbeek
On Tue, Sep 17, 2013 at 12:25:17AM -0400, Ted Unangst wrote: On Mon, Sep 16, 2013 at 21:23, Kapetanakis Giannis wrote: The following diff fixes the problem and the program works in current. The program is bahamut ircd and I managed to make it work up to 5.3 without this. In current

Re: cvsync, rsync

2013-09-17 Thread hruodr
Alexander Hall alexan...@beard.se wrote: Leaving the internals of rsync aside (of which I assume much but *know* little), if I consider two 4TB blobs to be equal just because they have the same SHA1 hash, I can easily see myself ending up in one of these conditions (but not both): This

Re: cvsync, rsync

2013-09-17 Thread hruodr
Marc Espie es...@nerim.net wrote: On Mon, Sep 16, 2013 at 08:16:50PM +, hru...@gmail.com wrote: Marc Espie es...@nerim.net wrote: From a checksum I expect two things: (1) the pre-images of elements in the range have all similar sizes, Why ? This makes no sense, and is in

Re: Feedback about Desktop Environments

2013-09-17 Thread Raimo Niskanen
On Mon, Sep 16, 2013 at 06:15:50PM +0200, Marc Espie wrote: On Mon, Sep 16, 2013 at 03:18:28PM +, Stuart Henderson wrote: On 2013-09-16, Stefan Sperling s...@openbsd.org wrote: You can use hotplugd(8) to simulate an auto-mounter for known USB disks. hotplug-diskmount (in packages)

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Peter Hessler
On 2013 Sep 16 (Mon) at 16:42:26 +0100 (+0100), Andy wrote: :I know that OpenBSD runs on any CPU which is based on the AMD64 :architecture, however someone has worried me and said that this CPU and :chipset is different somehow and might not boot with BSD!? Does Windows work with it? Does it

Re: Feedback about Desktop Environments

2013-09-17 Thread David Coppa
On Mon, Sep 16, 2013 at 5:18 PM, Stuart Henderson s...@spacehopper.org wrote: On 2013-09-16, Stefan Sperling s...@openbsd.org wrote: You can use hotplugd(8) to simulate an auto-mounter for known USB disks. hotplug-diskmount (in packages) saves a bit of time writing a script for this. And

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Andy
On Tue 17 Sep 2013 08:58:12 BST, Peter Hessler wrote: On 2013 Sep 16 (Mon) at 16:42:26 +0100 (+0100), Andy wrote: :I know that OpenBSD runs on any CPU which is based on the AMD64 :architecture, however someone has worried me and said that this CPU and :chipset is different somehow and might not

Re: Feedback about Desktop Environments

2013-09-17 Thread Paolo Aglialoro
Try E17: lightning fast, meek on requirements, user friendly. On Mon, Sep 16, 2013 at 12:18 PM, James Griffin j...@kontrol.kode5.netwrote: I need to install a Dektop Environment for my partner. I thought about KDE or xfce, i've tried neither on OpenBSD before. Which of the 3 main main DE's

Re: Feedback about Desktop Environments

2013-09-17 Thread David Coppa
On Tue, Sep 17, 2013 at 10:47 AM, Paolo Aglialoro paol...@gmail.com wrote: Try E17: lightning fast, meek on requirements, user friendly. yes, it's nice. A bit buggy, but nice...

Re: cvsync, rsync

2013-09-17 Thread Raimo Niskanen
On Tue, Sep 17, 2013 at 07:23:07AM +, hru...@gmail.com wrote: Marc Espie es...@nerim.net wrote: On Mon, Sep 16, 2013 at 08:16:50PM +, hru...@gmail.com wrote: Marc Espie es...@nerim.net wrote: From a checksum I expect two things: (1) the pre-images of elements in the

Re: cvsync, rsync

2013-09-17 Thread Marc Espie
On Tue, Sep 17, 2013 at 07:23:07AM +, hru...@gmail.com wrote: In the case of rsync the hash is applied to strings of a fixed lenth. In this case the input is finite and we can argue with cardinality. Just imagine the set finite strings mapped to a single element in the range. If all these

Re: res_init() and 0.0.0.0

2013-09-17 Thread Kapetanakis Giannis
On 16/09/13 23:49, Stuart Henderson wrote: the ISC resolver is available in ports/net/libbind, this is used in some ports which fiddle with resolver internals in _res (e.g. net/mtr). Thanks for the tip. Indeed linking with libbind also fixed the problem with the program's resolver. The

Re: Kernel panics on amd64 recently - do I have bad hardware?

2013-09-17 Thread C. Bensend
This part: VOP_FSYNC() at VOP_FSYNC+0x2f ffs_sync_vnode() at ffs_sync_vnode+0x77 vfs_mount_foreach_vnode() at vfs_mount_foreach_vnode+0x38 ffs_sync() at ffs_sync+0x83 sys_sync() at sys_sync+0xa1 vfs_syncwait() at vfs_syncwait+0x50 vfs_shutdown() at vfs_shutdown+0x32 boot() at boot+0x17f

Re: res_init() and 0.0.0.0

2013-09-17 Thread Kapetanakis Giannis
On 17/09/13 10:13, Otto Moerbeek wrote: On Tue, Sep 17, 2013 at 12:25:17AM -0400, Ted Unangst wrote: I think this will give unexpected results if ipv6 resolvers are configured. You'll notice the asr code is allocating possibly varying amounts of memory. I think you're going to want to memcpy

Re: cvsync, rsync

2013-09-17 Thread Alexander Hall
Alexander Hall alexan...@beard.se wrote: Leaving the internals of rsync aside (of which I assume much but *know* little), if I consider two 4TB blobs to be equal just because they have the same SHA1 hash, I can easily see myself ending up in one of these conditions (but not both): This was

Re: pms0: not in sync yet, discard input (state 3)

2013-09-17 Thread frantisek holop
as it seems like this is a legit regression, could this backed out please? -f -- between two evils, always pick the one you never tried before.

Re: Feedback about Desktop Environments

2013-09-17 Thread Jes
Regarding samba... there's no need to automount samba folders because you always can browse them via file browser (konqueror, thunar or nautilus), but if you want you can mount them in /etc/fstab. Simply read the documentation about permissions and syntax. It's very easy. For NFS the best way is

OpenBSD not forwarding SSL, strange.

2013-09-17 Thread John Tate
I am having trouble accessing anything which uses SSL behind my NAT, though I can access the same services from the firewall itself. There is nothing unusual in /var/log/messages, dmesg, etc. I don't know why this is happening. The system has been running fine for months, and nothing I am aware of

Re: Feedback about Desktop Environments

2013-09-17 Thread Stuart Henderson
On 2013-09-17, David Coppa dco...@gmail.com wrote: On Mon, Sep 16, 2013 at 5:18 PM, Stuart Henderson s...@spacehopper.org wrote: On 2013-09-16, Stefan Sperling s...@openbsd.org wrote: You can use hotplugd(8) to simulate an auto-mounter for known USB disks. hotplug-diskmount (in packages)

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Stuart Henderson
On 2013-09-16, Andy a...@brandwatch.com wrote: Planning to test Hennings new ALTQ subsystem diff on OpenBSD 5.4 with this hardware :D pardon the pedantry, but it's not altq..

Re: res_init() and 0.0.0.0

2013-09-17 Thread Stuart Henderson
On 2013-09-17, Kapetanakis Giannis bil...@edu.physics.uoc.gr wrote: On 16/09/13 23:49, Stuart Henderson wrote: the ISC resolver is available in ports/net/libbind, this is used in some ports which fiddle with resolver internals in _res (e.g. net/mtr). Thanks for the tip. Indeed linking with

Re: pms0: not in sync yet, discard input (state 3)

2013-09-17 Thread Stefan Sperling
On Tue, Sep 17, 2013 at 02:36:25PM +0200, frantisek holop wrote: as it seems like this is a legit regression, could this backed out please? Which commit exactly needs to be backed out?

Re: pms0: not in sync yet, discard input (state 3)

2013-09-17 Thread frantisek holop
hmm, on Tue, Sep 17, 2013 at 02:56:30PM +0200, Stefan Sperling said that On Tue, Sep 17, 2013 at 02:36:25PM +0200, frantisek holop wrote: as it seems like this is a legit regression, could this backed out please? Which commit exactly needs to be backed out? my guess would be the ones done

Re: cvsync, rsync

2013-09-17 Thread hruodr
Raimo Niskanen raimo+open...@erix.ericsson.se wrote: When you have two different real world contents the collision probability is just that; 2^-160 for SHA-1. It is when you deliberately craft a second content to match a known hash value there may be weaknesses in cryptographic hash

Re: OpenBSD not forwarding SSL, strange.

2013-09-17 Thread Jiri B
On Tue, Sep 17, 2013 at 10:42:55PM +1000, John Tate wrote: I am having trouble accessing anything which uses SSL behind my NAT, though I can access the same services from the firewall itself. There is nothing unusual in /var/log/messages, dmesg, etc. I don't know why this is happening. The

Re: cvsync, rsync

2013-09-17 Thread hruodr
Marc Espie es...@nerim.net wrote: On Tue, Sep 17, 2013 at 07:23:07AM +, hru...@gmail.com wrote: In the case of rsync the hash is applied to strings of a fixed lenth. In this case the input is finite and we can argue with cardinality. Just imagine the set finite strings mapped to a

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Andy
On Tue 17 Sep 2013 13:48:45 BST, Stuart Henderson wrote: On 2013-09-16, Andy a...@brandwatch.com wrote: Planning to test Hennings new ALTQ subsystem diff on OpenBSD 5.4 with this hardware :D pardon the pedantry, but it's not altq.. Lol, yes sorry ;) *ALTQ's replacement.. Does it have a

Re: OpenBSD not forwarding SSL, strange.

2013-09-17 Thread John Tate
# sysctl -a kern.ostype=OpenBSD kern.osrelease=5.3 kern.osrevision=201305 kern.version=OpenBSD 5.3 (GENERIC) #50: Tue Mar 12 18:35:23 MDT 2013 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC kern.maxvnodes=5926 kern.maxproc=1310 kern.maxfiles=7030 kern.argmax=262144

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Jiri B
On Tue, Sep 17, 2013 at 02:35:48PM +0100, Andy wrote: On Tue 17 Sep 2013 13:48:45 BST, Stuart Henderson wrote: On 2013-09-16, Andy a...@brandwatch.com wrote: Planning to test Hennings new ALTQ subsystem diff on OpenBSD 5.4 with this hardware :D pardon the pedantry, but it's not altq..

Re: cvsync, rsync

2013-09-17 Thread Raimo Niskanen
On Tue, Sep 17, 2013 at 01:21:04PM +, hru...@gmail.com wrote: Raimo Niskanen raimo+open...@erix.ericsson.se wrote: When you have two different real world contents the collision probability is just that; 2^-160 for SHA-1. It is when you deliberately craft a second content to match a

Re: pms0: not in sync yet, discard input (state 3)

2013-09-17 Thread Stefan Sperling
On Tue, Sep 17, 2013 at 02:59:19PM +0200, frantisek holop wrote: hmm, on Tue, Sep 17, 2013 at 02:56:30PM +0200, Stefan Sperling said that On Tue, Sep 17, 2013 at 02:36:25PM +0200, frantisek holop wrote: as it seems like this is a legit regression, could this backed out please? Which

Re: pms0: not in sync yet, discard input (state 3)

2013-09-17 Thread Martin Pieuchot
On 17/09/13(Tue) 14:59, frantisek holop wrote: hmm, on Tue, Sep 17, 2013 at 02:56:30PM +0200, Stefan Sperling said that On Tue, Sep 17, 2013 at 02:36:25PM +0200, frantisek holop wrote: as it seems like this is a legit regression, could this backed out please? Which commit exactly

Re: cvsync, rsync

2013-09-17 Thread Marc Espie
On Tue, Sep 17, 2013 at 01:21:04PM +, hru...@gmail.com wrote: Raimo Niskanen raimo+open...@erix.ericsson.se wrote: When you have two different real world contents the collision probability is just that; 2^-160 for SHA-1. It is when you deliberately craft a second content to match a

Re: Ivy Bridge-EP Xeon (E5-2637v2) and Intel C602 Patsburg-A Chipset support

2013-09-17 Thread Andy
Oh yea, just look at the slides.. Dohh ;) On Tue 17 Sep 2013 14:54:12 BST, Jiri B wrote: On Tue, Sep 17, 2013 at 02:35:48PM +0100, Andy wrote: On Tue 17 Sep 2013 13:48:45 BST, Stuart Henderson wrote: On 2013-09-16, Andy a...@brandwatch.com wrote: Planning to test Hennings new ALTQ subsystem

Re: cvsync, rsync

2013-09-17 Thread Raimo Niskanen
On Tue, Sep 17, 2013 at 01:27:06PM +, hru...@gmail.com wrote: Marc Espie es...@nerim.net wrote: On Tue, Sep 17, 2013 at 07:23:07AM +, hru...@gmail.com wrote: In the case of rsync the hash is applied to strings of a fixed lenth. In this case the input is finite and we can argue

Re: cvsync, rsync

2013-09-17 Thread hruodr
I wrote to the list. If you have something to say about the thema, then please to the list. Your impolite mails are not welcome in my mailbox. Rodrigo. Jan Stary h...@stare.cz wrote: On Sep 17 13:21:04, hru...@gmail.com wrote: Raimo Niskanen raimo+open...@erix.ericsson.se wrote: When

Re: cvsync, rsync

2013-09-17 Thread Marc Espie
On Tue, Sep 17, 2013 at 03:28:11PM +, hru...@gmail.com wrote: Marc Espie es...@nerim.net wrote: You have strings A and B, and you know only that hash(A)=hash(B): what is the probability that A=B? 2^-160? No, that's never the problem. You have a *given* string A, and another

Re: cvsync, rsync

2013-09-17 Thread hruodr
Intentionally I left the problem generic. Is the probability near to 1? You can suppose that A is 500 bytes long, that the server knows the hash value of A (but not A), that it searchs only strings of this length with the same hash value, that it found such a string B, that the hash function is

Re: responding to buttonpress ACPI event sent by KVM/Qemu (same behavior in v5.2)

2013-09-17 Thread Adam Thompson
Resurrecting this thread, since I also got a total freeze in Qemu/KVM after sending ACPI shutdown using OpenBSD 5.3. Testing, I also tried 5.3 in VirtualBox and VMWare, both gave clean shutdown. This makes me suspect KVM is at fault... QEMU/KVM (echo system_powerdown | nc -U

Re: cvsync, rsync

2013-09-17 Thread hruodr
Marc Espie es...@nerim.net wrote: You have strings A and B, and you know only that hash(A)=hash(B): what is the probability that A=B? 2^-160? No, that's never the problem. You have a *given* string A, and another string B. O.K. You have string A in the client with hash(A)=n. You find

This 48 core box...

2013-09-17 Thread Michael Chen
I'm considering bidding on this 48-core box: http://www.ebay.com/itm/Supermicro-A-Server-1042G-TF-1U-H8QG6-4-CPUS-48-cores-2-2Ghz-128GB-RAM-/151119828428?pt=COMP_EN_Servershash=item232f7195cc Does anyone have experience with it and can I use all the cores? Thanks!

Re: cvsync, rsync

2013-09-17 Thread Marc Espie
On Tue, Sep 17, 2013 at 04:16:47PM +, hru...@gmail.com wrote: Intentionally I left the problem generic. Is the probability near to 1? YES it is near to 1. Your way to phrase mathematical problems is BOGUS. You can't do probability without formulating a set of complete hypothesis. Your way

pf.conf for OpenVPN

2013-09-17 Thread Predrag Punosevac
Dear All, I am still working on OpenVPN gateway for my Lab. As of now I have everything fully functional and I am trying now to tide up PF rules. My network topology roughly looks like this Internet (128.xxx) OpenVPN clients (VPN network 10.8.0.xxx) | Also

Re: cvsync, rsync

2013-09-17 Thread Tony Abernethy
INSUFFICIENT DATA -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of hru...@gmail.com Sent: Tuesday, September 17, 2013 10:28 AM To: misc@openbsd.org Subject: Re: cvsync, rsync Marc Espie es...@nerim.net wrote: You have strings A and B, and

Re: cvsync, rsync

2013-09-17 Thread hruodr
Kenneth R Westerback kwesterb...@rogers.com wrote: And your endless meanderings around the pointless questions you pose are not welcome on the list. They certainly have NOTHING to do with OpenBSD. What you say in the last sentence is exactly what I hope. One of my questions was: This is a

Re: cvsync, rsync

2013-09-17 Thread Roberto E. Vargas Caballero
But in general, in case of foul play, you have ways ways more to worry about than whether your hash is going to match! (and the attacks we know about for md5 and sha1 are of the choose preimage variety, so it's for files A and B that *the attacker* can choose, not your own A file, and a B

Re: pf set prio

2013-09-17 Thread Henning Brauer
* Andy a...@brandwatch.com [2013-09-10 11:38]: PS; Thanks for your great work Henning (and others of course). Hoping and keeping fingers crossed the new subsystem will make it into 5.4 :) queueing? no, looks like 5.5 -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services GmbH,

Re: pflow packets before state expires

2013-09-17 Thread Henning Brauer
* Matt Hamilton ma...@netsight.co.uk [2013-09-10 12:30]: sven falempin sven.falempin at gmail.com writes: [nonsense deleted] The problem is that (I believe) that the pflow packet is not generated until the state expires from pf. In the case of the scp transfer I saw that was not for several

Re: cvsync, rsync

2013-09-17 Thread Kenneth R Westerback
On Tue, Sep 17, 2013 at 03:22:16PM +, hru...@gmail.com wrote: I wrote to the list. If you have something to say about the thema, then please to the list. Your impolite mails are not welcome in my mailbox. Rodrigo. And your endless meanderings around the pointless questions you pose are

Re: cvsync, rsync

2013-09-17 Thread Kenneth R Westerback
On Tue, Sep 17, 2013 at 06:18:48PM +, hru...@gmail.com wrote: Kenneth R Westerback kwesterb...@rogers.com wrote: And your endless meanderings around the pointless questions you pose are not welcome on the list. They certainly have NOTHING to do with OpenBSD. What you say in the

Re: This 48 core box...

2013-09-17 Thread Andy
On Tue 17 Sep 2013 18:09:15 BST, Michael Chen wrote: I'm considering bidding on this 48-core box: http://www.ebay.com/itm/Supermicro-A-Server-1042G-TF-1U-H8QG6-4-CPUS-48-cores-2-2Ghz-128GB-RAM-/151119828428?pt=COMP_EN_Servershash=item232f7195cc Does anyone have experience with it and can I

Re: This 48 core box...

2013-09-17 Thread Brad Smith
On 17/09/13 2:12 PM, Nick Holland wrote: On 09/17/2013 01:41 PM, Andy wrote: On Tue 17 Sep 2013 18:09:15 BST, Michael Chen wrote: I'm considering bidding on this 48-core box:

tftpd Receives incomplete incoming transfers over a firewall

2013-09-17 Thread joe . k
Hi, I'm trying to do some configuration backups from a piece of equipment over tftp (only option for this equipment) to a new-ish OBSD 5.3 file server running tftpd. Historically, this equipment has done its backups to a tftpd server running on OpenBSD 4.4 and its been working fine for several

Re: Feedback about Desktop Environments

2013-09-17 Thread john slee
On 17 September 2013 20:37, Jes jjje...@gmail.com wrote: but if you want you can mount them in /etc/fstab. Simply read the documentation about permissions and syntax. It's very easy. For NFS the best way is mount them in /etc/fstab too. /Why/ is it the best way, though? Unlike