Initial directory structure.

git-svn-id: http://spiped.googlecode.com/svn/trunk@1 592f418a-0512-ad62-f63d-38f288cbaac7
Add spiped version 0.9.9.1.

Version 1.0.0 will happen RSN; I'm just waiting to hear back from some
people who are reviewing the code.


git-svn-id: http://spiped.googlecode.com/svn/trunk@2 592f418a-0512-ad62-f63d-38f288cbaac7
Remove old and unneeded $FreeBSD$ tag.  I'm not trying to keep this code
in sync with the version in the FreeBSD tree.


git-svn-id: http://spiped.googlecode.com/svn/trunk@3 592f418a-0512-ad62-f63d-38f288cbaac7
The probability of repeating a tuple (K, nonce_C, nonce_S) is at most
2^(-192), not 2^192.

Submitted by:	Chris Palmer


git-svn-id: http://spiped.googlecode.com/svn/trunk@4 592f418a-0512-ad62-f63d-38f288cbaac7
Point out that spiped needs /dev/urandom to be secure.  Renumber notes
so that this can be #2 (rough order of priority in case people get bored
of reading partway through the list).

Submitted by:	Joachim Schipper


git-svn-id: http://spiped.googlecode.com/svn/trunk@6 592f418a-0512-ad62-f63d-38f288cbaac7
Check errno correctly -- we loop on EINTR, not ENOENT (which shouldn't
even be possible).

Issue #:	1


git-svn-id: http://spiped.googlecode.com/svn/trunk@7 592f418a-0512-ad62-f63d-38f288cbaac7
Return immediately if SHA256_Update(ctx, in, 0) is called.  In the
case (in == NULL) this avoids invoking memcpy(foo, NULL, 0), which
is specified in C99 to have undefined behaviour.

(I doubt any compiler actually turns memcpy(foo, NULL, 0) into anything
other than a no-op, but hey, being standards-compliant is good.)

Submitted by:	Ralph Corderoy, via Tarsnap bug bounties
Thanks to:	bde & das for explaining C99 to me


git-svn-id: http://spiped.googlecode.com/svn/trunk@8 592f418a-0512-ad62-f63d-38f288cbaac7
Typo: s/paramter/parameter/.

Bounty:		$1
Bounty to:	Lars Balker Rasmussen



git-svn-id: http://spiped.googlecode.com/svn/trunk@9 592f418a-0512-ad62-f63d-38f288cbaac7
Merge from libcperciva r3 (remove duplicate word), r5 (clarify use of 'char').


git-svn-id: http://spiped.googlecode.com/svn/trunk@10 592f418a-0512-ad62-f63d-38f288cbaac7
Merge from libcperciva r4 (typo).


git-svn-id: http://spiped.googlecode.com/svn/trunk@11 592f418a-0512-ad62-f63d-38f288cbaac7
Sync with libcperciva: Remove unneeded license headers.


git-svn-id: http://spiped.googlecode.com/svn/trunk@12 592f418a-0512-ad62-f63d-38f288cbaac7
Sync with libcperciva: Remove unneeded license headers.
Merge from libcperciva r6 (fix style).



git-svn-id: http://spiped.googlecode.com/svn/trunk@13 592f418a-0512-ad62-f63d-38f288cbaac7
MFlibcperciva r7.


git-svn-id: http://spiped.googlecode.com/svn/trunk@14 592f418a-0512-ad62-f63d-38f288cbaac7
MFlibcperciva r8.


git-svn-id: http://spiped.googlecode.com/svn/trunk@15 592f418a-0512-ad62-f63d-38f288cbaac7
Use SO_REUSEADDR.

Requested by:	Trevor Blackwell


git-svn-id: http://spiped.googlecode.com/svn/trunk@16 592f418a-0512-ad62-f63d-38f288cbaac7
Add two new options.

spiped -D: Wait for DNS.  Daemonize first, and then if DNS lookups fail,
sleep for a second and try again.  Useful at system launch time when DNS
might not be running yet.

spiped -F: Run in foreground.  (Useful if running under daemontools.) [1]

Requested by:	Trevor Blackwell[1]


git-svn-id: http://spiped.googlecode.com/svn/trunk@17 592f418a-0512-ad62-f63d-38f288cbaac7
This is spiped version 1.1.0.


git-svn-id: http://spiped.googlecode.com/svn/trunk@18 592f418a-0512-ad62-f63d-38f288cbaac7
LDADD needs to come after all the .o files in order for libraries to be
searched for the necessary symbols.

Submitted by:	Kyle Hubert


git-svn-id: http://spiped.googlecode.com/svn/trunk@19 592f418a-0512-ad62-f63d-38f288cbaac7
We're padding the message *M*, as part of the process of constructing
the packet *P*.

Issue:	5
Submitted by:	dchest


git-svn-id: http://spiped.googlecode.com/svn/trunk@20 592f418a-0512-ad62-f63d-38f288cbaac7
Move protocol code into a new /proto/ directory.


git-svn-id: http://spiped.googlecode.com/svn/trunk@21 592f418a-0512-ad62-f63d-38f288cbaac7