Cy Schubert writes:
> In message <[email protected]>, Xin Li 
> writes:
> > On 7/26/17 23:26, Cy Schubert wrote:
> > > Author: cy
> > > Date: Thu Jul 27 06:26:15 2017
> > > New Revision: 321605
> > > URL: https://svnweb.freebsd.org/changeset/base/321605
> > >=20
> > > Log:
> > >   As in r315225, discard 3072 bytes of RC4 bytestream instead of 1024.
> > >  =20
> > >   PR:             217920
> > >   Submitted by:   [email protected]
> > >   Reviewed by:    emaste, cem
> > >   Approved by:    so (implicit, in r315225)
> > 
> > Why ipfilter is using its own pseudo random number generator?  Please
> > remove them altogether and use the system PRNG instead.
> 
> It uses this code when it builds the kernel sources in a userland program 
> called ipftest. ipftest is a userland application outside of the kernel in 
> which users pass generated or captured packets into it to test arbitrary 
> ipfilter rules, which are separate from those in the kernel. ipftest is a 
> rule testing application. ipftest is currently broken (it segfaults) and in 
> my queue for loving attention. I'll look into using the libkern version of 
> arc4rand(9) in this userland utility.

This will take a little more surgery than initially thought.

make: "/export/home/cy/freebsd/svn/current/share/mk/src.libnames.mk" line 
563: /export/home/cy/freebsd/svn/current/sbin/ipf/ipftest: Invalid LIBADD 
used which may need to be added to src.libnames.mk: libkern

Probably not a good idea anyway to reference libkern from a userland 
utility.



-- 
Cheers,
Cy Schubert <[email protected]>
FreeBSD UNIX:  <[email protected]>   Web:  http://www.FreeBSD.org

        The need of the many outweighs the greed of the few.


_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to