Re: Entropy Key for FreeBSD?

2011-12-11 Thread Maxim Khitrov
On Mon, Nov 8, 2010 at 12:51 PM, Per olof Ljungmark p...@intersonic.se wrote:
 Hi,

 Did anyone in the community try to adopt the Entropy Key
 http://www.entropykey.com/
 for use with FreeBSD?

 As a non-programmer I would not even try but perhaps someone with better
 skills already did?

 FWIW MirBSD seems to have a port of the keyd.

 Thanks!

I'm curious if you or anyone else pursued this topic? Does anyone know
what would be required to get this particular USB RNG to work with
FreeBSD 9.0 and whether it's worth the money in situations where a
good source of entropy is required?

- Max
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Entropy Key for FreeBSD?

2010-11-08 Thread Per olof Ljungmark

Hi,

Did anyone in the community try to adopt the Entropy Key
http://www.entropykey.com/
for use with FreeBSD?

As a non-programmer I would not even try but perhaps someone with better 
skills already did?


FWIW MirBSD seems to have a port of the keyd.

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Entropy Key for FreeBSD?

2010-11-08 Thread RW
On Mon, 08 Nov 2010 18:51:08 +0100
Per olof Ljungmark p...@intersonic.se wrote:

 Hi,
 
 Did anyone in the community try to adopt the Entropy Key
 http://www.entropykey.com/
 for use with FreeBSD?
 
 As a non-programmer I would not even try but perhaps someone with
 better skills already did?
 
 FWIW MirBSD seems to have a port of the keyd.

FreeBSD doesn't have a linux-style blocking /dev/random, so it couldn't
be used in quite the same way as in other OS.

Personally I think the key demographic for this is people with more
money than sense.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Entropy Key for FreeBSD?

2010-11-08 Thread Per olof Ljungmark

On 11/09/10 01:09, RW wrote:

On Mon, 08 Nov 2010 18:51:08 +0100
Per olof Ljungmarkp...@intersonic.se  wrote:


Hi,

Did anyone in the community try to adopt the Entropy Key
http://www.entropykey.com/
for use with FreeBSD?

As a non-programmer I would not even try but perhaps someone with
better skills already did?

FWIW MirBSD seems to have a port of the keyd.


FreeBSD doesn't have a linux-style blocking /dev/random, so it couldn't
be used in quite the same way as in other OS.

Personally I think the key demographic for this is people with more
money than sense.


Could you please elaborate a bit over this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


weird save-entropy behaviour

2009-11-15 Thread Ed Jobs
Greetings.

