Re: syslog(3) issues

2012-09-03 Thread Eygene Ryabinkin
em? This is almost obvious, but had you tried running syslogd with flag '-d' that gives verbose information about incoming stuff and whether it will be logged to some file(s). -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root passwo

Re: src builds and STDERR

2012-03-01 Thread Eygene Ryabinkin
more and modify the regression suite to handle the change in the make behaviour. Any thoughts? -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] pgpm0Pfc8k2x6.pgp Description: PGP signature

Re: [sudo] configure --host=i386

2012-02-28 Thread Eygene Ryabinkin
aining getspnam... no > checking for library containing getprpwnam... no > configure: error: "dlopen present but libtool doesn't appear to support > your platform." What were the commands for cross-compilation? Was it done using the ports tree or just the

Re: Blackhole routes vs firewall drop rules

2012-02-28 Thread Eygene Ryabinkin
r if they contain the sources for the attack) can do that, the attacking traffic won't even exit their networks and that's a good thing when you're fighting DDoS. But, in general, it will be much better to know your situation to answer such question in a more appropriate manner. --

Re: Alternate source trees

2011-08-18 Thread Eygene Ryabinkin
, if for some reason you want /usr/src to point to the correct place at your "destination" machines, to always mount /build across hosts where you're installing the stuff and to symlink /usr/src to the proper location inside the /build. -- Eygene Ryabinkin

Re: cam / ata timeout limited to 2147 due to overflow bug?

2011-08-05 Thread Eygene Ryabinkin
p session for the kernel sources I had seen other (t * hz / 1000) constructs, so I feel that the fix should be extended to cover these cases as well. I am interested in the other's opinions on this. Thanks again! -- Eygene Ryabinkin,,,^

Re: cam / ata timeout limited to 2147 due to overflow bug?

2011-08-05 Thread Eygene Ryabinkin
judging by the code, if the slot won't start executing at the first invocation of ahci_timeout that was spawned by the callout armed in ahci_execute_transaction, we can have timeouts more than for the specified amount of time. And if the slot will never start its execution, the ca

Re: freeBSD8.2: getgrgid() works only for wheel group.

2011-08-03 Thread Eygene Ryabinkin
What's the output from 'ls -l /etc/group; ls -ld /etc'? -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] pgpGINgzY3qL2.pgp Description: PGP signature

Re: broadcast oddity

2011-07-21 Thread Eygene Ryabinkin
2-broadcasts, for host routes the L2-broadcasts are governed by the 'B' route flag and for other routes the destination address governs the behaviour (INADDR_ANY & INADDR_BROADCAST as the destination will enable L2-broadcast unconditionally /but most likely we will hit the default rou

Re: broadcast oddity

2011-07-19 Thread Eygene Ryabinkin
); }}} So, if the route that is selected is the gateway, then there will be no broadcast on the L2. At least in my understanding of the code. Thus, I am interested in the routing tables and route flags. -- Eygene Ryabinkin,,,^..^,,, [ Life's unfai

Re: broadcast oddity

2011-07-18 Thread Eygene Ryabinkin
at interface), you should use getifaddrs(), like in the attached example. It is very quick and dirty one and it has some limitations (e.g., it takes the first broadcast address from the interface), but it should be a good starting point. -- Eygene Ryabinkin

Re: Mem leak : malloc/free + pthreads = leakage?

2011-03-05 Thread Eygene Ryabinkin
them, but you can definitely run your program under Valgrind's memcheck tool -- it often does the good amount of work and detects many leaks. Valrgind is ported to FreeBSD, devel/valgrind. -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root passwo

Re: insufficient flag handling in tools/install.sh

2011-02-04 Thread Eygene Ryabinkin
the attached patch? Looks fine and works for me, thanks! -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] pgpuyRGeAXEha.pgp Description: PGP signature

Re: insufficient flag handling in tools/install.sh

2011-02-03 Thread Eygene Ryabinkin
#x27; + [ 4 -gt 0 ] + dirmode=YES + shift + [ 3 -gt 0 ] + shift + shift + [ 1 -gt 0 ] + break + [ 1 -eq 0 ] + [ -z YES ] + install -d 'this is a test' total 2 drwxr-xr-x 2 rea rea 512 Feb 4 10:10 this is a test }}} -- Eygene Ryabinkin,,,^..^,,, [ Li

Re: binding non local ip.

