Re: Processes' FIBs

2012-01-17 Thread Oliver Fromme
Kostik Belousov kostik...@gmail.com wrote: The patch misses compat32 bits and breaks compat32 ps/top. Right, thank you for pointing it out! I missed it because I only have i386 for testing. I've created new patch sets for releng8 and current. These include compat32 support and an entry for

Re: Processes' FIBs

2012-01-12 Thread Oliver Fromme
Bjoern A. Zeeb wrote: On 11. Jan 2012, at 15:06 , Oliver Fromme wrote: I'm currently looking at the source code of ps, but adding a field for the FIB isn't as trivial as I thought because ps only sees struct kinfo_proc (via sysctl kern.proc.*) which doesn't contain the FIB. procstat

Re: Processes' FIBs

2012-01-11 Thread Oliver Fromme
Bjoern A. Zeeb wrote: On 10. Jan 2012, at 20:32 , Paul A. Procacci wrote: On Tue, Jan 10, 2012 at 09:12:17PM +0100, Oliver Fromme wrote: Is there a way to find out the default FIB number of a process (from a shell script)? I've checked the manpages of ps and procstat

Re: Is BOOTWAIT still used? (Was: kernel memory checks on boot vs. boot time)

2011-03-24 Thread Oliver Fromme
Pan Tsu wrote: Oliver Fromme o...@lurza.secnetix.de writes: [...] To be honest, I don't think that loader takes so much time. When you set autoboot_delay=-1 and beastie_disable=YES, the time spent in loader is negligible. (I'm assuming that you also set BOOTWAIT=0 in make.conf

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-27 Thread Oliver Fromme
Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-27 Thread Oliver Fromme
. -- Eric Allman -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-10-24 Thread Oliver Fromme
, according to the documentation. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Alexander Best wrote: On Wed Sep 15 10, Oliver Fromme wrote: Warren Block wbl...@wonkity.com wrote: [...] 8. Alexander Motin has an updated CAM version of the ATA system which will eventually replace the existing one. In -CURRENT, anyway. He was kind enough to look at my

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Tijl Coosemans wrote: On Thursday 16 September 2010 10:41:07 Oliver Fromme wrote: Also, there are cases where it is completely impossible to decide automatically whether the disks should be spun down or not. For example, if the admin issues a shutdown -h (halt), there's no way

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Oliver Fromme
Tijl Coosemans wrote: On Thursday 16 September 2010 16:10:22 Oliver Fromme wrote: Tijl Coosemans wrote: I would just spin down the disk in case of a halt. An unwanted spin down is harmless compared to an emergency shutdown and usually the intention is to power off rather than

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-15 Thread Oliver Fromme
, +/*getcount_only*/0); + cam_periph_unlock(periph); + } } #endif /* _KERNEL */ -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: How to disallow logout

2010-09-11 Thread Oliver Fromme
and terminates, throwing you back to the shell prompt. Additionally, you could put the checked-out files on a geli-encrypted device and/or on a memory file system. That will make sure that there ist no unencrypted stuff left behind after a power-failure or crash. Best regards Oliver -- Oliver Fromme

Re: an alternative to powerpoint

2010-07-22 Thread Oliver Fromme
pretty well on my Nexus One (Android 2.2) with the default browser. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: Newbie question: kernel image a dynamically linked binary?

2010-04-01 Thread Oliver Fromme
-- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Oliver Fromme
. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Oliver Fromme
Dmitry Marakasov wrote: * Oliver Fromme (o...@lurza.secnetix.de) wrote: This is an excerpt from Solaris' mount_nfs(1M) manpage: File systems that are mounted read-write or that con- tain executable files should always be mounted with the hard option

Re: NFS write corruption on 8.0-RELEASE

2010-02-12 Thread Oliver Fromme
to a friend of mine: After a network outage his Opera browser didn't work anymore. He had to remove his ~/.opera directory to get it working again (and he lost all his settings). His home directory was soft-mounted, but he removed the soft option after that incident. Best regards Oliver -- Oliver

