Re: Goodbye to you my file descriptor - take 3

2012-12-28 Thread Philip Guenther
On Fri, Dec 28, 2012 at 10:16 PM, Maxime Villard wrote: > Le 29/12/2012 02:46, Philip Guenther a écrit : >> On Thu, Dec 27, 2012 at 5:04 AM, Maxime Villard wrote: >>> Well, as no one seems to give a fuck on tech@, I put a more >>> glamourous title here. >> >> The fd/FILE part of your diff changes

Re: Goodbye to you my file descriptor - take 3

2012-12-28 Thread Maxime Villard
Le 29/12/2012 02:46, Philip Guenther a écrit : > On Thu, Dec 27, 2012 at 5:04 AM, Maxime Villard wrote: >> Well, as no one seems to give a fuck on tech@, I put a more >> glamourous title here. > > The fd/FILE part of your diff changes the behavior of pfctl to be > incorrect when there are no stat

Re: delay after "preserving editor files" [Was: rsu problem]

2012-12-28 Thread Zoran Kolic
> > preserving editor files > > > > After a minute or so, it finishes the boot with this line: > > That just means the system went down while someone had a file open in > vi, so you have vi save files in /var/tmp/vi.recover/ and the system > at that moment in the start up is generating email messa

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Matthew Weigel
On 12/28/2012 7:20 PM, Live user wrote: > The BSD license says that > > * Copyright (c) > * > * Permission to use, copy, modify, and distribute this software for any > * purpose with or without fee is hereby granted, provided that the > * above copyright notice and this permission notice app

Realtek r8712u Wireless Dongle .. OpenBSD 5.2 i386 ..

2012-12-28 Thread Graham Jenkins
Has anyone got one of these working? It is actually identified as 'rsu0' during boot, but I'm unsure of what to put in: /etc/hostname.rsu0 for either dhcp (preferably) or fixed address. So if somebody's got it working and can give me a specific example, that would be appreciated .. Graham Jenk

Re: Goodbye to you my file descriptor - take 3

2012-12-28 Thread Philip Guenther
On Thu, Dec 27, 2012 at 5:04 AM, Maxime Villard wrote: > Well, as no one seems to give a fuck on tech@, I put a more > glamourous title here. The fd/FILE part of your diff changes the behavior of pfctl to be incorrect when there are no states. Philip Guenther

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Andres Perera
On Fri, Dec 28, 2012 at 9:03 PM, Live user wrote: > On 29/12/2012 2:28, Andres Perera wrote: >> >> Consider GNU autoconf. the output isn't derivative work of the source >> files, regardless of how big their BSD headers are. >> >> That's the biggest problem with autoconf, imo; not the idiosyncrasie

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Live user
On 29/12/2012 2:28, Andres Perera wrote: Consider GNU autoconf. the output isn't derivative work of the source files, regardless of how big their BSD headers are. That's the biggest problem with autoconf, imo; not the idiosyncrasies of the language. Since when documentation is a derivative wor

Re: A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Andres Perera
On Fri, Dec 28, 2012 at 8:50 PM, Live user wrote: > > 3) The copyright holder of the object files is the original author even if > the compiler is a third party person > Nope, that depends on the compiler/transformation. Consider GNU autoconf. the output isn't derivative work of the source file

A point about the BSD license I'm feeling edgy about

2012-12-28 Thread Live user
The BSD license says that * Copyright (c) * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies That says, under my interpretat

Re: greyscanner - sender with no MX or A

2012-12-28 Thread john slee
On 27 December 2012 23:59, Marc Espie wrote: > I would be careful with that guy's work... you may suddenly find yourself > in the bathroom with a backed up toilet gargling shitz out. I wouldn't use language quite that strong, not knowing anything about Bob, but it looks like he didn't read 'per

Re: List of all software present on OpenBSD 5.2

2012-12-28 Thread Stuart Henderson
On 2012-12-27, Live user wrote: > On 27/12/2012 14:06, Stuart Henderson wrote: >> This isn't like a Linux distribution where the whole system is >> installed from a collection of different pieces of packaged software. >> The base operating system is a consistent whole; pkg_info lists >> only packa

Re: Goodbye to you my file descriptor - take 3