Yesterday, i noticed a very weird behaviour on my computer (which is running 
8.0-RC3 btw.
The shells were not responding and the load was insane, and constantly 
going up. At the time i managed to lock myself out, the load was 84 and 
growing (i have a screenshot if anyone is interested).

That happened last night. Today, the computer was ok and i managed to ssh 
into it. The root account was spammed with two types of cron mails.

half of them said:
mv: /var/db/entropy/saved-entropy.2: No such file or directory

and the other half said:
override r  operator/operator for /var/db/entropy/saved-entropy.2? 
(y/n [n]) not overwritten

So i know that it's the save-entropy cron job, but i doubt that was supposed 
to happen, and i have never touched that directory. Anyone has an idea?

ps. this has happened before, and i had to go to the place the computer is at 
and reset it. (the tty's did not respond either)

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: weird save-entropy behaviour

2009-11-15 Thread Mel Flynn
On Sunday 15 November 2009 17:30:02 Ed Jobs wrote:

 Yesterday, i noticed a very weird behaviour on my computer (which is
  running 8.0-RC3 btw.
 The shells were not responding and the load was insane, and constantly
 going up. At the time i managed to lock myself out, the load was 84 and
 growing (i have a screenshot if anyone is interested).
 
 That happened last night. Today, the computer was ok and i managed to ssh
 into it. The root account was spammed with two types of cron mails.
 
 half of them said:
 mv: /var/db/entropy/saved-entropy.2: No such file or directory
 
 and the other half said:
 override r  operator/operator for /var/db/entropy/saved-entropy.2?
 (y/n [n]) not overwritten
 
 So i know that it's the save-entropy cron job, but i doubt that was
  supposed to happen, and i have never touched that directory. Anyone has an
  idea?

Did the operator uid change or perhaps shared with another uid?
Check both `id operator` and `id 2`.

Secondly, why did this stop? Seems like a weird question to ask, but since 
this script is supposed to run every 11 minutes, there should not be a reason 
for this to stop, if there's a race condition.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: weird save-entropy behaviour

2009-11-15 Thread Ed Jobs
On Monday 16 November 2009 00:12, Mel Flynn wrote:
 
 Did the operator uid change or perhaps shared with another uid?
 Check both `id operator` and `id 2`.
 
 Secondly, why did this stop? Seems like a weird question to ask, but since
 this script is supposed to run every 11 minutes, there should not be a
  reason for this to stop, if there's a race condition.
 
# id operator
uid=2(operator) gid=5(operator) groups=5(operator)
# id 2
uid=2(operator) gid=5(operator) groups=5(operator)

As for the orer part, why did it stop, i really have no clue. All the messages 
arrived at root's mailbox at 5:57, tho the date in them said that they were 
sent at 5:50.
It's really strange because I was locked out from the computer at 2:29, so 
it's not something I did. and there's nothing that cron runs at that time.

by the way: 
the mails that i got were not only about /var/db/entropy/saved-entropy.2, but 
/var/db/entropy/saved-entropy.{1,2,3,4,5,6,8} as well

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Re: weird save-entropy behaviour

2009-11-15 Thread Mel Flynn
On Sunday 15 November 2009 23:38:10 Ed Jobs wrote:
 On Monday 16 November 2009 00:12, Mel Flynn wrote:
  Did the operator uid change or perhaps shared with another uid?
  Check both `id operator` and `id 2`.
 
  Secondly, why did this stop? Seems like a weird question to ask, but
  since this script is supposed to run every 11 minutes, there should not
  be a reason for this to stop, if there's a race condition.
 
 # id operator
 uid=2(operator) gid=5(operator) groups=5(operator)
 # id 2
 uid=2(operator) gid=5(operator) groups=5(operator)
 
 As for the orer part, why did it stop, i really have no clue. All the
  messages arrived at root's mailbox at 5:57, tho the date in them said that
  they were sent at 5:50.
 It's really strange because I was locked out from the computer at 2:29, so
 it's not something I did. and there's nothing that cron runs at that time.

Does the cron log (/var/log/cron) show that it was run as operator around the 
time it started?
/usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy)

Even if it wasn't, I don't see a reason for such a buildup. Unlesssince 
stdin isn't sending anything, it could be the scripts wait indefinitely for 
user confirmation, then finally get killed off by some limit. There should be 
some hint at that in /var/log/messages around 5:50.
The script should probably do mv -f in line 76.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: weird save-entropy behaviour

2009-11-15 Thread Ed Jobs
On Monday 16 November 2009 00:58, Mel Flynn wrote:
 Does the cron log (/var/log/cron) show that it was run as operator around
  the time it started?
 /usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy)
 
 Even if it wasn't, I don't see a reason for such a buildup. Unlesssince
 stdin isn't sending anything, it could be the scripts wait indefinitely for
 user confirmation, then finally get killed off by some limit. There should
  be some hint at that in /var/log/messages around 5:50.
 The script should probably do mv -f in line 76.
 
you were right.
there was something at the messages.
Nov 15 05:50:49 hostname sshd[1126]: error: accept: Software caused 
connection abort
Nov 15 05:50:49 hostname last message repeated 6 times

weird. the only thing in auth.log about sshd[1126] is:
Nov 13 12:31:51 hostname sshd[1126]: Server listening on :: port 22.
Nov 13 12:31:51 hostname sshd[1126]: Server listening on 0.0.0.0 port 22.

and the message that was in the messages log too.


-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


signature.asc
Description: This is a digitally signed message part.


Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Hi,

When i look at / in a standard installation like :
FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


There is only 1 file, named entropy :

-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.

Any reference to it ? What is it used for ? I have look in RANDOM area, 
but no reference...


Do i have to keep it read/write ? Can i put it in /var instead of / to 
be able to keep / read-only ?


Thanks a lot,
Best regards,



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Daniel Bye
On Tue, Dec 16, 2008 at 02:08:10PM +0100, Bernard Dugas wrote:
 Hi,
 
 When i look at / in a standard installation like :
 FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 
 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 There is only 1 file, named entropy :
 
 -rw---   1 root  wheel  4096 Dec 11 17:36 entropy
 
 I can't find any reference to that file in FreeBSD doc.
 
 Any reference to it ? What is it used for ? I have look in RANDOM area, 
 but no reference...
 
 Do i have to keep it read/write ? Can i put it in /var instead of / to 
 be able to keep / read-only ?

It is used to safely seed the random number generator, I believe.

A quick search through /etc/rc.d/* and /etc/defaults/rc.conf reveals
that you can set $entropy_file in /etc/rc.conf to anything you like, 
although a comment suggests

  # Set to NO to disable caching entropy through reboots.
  # /var/db/entropy-file is preferred if / is not avail.

So yes, it seems you could move it off / if you want.

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpzUNzpkVMxg.pgp
Description: PGP signature


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:

-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.
Any reference to it ? What is it used for ? I have look in RANDOM 
area, but no reference...


at startup it seeds random generator, every 11 minutes and at shutdown 
it's saved from random generator.


it's here to make random generator more random - not starting clean at 
boot.


Thanks a lot !

1- How may i suggest/learn to add this info in the random generator man 
page, so that a search in doc gives the right result ?


2- As / will be mounted read-only, how can i tell the ramdom generator 
to put this /entropy file somewhere in /var, where i think it should be 
? Or is there any tricky hidden problem ?


Thanks a lot,
Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 16:07:48 +0100 (CET)
Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:

 at startup it seeds random generator, every 11 minutes and at
 shutdown it's saved from random generator.

Only at shutdown, the entropy stored every eleven minutes is
in  /var/db/entropy/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar

boot.


Thanks a lot !

1- How may i suggest/learn to add this info in the random generator man page, 
so that a search in doc gives the right result ?


use sent-pr




2- As / will be mounted read-only, how can i tell the ramdom generator to put 
this /entropy file somewhere in /var, where i think it should be ? Or is 
there any tricky hidden problem ?


man rc.conf

seek entropy_file and entropy_dir
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar

shutdown it's saved from random generator.


Only at shutdown, the entropy stored every eleven minutes is
in  /var/db/entropy/


thanks for correction.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 16:23:05 +0100
Bernard Dugas bern...@dugas-family.org wrote:


 2- As / will be mounted read-only, how can i tell the ramdom
 generator to put this /entropy file somewhere in /var, where i think
 it should be ? Or is there any tricky hidden problem ?

It has to be on the root partition as it's used in the early stage of
the boot before any other partitions are mounted, but like like I said
there are other entropy files that are applied a little later as a
boot, and on most machines enough entropy will be generated from
the disk interrupts to suffice anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 14:08:10 +0100
Bernard Dugas bern...@dugas-family.org wrote:

 Hi,
 
 When i look at / in a standard installation like :
 FreeBSD XXX 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52
 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 i386
 
 There is only 1 file, named entropy :
 
 -rw---   1 root  wheel  4096 Dec 11 17:36 entropy
 
 I can't find any reference to that file in FreeBSD doc.
 

It contains random numbers that are written-out at shutdown and used to
seed /dev/random on the next boot.

 
 Do i have to keep it read/write ? Can i put it in /var instead of /
 to be able to keep / read-only ?

It has to be on the root-partition, if it's going to be used. 

You can set entropy_file=NO if you don't want it. There are additional
entropy files under /var, and the system generates it's own entropy
during the boot stage, which is good enough for normal cases.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Wojciech Puchar


-rw---   1 root  wheel  4096 Dec 11 17:36 entropy

I can't find any reference to that file in FreeBSD doc.

Any reference to it ? What is it used for ? I have look in RANDOM area, but 
no reference...


at startup it seeds random generator, every 11 minutes and at shutdown 
it's saved from random generator.


it's here to make random generator more random - not starting clean at 
boot.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas

Wojciech Puchar wrote:
2- As / will be mounted read-only, how can i tell the ramdom generator 
to put this /entropy file somewhere in /var, where i think it should 
be ? Or is there any tricky hidden problem ?


man rc.conf  seek entropy_file and entropy_dir


Thanks, detail is available in /etc/default/rc.conf :

entropy_file=/entropy # Set to NO to disable caching entropy through 
reboots.
# /var/db/entropy-file is preferred if / is not 
avail.


It means that i can put it in /var when L is read-only. There should be 
no problem as the file is choosen in rc.conf, so after /var is mounted.


As this is for diskless station, it would be fun to change the entropy 
file through the nfs server RANDOM, even better thant at each boot :-)


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread Bernard Dugas
Thank you RW, i am new on the list, i didn't answer you because i didn't 
received your answer while i received others, don't know why yet.


I would be very interested to find a large but right view in the man 
documentation of what is happening exactly to this poor lost file :-)


The etc/default/rc.conf detailled file is not searchable in the man 
page, nor the default /entropy file.


Best regards,
--
Bernard DUGAS Mobile +33 615 333 770
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Any doc reference on /entropy file ?

2008-12-16 Thread RW
On Tue, 16 Dec 2008 21:39:56 +0100
Bernard Dugas bern...@dugas-family.org wrote:

 Wojciech Puchar wrote:
  2- As / will be mounted read-only, how can i tell the ramdom
  generator to put this /entropy file somewhere in /var, where i
  think it should be ? Or is there any tricky hidden problem ?
  
  man rc.conf  seek entropy_file and entropy_dir
 
 Thanks, detail is available in /etc/default/rc.conf :
 
 entropy_file=/entropy # Set to NO to disable caching entropy
 through reboots.
  # /var/db/entropy-file is preferred if / is
 not avail.
 
 It means that i can put it in /var when L is read-only. There should
 be no problem as the file is choosen in rc.conf, so after /var is
 mounted.

Whatever it says in /etc/default/rc.conf, /entropy is read before /var
is mounted.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Get available entropy

2008-04-11 Thread Ghirai
Hey,

Is there an app in the base install that can show the available entropy?
Also, how would you do this programatically?

Thanks.

-- 
Regards,
Ghirai.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Get available entropy

2008-04-11 Thread RW
On Sat, 12 Apr 2008 01:41:22 +0300
Ghirai [EMAIL PROTECTED] wrote:

 Hey,
 
 Is there an app in the base install that can show the available
 entropy? Also, how would you do this programatically?

From 5.0 onwards FreeBSD uses Yarrow for  /dev/random. It never
blocks, and only keeps entropy stats for triggering reseeds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

2006-09-22 Thread Martin McCormick
I must have dome something wrong setting up a FreeBSD5.4
system, but I haven't a clue as to what.

The script is called save-entropy, a great idea, but it
acts as if lots of the configuration it needs is missing.  I do
have ipfw running and it got all the rules I put in to it via a
rule-setting script called in rc.conf.local but the message that
cron generates every eleven minutes shows that something is very
unhappy.

For now, I simply commented out the save-entropy run for
a bit of peace and quiet, but the entropy is now not being
updated which is not a good thing.

What do I need to look at to fix this properly?

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group

--- Forwarded Message


Date:Fri, 22 Sep 2006 08:55:00 CDT

From:[EMAIL PROTECTED] (Cron Daemon)
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy


ipfw: not found

That repeats 15 more times.


--- End of Forwarded Message

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

2006-09-22 Thread Martin McCormick
Martin McCormick writes:
 I must have dome something wrong setting up a FreeBSD5.4
 system, but I haven't a clue as to what.

This is still Martin McCormick.  I haven't found exactly
what I did yet, but I remembered that I do have a second 5.4 box
and it appears to be fine so I can probably solve this after some
digging.  Sorry to waste anybody's time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

2006-09-22 Thread Bernd Trippel

Quoting Martin McCormick [EMAIL PROTECTED]:


I must have dome something wrong setting up a FreeBSD5.4
system, but I haven't a clue as to what.

The script is called save-entropy, a great idea, but it
acts as if lots of the configuration it needs is missing.  I do
have ipfw running and it got all the rules I put in to it via a
rule-setting script called in rc.conf.local but the message that
cron generates every eleven minutes shows that something is very
unhappy.

For now, I simply commented out the save-entropy run for
a bit of peace and quiet, but the entropy is now not being
updated which is not a good thing.

What do I need to look at to fix this properly?

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK
Systems Engineer
OSU Information Technology Department Network Operations Group

--- Forwarded Message


Date:Fri, 22 Sep 2006 08:55:00 CDT

From:[EMAIL PROTECTED] (Cron Daemon)
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy


ipfw: not found

That repeats 15 more times.


--- End of Forwarded Message




Seems you have a line containing only ipfw in your rc.conf.
Comment it out or remove it. save-entropy relies on files specified in 
rc.conf.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problem with save-entropy

2006-08-16 Thread Shane Ambler
A while ago I started getting error emails (from cron running the
save-entropy script) the system has been setup and running for the best part
of 2 years now.

I can run the script manually from the cli (as root) and no error is
generated.

From all I can figure the save-entropy script is running as it should ( the
/var/db/entropy/  dir has the created files and by the mod date it keeps
creating new ones correctly each time) I have compared permission settings
with another working machine and all seems fine.
but I keep getting these emails saying there is a socket operation that is
not permitted.

The entire email is:-

Return-Path: [EMAIL PROTECTED]
X-Original-To: operator
Delivered-To: [EMAIL PROTECTED]
Received: by tower.home.com (Postfix, from userid 2)
id 305DA8127; Thu, 17 Aug 2006 01:44:00 +0930 (CST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/
X-Cron-Env: LOGNAME=operator
X-Cron-Env: USER=operator
Message-Id: [EMAIL PROTECTED]
Date: Thu, 17 Aug 2006 01:44:00 +0930 (CST)
X-UIDL: ?a8!!1*N!+Z!Ko!

Line 1: socket: Operation not permitted


-- 

Shane Ambler
[EMAIL PROTECTED]

Get Sheeky @ http://Sheeky.Biz


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Entropy

2006-06-15 Thread Shane Ambler
For a while now I have been getting cron emails with a problem with
/usr/libexec/save-entropy

Message is - Line 1: socket: Operation not permitted


/var/db/entropy is owned and writable by operator and the saved-entropy
files are modified each time through (going by file timestamp)

Any ideas on where the error comes from?


-- 

Shane Ambler
007Marketing.com
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cron operator /usr/libexec/save-entropy

2006-03-29 Thread Lowell Gilbert
Vaaf [EMAIL PROTECTED] writes:

 Cron keeps spamming me:
 
 override r  operator/operator for
 /var/db/entropy/saved-entropy.6? (y/n [n]) not overwritten
 override r  operator/operator for
 /var/db/entropy/saved-entropy.5? (y/n [n]) not overwritten
 override r  operator/operator for
 /var/db/entropy/saved-entropy.4? (y/n [n]) not overwritten
 override r  operator/operator for
 /var/db/entropy/saved-entropy.3? (y/n [n]) not overwritten
 override r  operator/operator for
 /var/db/entropy/saved-entropy.2? (y/n [n]) not overwritten
 
 How do I stop this?

Looks like the crontab entry has the wrong ownership.
In RELENG_6, the entry is:

*/11*   *   *   *   operator /usr/libexec/save-entropy


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cron operator /usr/libexec/save-entropy

2006-03-28 Thread Vaaf


Hello again!

Cron keeps spamming me:

override r  operator/operator for 
/var/db/entropy/saved-entropy.6? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.5? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.4? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.3? (y/n [n]) not overwritten
override r  operator/operator for 
/var/db/entropy/saved-entropy.2? (y/n [n]) not overwritten


How do I stop this?

Thanks,
Vaaf

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with locale entropy (what's that?)

2006-01-27 Thread vittorio

On a (mainly) postgresql pentium 4 server at office I upgraded freebsd 5.4 to
6 by means of a  CD with the standard  ISO
downloaded from  ftp.freebsd.org (I can't use any alternative means becuase
 of the tight rules of security of our network).
I tailored and compiled the kernel and upgraded the system by the usual
commands:

make buildword
boot
mergemaster -p
make
installworld
mergemaster
boot


The locale is Italian and the system speaks Italian, for instance mc.

Not it happens that when launching 010.pgsql start, apache.sh start, etc.
 they all start issuing the following warning

--: not found


Besides, after upgrading to 6, I go on receiving each 11 minutes the
 following email

Date:
Wed, 25 Jan 2006 18:00:00 +0100 (CET)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED]
/usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env:
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/
X-Cron-
Env: LOGNAME=operator
X-Cron-Env: USER=operator

--: not found


/var/log/messages doesn't say anything related to this.

Could you give me a helpful hand?
Ciao

Vittorio

---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with locale entropy (what's that?)

2006-01-27 Thread Lowell Gilbert
vittorio [EMAIL PROTECTED] writes:

 On a (mainly) postgresql pentium 4 server at office I upgraded freebsd 5.4 to
 6 by means of a  CD with the standard  ISO
 downloaded from  ftp.freebsd.org (I can't use any alternative means becuase
  of the tight rules of security of our network).
 I tailored and compiled the kernel and upgraded the system by the usual
 commands:
 
 make buildword
 boot
 mergemaster -p
 make
 installworld
 mergemaster
 boot

So what you're saying is that you did a source upgrade rather than a
binary upgrade, and that you got the sources from the CD?  If so, and
you did a buildworld but no buildkernel/installkernel?  That means
you're still running a 5.4 kernel.  Perhaps you mis-typed your usual
commands?  [After all, there is a typo in them, so you obviously
didn't cut and paste from what you actually did.

 
 
 The locale is Italian and the system speaks Italian, for instance mc.
 
 Not it happens that when launching 010.pgsql start, apache.sh start, etc.
  they all start issuing the following warning
 
 --: not found
 
 
 Besides, after upgrading to 6, I go on receiving each 11 minutes the
  following email
 
 Date:
 Wed, 25 Jan 2006 18:00:00 +0100 (CET)
 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED]
 /usr/libexec/save-entropy
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env:
 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/
 X-Cron-
 Env: LOGNAME=operator
 X-Cron-Env: USER=operator
 
 --: not found
 
 
 /var/log/messages doesn't say anything related to this.
 
 Could you give me a helpful hand?

The save-entropy cron job (type apropos entropy if you still don't
know what entropy is) does, indeed, run 11 minutes from crontab. 
Like all the startup scripts, it includes /etc/defaults/rc.conf and
/etc/rc.conf to let you set configuration for its behaviour.  I
suspect that you have some bad syntax in rc.conf; you can run it
through sh to see:  sh /etc/rc.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange entropy (or cron) message

2005-11-28 Thread nospam

 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

 5 : not found
 ---

 I have noticed that while still at the command line, the number 5
 sporadically appears in the boot messages; the system responds with the
 equivalent of don't know what that's for... message.

 Anyone have a suggestion about what this is and how I should fix it?
 Thank
 you.

 Carefully check your /etc/rc.conf file for something uncommented or
 corrupted.
 I had the same problem with This: not found and it turned out to be a line
 in
 the header was uncommented and the next word was This. It about drove me
 batty until I found it.

 Beech

Hi, Beech -

I found this bit of stuff in the rc.conf:

-
# -- sysinstall generated deltas -- # Mon Oct  3 08:28:56 2005
moused_flags=ZAxisMapping 4 5 

-

I don't understand why there are doubled-double quotes. This is the only
place in rc.conf that there is a number 5. Not sure what that command does
to the mouse daemon or if it's even a correct call.

Kind regards,
-- paz.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange entropy (or cron) message

2005-11-28 Thread Alex Zbyslaw

[EMAIL PROTECTED] wrote:


I found this bit of stuff in the rc.conf:

-
# -- sysinstall generated deltas -- # Mon Oct  3 08:28:56 2005
moused_flags=ZAxisMapping 4 5 

-

I don't understand why there are doubled-double quotes. This is the only
place in rc.conf that there is a number 5. Not sure what that command does
to the mouse daemon or if it's even a correct call.
 

This is, to put it plainly, wrong :-)  ZAxisMapping belongs in an 
xorg.conf/XF86config file.  It looks like someone who didn't really 
understand what they were doing ran sysinstall and specified this with 
the internal quotes as a parameter to moused.  Garbage in, garbage out 
I'm afraid.  Take it out of rc.conf and put in in your X config file 
where it might do you some good (assuming you have a mouse wheel).


--Alex

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange entropy (or cron) message

2005-11-28 Thread nospam
 On Sunday 27 November 2005 08:29 pm, [EMAIL PROTECTED] wrote:
 Greetings -
[...]
 filling up with strange messages regarding a save-entropy thing:
 ---
 Date: Sun, 27 Nov 2005 20:11:00 -0500 (EST)
 From: Cron Daemon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

 5 : not found
 ---

 I have noticed that while still at the command line, the number 5
 sporadically appears in the boot messages; the system responds with the
 equivalent of don't know what that's for... message.

 Carefully check your /etc/rc.conf file for something uncommented or
 corrupted.
 I had the same problem with This: not found and it turned out to be a line
 in
 the header was uncommented and the next word was This. It about drove me
 batty until I found it.

 Beech

Thanks, Beech! I modified /etc/rc.conf and that stopped the weird stuff
from happening. It was some weird placement of double quotes. I compared
it to examples online and saw that mine looked bizarre at best.

It also made me pursue getting my scrolling mouse to scroll. Not there
yet, but I haven't given up! Thanks again. :-)

Kind regards,
-- paz.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


strange entropy (or cron) message

2005-11-27 Thread nospam
Greetings -

I have an installation of 5.3 that I am enjoying, but the root mailbox is
filling up with strange messages regarding a save-entropy thing:

---
Date: Sun, 27 Nov 2005 20:11:00 -0500 (EST)
From: Cron Daemon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

5 : not found
---

I have noticed that while still at the command line, the number 5
sporadically appears in the boot messages; the system responds with the
equivalent of don't know what that's for... message.

Anyone have a suggestion about what this is and how I should fix it? Thank
you.

-- paz


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: strange entropy (or cron) message

2005-11-27 Thread Beecher Rintoul
On Sunday 27 November 2005 08:29 pm, [EMAIL PROTECTED] wrote:
 Greetings -

 I have an installation of 5.3 that I am enjoying, but the root mailbox is
 filling up with strange messages regarding a save-entropy thing:

 ---
 Date: Sun, 27 Nov 2005 20:11:00 -0500 (EST)
 From: Cron Daemon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

 5 : not found
 ---

 I have noticed that while still at the command line, the number 5
 sporadically appears in the boot messages; the system responds with the
 equivalent of don't know what that's for... message.

 Anyone have a suggestion about what this is and how I should fix it? Thank
 you.

Carefully check your /etc/rc.conf file for something uncommented or corrupted. 
I had the same problem with This: not found and it turned out to be a line in 
the header was uncommented and the next word was This. It about drove me 
batty until I found it.

Beech
---
Beech Rintoul - System Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | NorthWind Communications
\ / - NO HTML/RTF in e-mail  | 201 East 9th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \ 
---













pgpWCQPQjfO5P.pgp
Description: PGP signature


save-entropy on 6.0 release bit sensitive to rc.conf

2005-11-10 Thread Mark Rowlands
I enabled inetd in my usually sloppy fashion in 6.0 release

(which so far is making me smile in a way i haven't since
4.something, three cheers for the developers hip hip..)

inetd_enable=YES# -- enabled inetd 10-11-2005 -- mwr

(note the missing space between  and #.

this does not break startup 

However it definitely breaks /usr/libexec/save-entropy causing a 
-- not found message

Further investigation showed that

inetd_enable=YES#-- enabled inetd 10-11-2005 -- mwr

gives a  enabled  not found message

man rc.conf gives no guidance as to proper use of # comments in rc.conf
(cf man (5)  newsyslog.conf)

but I guess folks should know? or am i being picky?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy]

2005-09-14 Thread Paul Schiro


Doh!  and Duh!  Sorry to waste list space on that one... ;)  Fixed 
now... wierd though since i use vi and don't set it to do any wrapping.