Re: sysctl with regex?

2010-02-10 Thread Oliver Fromme
sysctl -a. After all, the UNIX way of doing things is to combine the existing tools instead of duplicate features in many tools. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606

Re: System() returning ECHILD error on FreeBSD 7.2

2010-02-10 Thread Oliver Fromme
signal handler is called right before the system() function returns. And since you don't save the errno value, your signal handler overwrites the value returned from the system() function. So you get ECHILD. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567

Re: NFS write corruption on 8.0-RELEASE

2010-02-10 Thread Oliver Fromme
. That means that you will get corruption if they rely on locking. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: our little daemon abused as symbol of the evil

2010-02-09 Thread Oliver Fromme
give it away for free. That's why public domain software doesn't exist in Germany. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH

Re: our little daemon abused as symbol of the evil

2010-02-08 Thread Oliver Fromme
of the web pages needs to be corrected, but I don't know which one. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: Spin down HDD after disk sync or before power off

2010-02-04 Thread Oliver Fromme
Warren Block wrote: Oliver Fromme wrote: Alexander Best wrote: imo this patch takes good care of the problem. would be nice to have it in HEAD. No -- *Please* make sure that the disks are only spun down upon an actual power-off command (i.e. when reboot() is called

Re: Spin down HDD after disk sync or before power off

2010-02-03 Thread Oliver Fromme
keep running. It's not good to have the disks spin down and then immediately spin up again on every reboot. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: Does getc(3) use the read(2) syscall?

2010-02-03 Thread Oliver Fromme
; the definition is in src/lib/libc/include/namespace.h. So to answer you question: Yes, getc() uses the read() syscall. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung

Re: Spin down HDD after disk sync or before power off

2010-01-27 Thread Oliver Fromme
a sysctl or similar, so the feature can be switched on and off. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: Spin down HDD after disk sync or before power off

2010-01-27 Thread Oliver Fromme
. the new one is very quiet and so it's not that easy to recognise any changes in the spin down procedure. There are hard disk drives that (still) have a reasonable auto-park feature and don't require a special command. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz

Re: limits for run away Firefox ?

2010-01-19 Thread Oliver Fromme
Rick C. Petty wrote: On Mon, Jan 18, 2010 at 12:25:43PM -0800, Doug Barton wrote: On 01/18/10 11:29, Oliver Fromme wrote: Doug Barton wrote: On 01/17/10 17:07, Julian H. Stacey wrote: Hi hackers I'm tired of my X server occasionaly freezing, swap thrasing

Re: User error or awk bug?

2010-01-18 Thread Oliver Fromme
| sed 's=//*=/=g' By the way, when egrep parses brace expressions, it simply translates them to standard expressions. So, when it sees /{2,} it converts it to //+ before creating the DFA. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: limits for run away Firefox ?

2010-01-18 Thread Oliver Fromme
to the limits(1) tool. HTH. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758

Re: CPU user/kernel time given the PID

2009-03-08 Thread Oliver Fromme
userland process. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758

Re: How to tear down a geom mirror?

2009-03-06 Thread Oliver Fromme
gmirror clear /dev/ad0s1a does. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758

Re: Spin down HDD after disk sync or before power off

2009-03-04 Thread Oliver Fromme
() function in src/sys/kern/kern_shutdown.c for details about the kernel's shutdown sequence. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH

Re: Spin down HDD after disk sync or before power off

2009-03-04 Thread Oliver Fromme
Joerg Sonnenberger wrote: Oliver Fromme wrote: Octavian Covalschi wrote: I'm looking a way to spin down HDD just right before power off. Why? Because currently when I call shutdown -p now, HDD is powered off at it's full speed (7200.4) and as a result I hear a noise

Re: CFT: Graphics support for /boot/loader

2009-02-11 Thread Oliver Fromme
Alex Dupre wrote: Oliver Fromme ha scritto: The problem is related to the fact that a 64bit kernel cannot use VESA BIOS functions. You should be able to use standard VGA modes though, which don't require VESA support. Actually I cannot see any splash screen on amd64, at least

Re: CFT: Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
Matt Dawson wrote: On Saturday 07 February 2009 18:59:43 Oliver Fromme wrote: In fact I have prepared a theme with beastie; here's a screen shot (preliminary): http://www.secnetix.de/olli/FreeBSD/vloader/screenshot5.png Perfect. Clean, logical, concise, the three words I

Re: ZFS and Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
of gloader but with ZFS support? I'll put it on my to-do list. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: CFT: Graphics support for /boot/loader

2009-02-08 Thread Oliver Fromme
from the FORTH code without resorting to dirty hacks. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
into it. When does that message appear? Could you provide a screen shot? Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Alex Dupre wrote: Oliver Fromme ha scritto: Some of you might remember that I'm working on graphics support for our /boot/loader. Just a side question: are you going to improve also the splash(4) support? Graphical loader is great, but unfortunately on amd64 the boot splash

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
attached, just to give you some information about the bios. Thanks! Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Renato Botelho wrote: Oliver Fromme wrote: Renato Botelho wrote: It worked here, on a 8.0-current i386 r188003, the only small thing is it show a red border when show the menu. Do you mean a red line at the top right corner? That problem has already been reported and fixed

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
Christian Gusenbauer wrote: Oliver Fromme wrote: Danny Braniss wrote: just tried it via pxe: panic: free: guard1 @ 0x7f3a4aec from /usr/src/lib/libstand/close.c:79 what changes are needed in pxeboot? The panic message means that the heap memory was corruped

Re: CFT: Graphics support for /boot/loader

2009-02-06 Thread Oliver Fromme
the horned ball logo with ASCII letters looks butt-ugly, IMHO. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
are eager to give it a try, please feel free to do so. It should work with any FreeBSD version on i386 and amd64 platforms. I have posted detailed instructions on the FreeBSD wiki: http://wiki.freebsd.org/OliverFromme/BootLoaderTest Any kind of feedback is welcome. Best regards Oliver -- Oliver

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
Scott Long wrote: Oliver Fromme wrote: [...] http://wiki.freebsd.org/OliverFromme/BootLoaderTest I think that this is really neat, you've done an impressive job with it good job. However, I do take issue with your criticism of the ASCII logo; I actually spent a decent amount

Re: CFT: Graphics support for /boot/loader

2009-02-05 Thread Oliver Fromme
descriptive text for the countdown and how to pause it.) I think it might make sense to provide an additional action using the Esc key that leaves graphics mode and displays the old text menu instead. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b