2011-01-07 Thread Eygene Ryabinkin
(EADDRNOTAVAIL); }}} and this will eliminate one branching instruction at the expense of memory access and fast logical operation. -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] pgpbHhA7Pc69T.pgp Description: PGP signature

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
cept the license" and "Reject the license" into a single checkbox named "Accept the license": this will - make the current status of acceptance to be visible; - remove one graphical element to reduce the overall number of them. -- Eygene Ryabinkin

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
ause prev is NULL in this case. The attached patch should fix the first item and will apply a quick-fix for the second one. -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
who does Ncurses. And the most logical way is to - leave the curses mode; - invoke anything you like and wait() for it; - enter the curses mode again + refresh the windows. -- Eygene Ryabinkin,,,^..^,,, [ Life's unfair - but root password helps!

Re: "Checksum mismatch -- will transfer entire file"

2010-01-05 Thread Eygene Ryabinkin
Victor, good day. Thu, Dec 31, 2009 at 09:32:44AM +0600, Victor Sudakov wrote: > I cvsup the FreeBSD CVS repository daily from cvsup.ru.freebsd.org. > Both the client and the server run CVSup Software version: SNAP_16_1h, > Protocol version: 17.0. > > Recently I noticed that there are lots of me

Re: bad source in the distro iso's

2009-11-13 Thread Eygene Ryabinkin
Trever wrote: > I noticed in 7.2 that the /usr/src installed from the ISO downloads > would not build without first sup'ing for a few updates. > (disc1.iso's) > > I notice in the 8.0RC2&3 that some of the source files are corrupted. Can you be precise in what's going wrong? What objects can't be

Re: Issue with grep -i (on i386 only?)

2009-11-03 Thread Eygene Ryabinkin
Mel, good day. Tue, Nov 03, 2009 at 09:22:28PM +0100, Mel Flynn wrote: > So on the laptop I modified the testscript as it is attached now and > while there is still a significant delay, the wallclock time is less > then half, when the expression is rewritten with the same meaning: > =>>> 16777216

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-11-02 Thread Eygene Ryabinkin
Mon, Nov 02, 2009 at 10:32:29PM +0100, Alexander Best wrote: > ok. the pr stays in patched state. right now the patch is in HEAD, > 8-STABLE and 8.0-RELEASE. rafan is thinking about mfc'ing the patch to > 6-stable and 7-stable. however if somebody is willing to modify the > patch so it applies to t

Re: ptrace problem 6.x/7.x - can someone explain this?

2009-10-28 Thread Eygene Ryabinkin
Dorr, good day. Tue, Oct 27, 2009 at 05:32:34PM -0700, Dorr H. Clark wrote: > We believe ptrace has a problem in 6.3; we have not tried other > releases. The same code, however, exists in 7.1. And in HEAD too. > The bug was first encountered in gdb... > > (gdb) det > Detaching from program: /u

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-24 Thread Eygene Ryabinkin
Sat, Oct 24, 2009 at 02:04:34PM +0200, Jilles Tjoelker wrote: > That should be: > - > do > in = wgetch(text_win); > while (in == -1 && errno == EINTR); > if (in == -1) > exit(0); > - > > errno should only be checked after failed function calls or for > functions where it is doc

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread Eygene Ryabinkin
Ed, good day. Fri, Oct 23, 2009 at 07:13:01PM +0200, Ed Schouten wrote: > Have you sent it to Thomas Dickey as well? Sent the patch to bug-ncur...@gnu.org. Do you think that I should send it to Thomas directly as well? -- Eygene ____ _.--. # \`.|\.....-'` `-._.-'

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread Eygene Ryabinkin
Fri, Oct 23, 2009 at 06:32:38PM +0200, Alexander Best wrote: > thanks a million. for me the patch works great. :) You're welcome ;)) > the sooner it gets committed the better. ;) It may well break something else. I am not 100% sure that this patch is the proper thing -- curses code is a bit new

Re: help needed to fix contrib/ee crash/exit when receiving SIGWINCH

2009-10-23 Thread Eygene Ryabinkin
he buffer if read() will fail for any reason. kgetch() will notice this ERR and won't interpret any fifo contents setting peek = head. But when _nc_wgetch() will handle SIGWINCH and KEY_RESIZE will be pushed into fifo and taken out, ERR will still stay there. We should take ERR from the fifo or kg

Re: Problem in bin/sh stripping the * character through ${expansion%}