--
Paul Schiro
Sr. Systems Engineer
American Select
[EMAIL PROTECTED]



Dan Nelson wrote:

In the last episode (Sep 13), Paul Schiro said:


I just got a FreeBSD 5.4-STABLE box up and running, and I noticed
that all my rc scripts (despite otherwise working properly) output
the following to stderr when running:

-snip-
gs: not found
files: not found
-snip-



I'd check for typos in /etc/rc.conf, possibly due to an overly-smart
editor wrapping lines on you.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[Fwd: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy]

2005-09-13 Thread Paul Schiro


I just got a FreeBSD 5.4-STABLE box up and running, and I noticed that 
all my rc scripts (despite otherwise working properly) output the 
following to stderr when running:


-snip-
gs: not found
files: not found
-snip-

What is the deal with that?  I have no made any special modifications to 
the rc subsystem... it's pretty much stock.


Please reply to my email as well as list... sorry if this has been 
answered but i couldn't find anything on this via google.


--
Paul Schiro
Sr. Systems Engineer
American Select
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [Fwd: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy]

2005-09-13 Thread Dan Nelson
In the last episode (Sep 13), Paul Schiro said:
 I just got a FreeBSD 5.4-STABLE box up and running, and I noticed
 that all my rc scripts (despite otherwise working properly) output
 the following to stderr when running:
 
 -snip-
 gs: not found
 files: not found
 -snip-