Re: freebsd-update's install_verify routine excessive stating

2009-01-26 Thread Oliver Fromme
Doug Barton wrote: Oliver Fromme wrote: However, I think cmp wouldn't work here, because cmp only detects whether there is a difference between two files. In this case we need to know if one file is a subset of the other: For every hash there must be a .gz file

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Yoshihiro Ota wrote: Oliver Fromme wrote: It would be much better to generate two lists: - The list of hashes, as already done (filelist) - A list of gzipped files present, stripped to the hash: (cd files; echo *.gz) | tr ' ' '\n' | sed 's/\.gz$//' filespresent

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Doug Barton wrote: Oliver Fromme wrote: Yoshihiro Ota wrote: Oliver Fromme wrote: It would be much better to generate two lists: - The list of hashes, as already done (filelist) - A list of gzipped files present, stripped to the hash: (cd files; echo *.gz

Re: freebsd-update's install_verify routine excessive stating

2009-01-23 Thread Oliver Fromme
Doug Barton wrote: Oliver Fromme wrote: I assume, with this you mean my solution to the slow shell loop problem (not quoted above), not Yoshihiro Ota's awk proposal? I meant the solution using comm, sorry. (I forgot to mention that I would probably use cmp here, but that's

Re: freebsd-update's install_verify routine excessive stating

2009-01-22 Thread Oliver Fromme
whether there are any hashes in filelist that are not in filespresent: if [ -n $(comm -23 filelist filespresent) ]; then echo -n Update files missing -- ... fi That solution scales much better because no shell loop is required at all. Best regards Oliver -- Oliver

Re: freebsd-update's install_verify routine excessive stating

2009-01-22 Thread Oliver Fromme
Christoph Mallon wrote: Oliver Fromme schrieb: cut -f 2,7 -d '|' | grep -E '^f' | cut -f 2 -d '|' | sort -u filelist It's unclear why there are two cut commands. The 7th field isn't used at all. Also, the -E option

Re: Why does adding /usr/lib32 to LD_LIBRARY_PATH break 64-bit ?binaries?

2008-10-27 Thread Oliver Fromme
nice if it ignored incompatible libraries :) No. Please don't put such pseudo-cleverness into rtld. It wouldn't be an improvement, in fact it might break some working configurations. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: libusb for linux-emulation