2012-12-28 Thread Christiano F. Haesbaert
You can enable a bunch of warnings with WARNINGS=Yes in our tree. On Dec 28, 2012 3:34 PM, "Kenneth R Westerback" wrote: > On Thu, Dec 27, 2012 at 02:04:24PM +0100, Maxime Villard wrote: > > Well, as no one seems to give a fuck on tech@, I put a more > > glamourous title here. > > > > btw, i wond

Re: Kernel Debugging

2012-12-28 Thread Philip Guenther
On Wed, Dec 26, 2012 at 5:32 PM, Luis Useche wrote: > I just tried today and I couldn't build it either. But the following simple > patch fixed it for me: ... > However this might be wrong. Most likely there is a good reason why that > ifdef is there. Well, does the resulting kernel run? Can it

delay after "preserving editor files" [Was: rsu problem]

2012-12-28 Thread Philip Guenther
Not your main concern but: On Fri, Dec 28, 2012 at 8:56 AM, Zoran Kolic wrote: > After some hdd problems, I reinstalled and now I get another > problem: boot hangs at: > > preserving editor files > > After a minute or so, it finishes the boot with this line: That just means the system went down

Re: PF block log all and ddos issue

2012-12-28 Thread Theron ZORBAS
Sorry my last post is broken: You can see my outputs at : http://pastebin.com/FtbfHXf8 Thanks. From: Theron ZORBAS To: James Shupe ; "misc@openbsd.org" Sent: Friday, December 28, 2012 11:00 PM Subject: Re: PF block log all and ddos issue Hi again, Here is

Re: snapshots total freeze (linux emulation)

2012-12-28 Thread Philip Guenther
On Fri, Dec 28, 2012 at 8:57 AM, frantisek holop wrote: ... > i started a 'boot crash', but i am not sure > if it was finished correctly, it was sitting there > forever with the disk led on, so in the end > i just power cycled it. It depends on how much memory you have and how fast your disk is.

Re: PF block log all and ddos issue