2009-08-06 Thread Eygene Ryabinkin
Doug, good day. Thu, Aug 06, 2009 at 11:15:12AM -0700, Doug Barton wrote: > I came across this problem during a recent portmaster update. When > trying to strip off the * character using variable expansion in bin/sh > it doesn't work. Other "special" characters do work if they are > properly escap

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-06-03 Thread Eygene Ryabinkin
Wed, Jun 03, 2009 at 11:03:45AM +0200, Dag-Erling Sm??rgrav wrote: > Isn't it clearly described in the preceding comment? Specifically, by > the first two sentences: "Replace multiple slashes by a single slash and > trailing slashes by a null. This must be done before VOP_LOOKUP() > because some

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-06-02 Thread Eygene Ryabinkin
Tue, Jun 02, 2009 at 01:28:34PM +0200, Dag-Erling Sm??rgrav wrote: > Eygene Ryabinkin writes: > > For the current code state, check "*cp == '\0'" seems to be redundant: > > [...] By the way, comment before the test "if (rdonly)' seems to be >

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-06-02 Thread Eygene Ryabinkin
Dag-Erling, good day. Fri, May 29, 2009 at 06:58:08PM +0200, Dag-Erling Sm??rgrav wrote: > Index: sys/kern/vfs_lookup.c > === > --- sys/kern/vfs_lookup.c (revision 193028) > +++ sys/kern/vfs_lookup.c (working copy) > @@ -454,7

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-29 Thread Eygene Ryabinkin
Fri, May 29, 2009 at 06:53:22PM +0200, Dag-Erling Sm??rgrav wrote: > Bruce Evans writes: > > % /* > > %* Get a buffer for the name to be translated, and copy the > > %* name into the buffer. > > % @@ -533,6 +536,8 @@ > > % if (*cp == '\0') { > > % trailing_sla

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-28 Thread Eygene Ryabinkin
Mel, good day. Thu, May 28, 2009 at 11:07:12AM +0200, Mel Flynn wrote: > On Tuesday 26 May 2009 23:20:01 Dag-Erling Sm??rgrav wrote: > > Dag-Erling Sm??rgrav writes: > > > Like bde@ pointed out, the patch is incorrect. It moves the test for > > > v_type != VDIR up to a point where, in the case o

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-27 Thread Eygene Ryabinkin
Wed, May 27, 2009 at 06:44:35PM +0200, Dag-Erling Sm??rgrav wrote: > Eygene Ryabinkin writes: > > [new three-part patch] > > I committed the namei.h cleanup patch and the vfs_lookup.c comment > patch. Thanks! > I made a number of changes to the trailing-slash patch. Can

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-27 Thread Eygene Ryabinkin
al )/' _/ \ `-_, /# while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / #-- FreeBSD Developers handbook {_.-``-' {_/# From 03483c8e800680a8b8a3d3f0d1debdf7fd883906 Mon Sep 17 00:00

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-27 Thread Eygene Ryabinkin
Wed, May 27, 2009 at 01:07:15PM +0200, Dag-Erling Sm??rgrav wrote: > Eygene Ryabinkin writes: > > May be the attached patch will fix the thing? > > I'm not entirely convinced. Try the regression test I wrote > (head/tools/regression/vfs/trailing_slash.t) I see: you me

Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file symlink) vulnerability

2009-05-27 Thread Eygene Ryabinkin
' ` , __.--' # to read the on-line manual )/' _/ \ `-_, /# while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / #-- FreeBSD Developers handbook {_.-``-' {_/

Re: bin/134694: gives false-positive when unable to obtain socket [WAS: sshd(8) - alert user when fails to execute from rc.d]

2009-05-20 Thread Eygene Ryabinkin
Glen, good day. Mon, May 18, 2009 at 10:49:52PM -0400, Glen Barber wrote: > Earlier this evening, I submitted a PR about sshd(8) giving a > false-positive when starting on an already occupied socket[1]. I > would like to enable some form of console output when the rc.d script > is called if the s

Re: SSH Problem

2008-12-22 Thread Eygene Ryabinkin
Corne, Mon, Dec 22, 2008 at 11:22:07AM +0200, Corne Kotze wrote: > Thank for the reply. > Sorry for the ignorance, but I should have added this as well. > > I am running apart from other things, a secure ftp server on this box as > well that chroot the users to their home directories. > > I got th

Re: SSH Problem

2008-12-22 Thread Eygene Ryabinkin
Corne, good day. Mon, Dec 22, 2008 at 10:22:39AM +0200, Corne Kotze wrote: > The issue I have, hope somebody can help me, is with ssh security keys, > no matter if I use RSA or DSA keys with or without passwords, I still > have to login with a password to my FreeBSD server. > It is between a Linux

Re: memtest86+ on freebsd

2008-12-15 Thread Eygene Ryabinkin
Andriy, good day. Mon, Dec 15, 2008 at 02:08:15PM +0200, Andriy Gapon wrote: > on 12/12/2008 13:17 Andriy Gapon said the following: > > Just in case anybody still remembers this issue. > > It seams that the main culprit here was the following line in the linker > > script: > > > > OUTPUT_FORMAT("

Re: FreeBSD

2008-12-10 Thread Eygene Ryabinkin
Wed, Dec 10, 2008 at 04:17:48AM +0200, Юлия Смолик wrote: > Hello dear command of developers of FreeBSD. I wish to take part in the > project on developing out of FreeBSD and to subscribe for dispatch. http://lists.freebsd.org/pipermail/freebsd-hackers/2008-November/026566.html and especially http

Re: RFC: small syscons and kbd patch

2008-12-05 Thread Eygene Ryabinkin
Garret, Fri, Dec 05, 2008 at 12:50:38AM -0800, Garrett Cooper wrote: > 1. What dialect of C was it defined in? Is it still used in the > standard dialect (honestly, this is the first time I've ever seen it > before, but then again I am a younger generation user)? It is the standard negation opera

Re: keeping track of local modifications

2008-12-02 Thread Eygene Ryabinkin
jT, good day. Tue, Dec 02, 2008 at 07:15:55PM -0500, jT wrote: > On Tue, Dec 2, 2008 at 6:52 AM, Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > The fact that `$FreeBSD$' is extracted in unexpanded form by the current > > svn->hg converter is a limitation of the Python bindings of Subversion. > >

Re: Controlling a process

2008-12-02 Thread Eygene Ryabinkin
Maslan, good day. Tue, Dec 02, 2008 at 09:53:09AM +, Maslan wrote: > What is the best way to control a process (running in chroot env): > 1- Execution time > 2- Memory limit > And to be able to kill the process when it breaks this limits. man 2 setrlimit > Finally, i would like to know the e

Re: keeping track of local modifications

2008-12-01 Thread Eygene Ryabinkin
Perry, good day. Mon, Dec 01, 2008 at 09:08:25PM -0800, [EMAIL PROTECTED] wrote: > > > Git and Mercurial cannot import Subversion $FreeBSD$ lines > > > so far, and you may end up submitting patches that include > > > unexpanded forms of the "$FreeBSD: $" text. These will > > > fail to apply

Re: keeping track of local modifications

2008-12-01 Thread Eygene Ryabinkin
Giorgos, good day. Mon, Dec 01, 2008 at 07:21:03PM +0200, Giorgos Keramidas wrote: > On Mon, 1 Dec 2008 11:23:40 +0300, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > > May be I am missing something, but what's wrong with the patches from > > other VCS, providing th

Re: keeping track of local modifications

2008-12-01 Thread Eygene Ryabinkin
Max, good day. Mon, Dec 01, 2008 at 08:30:16AM +0100, Max Laier wrote: > On Monday 01 December 2008 07:07:00 [EMAIL PROTECTED] wrote: > > * http://wiki.freebsd.org/LocalMercurial > > > > This seems less of a resource hog, and (if I am understanding > > matters correctly) is able to start from

Re: New C compiler and analyzer lang/cparser in ports

2008-11-27 Thread Eygene Ryabinkin
Christoph, Thu, Nov 27, 2008 at 11:22:22PM +0100, Christoph Mallon wrote: > Both LLVM and FIRM use SSA as an important aspect of their IR. FIRM uses [...] Very interesting, thanks for a good review! > Did you find the frontend examples interesting or are you mainly > interested in optimization a

Re: New C compiler and analyzer lang/cparser in ports

2008-11-27 Thread Eygene Ryabinkin
Christoph, good day. Thu, Nov 27, 2008 at 09:39:45PM +0100, Christoph Mallon wrote: > A few days ago libFIRM[1] and cparser were added to the ports tree. If > you want to see, what other compilers besides GCC have to offer, this > might be of interest for you. libFIRM is a modern optimizing > inte

Re: assigning interrupts

2008-11-13 Thread Eygene Ryabinkin
Thu, Nov 13, 2008 at 06:03:20PM +0800, Ronnel P. Maglasang wrote: > Is there a way to explicitly assign an interrupt > of a device? What about BIOS? What about physically reshuffling the cards if they aren't on-board ones? -- Eygene ____ _.--. # \`.|\.....-'` `-._

Re: [Testers wanted] /dev/console cleanups

2008-11-01 Thread Eygene Ryabinkin
Ed, good day. Tue, Oct 28, 2008 at 09:11:54AM +0100, Ed Schouten wrote: > It's nice to hear that the patch didn't break anything on your system. I > hope to receive more reviews, but I think I'll just commit it this > weekend (with small modifications). Just a quick "me too" message: patchset fro

Re: Usage of "files" for config

2008-10-28 Thread Eygene Ryabinkin
Srinivas, good day. Tue, Oct 28, 2008 at 03:52:35AM +0530, Srinivas wrote: > I would like to know the usage of files and files.[arch] in sys/conf. > Basically, I didnt get the advantage of having a common file for > compilation(like files) rather than an individual Makefile in each > subdirectory.

Re: HEADS UP: GCC 4.2.0 is coming

2008-10-08 Thread Eygene Ryabinkin
Good day. Wed, Oct 08, 2008 at 07:57:51AM +, O. Hartmann wrote: > Alexander Kabaev wrote: > > On Fri, 18 May 2007 19:20:07 -0400 > > Alexander Kabaev <[EMAIL PROTECTED]> wrote: > > > >> HEADS UP: I will start importing GCC 4.2.0 bits in about one hour and > >> plan to finish in a couple of ho

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Forgot to say: Tue, Oct 07, 2008 at 12:30:58AM +0400, Eygene Ryabinkin wrote: > OK, I had implemented both '-o' option to pkg_audit and the usage of the > local INDEX file. The latter can be activated by writing something like - portaudit_pkg_index="file:///usr/ports/I

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Mon, Oct 06, 2008 at 02:30:29PM +0400, Eygene Ryabinkin wrote: > OK, fine. I will implement the usage of the local INDEX file in some > days. OK, I had implemented both '-o' option to pkg_audit and the usage of the local INDEX file. I had reworked pkg_audit and portaudit a bit

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Mel, Mon, Oct 06, 2008 at 02:40:48PM +0200, Mel wrote: > What I meant is the '-o' flag in pkg_audit, so I can figure out myself whether > it's new or not and my buildserver can prioritize it's builds based on > vulnerable packages it's clients have installed. The origin is the unique key > that

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Mel, Mon, Oct 06, 2008 at 01:07:51PM +0200, Mel wrote: > On Monday 06 October 2008 12:28:48 Eygene Ryabinkin wrote: > Once you have the origin of the port, you can: > - make -C $PORTSDIR/$origin -V PKGNAME > - get the matching origin(s) out of ${INDEXDIR}/${INDEXFILE} > - get the

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Miroslav, Mon, Oct 06, 2008 at 10:59:46AM +0200, Miroslav Lachman wrote: > I have '/usr/sbin/portsnap cron' and '/usr/sbin/portsnap -I update' in > my crontab, so I get INDEX updated every night before nightly security > e-mail is generated. Ah, I see. Thanks! > > But downloading the INDEX fi

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-06 Thread Eygene Ryabinkin
Mel, good day. Mon, Oct 06, 2008 at 11:24:54AM +0200, Mel wrote: > On Monday 06 October 2008 07:23:37 Eygene Ryabinkin wrote: > > But downloading the INDEX file from the central server seemed to be the > > best way, since it almost always gives one the latest port version

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-05 Thread Eygene Ryabinkin
Miroslav, good day. Mon, Oct 06, 2008 at 12:41:05AM +0200, Miroslav Lachman wrote: > I am busy these days, but it is nice to read about your progress. I hope > I will get some time to test all of these large patches in a few days > and I will report back my experiences! Fine, thank you! I am r

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-05 Thread Eygene Ryabinkin
Sun, Oct 05, 2008 at 11:03:17PM +0400, Eygene Ryabinkin wrote: > I had also changed the output format for pkg_audit, so I am attaching > another version of the second patch for the pkg_install bundle. One neat about new pkg_audit utility: if you already have the build directory for pkg_inst

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-10-05 Thread Eygene Ryabinkin
Miroslav, good day. Sun, Sep 28, 2008 at 04:14:24PM +0400, Eygene Ryabinkin wrote: > > If I read nightly security e-mail with for example 4 vulnerable > > packages, then I need to log in to server and manualy try, if newer > > (fixed) packages are available. It seems not so ha

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-28 Thread Eygene Ryabinkin
Miroslav, good day. Sun, Sep 28, 2008 at 01:15:01PM +0200, Miroslav Lachman wrote: > Is there any possibility to cooperate portaudit / pkg_audit with > pkg_version to show vulnerable package with information if newer (not > vulnerable) package (or port) version is available for upgrade to? > >

Re: ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-28 Thread Eygene Ryabinkin
Roman, good day. Sat, Sep 27, 2008 at 08:18:08PM +0400, Roman Kurakin wrote: > Have you also posted this to [EMAIL PROTECTED] No, forgot to do it. CC'ing ports@ Thanks! The original posting to hackers@ goes below. It will be double-posted to the bug-followup@ -- sorry for this.

Re: Problem Protecting Directories Securly

2008-09-28 Thread Eygene Ryabinkin
Mike, good day. Sat, Sep 27, 2008 at 06:45:11PM -0700, Mike Price wrote: > My buddy helped me install Apache Webserver but there is somthing wrong when > I try to password protect my directories? I already created '.htaccess' & > 'htpasswd' and but I still cannot password protect the directory...

ports/126853: ports-mgmt/portaudit: speed up audit of installed packages

2008-09-23 Thread Eygene Ryabinkin
Good day. A while ago I had created the new utility that serves as VuXML filter for the installed packages: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/126853 My primary intention was to speed up the process of auditing the vulnerable ports: I needed to run portaudit checks with Nagios and

Re: kern/127446: [patch] fix race in sys/dev/kbdmux/kbdmux.c

2008-09-18 Thread Eygene Ryabinkin
Me again. Thu, Sep 18, 2008 at 11:10:17AM +0400, Eygene Ryabinkin wrote: > OK, I had tried substituting KBDMUX_LOCK/UNLOCK with Giant operations -- > it works as expected. Tried my initial patch on some 7.0-PRERELEASE -- it locks keyboard when geli asks for the password. Had not much t

Re: kern/127446: [patch] fix race in sys/dev/kbdmux/kbdmux.c

2008-09-18 Thread Eygene Ryabinkin
Maksim, good day. Wed, Sep 17, 2008 at 10:52:15AM -0700, Maksim Yevmenkin wrote: > yes, giant is recursive. i think it should be fine for now (and yes, i > agree, its not very clean) OK, I had tried substituting KBDMUX_LOCK/UNLOCK with Giant operations -- it works as expected. I am sligtly conce

Re: kern/127446: [patch] fix race in sys/dev/kbdmux/kbdmux.c

2008-09-17 Thread Eygene Ryabinkin
part, may I ask, why? Are there any known issues or it was just not very good to introduce locking at that time (rev. 1.1, 3 years ago)? Thanks! > On Wed, Sep 17, 2008 at 9:16 AM, Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > >>Number: 127446 > >>Category: k

Re: git problems

2008-06-04 Thread Eygene Ryabinkin
Dmitry, good day. Wed, Jun 04, 2008 at 11:21:59PM +0400, Chagin Dmitry wrote: > this problem with git is fixed in version 1.5.5.1, Yeah, commit 7b7f39eae6ab0bbcc68d3c42a5b23595880e528f > our port requires updating. Care to test? The diff from 1.5.5 is below. Ed, Eric, anyone, any comments? I

Re: git problems

2008-06-04 Thread Eygene Ryabinkin
Chuck, Wed, Jun 04, 2008 at 11:26:02AM -0400, Chuck Robey wrote: [...] > Looking at the top stack frame (main), that frame and the next are deeply > involved in inspecting argv 0 thru 2, and since it's full of garbage, that's > what breaks things. That's NOT malloc, that seems to be either a prob

Re: Re: git problems

2008-06-04 Thread Eygene Ryabinkin
Chuck, Wed, Jun 04, 2008 at 10:32:27AM -0400, Chuck Robey wrote: > > Any possibility of using ElectricFence (devel/ElectricFence) > > for chasing memory-related troubles? > > Now that I have gdb working with me again, I am checking the git-fetch image > to > see where it got lost. If I must bri

Re: git problems

2008-06-04 Thread Eygene Ryabinkin
Chuck, Wed, Jun 04, 2008 at 10:12:55AM -0400, Chuck Robey wrote: > >> I'm seeing this on HEAD, not RELENG_6. I don't have a backtrace > >> nearby, but it seems to be crash inside free(). > > > > Application memory errors in HEAD but not in a RELENG_ branch are > > frequently a symptom of an appli

Re: git problems

2008-06-04 Thread Eygene Ryabinkin
Chuck, good day. Tue, Jun 03, 2008 at 04:41:40PM -0400, Chuck Robey wrote: > I am having problems with the git out of ports git-fetch keeps on dumping > core when I try update of xorg (the initial checkout works ok). I'm running > FreeBSD-current ... does anyone have any idea why this might

Re: Yarrow's Counter

2008-04-21 Thread Eygene Ryabinkin
Good day. Sun, Apr 20, 2008 at 06:31:35PM +0100, RW wrote: > > this modification seems not to help anything, > > It possibly doesn't help with an attack against Yarrow itself, but it > means that 512 bits of entropy, rather than 256 bits, can be read-out > from /dev/random. The only source of e

Re: Yarrow's Counter

2008-04-19 Thread Eygene Ryabinkin
Good day. Sat, Apr 19, 2008 at 05:56:55PM +0100, RW wrote: > The random number generator in FreeBSD's Yarrow implementation uses > AES256 in counter mode. When a reseed occurs the generator is > reinitialised like this: > > - generate a new cypher-key from the pool[s] and the old key > - zero t

Re: Feature request

2008-04-01 Thread Eygene Ryabinkin
Patrick, good day. Mon, Mar 31, 2008 at 11:18:56AM -0700, Patrick Dung wrote: > 4. LVM and file systems > > As of FreeBSD 7.0, ZFS is ported. > This is great as FreeBSD do not have LVM in the past. FreeBSD has gvinum since approximately 5.x and vinum since rather old days (3.0). Is something wr

Re: synchronous freebsd print

2008-02-27 Thread Eygene Ryabinkin
Sanjeev, Wed, Feb 27, 2008 at 03:00:46AM -0800, Sanjeev Kumar.S wrote: > and Yes in the kernel code I have a "\n" at the end > of my print, still the print is not complete and > the line next to it that causes the crash does > not give the result I want. Is this a common > scenario or am I doing

Re: Zeroing sensitive memory chunks [Was: Security Flaw in Popular Disk Encryption Technologies]

2008-02-26 Thread Eygene Ryabinkin
Gregory, good day. Tue, Feb 26, 2008 at 07:42:17PM +0100, [EMAIL PROTECTED] wrote: > Quoting Eygene Ryabinkin <[EMAIL PROTECTED]>: > > > *) New function OPENSSL_cleanse(), which is used to cleanse a section of > >memory from it's contents. This is done with a c

Re: Zeroing sensitive memory chunks [Was: Security Flaw in Popular Disk Encryption Technologies]

2008-02-24 Thread Eygene Ryabinkin
Good day. I am posting the follow-up to the -hackers and CC'ing to the -security, because some more-or-less nasty points were found. Sat, Feb 23, 2008 at 10:32:02PM +0300, Eygene Ryabinkin wrote: > But there is another concern with bzero(): it is well-known function. > Especially fo

Zeroing sensitive memory chunks [Was: Security Flaw in Popular Disk Encryption Technologies]

2008-02-23 Thread Eygene Ryabinkin
Jeremy, list, good day. Sat, Feb 23, 2008 at 10:56:20AM -0800, Jeremy Chadwick wrote: > > A possible counter-measure would be to add wiping features to the RAM > > modules themselves. When power is lost, the memory could wipe itself. Still > > not perfect, but would certainly help. > > Proper s

Re: Synaptics

2008-02-21 Thread Eygene Ryabinkin
Cristian, good day. Thu, Feb 21, 2008 at 01:57:08AM +0200, Cristian KLEIN wrote: >> Yes, please, try the mentioned patch and report back ;)) > > Sorry for the really long delay. No problems ;)) > The patch works perfectly on my Fujitsu-Siemens V5545. Thanks for the report! Norikatsu already k

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-19 Thread Eygene Ryabinkin
Norikatsu, good day. Wed, Feb 20, 2008 at 02:34:17AM +0900, Norikatsu Shigemura wrote: > > Xorg server 1.4 already has "AllowEmptyInput", so Giulio and others > > who want to run only Synaptics driver, can add the string > > - > > Option "AllowEmptyInput" > > - > > to their "ServerFlags" s

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Giulio, Mon, Feb 18, 2008 at 10:54:35PM +0100, Giulio Ferro wrote: > Eygene Ryabinkin wrote: >> Please, uncomment your 'Mouse1' device inside "ServerLayout", start >> moused and try again. The '' should disappear. >> And probably mices wil

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Giulio, Roman, Mon, Feb 18, 2008 at 07:04:13PM +0300, Eygene Ryabinkin wrote: > Aargh, this is the funny thing: you have no devices that are handled > by the 'mouse' driver. And Xorg automatically adds one. > > Please, uncomment your 'Mouse1' device inside "

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Norikatsu, good day. Tue, Feb 19, 2008 at 02:35:24AM +0900, Norikatsu Shigemura wrote: > Hi Eygene, thanks for your summary! You're welcome! > On Mon, 18 Feb 2008 19:04:13 +0300 > Eygene Ryabinkin <[EMAIL PROTECTED]> wrote: > > >> It seems to me that you

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Mon, Feb 18, 2008 at 04:49:13PM +0100, Giulio Ferro wrote: > Eygene Ryabinkin wrote: >> Yes, the following lines are very suspicious: >> - >> - >> >> It seems to me that you have another mouse device called '> pointer>' that uses "a

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Giulio, Mon, Feb 18, 2008 at 04:00:43PM +0100, Giulio Ferro wrote: > Eygene Ryabinkin wrote: >> And if you'll try >> 'InputDevice "Synaptics_Touchpad" "CorePointer" "SendCoreEvents"'? >> >> > Nothing changes, sorr

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Mon, Feb 18, 2008 at 02:49:00PM +0100, Giulio Ferro wrote: > Eygene Ryabinkin wrote: >> Please, try again if you have some spare time. > > Ok. Now the server starts, Good ;)) > but the mouse pointer isn't moving... Bad :(( > in the ServerLayout section I have this:

Re: Synaptics Xorg driver for FreeBSD/amd64

2008-02-18 Thread Eygene Ryabinkin
Giulio, Mon, Feb 18, 2008 at 01:39:50PM +0100, Giulio Ferro wrote: > first of all thanks for your effort. No problems ;)) > Unfortunately I couldn't still get the synaptyc driver work on my laptop. > > Here's what I did: > 1) I extracted the port driver with "make extract patch" > 2) put your p

Re: Synaptics

2008-02-08 Thread Eygene Ryabinkin
Cristian, good day. Fri, Feb 08, 2008 at 10:32:51PM +0200, Cristian KLEIN wrote: > Thank you very much for 'pinging'. :) As the driver synaptics driver din > not change for month, I speculate there might have been a change in the > Xorg API, especially related to sucking configuration options.

Re: nvi strangeness

2008-02-08 Thread Eygene Ryabinkin
Fri, Feb 08, 2008 at 02:20:09PM +0300, Eygene Ryabinkin wrote: > > None of this is documented anywhere. > > $ zcat /usr/share/doc/usd/13.viref/paper.ascii.gz | less > and search for the 'percent sign'. Hmm, it is much better to search for '

Re: nvi strangeness

2008-02-08 Thread Eygene Ryabinkin
Dag-Erling, good day. Speaking for the system's nvi (not the ports one -- not using it). Fri, Feb 08, 2008 at 11:28:42AM +0100, Dag-Erling Sm??rgrav wrote: > As everybody knows, the ex/vi command for regexp substitution is > >[range] s[ubstitute] [/pattern/replace/] [options] [count] [fl

Re: Synaptics

2008-02-04 Thread Eygene Ryabinkin
Me again. Mon, Feb 04, 2008 at 05:41:18PM +0300, Eygene Ryabinkin wrote: > This is a sort of 'ping' mail, sorry. To the point: I had reproduced > the problem and will start looking into it once this message will > fly from my mailserver. Stay tuned ;)) OK, things should

Re: Synaptics

2008-02-04 Thread Eygene Ryabinkin
Cristian, good day. Wed, Jan 23, 2008 at 01:26:41PM +0200, [EMAIL PROTECTED] wrote: > >> I just ran into the same problem. In xorg.conf I explicitly told the > >> synaptics driver to use "psm" and "/dev/psm0", but the error message > >> would > >> suggest that it uses "event". > >> > >> Also, I tr

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-04 Thread Eygene Ryabinkin
Mon, Feb 04, 2008 at 11:56:21AM +0300, sam wrote: >> Then remove /usr/X11R6/etc from the local_startup variable >> (in /etc/rc.conf and/or in /etc/defaults/rc.conf) and enjoy single >> startup of scripts ;)) > > thx > iam deleted this symlink No, no, no: you should not remove the symlink itself.

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread Eygene Ryabinkin
Fri, Feb 01, 2008 at 04:04:51PM +0300, sam wrote: > Eygene Ryabinkin wrote: >> Fri, Feb 01, 2008 at 11:59:44AM +, Tom Evans wrote: >> >>> Sam: what is the output of grep local_startup /etc/rc.conf >>> /etc/defaults/rc.conf >>> >> &

Re: double start of scripts in /usr/local/etc/rc.d

2008-02-01 Thread Eygene Ryabinkin
Fri, Feb 01, 2008 at 11:59:44AM +, Tom Evans wrote: > Sam: what is the output of > grep local_startup /etc/rc.conf /etc/defaults/rc.conf And is your /usr/X11R6 symlinked to /usr/local? -- Eygene ___ freebsd-hackers@freebsd.org mailing list http:/

Re: Synaptics

2008-01-22 Thread Eygene Ryabinkin
Cristian, good day. Mon, Jan 21, 2008 at 11:06:26PM +0200, Cristian KLEIN wrote: > Eygene Ryabinkin wrote: >> But what protocol is selected? From your Xorg log I assume that >> it is either "event", "auto-dev" or not set at all. > > I just ran into th

  1   2   >