I'd check for typos in /etc/rc.conf, possibly due to an overly-smart
editor wrapping lines on you.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


entropy

2005-08-31 Thread Hanspeter Roth
Hello,

what is entropy for?
What are the consequences if one sets rc.conf/entropy_file and
rc.conf/entropy_dir to NO?

-Hanspeter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: entropy

2005-08-31 Thread Norberto Meijome

Hanspeter Roth wrote:

Hello,


hello, grab a beverage and start reading ;)



what is entropy for?

http://en.wikipedia.org/wiki/Entropy


What are the consequences if one sets rc.conf/entropy_file and
rc.conf/entropy_dir to NO?


$ grep entropy /etc/defaults/rc.conf
entropy_file=/entropy # Set to NO to disable caching entropy through 
reboots.
# /var/db/entropy-file is preferred if / is not 
avail.
entropy_dir=/var/db/entropy # Set to NO to disable caching entropy via 
cron.

entropy_save_sz=2048  # Size of the entropy cache files.
entropy_save_num=8# Number of entropy cache files to save.


$ apropos entropy
random(4)- the entropy device
random_harvest(9)- gather entropy from the kernel for the 
entropy device
RAND_add(3), RAND_seed(3), RAND_status(3), RAND_event(3), RAND_screen(3) 
- add entropy to the PRNG