2012-12-28 Thread Theron ZORBAS
Hi again, Here is the info that i can supply. If need more please tell me how to do? PF Options set timeout { interval 10, frag 30 } set timeout { tcp.first 300, tcp.opening 60, tcp.established 86400 } set timeout { tcp.closing 900, tcp.finwait 60, tcp.closed 90 } set timeout { udp.first 120, udp

Re: PF block log all and ddos issue

2012-12-28 Thread James Shupe
> But i still wonder why my firewall freezes when > logging all blocked udp 53 requests. > The attack is not too heavy. I had seen > much worse before. > - Check interrupt usage - Check states to make sure the reason it seems unresponsive isn't due to the state table being full Without more infor

rsu problem

2012-12-28 Thread Zoran Kolic
HP nx9020, 5.2, i386. Put d-link dwa-131 usb wifi dongle and it shows up as rsu0. The content of hostname.rsu0 does not matter, since I never got to wireless router. I.e. inet 192.168.1.1 255.255.255.0 NONE nwid ssid wpakey password The message after ifconfig is like this: rsu0: flags=8843 mtu 1

Re: snapshots total freeze (linux emulation)

2012-12-28 Thread frantisek holop
hmm, on Tue, Dec 25, 2012 at 06:05:10PM +0100, frantisek holop said that > since a couple of snapshosts back i can quite reliably > freeze my openbsd notebook simply by leaving it on > overnight. the desktop is there, all the open windows > are there, but it has become a painting... > nothing in t

Re: snapshots total freeze

2012-12-28 Thread epsilon
Hi, On Fri, Dec 28, 2012 at 12:01:37PM +0100, Joerg Goltermann wrote: > ... > We hit this problem on a physical server after upgrading to 5.2 too. > ... > Since 9 days, I run sync every 5 minutes and both systems did > *not* freeze again. Thanks for the hint. I will cronjob this. - Eps

Re: OT: mailing list unix programming

2012-12-28 Thread Voland Levit
On Wed, Dec 26, 2012 at 05:17:29PM -0200, Friedrich Locke wrote: > It is a newsgroup, not a mailing list. > > What news client do you suggest in order to access it? slrn. There is also patch for mutt to access newsgroups > > On Wed, Dec 26, 2012 at 5:09 PM, J?r?mie Courr?ges-Anglas < > jca+o...

Re: sort -un gives just the last line

2012-12-28 Thread Otto Moerbeek
On Fri, Dec 28, 2012 at 03:40:50PM +0100, Jan Stary wrote: > I have a list of IP addresses. > Sorting them with sort -n works as expected. > Sorting them with sort -u works as expected. > > $ sort -u /tmp/list > 173.194.64.26 > 173.194.64.27 > 173.194.65.26 > 173.194.65.27 > 173.194.66.26 > 173.1

sort -un gives just the last line

2012-12-28 Thread Jan Stary
I have a list of IP addresses. Sorting them with sort -n works as expected. Sorting them with sort -u works as expected. $ sort -u /tmp/list 173.194.64.26 173.194.64.27 173.194.65.26 173.194.65.27 173.194.66.26 173.194.66.27 173.194.67.26 173.194.67.27 173.194.69.26 173.194.70.26 173.194.70.27 173

Re: Goodbye to you my file descriptor - take 3

2012-12-28 Thread Kenneth R Westerback
On Thu, Dec 27, 2012 at 02:04:24PM +0100, Maxime Villard wrote: > Well, as no one seems to give a fuck on tech@, I put a more > glamourous title here. > > btw, i wonder why you don't put -Wextra to the makefile, you would > see that there are a lot of unused parameters, comparisons between > signe

Re: openbsd clusters

2012-12-28 Thread Nick Holland
On 12/27/12 17:25, Jiri B wrote: > On Wed, Dec 26, 2012 at 03:26:43PM -0500, Nick Holland wrote: >> Probably thinking of this thread: >> http://marc.info/?t=117689108200011&r=1&w=2 >> and my two contributions to it. A number of other people provided some >> good (and some bad) comments, too...read

Re: cron - approval failed

2012-12-28 Thread Otto Moerbeek
On Fri, Dec 28, 2012 at 01:25:25PM +0100, h...@stare.cz wrote: > This is what cron said to me on a current/macppc, > when incidentally, the machine was just (re)booting: > > On Dec 28 12:00:01, root wrote: > > approval failed for hans > > > Dec 28 12:00:04 www syslogd: exiting on signal 15 > De

cron - approval failed

2012-12-28 Thread hans
This is what cron said to me on a current/macppc, when incidentally, the machine was just (re)booting: On Dec 28 12:00:01, root wrote: > approval failed for hans Dec 28 12:00:04 www syslogd: exiting on signal 15 Dec 28 12:00:53 www syslogd: start Dec 28 12:00:53 www /bsd: syncing disks... done D

Re: snapshots total freeze

2012-12-28 Thread André Stöbe
Joerg Goltermann wrote: > I can confirm the problem here. We run some 5.2 VMs on ESXi 5.1 > and if the VM "freezes" the CPU runs on 100% but the system is > completely frozen. No disk IO, no keyboard, but kernel networking > seems to be ok. > > We had two VMs which crashed every 2 - 4 days after u

Re: Panic at pmap_remove_ptes, 5.2/i386

2012-12-28 Thread Joerg Goltermann
Hi, On 18.12.2012 09:33, Marcin wrote: Hi, Today a member of my 2 machines firewall cluster running 5.2 panicked with following info (screenshot at http://tinypic.com/r/11t7nrl/6): panic: pmap_remove_ptes: unmanaged page marked PG_PVLIST, va = 0x3c005000, pa = 0xf000 The machine, along w

Re: PF block log all and ddos issue

2012-12-28 Thread Theron ZORBAS
Hello, @Peter, thanks for your reply. But i have no problem with dns daemon.  Infact attackers make ddos to ip addresses which have no dns services listening UDP port 53.  So i have solved this issue partially with these rules below: #Stop pointless udp 53 requests (dont log these packets) block

Re: snapshots total freeze

2012-12-28 Thread Joerg Goltermann
Hi, On 25.12.2012 20:28, epsilon wrote: On Tue, Dec 25, 2012 at 06:05:10PM +0100, frantisek holop wrote: since a couple of snapshosts back i can quite reliably freeze my openbsd notebook simply by leaving it on overnight. the desktop is there, all the open windows are there, but it has become