2008-10-27 Thread Oliver Fromme
the BSD ioctls. Is there a crosscompiler to compile linux binarys from freebsd? This would make the job much easier. Yes, I think you can use ports/devel/cross-gcc. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht

Re: Call function on sysctl value change

2008-10-15 Thread Oliver Fromme
to be able to call a function if possible, to validate the value entered via the sysctl command. Yes, you can do this with a PROC type sysctl. For example, look at sysctl_hlt_cpus() in sys/i386/i386/mp_machdep.c. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567

Re: Sockstress

2008-10-09 Thread Oliver Fromme
for the issues, they will release details of those issues.(...)'' Was FreeBSD team contacted? ;) -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH

Re: continuous backup solution for FreeBSD

2008-10-09 Thread Oliver Fromme
the whole file system to a previous snapshot using the zfs rollback command. This is like going back in time. There is no need to touch your backups for that. These features are readily available right now on FreeBSD. You don't have to code anything. Best regards Oliver -- Oliver Fromme

Re: continuous backup solution for FreeBSD

2008-10-09 Thread Oliver Fromme
Zaphod Beeblebrox wrote: Oliver Fromme wrote: However, ZFS does exist on FreeBSD, and I think it wouldn't be impossible to add similar features to ZFS. Possibly even as a ZFS module? This might be something better addressed at the ZFS project level --- but the next question

Re: continuous backup solution for FreeBSD