RAND_egd(3)  - query entropy gathering daemon

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: entropy

2005-08-31 Thread Norberto Meijome

Norberto Meijome wrote:

Hanspeter Roth wrote:


Hello,



hello, grab a beverage and start reading ;)



what is entropy for?


http://en.wikipedia.org/wiki/Entropy

http://en.wikipedia.org/wiki/Information_entropy being far more accurate 
to this thread.


Beto, with half a brain correcting the other half...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Entropy Blocking

2005-08-09 Thread Bob Johnson
On 8/9/05, Kris Kennaway [EMAIL PROTECTED] wrote:
 On Mon, Aug 08, 2005 at 04:30:12PM -0600, Danny MacMillan wrote:
  On Mon, 08 Aug 2005 07:09:35 -0600, Wes Will [EMAIL PROTECTED] wrote:
  
  I guess nobody gives rat-rump about the entropy problem.
  
  Figures.
  
  --
  www
  
  The people who know how to help you probably didn't read your original  
  question, since it was posted under a very misleading subject line.  You 
 
  may experience better results if you re-post your question with a more  
  appropriate subject line (the one you used to start this thread wouldn't 
 
  be a bad choice).
 
 And drop the bad attitude, even if you are feeling upset.  People are
 not likely to want to help you if you come across as grumpy.
 
 Kris
 
 
I second that.  I looked for the question and couldn't find it.  With
the clue that the subject line has absolutely nothing to do with the
question, I finally found it, and you had an attitude problem then,
too.

Here's your original question, if I got the right one:

 The problem I am having starts with:
 
 Entropy Device is Blocking

That is not enough description to give most of us a decent chance at
guessing what you are talking about.  WHEN do you get the error
message?  What is the actual message?  Do you know what process issued
the message?  What version of FreeBSD are you using?

 
 Whose great idea was this one, anyway?  I'm all about security, believe me.
  I have a Master's in IT, and my specialization was (you guessed it)

Hmm, I've got one of those Master's thingies around here somewhere. 
It's too old and worn out to be worth boasting about, though.  Got it
in 1986.