2008-10-08 Thread Oliver Fromme
or whatever. And of course a client-side implementation that does something useful with the journal stream. This might even be a good SoC project. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
failure. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
better to use one of those tools that parse the logs for failed ssh logins, and use that information to block addresses. In order to abuse that, and attacker would have to spoof a full TCP connection setup plus initial SSH conversation, which is far from trivial. Best regards Oliver -- Oliver

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
Pierre Riteau wrote: Oliver Fromme wrote: Ollivier Robert wrote: According to Henrik Hudson: Yeap, -security However, also try this in pf.conf (specific rules related to this; you'll need more for a real pf.conf): table badguys { } persist block

Re: SSH Brute Force attempts

2008-09-30 Thread Oliver Fromme
Bill Moran wrote: In response to Oliver Fromme [EMAIL PROTECTED]: Pierre Riteau wrote: Because the 3-way handshake ensures that the source address is not being spoofed, more aggressive action can be taken based on these limits. s/not being spoofed/more

Re: What file on FreeBSD acts like autoexec.bat?

2008-09-29 Thread Oliver Fromme
that corresponds to config.sys on a FreeBSD system is /etc/rc.conf (see the rc.conf(5) manual page for details). Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: bad NFS/UDP performance

2008-09-29 Thread Oliver Fromme
regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf

Re: experimantal question about md's

2008-09-29 Thread Oliver Fromme
some evidence, such as output from iostat, gstat, vmstat and so on. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: ZFS w/failing drives - any equivalent of Solaris FMA?

2008-09-12 Thread Oliver Fromme
with it anymore. It certainly should not hang the machine. After all, what's the purpose of a RAID when you have to reboot upon drive failure. ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606

Re: Extending find(1) to support -printf

2008-09-08 Thread Oliver Fromme
, the wildcard expression *~*.(gz|bz2) matches all files _except_ the ones that end with .gz or .bz2. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: Temp files in /etc

2008-09-08 Thread Oliver Fromme
that solves it: http://www.secnetix.de/olli/FreeBSD/jail-passwd/ Please read the instructions.txt file first, then download the appropriate patch file. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606

Re: kvm on amd64 - 6G?

2008-08-27 Thread Oliver Fromme
increased the kmem limit in 8-current from 1.5 GB to 7 GB, and the default is 4.2 GB. http://svn.freebsd.org/viewvc/base?view=revisionrevision=180311 I don't know if this will be MFCed. It will not be in 7.1-Release; it's too late for that. Best regards Oliver -- Oliver Fromme, secnetix

Boot loader + malloc

2008-08-21 Thread Oliver Fromme
, or should I expect trouble? Any comments are appreciated. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün

Re: Boot loader + malloc

2008-08-21 Thread Oliver Fromme
() after the kernel is loaded though. Yes, it does. By default the loader loads the kernel first, then fires up the beastie menu which causes quite some malloc() activity. FICL uses malloc() internally for various things. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG

Re: USB key kernel: da0: Attempt to query device size failed: UNIT ?ATTENTION, Medium not present

2008-08-07 Thread Oliver Fromme
Matthias Apitz wrote: Oliver Fromme wrote: Matthias Apitz wrote: I've updated usb/80361, see http://www.freebsd.org/cgi/query-pr.cgi?pr=80361 because I have the same problem as well that an USB key attaches fine when plugged in at boot time, but not later: I'm just

Re: USB key kernel: da0: Attempt to query device size failed: UNIT ?ATTENTION, Medium not present

2008-08-06 Thread Oliver Fromme
/80361. If it is, the patch from the PR should be committed (it introduces a quirk for cases like this), and your USB stick should be added to the quirks list. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht

Re: restore of file system into USB key terrible slow

2008-08-05 Thread Oliver Fromme
in the destination. Another way copy a directory tree is to use find+cpio: cd /src; find -d . | cpdio -dump /dst Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: GPG encryption of binary sample requested.

2008-07-14 Thread Oliver Fromme
mailfolders, so you don't have to convert to maildir format if you don't want to. YMMV, of course. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: error 1 lba 752976 while booting from USB key to install

2008-07-10 Thread Oliver Fromme
-- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

Re: error 1 lba 752976 while booting from USB key to install

2008-07-10 Thread Oliver Fromme
it's probably the well-known BIOS access problem that was patched in FreeBSD's BTX code after 7.0-RELEASE. I suggest you try RELENG_7 or the June snapshot, as explained in my previous mail. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: eeePC 900 with SSD reducing writes

2008-07-09 Thread Oliver Fromme
Matthias Apitz wrote: Oliver Fromme wrote: You can get rid of an on-disk /var alltogether. Add these lines to /etc/rc.conf: varmfs=yes varsize=32m It will create a memory FS for /var of 32 MB (default). Thanks for the hint, but memfs is not so good because you

Re: eeePC 900 with SSD reducing writes

2008-07-08 Thread Oliver Fromme
), because it doesn't have to write anything anywhere. If you have any disk partitions that you mount read+write, be sure to enable soft-updates because it tends to reduce the number of physical write operations. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567

Re: moving FreeBSD installation disk1 to an USB stick

2008-06-19 Thread Oliver Fromme
not necessary. sysinstall can install from a normal UFS partition. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: Maximum memory allocation per process