Reminds me of http://ars.userfriendly.org/cartoons/?id=20050609mode=classic
(don't fail to go back and read the previous days, too).

 Information Security.  From all that book-larnin', one thing stands out.
 If you make SECURITY interfere with GETTING THE BLOODY JOB DONE, security
 will be the first thing tossed out the window.

Yep.  And when you treat the VOLUNTEERS that you are asking for help
with disdain, guess what then gets thrown out the window?  Hint: the
desire to help you.  Perhaps you should sign up for paid user support
from one of the fine vendors that provide that service.

 At boot, everything basically fails because of the lack of entropy.  I have

Everything fails?  You don't get any console output whatsoever to give
us a clue what's failing?  No log files?  Nothing more than Entropy
Device is Blocking?

 modified files to give various IRQ's for entropy generation.  I have read
 and searched (and had search engine failures), trying to find out more
 information on the problem and how to resolve it.  No luck thus far.

I suspect the reason you can't find information on the problem is that
it isn't a problem for the rest of us.  It sounds like you did
something unusual.

Did you use the standard install, or did you try to do something special?  

Which version of FreeBSD are you using?

 Can anyone give me the pointer to the piece of the fscking manual that
 tells me how to configure this beast to save a seed at shutdown and then
 use that seed file at startup instead of just dying and leaving me with a

It already does that.  At least, for me it does, right out of the box.
 Or CD drive, or whatever I got it out of.

Is there a file named /entropy on your system?  

What version of FreeBSD are you using?

 system that is half-booted, or failing that simple request, how to work
 preseedrandom into the system startup so that it will happen BEFORE
 entropy is required?

In addition to some addition context regarding when the error message
appears, and which version of FreeBSD you are using, the contents of
/etc/rc.conf and any other files you changed might be informative.  If
that's a long list, it might save time to reinstall the system from
scratch and then ask questions so we have some idea of what we are
working with.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Entropy Blocking

2005-08-08 Thread Wes Will
I guess nobody gives rat-rump about the entropy problem.

Figures.

--
www
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Entropy Blocking

2005-08-08 Thread Danny MacMillan

On Mon, 08 Aug 2005 07:09:35 -0600, Wes Will [EMAIL PROTECTED] wrote:


I guess nobody gives rat-rump about the entropy problem.

Figures.

--
www


The people who know how to help you probably didn't read your original  
question, since it was posted under a very misleading subject line.  You  
may experience better results if you re-post your question with a more  
appropriate subject line (the one you used to start this thread wouldn't  
be a bad choice).


--
Danny We Build Excitement MacMillan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Entropy Blocking

2005-08-08 Thread Kris Kennaway
On Mon, Aug 08, 2005 at 04:30:12PM -0600, Danny MacMillan wrote:
 On Mon, 08 Aug 2005 07:09:35 -0600, Wes Will [EMAIL PROTECTED] wrote:
 
 I guess nobody gives rat-rump about the entropy problem.
 
 Figures.
 
 --
 www
 
 The people who know how to help you probably didn't read your original  
 question, since it was posted under a very misleading subject line.  You  
 may experience better results if you re-post your question with a more  
 appropriate subject line (the one you used to start this thread wouldn't  
 be a bad choice).

And drop the bad attitude, even if you are feeling upset.  People are
not likely to want to help you if you come across as grumpy.

Kris


pgpRA8q8MYfAd.pgp
Description: PGP signature


root: /etc/rc: WARNING: Setting entropy source to blocking mode

2005-03-04 Thread Bruce Rohde
I can't get ssh to work 

Does this have anything to do with it?

root: /etc/rc: WARNING: Setting entropy source to blocking mode


Thanks,
Bruce Rohde
713-818-1381




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


save-entropy problem...

2005-01-31 Thread David Dibble
Hi,

whenever the shell script save-entropy runs (through a
cron job and on the command line)  It gives me the
error message:

This: not found

Also on my newly upgraded system 5.3-stable,
sysinstall cannot get the package directory because it
claims that the directory does not exist through the
FreeBSD ftp servers or mirrors...  Is there a setting
buried somewhere in sysinstall to change the directory
it looks for?

Thanks,
Josh





__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


save-entropy cronjob Added: not found every 10 minutes

2004-07-19 Thread Duane Winner
Hello,
Does anybody know what is going on with the crobjob 
/usr/libexec/save-entropy that by default is scheduled to run every 10 
minutes?

I'm getting tons of log mail because of this, but I don't want to just 
comment out the cronjob because it is annoying.

It is only happening on one of my FreeBSD 5.2.1 boxes, and the only 
thing I can figure that is causing it (different from other boxes) is 
that it is running the dhcpd server.

Any thoughts?
Thanks,
Duane Winner

[EMAIL PROTECTED] mail
Mail version 8.1 6/6/93.  Type ? for help.
/var/mail/dwinner: 2 messages 2 new
N  1 [EMAIL PROTECTED]  Mon Jul 19 12:11  23/955   Cron 
[EMAIL PROTECTED] /usr/libexec/save-entropy
 N  2 [EMAIL PROTECTED]  Mon Jul 19 12:22  23/955   Cron 
[EMAIL PROTECTED] /usr/libexec/save-entropy

Message 1:
From [EMAIL PROTECTED] Mon Jul 19 12:11:01 2004
Date: Mon, 19 Jul 2004 12:11:01 -0400 (EDT)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy

Added: not found

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: save-entropy cronjob Added: not found every 10 minutes

2004-07-19 Thread Dan Nelson
In the last episode (Jul 19), Duane Winner said:
 Does anybody know what is going on with the cronjob
 /usr/libexec/save-entropy that by default is scheduled to run every
 10 minutes?
 
 I'm getting tons of log mail because of this, but I don't want to
 just comment out the cronjob because it is annoying.

 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
 
 Added: not found

Try changing the top line of that script to read 

  #!/bin/sh -x

, which will log every command that it runs to stderr.  You should then
be able to determine which line is printing that error message.  My
guess is something in your rc.conf is doing it.

-- 
Dan Nelson
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: save-entropy cronjob Added: not found every 10 minutes

2004-07-19 Thread Duane Winner
Thanks! Using your technique, I discovered that I stupidly forgot to put 
a '#' before one of my comments in /etc/rc.conf.


Dan Nelson wrote:
In the last episode (Jul 19), Duane Winner said:
Does anybody know what is going on with the cronjob
/usr/libexec/save-entropy that by default is scheduled to run every
10 minutes?
I'm getting tons of log mail because of this, but I don't want to
just comment out the cronjob because it is annoying.

Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
Added: not found

Try changing the top line of that script to read 

  #!/bin/sh -x
, which will log every command that it runs to stderr.  You should then
be able to determine which line is printing that error message.  My
guess is something in your rc.conf is doing it.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/usr/libexec/save-entropy

2004-04-21 Thread Piotr Gnyp
Hi
On my FreeBSD 5.2.1-R-p5 I have problems with /usr/libexec/save-entropy
in cron. The error message says:
/etc/rc.conf: cannot create /etc/rc.conf: Permission denied

my /etc/rc.conf file permissions:
-rwxr-xr-x  1 root  wheel  2,2K 20 Kwi 16:23 /etc/rc.conf*

my /etc/crontab:
# Save some entropy so that /dev/random can re-seed on boot.
#*/11   *   *   *   *   operator /usr/libexec/save-entropy

What shoud I change for /usr/libexec/save-entropy to work properly? For
now I`ve switched it off. Please advice.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/libexec/save-entropy

2004-04-21 Thread Ruben de Groot
On Wed, Apr 21, 2004 at 09:44:33AM +0200, Piotr Gnyp typed:
 Hi
 On my FreeBSD 5.2.1-R-p5 I have problems with /usr/libexec/save-entropy
 in cron. The error message says:
 /etc/rc.conf: cannot create /etc/rc.conf: Permission denied

Looks like you have something wrong in your /etc/rc.conf.

 my /etc/rc.conf file permissions:
 -rwxr-xr-x  1 root  wheel  2,2K 20 Kwi 16:23 /etc/rc.conf*
 
 my /etc/crontab:
 # Save some entropy so that /dev/random can re-seed on boot.
 #*/11   *   *   *   *   operator /usr/libexec/save-entropy
 
 What shoud I change for /usr/libexec/save-entropy to work properly? For
 now I`ve switched it off. Please advice.
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/libexec/save-entropy

2004-04-21 Thread Piotr Gnyp
On Wed, 21 Apr 2004, Ruben de Groot [EMAIL PROTECTED] wrote:

 Looks like you have something wrong in your /etc/rc.conf.

And it was, I`ve found the bug. Thanks for help.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


why is the entropy file(device) in / and not in /dev ??

2004-04-20 Thread Jorge Mario G.
hi there
I just read man hier
and I still see no resson why the entropy device
should be in /
shouldnt it be in /dev???


Jorge

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: why is the entropy file(device) in / and not in /dev ??

2004-04-20 Thread Kris Kennaway
On Tue, Apr 20, 2004 at 04:14:45AM -0500, Jorge Mario G. wrote:
 hi there
 I just read man hier
 and I still see no resson why the entropy device
 should be in /
 shouldnt it be in /dev???

It's not a device.

Kris


pgp0.pgp
Description: PGP signature


[FreeBSD 5.0] Problem with /etc/crontab -- /usr/libexec/save-entropy //

2003-11-03 Thread Greg Bernard
I have a problem with the /usr/libexec/save-entropy script executed by
crontab in /etc/crontab :


 # Save some entropy so that /dev/random can re-seed on boot.
 */11   *   *   *   *   operator /usr/libexec/save-entropy


When I let the /etc/crontab script execute normally I have a mail generated
automatically complaining about --: not found

  1
 Message 1:
 From [EMAIL PROTECTED]  Sun Nov  2 23:11:00 2003
 Date: Sun, 2 Nov 2003 23:11:00 +0100 (CET)
 From: [EMAIL PROTECTED] (Cron Daemon)
 To: [EMAIL PROTECTED]
 Subject: Cron [EMAIL PROTECTED] /usr/libexec/save-entropy
 X-Cron-Env: SHELL=/bin/sh
 X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 X-Cron-Env: HOME=/
 X-Cron-Env: LOGNAME=operator
 X-Cron-Env: USER=operator
 X-Spam-Status: No, hits=0.8 required=5.0
   tests=CRON_ENV,FROM_AND_TO_SAME_5,SPAM_PHRASE_00_01
   version=2.43
 X-Spam-Level: 
 
 --: not found


I had to comment the line in /etc/crontab so that It stopped generating
error every 11 minutes, could this be a potential problem ?

I don't exactly see what seems to go wrong with the script !?




Here is the script /usr/libexec/save-entropy


#!/bin/sh
#
# Copyright (c) 2001  The FreeBSD Project
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#notice, this list of conditions and the following disclaimer in the
#documentation and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
# $FreeBSD: src/libexec/save-entropy/save-entropy.sh,v 1.2 2001/01/14
07:18:31 d
ougb Exp $

# This script is called by cron to store bits of randomness which are
# then used to seed /dev/random on boot.

# Originally developed by Doug Barton, [EMAIL PROTECTED]

PATH=/bin:/usr/bin

# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/rc.conf ]; then
. /etc/defaults/rc.conf
source_rc_confs
elif [ -r /etc/rc.conf ]; then
. /etc/rc.conf
fi

case ${entropy_dir} in
[Nn][Oo])
exit 0
;;
*)
entropy_dir=${entropy_dir:-/var/db/entropy}
;;
esac

entropy_save_sz=${entropy_save_sz:-2048}
entropy_save_num=${entropy_save_num:-8}

if [ ! -d ${entropy_dir} ]; then
umask 077
mkdir ${entropy_dir} || {
logger -is -t $0 The entropy directory ${entropy_dir} does
not \
exist, and cannot be created.  Therefore no entropy can be saved. ;
exit 1;}
/usr/sbin/chown operator:operator ${entropy_dir}
chmod 0700 ${entropy_dir}
fi

umask 377

for file_num in `jot ${entropy_save_num} ${entropy_save_num} 1`; do
if [ -e ${entropy_dir}/saved-entropy.${file_num} ]; then
if [ -f ${entropy_dir}/saved-entropy.${file_num} ]; then
new_num=$(($file_num + 1))
if [ ${new_num} -gt ${entropy_save_num} ]; then
rm -f
${entropy_dir}/saved-entropy.${file_num}
else
mv
${entropy_dir}/saved-entropy.${file_num} \
   
${entropy_dir}/saved-entropy.${new_num}
fi
else
logger -is -t $0 \
${entropy_dir}/saved-entropy.${file_num} is not a regular file, and
therefore \
it will not be rotated. Entropy file harvesting is aborted.
exit 1
fi
fi
done

dd if=/dev/random of=${entropy_dir}/saved-entropy.1 \
bs=2048 count=1 2 /dev/null

exit 0
 





«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

Grégory Bernard   21, rue JJ Rousseau
Directeur 75001 Paris France
www.ToDoo.biz tel : +(33) 1 40 26 43 14

«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§

PGP ID -- 0x1BA3C2FD

I have always

Problems with /usr/libexec/save-entropy

2003-10-21 Thread Robert Small
Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been running 
fine, and around 3:00pm yesterday, I started receiving emails from Cron 
/usr/local/save-entropy saying:

*User: not found

I've tried everything, and looking into everything. I've checked my master.passwd and 
group (compared 'em to /usr/src/etc).

I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared to 
another 5.1 (Release) box, and everhthing is the same. Could someone point me in the 
right direction?

I'm running: 5.1 Current. 

I even did another update, build world, kernel and merge this morning, all to no avail!

The line in my crontab is:

*/11 * * * * operator /usr/libexec/save-entropy

And when I try to run it from the command line I get:

/etc# /usr/libexec/save-entropy 
*User: not found

Any/all help would be appreciated.

Thanks!

Robert

Please CC me as I'm not currently subscribed to this list.  THANKS!
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with /usr/libexec/save-entropy

2003-10-21 Thread Ruben de Groot
On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small typed:
 Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been 
 running fine, and around 3:00pm yesterday, I started receiving emails from Cron 
 /usr/local/save-entropy saying:
 
 *User: not found

Look for the string *User in /etc/rc.conf (and remove it).

-Ruben

 
 I've tried everything, and looking into everything. I've checked my master.passwd 
 and group (compared 'em to /usr/src/etc).
 
 I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared 
 to another 5.1 (Release) box, and everhthing is the same. Could someone point me in 
 the right direction?
 
 I'm running: 5.1 Current. 
 
 I even did another update, build world, kernel and merge this morning, all to no 
 avail!
 
 The line in my crontab is:
 
 */11 * * * * operator /usr/libexec/save-entropy
 
 And when I try to run it from the command line I get:
 
 /etc# /usr/libexec/save-entropy 
 *User: not found
 
 Any/all help would be appreciated.
 
 Thanks!
 
 Robert
 
 Please CC me as I'm not currently subscribed to this list.  THANKS!
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Entropy harvesting: interrupts ethernet point_to_point

2003-09-04 Thread Mark Woodson
On Thursday 04 September 2003 05:33 am, Putinas wrote:
[snip]
 and also part of my custom kernel, I tried to commend RANDOM_IP_ID,
 PFIL_HOOKS but I got same results :

 options INCLUDE_CONFIG_FILE
 options IPFIREWALL  #firewall
 options IPFIREWALL_VERBOSE  #enable logging to
 syslogd(8) options IPFIREWALL_FORWARD  #enable
 transparent proxy support options
 IPFIREWALL_DEFAULT_TO_ACCEPT#allow everything by default
 options IPV6FIREWALL#firewall for IPv6 options 
IPV6FIREWALL_VERBOSE
 options IPV6FIREWALL_DEFAULT_TO_ACCEPT
 options IPDIVERT#divert sockets
 options IPFILTER#ipfilter support
 options IPFILTER_LOG#ipfilter logging
 options IPSTEALTH   #support for stealth
 forwarding options PFIL_HOOKS
 options TCPDEBUG
 options RANDOM_IP_ID
 options TCP_DROP_SYNFIN #drop TCP packets with
 SYN+FIN options DUMMYNET
 options BRIDGE
 options DEVICE_POLLING

Is ipfilter and ipfw supported at the same time?  Are you planning on 
using both of them at the same time?  If you are planning on using 
ipfirewall you can safely comment out ipfilter options.

-Mark

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


5.1 Hangs on boot (Entropy harvesting)SOLVED

2003-07-30 Thread Geir Svalland
Hi everybody.
I  think  I found what caused the problem with my FreeBSD 5.1
desktop hanging at Entropy harvesting.
Rebuilt with GENERIC kernel and everything went smooth.
In my CUSTOM kernel I had enabled IPFILTER and IPFIREWALL,
but no rules for IPFILTER.
When I removed the lines concerning ipfilter, the problem went away.
Why ? I don't know :-) It was not configured with default to block.

Regards
Geir Svalland.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


/entropy

2003-06-21 Thread Socketd
Hi

I have just installed 5.1 Release and noticed that there is a new file
in / (entropy).

Why is it placed there and what is it?

Btw please cc to me as I am not on the list.

br
socketd
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /entropy

2003-06-21 Thread Kent Stewart
On Saturday 21 June 2003 11:55 am, Socketd wrote:
 Hi

 I have just installed 5.1 Release and noticed that there is a new file
 in / (entropy).

 Why is it placed there and what is it?

Well, for starters, this is the wrong list. You are supposed to ask question 
about 5.x on -current. You are also supposed to subscribe to the commit list 
and etc. If you don't want to do this, then 5.1 release may not be the 
appropriate choice of OS for you.

Kent


 Btw please cc to me as I am not on the list.

 br
 socketd
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: entropy

2003-01-16 Thread Fernando Gleiser
On 15 Jan 2003, Lowell Gilbert wrote:

 Wilkinson,Alex [EMAIL PROTECTED] writes:

  Can someone recommend to me where I can read up on
  entropy.
 
  ie what it is ? Why we have it ? etc etc

 The term entropy is often used (in rough analogy to its technical
 meaning in thermodynamics) in computer systems to describe the
 amount of randomness available to random-number functionality.

The entropy is the mean information per symbol. The higher the entropy,
the more random the language is.

It can be shown that the entropy is maximum when all the symbols in
the alphabet have the same probability 1/n, where n is the number of
symbols in the alphabet. In that case, the entropy has a value of
-n*log2(n). Also, in that case the alphabet is trully random.


 What to read depends on why you need to know about it, but you could
 always refer to some manual pages, particularly rndcontrol(8).

If you want a more solid background, get an introductory book in
information/coding theory. But don't try it if you don't know calculus,
probability and algebra.


Fer



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Erik Trulsson
On Wed, Jan 15, 2003 at 08:51:35AM +, P. U. Kruppa wrote:
 On Tue, 14 Jan 2003, Kevin Stevens wrote:
 
 
  On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote:
 
   Can someone recommend to me where I can read up on
   entropy.
  
   ie what it is ? Why we have it ? etc etc
  
- aW
 
  Entropy is a tendency towards disorder in the universe, exemplified by
  things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC
  SCIENCE MESSAGE TO A COMPUTER OS LIST!!!

No need to be rude.

 Entropy also evaluates information and is measured in so called
 bits .

Indeed.  See random(4) for information on what FreeBSD uses entropy
for. (Short version: Generating random numbers.) (So, no, this is not
totally off-topic.)

 The original work about this was written (I think in the
 sixties) by two authors:  Shannon/Weaver
 Sorry, I don't know the title: it was something with information
 theory.

You are thing of a reprint of the original article which was
A mathematical theory of communication by Claude Shannon, 1948.
It is fairly easy to find a copy of this paper on the 'Net.
The paper is actually quite readable, and strongly recommended for
anybody interested in information theory or cryptology.

 
 Regards,
 
 Uli.
 
 
 
  Did you actually have to MOVE your browser from in front of the mail
  program to AVOID searching for this on the web?!?

You DO know that it is quite possible to be able to send and receive
e-mail while not being directly connected to the Internet and therefore
not being able to check the WWW?
(Granted, this is quite unusual today, but still a possibility.)


 
  KeS
 
 
  OB-FreeBSD:
  /usr/ports/math/entropy
  Entropy is a program that will calculate the entropy of a given set
  of data. This program is mainly used to benchmark the efficiency
  of existing or developing compression algorithms.
 


-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Paul Everlund
On Wed, 15 Jan 2003, Erik Trulsson wrote:
 On Wed, Jan 15, 2003 at 08:51:35AM +, P. U. Kruppa wrote:
  On Tue, 14 Jan 2003, Kevin Stevens wrote:
   On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote:
[big snip]
  
   Did you actually have to MOVE your browser from in front of the mail
   program to AVOID searching for this on the web?!?

 You DO know that it is quite possible to be able to send and receive
 e-mail while not being directly connected to the Internet and therefore
 not being able to check the WWW?
 (Granted, this is quite unusual today, but still a possibility.)

Maybe even more usual and a possibility today than before, as mobile
phones are able to send/recieve e-mails (if I only could get my own
phone to work as it should :-). All the good things are not available
by WAP though, and hence it could be hard to search for the documents
describing entropy.

Best regards,
Paul


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Scott Mitchell
On Wed, Jan 15, 2003 at 11:51:23AM +0100, Paul Everlund wrote:
 Maybe even more usual and a possibility today than before, as mobile
 phones are able to send/recieve e-mails (if I only could get my own
 phone to work as it should :-). All the good things are not available
 by WAP though, and hence it could be hard to search for the documents
 describing entropy.

Try http://wap.google.com/

It's not perfect, but it doesn't a reasonable job of converting web pages
to WML for display on a WAP device.  It shouldn't be too hard to figure out
the URL format it uses so you can go directly to the page you want, without
all that tedious searching :-)

Scott

-- 
===
Scott Mitchell  | PGP Key ID | Eagles may soar, but weasels
Cambridge, England  | 0x54B171B9 |  don't get sucked into jet engines
[EMAIL PROTECTED] | 0xAA775B8B |  -- Anon

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



WAP-server [Was Re: entropy]

2003-01-15 Thread Paul Everlund
On Wed, 15 Jan 2003, Scott Mitchell wrote:

 On Wed, Jan 15, 2003 at 11:51:23AM +0100, Paul Everlund wrote:
  Maybe even more usual and a possibility today than before, as mobile
  phones are able to send/recieve e-mails (if I only could get my own
  phone to work as it should :-). All the good things are not available
  by WAP though, and hence it could be hard to search for the documents
  describing entropy.

 Try http://wap.google.com/

 It's not perfect, but it doesn't a reasonable job of converting web pages
 to WML for display on a WAP device.  It shouldn't be too hard to figure out
 the URL format it uses so you can go directly to the page you want, without
 all that tedious searching :-)

   Scott

Will take a look at it! Anyway I would guess a page describing entropy
is not something one would want to view on a phone. :-)

Do anyone by the way know if a special web-server is required for
serving wap-pages, i.e. can one use Apache? If not, what's out there?
Will take a look in the ports tree to see if I find anything.

Best regards,
Paul


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: WAP-server [Was Re: entropy]

2003-01-15 Thread Anand Buddhdev
On Wed, Jan 15, 2003 at 04:53:25PM +0100, Paul Everlund wrote:

 Do anyone by the way know if a special web-server is required for
 serving wap-pages, i.e. can one use Apache? If not, what's out there?
 Will take a look in the ports tree to see if I find anything.

A wap page is nothing more than content that has been marked up with
WML, the wireless mark-up language. You can serve WML content with any
webserver, including apache. Just add a line like this to the httpd.conf
file:

AddType text/vnd.wap.wml .wml

Where .wml is the file extension you use for your WML pages.

-- 
Anand Buddhdev
http://anand.org

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: WAP-server [Was Re: entropy]

2003-01-15 Thread Paul Everlund
On Wed, 15 Jan 2003, Anand Buddhdev wrote:

 On Wed, Jan 15, 2003 at 04:53:25PM +0100, Paul Everlund wrote:

  Do anyone by the way know if a special web-server is required for
  serving wap-pages, i.e. can one use Apache? If not, what's out there?
  Will take a look in the ports tree to see if I find anything.

 A wap page is nothing more than content that has been marked up with
 WML, the wireless mark-up language. You can serve WML content with any
 webserver, including apache. Just add a line like this to the httpd.conf
 file:

 AddType text/vnd.wap.wml .wml

 Where .wml is the file extension you use for your WML pages.

Thank you Anand!

Best regards,
Paul


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Lowell Gilbert
Wilkinson,Alex [EMAIL PROTECTED] writes:

 Can someone recommend to me where I can read up on
 entropy.
 
 ie what it is ? Why we have it ? etc etc

The term entropy is often used (in rough analogy to its technical
meaning in thermodynamics) in computer systems to describe the
amount of randomness available to random-number functionality.

What to read depends on why you need to know about it, but you could
always refer to some manual pages, particularly rndcontrol(8).

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Wilkinson,Alex
You are an absolute cockhead

shell man 4 random

What kind of crack are you smoking wanker ?

 - aW


Entropy is a tendency towards disorder in the universe, exemplified by
things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC
SCIENCE MESSAGE TO A COMPUTER OS LIST!!!

Did you actually have to MOVE your browser from in front of the mail
program to AVOID searching for this on the web?!?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-15 Thread Wilkinson,Alex
From: http://people.freebsd.org/~bmah/relnotes/5.0-RELEASE/relnotes-i386.html

 The  random(4) device has been rewritten to use the Yarrow algorithm. It harvests 
entropy from
a variety of interrupt sources, including the console devices, Ethernet and 
point-to-point
network interfaces, and mass-storage devices. Entropy from the  random(4) device is
now periodically saved to files in /var/db/entropy, as well as at shutdown time.
The semantics of /dev/random have changed; it never blocks waiting for entropy
bits but generates a stream of pseudo-random data and now behaves exactly as 
/dev/urandom.

 - aW


Entropy is a tendency towards disorder in the universe, exemplified by
things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC
SCIENCE MESSAGE TO A COMPUTER OS LIST!!!

Did you actually have to MOVE your browser from in front of the mail
program to AVOID searching for this on the web?!?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



entropy

2003-01-14 Thread Wilkinson,Alex
Can someone recommend to me where I can read up on
entropy.

ie what it is ? Why we have it ? etc etc

 - aW

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: entropy

2003-01-14 Thread Kevin Stevens

On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote:


Can someone recommend to me where I can read up on
entropy.

ie what it is ? Why we have it ? etc etc

 - aW


Entropy is a tendency towards disorder in the universe, exemplified by 
things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC 
SCIENCE MESSAGE TO A COMPUTER OS LIST!!!

Did you actually have to MOVE your browser from in front of the mail 
program to AVOID searching for this on the web?!?

KeS


OB-FreeBSD:
/usr/ports/math/entropy
Entropy is a program that will calculate the entropy of a given set
of data. This program is mainly used to benchmark the efficiency
of existing or developing compression algorithms.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message


Re: entropy

2003-01-14 Thread P. U. Kruppa
On Tue, 14 Jan 2003, Kevin Stevens wrote:


 On Tuesday, Jan 14, 2003, at 22:46 US/Pacific, Wilkinson,Alex wrote:

  Can someone recommend to me where I can read up on
  entropy.
 
  ie what it is ? Why we have it ? etc etc
 
   - aW

 Entropy is a tendency towards disorder in the universe, exemplified by
 things LIKE SOME FREAKIN' CLUELESS GIT POSTING A TOTALLY OFF-TOPIC
 SCIENCE MESSAGE TO A COMPUTER OS LIST!!!
Entropy also evaluates information and is measured in so called
bits .
The original work about this was written (I think in the
sixties) by two authors:  Shannon/Weaver
Sorry, I don't know the title: it was something with information
theory.

Regards,

Uli.



 Did you actually have to MOVE your browser from in front of the mail
 program to AVOID searching for this on the web?!?

 KeS


 OB-FreeBSD:
 /usr/ports/math/entropy
 Entropy is a program that will calculate the entropy of a given set
 of data. This program is mainly used to benchmark the efficiency
 of existing or developing compression algorithms.


 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


*---*
*Peter Ulrich Kruppa*
*  -  Wuppertal -   *
*  Germany  *
*---*


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



about save-entropy and tcpmssd

2002-07-22 Thread fred



hi all,

I had use tcpmssd to changle the MTU problem of my 
pppoe gateway, but now I often receive mails about save-entropy.


the mail content is:

tcpmssd: can't create divert socket: Operation not permittedipfw: 
socket: Operation not permittedipfw: socket: Operation not permitted


Could anyone tell me what the function of 
save-entropy? 
Does I need it?


Regards,
Fred Zhang