2008-05-30 Thread Oliver Fromme
beastie.4th stuff loads the kernel before displaying the menu, so the settings happen after the kernel is loaded. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix

Re: Impact of having a large number of open file descriptors

2008-05-28 Thread Oliver Fromme
and NOTE_WRITE catch additional ways the file can be modified, meaning mmap()? A quick grep for NOTE_WRITE on the sys tree indicates that it doesn't. I'm not 100% sure though. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister

Re: How can I translate IP to hostname in C

2008-05-23 Thread Oliver Fromme
() instead, which is more flexible and easier to use, and it enables you to easily write code that is independent and agnostic of the address family (IPv4 vs. IPv6 vs. others). The manual page contains detailed example code. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz

Re: /usr/src/Makefile instructions

2008-05-23 Thread Oliver Fromme
regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb

Re: Help with copytree code

2008-05-19 Thread Oliver Fromme
if there are any file names that contain spaces or other special characters. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH

Re: Trying (not) to crash with libpthread (6.3-RELEASE)

2008-05-16 Thread Oliver Fromme
that happens to belong to your process, too. The result is undefined, i.e. it could be anything. If you need to send a SIGSEGV to yourself reliably, the best way is to kill(getpid(), SIGSEGV). Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: Problem with find -prune...

2008-04-03 Thread Oliver Fromme
be argued whether find(1) should print a warning in that case. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister

Re: vkernel GSoC, some questions

2008-03-22 Thread Oliver Fromme
M. Warner Losh wrote: In message: [EMAIL PROTECTED] Oliver Fromme [EMAIL PROTECTED] writes: : The vkernel feature has certainly benefits, e.g. the fact : that you can attach to it with standard gdb and use the : familiar debugging facilities, which can attract more

Re: vkernel GSoC, some questions

2008-03-19 Thread Oliver Fromme
that with qemu as well, and it's there today. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen

Re: Graphic boot loader?

2008-03-18 Thread Oliver Fromme
regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf

Re: Security Flaw in Popular Disk Encryption Technologies

2008-02-27 Thread Oliver Fromme
before removal. (You'd just overwrite the keys if the temperature falls i.e. below 10°C) Cool ... Then I won't be able to boot my laptop when I have to wait at the train station in winter ... Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

Re: loader and ficl/Forth help

2008-02-24 Thread Oliver Fromme
cp437_lines then then Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB

Re: loader and ficl/Forth help

2008-02-24 Thread Oliver Fromme
definition, then you're not in compile mode. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen

Re: /boot/loader graphics support extensibility

2008-02-23 Thread Oliver Fromme
Marcel Moolenaar wrote: On Feb 22, 2008, at 12:39 PM, Oliver Fromme wrote: Yes, that'll work well for putting characters on the screen. But I don't think it is suitable for generic graphics operations, even (and especially) for drawing single pixels. True. What do you envision

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
. If you enable it, the BIOS will skip the RAM test (which is rather useless anyway) which clears the RAM. It might help, but it depends very much on your mainboard and BIOS. Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
Jeremy Chadwick wrote: Oliver Fromme wrote: Upon a reboot, the kernel is usually loaded to the same physical addresses in RAM where it was before, so the dmesg buffer will be at the same location, too (unless you built a new kernel, of course). So all the contents from before

Re: cool feature of dmesg.boot file

2008-02-22 Thread Oliver Fromme
Jeremy Chadwick wrote: Oliver Fromme wrote: [...] Either way, it's a feature with major security implications. So, for those of us who are concerned about master.passwd changes via mergemaster being stuffed into msgbuf, how do we disable said feature? (Before answering, see below

Re: /boot/loader graphics support extensibility

2008-02-22 Thread Oliver Fromme
not horribly inefficient. At the very least I try to do it in a way so that they can be made more efficient easily. I think we're finally moving into the 20th century :-) Even the 21st, I hope. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH Co. KG, Marktplatz 29, 85567 Grafing b. M

  1   2   3   >