Re: mail(1) save command does not work as in the man page

2012-07-25 Thread Anton Shterenlikht
From bon...@mail.r-bonomi.com Thu Jul 26 02:58:29 2012
Date: Wed, 25 Jul 2012 19:37:47 -0500 (CDT)
From: Robert Bonomi 
To: freebsd-questions@freebsd.org, me...@bristol.ac.uk
Subject: Re: mail(1) save command does not work as in the man page
>
> Any comments?

This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, 
since
the early 1980s.   (I still use 'mail' as my standard mail client'.)

If invoked _without_ specifying a maibox, 
  1) mail that is written to another mailbox is deleted from the inbox 
on exit.
  2) mail that was read, but _not_ written/deleted is saved to 'mbox'.

If invoked *WITH* '-f', messages are not deleted/moved on exit.  you 
must 
_explicitly_ perform any desired actions.


You've found a bug in the _documentation_, not the progam.  :)


ok, I might make a patch for mail.1 when
I have the time.

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: how to speed up port make??

2012-07-25 Thread Ryan Noll
Hello,

On Jul 25, 2012 7:34 PM, "Chad Perrin"  wrote:
> You kids have got it easy.  I used to have to compile by hand with a pair
> of tweezers, bar copper wire, a magnifying glass, and a potato with two
> pieces of metal stuck in it as a power source.

Ha-ha... Ah those were the days..., but does anyone remember the "old" way
of building the kernel in the 2.2.8 days? I was just getting started doing
the basic system setup/admin things in those days. Back then (1998 or so) I
did not have access to broadband, so I did not even update the sources back
then, but I knew that it was a good idea to remove devices from the GENERIC
kernel that I did not have--thanks to the book by Greg Lehey. (Even though
the version of "The Complete FreeBSD" I bought is so out of date I cannot
bring myself to throw it away--it was my guide back in those days.)

Does anyone else remember "The Complete FreeBSD"?
___
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: how to speed up port make??

2012-07-25 Thread Chad Perrin
On Wed, Jul 25, 2012 at 08:33:36PM -0600, Chad Perrin wrote:
> 
> You kids have got it easy.  I used to have to compile by hand with a pair
> of tweezers, bar copper wire, a magnifying glass, and a potato with two
> pieces of metal stuck in it as a power source.

s/bar/bare/

Now let me tell you how we used to have to do our regexing. . . .

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
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: how to speed up port make??

2012-07-25 Thread Chad Perrin
On Wed, Jul 25, 2012 at 08:41:15PM -0400, kpn...@pobox.com wrote:
> On Thu, Jul 26, 2012 at 01:06:33AM +0200, Polytropon wrote:
> > On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote:
> > > Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM.
> > 
> > I think I can: FreeBSD 4 on a Pentium 1 with 64 MB EDO RAM.
> > The make buildworld took 24 hours. The kernel itself, if I
> > remember correctly, required 3-5 hours, of course without
> > much tweaking. :-)
> 
> Luxury!
> 
> I once compiled a custom kernel of NetBSD/i386 on a 486 with 8MB of RAM.
> I was stuck with the GENERIC kernel which took up over 6MB just to boot.
> 
> It took over 40 days to finish. 
> 
> To be fair it didn't help that I had to move out of my apartment in the
> middle. So it took some time for make to refigure out where had been in
> the build.
> 
> Heck, we used to compile gcc and watch movies. It took three movies to
> get through a full recursive compile of gcc. Yep, 6 hours.
> 
> And then there was that occasion one night watching a guy logged into an
> Ultrix box: Raise your hand if you've ever seen 'ps' report that it had
> itself been swapped out. Yep, again.
> 
> Ah, good times.
> 
> I think I still have some memory _chips_ (zip scrams, not dips) around
> here somewhere

You kids have got it easy.  I used to have to compile by hand with a pair
of tweezers, bar copper wire, a magnifying glass, and a potato with two
pieces of metal stuck in it as a power source.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
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: geli - selecting cipher

2012-07-25 Thread RW
On Wed, 25 Jul 2012 19:52:39 -0500 (CDT)
Robert Bonomi wrote:

> > From owner-freebsd-questi...@freebsd.org  Wed Jul 25 14:00:27 2012
> > Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST)
> > From: Wojciech Puchar 
> > To: freebsd-questions@freebsd.org
> > Subject: geli - selecting cipher
> >
> > i need high speed disk encryption (many disks running in parallel,
> > lots of data movement). i have processor with AES-NI.
> >
> > geli give 150MB/s performance (tested from/to md ramdisk) using
> > default and recommended AES-XTS
> >
> > and ca 400MB/s read and 700MB/s write using AES-CBC.
> >
> > I'm not cryptography expert, is CBC somehow "less secure", and if
> > so is it really a problem?
> 
> If you "don't know" what strength encryption you need, and/or the
> difference between the methods, you need to hire a data-security
> professional to examine your situation and make recommendations
> appropriate for _your_ needs.
> 
> 'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly
> -sequential- data access.   Try reading the blocks of a large (say
> 10gB) file in *reverse* order and see what kind of performance you
> get.  

Exactly the same, in geli the encryption is done per sector. 


I asked a similar questions to the OPs in the geom list and didn't get
an answer. Geli doesn't need or isn't using any advantages of XTS. And
CBC in geli is actually equivalent to ESSIV (see the previously linked
wikipedia page). 

In the end I went with 128 bit aes-cbc since it's the fastest setting
and Bruce Schneier recommends 128 over 256 AES as being more secure.  
___
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: how to speed up port make??

2012-07-25 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Wed Jul 25 16:34:22 2012
> From: Robert Huff 
> Date: Wed, 25 Jul 2012 17:31:14 -0400
> To: freebsd-questions@freebsd.org
> Subject: Re: how to speed up port make??
>
>
> Anton Shterenlikht writes:
>
> > >>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
> > >>  compiling xorg takes about 2 hours
> >  
> >  2 hours only??
> >  
> >  Try lang/gcc46 or 47
> >  or science/paraview
>
>I beiieve the winner is OpenOffice and its kindred;
> still compiling after 2.75 hours on 4x3ghz and 8gbytes memory.  The
> various Javas also take a while 
>

A standard-techniques -build of just a custom kernel (FBSD 6) took me over 
TWENTY hours

 

  On a 80486/dx2 with 64 megs of Ram.

 
I didn't even -think- about 'buildworld'.


___
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: geli - selecting cipher

2012-07-25 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Wed Jul 25 14:00:27 2012
> Date: Wed, 25 Jul 2012 20:57:30 +0200 (CEST)
> From: Wojciech Puchar 
> To: freebsd-questions@freebsd.org
> Subject: geli - selecting cipher
>
> i need high speed disk encryption (many disks running in parallel, lots of 
> data movement). i have processor with AES-NI.
>
> geli give 150MB/s performance (tested from/to md ramdisk) using default 
> and recommended AES-XTS
>
> and ca 400MB/s read and 700MB/s write using AES-CBC.
>
> I'm not cryptography expert, is CBC somehow "less secure", and if so is it 
> really a problem?

If you "don't know" what strength encryption you need, and/or the difference
between the methods, you need to hire a data-security professional to examine
your situation and make recommendations appropriate for _your_ needs.

'CBC' -- [C]ypher [B]lock [C]hainig -- is well-suited for strictly -sequential-
data access.   Try reading the blocks of a large (say 10gB) file in *reverse*
order and see what kind of performance you get.  


___
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: mail(1) save command does not work as in the man page

2012-07-25 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Wed Jul 25 10:47:21 2012
> Date: Wed, 25 Jul 2012 16:44:02 +0100 (BST)
> From: Anton Shterenlikht 
> To: freebsd-questions@freebsd.org
> Subject: mail(1) save command does not work as in the man page
>
> According to the man mail(1):
>
>  save(s) Takes a message list and a filename and appends each 
>  message
>  in turn to the end of the file.  The filename in quotes, 
>  followed by the line count and character count is echoed on 
>  the user's terminal.
>
> However, it seems the mail is copied, but not deleted on exit:

*SOMETIMES* that is true.   
>
> $ mail -f mbox
> Mail version 8.1 6/6/93.  Type ? for help.
> "mbox": 1 message
> >   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
> & s 1 somefile
> "somefile" [New file]
> & h
> >*  1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
> & q
>
> $ mail -f somefile
> Mail version 8.1 6/6/93.  Type ? for help.
> "somefile": 1 message
> >   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
> & q
>
> So the mail was copied to  file, as expected. However, it's 
> still in mbox file too:
>
> $ mail -f mbox
> Mail version 8.1 6/6/93.  Type ? for help.
> "mbox": 1 message
> >   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
> & q
> $
>
> This shouldn't happen. According to the man page the expected behaviour 
> is that message 1 should be deleted from mbox on quit.
>
> Any comments?

This is the 'standard'/*EXPECTED* behavior of 'mail', and has been, since
the early 1980s.   (I still use 'mail' as my standard mail client'.)

If invoked _without_ specifying a maibox, 
  1) mail that is written to another mailbox is deleted from the inbox on exit.
  2) mail that was read, but _not_ written/deleted is saved to 'mbox'.

If invoked *WITH* '-f', messages are not deleted/moved on exit.  you must 
_explicitly_ perform any desired actions.


You've found a bug in the _documentation_, not the progam.  :)


___
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: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
26.07.2012 1:55, Polytropon wrote:
> On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote:
>>
>>
>> CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
>> CPU)
>>   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 
>> 2
>>  
>> # kldstat -v | grep temp
>> 319 cpu/coretemp
>> 311 hostb/amdtemp
> 
> There are programs in ports like mbmon and xmbmon to easily
> output the CPU temperature values.
> 

Thank you!
mbmon shows the temperature of the CPU.


-- 
Vladislav V. Prodan
System & Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
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: how to speed up port make??

2012-07-25 Thread Polytropon
On Wed, 25 Jul 2012 18:59:56 -0400, Sean Cavanaugh wrote:
> Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM.

I think I can: FreeBSD 4 on a Pentium 1 with 64 MB EDO RAM.
The make buildworld took 24 hours. The kernel itself, if I
remember correctly, required 3-5 hours, of course without
much tweaking. :-)



> I gave
> up after 4 days and just went with prebuilt after that.

Precompiled packages are very helpful on such systems. Only
"top level ports" that _need_ compiling should be touched
(e. g. mplayer due to the options). With today's FreeBSD OS,
you can do many things by control files (loader.conf et al.)
which previously required at least rebuilding the kernel
(e. g. firewall, divert).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: how to speed up port make??

2012-07-25 Thread Sean Cavanaugh
Got you beat. Compiled world on a 100MHz Pentium with 40 MB of RAM. I gave
up after 4 days and just went with prebuilt after that.

-Sean

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Polytropon
Sent: Wednesday, July 25, 2012 6:54 PM
To: Mr U
Cc: freebsd-questions@freebsd org
Subject: Re: how to speed up port make??

On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote:
> 
> hi
> 
> is it possible to speed up port make ??
> i want to install openbox and xorg on a Pentium 4 and 2gb ram, 
> compiling xorg takes about 2 hours

That's a fully normal make time on such a system. I've been experiencing it
on FreeBSD 5 and 7 (with ATA disks and 768 MB SDR-SDRAM).

There is no real way to speed it up, except to replace the hard disk with a
SSD. But that's only for I/O, not for compiling itself.
You also won't benefit from using the -j parameter (maximum number of jobs),
because the P4 does not seem to support it.

There's not much you can do to improve the system performance.
You _can_ few things to streamline the system, but that won't be a
_significant_ change.

Plan your builds to take place when you don't use the system interactively,
or use the "nice" command to give building a lower priority. It will last
longer, but can be run in the background without noticing it.

Don't complain about build times until you compile world and kernel on a 150
MHz Pentium 1 with 64 MB RAM. :-)


To give you some impressions of real-work build times, see those
examples:

FreeBSD 5, 500 MHz P2 system:
# make buildkernel KERNCONF
1:11
# make buildworld
3:54

FreeBSD 5, 2 GHz P4 system:
# make buildworld buildkernel
2:13
# make buildworld
1:58
# make buildkernel KERNCONF=*
0:25
# make installkernel KERNCONF=*
30s

On the same system:

A portupgrade of XFree86 server:
2:12
And mplayer including nearly all options:
1:19

FreeBSD 7, 2 GHz P4 system:
# make buildkernel KERNCONF=*
1:05
# make buildworld
3:54


Even worse:

# time make buildkernel KERNCONF=* -D USBDEBUG
18232.967u 2427.404s 7:19:49.24 78.2%   391+379k 47250+5754io 3049pf+0w

# time make buildworld buildkernel KERNCONF=*
18992.839u 2569.146s 9:12:00.28 65.1%   927+762k 25593+6358io 2506pf+0w

(No idea how I got _that_ time!)

# time make buildworld buildkernel KERNCONF=*
17272.243u 2294.595s 6:01:33.44 90.1%   24+204k 34888+6367io 2911pf+0w
18541.285u 2596.192s 6:19:33.55 92.8%   498+327k 31247+7302io 3034pf+0w
19725.009u 2882.355s 7:39:11.57 82.0%   -875+548k 44987+6963io 2950pf+0w



--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"

___
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: how to determine the temperature of your CPU?

2012-07-25 Thread Polytropon
On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote:
> 
> 
> CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
> CPU)
>   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 2
>  
> # kldstat -v | grep temp
> 319 cpu/coretemp
> 311 hostb/amdtemp

There are programs in ports like mbmon and xmbmon to easily
output the CPU temperature values.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: how to speed up port make??

2012-07-25 Thread Polytropon
On Wed, 25 Jul 2012 08:02:37 -0700 (PDT), Mr U wrote:
> 
> hi
> 
> is it possible to speed up port make ??
> i want to install openbox and xorg on a Pentium 4 and 2gb ram,
> compiling xorg takes about 2 hours

That's a fully normal make time on such a system. I've been
experiencing it on FreeBSD 5 and 7 (with ATA disks and 768 MB
SDR-SDRAM).

There is no real way to speed it up, except to replace the hard
disk with a SSD. But that's only for I/O, not for compiling itself.
You also won't benefit from using the -j parameter (maximum number
of jobs), because the P4 does not seem to support it.

There's not much you can do to improve the system performance.
You _can_ few things to streamline the system, but that won't
be a _significant_ change.

Plan your builds to take place when you don't use the system
interactively, or use the "nice" command to give building a lower
priority. It will last longer, but can be run in the background
without noticing it.

Don't complain about build times until you compile world and
kernel on a 150 MHz Pentium 1 with 64 MB RAM. :-)


To give you some impressions of real-work build times, see those
examples:

FreeBSD 5, 500 MHz P2 system:
# make buildkernel KERNCONF
1:11
# make buildworld
3:54

FreeBSD 5, 2 GHz P4 system:
# make buildworld buildkernel
2:13
# make buildworld
1:58
# make buildkernel KERNCONF=*
0:25
# make installkernel KERNCONF=*
30s

On the same system:

A portupgrade of XFree86 server:
2:12
And mplayer including nearly all options:
1:19

FreeBSD 7, 2 GHz P4 system:
# make buildkernel KERNCONF=*
1:05
# make buildworld
3:54


Even worse:

# time make buildkernel KERNCONF=* -D USBDEBUG
18232.967u 2427.404s 7:19:49.24 78.2%   391+379k 47250+5754io 3049pf+0w

# time make buildworld buildkernel KERNCONF=*
18992.839u 2569.146s 9:12:00.28 65.1%   927+762k 25593+6358io 2506pf+0w

(No idea how I got _that_ time!)

# time make buildworld buildkernel KERNCONF=*
17272.243u 2294.595s 6:01:33.44 90.1%   24+204k 34888+6367io 2911pf+0w
18541.285u 2596.192s 6:19:33.55 92.8%   498+327k 31247+7302io 3034pf+0w
19725.009u 2882.355s 7:39:11.57 82.0%   -875+548k 44987+6963io 2950pf+0w



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: FreeBSD Stable production version.

2012-07-25 Thread Paul Macdonald

On 25/07/2012 13:13, Jerry wrote:

On Wed, 25 Jul 2012 13:19:53 +0200
Damien Fleuriot articulated:


I'd say it's a matter of personal preference.

We're mostly running 8.3 in production here.

I've recently installed 9-STABLE servers to try them out and fill PRs
if I get problems.

I would encourage you to use 9-STABLE so that you may do the same and
ensure the stability of future releases.

I would agree with that philosophy up to a point. It is definitely a
matter of personal preference; however, for myself, I NEVER install
version X.0 of any software if said software is to be used in a mission
critical situation. I always wait until X.1 is released. If possible in
your case, would it be feasible to wait until 9.1 is released? You
can gather some info on it here:
. As usual, any
correlation between the expected release date and the actual date is
purely coincidental. Just my 2¢ on the matter.



not disagreeing per se..but just a reminder that with the excellent 
freebsd-update you get updates to 9.0 quickly ( i hadn't realised there 
was 61 already)


from a new install earlier tonight

Inspecting system... done.
Preparing to download files... done.
Fetching 61 patches.102030405060 done.

Paul.



___
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: how to speed up port make??

2012-07-25 Thread Lowell Gilbert
Robert Huff  writes:

> Mr U writes:
>
>>  is it possible to speed up port make ??
>>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
>>  compiling xorg takes about 2 hours
>
>   Humorous answer:
>   Yes - get a more powerful computer.

or even just build on a more powerful computer...
___
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: how to speed up port make??

2012-07-25 Thread Robert Huff

Anton Shterenlikht writes:

>   >>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
>   >>  compiling xorg takes about 2 hours
>  
>  2 hours only??
>  
>  Try lang/gcc46 or 47
>  or science/paraview

 I beiieve the winner is OpenOffice and its kindred;
still compiling after 2.75 hours on 4x3ghz and 8gbytes memory.  The
various Javas also take a while 


Robert Huff

___
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: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
25.07.2012 18:16, ill...@gmail.com wrote:
> On 25 July 2012 07:55, Владислав Продан  wrote:
>>
>>
>> CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
>> CPU)
>>   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 
>> 2
>>
>> # kldstat -v | grep temp
>> 319 cpu/coretemp
>> 311 hostb/amdtemp
>>
>>
> 
> % sysctl dev.amdtemp
> &
> % sysctl hw.acpi.thermal
> & the other stuff is probably best extracted via:
> % sysctl dev.cpu | grep temperature
> (as you can't use wildcards in sysctl oids, bleh)
> 
> For my dual core machine, I use:
> % sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \
> dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature
> 
> in a script to quickly see all of my temperature sensors.  You likely have
> many more.
> 

Thanks for the tips! But I have already tried these commands.
With 2,4,6-core temperature is displayed, but with 8 cores is not :(
Probably will have to arrange PR ...


-- 
Vladislav V. Prodan
System & Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
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: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot

On 25 Jul 2012, at 18:15, jb  wrote:

> Damien Fleuriot  my.gd> writes:
> 
>> ... 
>>> From my syslog.conf:
>> auth.info;authpriv.info /var/log/auth.log
>> 
>> Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even
>> in secure
>> ... 
> 
> # less /var/log/auth.log 
> Feb 22 21:13:56 localhost newsyslog[1503]: logfile first created
> Feb 22 21:14:07 localhost login: login on ttyv0 as jb
> Feb 22 21:14:15 localhost su: jb to root on /dev/ttyv0
> ...
> Jul 25 15:23:48 localhost su: jb to root on /dev/pts/3
> Jul 25 17:25:05 localhost snoopy[50059]: [uid:0 sid:45449 tty:/dev/pts/2
> cwd:/usr/ports/security/snoopy filename:/usr/bin/touch]: touch 
> /etc/ld.so.preload 
> Jul 25 17:25:05 localhost snoopy[50060]: [uid:0 sid:45449 tty:/dev/pts/2
> cwd:/usr/ports/security/snoopy filename:/usr/bin/grep]: grep -c
> ^/usr/local/lib//snoopy.so /etc/ld.so.preload 
> Jul 25 17:52:29 localhost snoopy[50145]: [uid:0 sid:46687 tty:/dev/pts/3
> cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log 
> Jul 25 17:54:03 localhost snoopy[50148]: [uid:0 sid:46687 tty:/dev/pts/3
> cwd:/usr/home/jb filename:/usr/bin/touch]: touch test1 
> Jul 25 17:54:08 localhost snoopy[50149]: [uid:0 sid:46687 tty:/dev/pts/3
> cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log 
> [root@localhost /home/jb]#
> 
> jb
> 

Thanks for taking the time to show me it works, at least for you.

What fbsd and snoopy version might these be ?

___
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: how to speed up port make??

2012-07-25 Thread Kevin Kinsey
On Wed, Jul 25, 2012 at 08:11:50PM +0100, Anton Shterenlikht wrote:
> 
>   >>  is it possible to speed up port make ??
>   >>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
>   >>  compiling xorg takes about 2 hours
> 
> 2 hours only??
> 
> Try lang/gcc46 or 47
> or science/paraview
> 
> This will keep your electronic helper busy
> for a day.

It's also rather obvious that he never did this on a P1 at 90Mhz.

KDK
___
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: geli - selecting cipher

2012-07-25 Thread Michael Sierchio
On Wed, Jul 25, 2012 at 11:57 AM, Wojciech Puchar
 wrote:
> i need high speed disk encryption (many disks running in parallel, lots of

> I'm not cryptography expert, is CBC somehow "less secure", and if so is it
> really a problem?

XTS-AES is a standard devised specifically for disk encryption - it
supports operations on sectors that aren't divisible by the cipher
block size.

See  
http://en.wikipedia.org/wiki/Disk_encryption_theory#XEX-based_tweaked-codebook_mode_with_ciphertext_stealing_.28XTS.29

I personally would be fine with AES-CTR mode, since I don't see the
need to defend against the mythical "strong" adversary who can write
arbitrary bits to unused sectors and then ask to have them decrypted.
AES-CTR doesn't (by itself) have any integrity check.

AES-CBC is fine, but the ciphertext is larger than the plaintext.

- M
___
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: how to speed up port make??

2012-07-25 Thread Anton Shterenlikht

>>  is it possible to speed up port make ??
>>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
>>  compiling xorg takes about 2 hours

2 hours only??

Try lang/gcc46 or 47
or science/paraview

This will keep your electronic helper busy
for a day.
___
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"


geli - selecting cipher

2012-07-25 Thread Wojciech Puchar
i need high speed disk encryption (many disks running in parallel, lots of 
data movement). i have processor with AES-NI.


geli give 150MB/s performance (tested from/to md ramdisk) using default 
and recommended AES-XTS


and ca 400MB/s read and 700MB/s write using AES-CBC.

I'm not cryptography expert, is CBC somehow "less secure", and if so is it 
really a problem?

___
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: FreeBSD Stable production version.

2012-07-25 Thread Wojciech Puchar


I finally decided to take off my FreeBSD 7.2 server which is onlin esince 2009.

I will go for a new FreeBSD version and will move out all data.

you mean just new freebsd or new server? if first there is no need to move 
data at all



Which version do you recommend?
Shall I go for 9 ?
or 8.3 is still more fit for a production and bsns server ?

i use 8.3

___
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: how to speed up port make??

2012-07-25 Thread Wojciech Puchar

 is it possible to speed up port make ??
 i want to install openbox and xorg on a Pentium 4 and 2gb ram,
 compiling xorg takes about 2 hours


Humorous answer:
Yes - get a more powerful computer.


Robert Huff


real answer - get binary packages.
___
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: Securituy - logging of user commands

2012-07-25 Thread jb
Damien Fleuriot  my.gd> writes:

> ... 
> >From my syslog.conf:
> auth.info;authpriv.info /var/log/auth.log
> 
> Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even
> in secure
> ... 

# less /var/log/auth.log 
Feb 22 21:13:56 localhost newsyslog[1503]: logfile first created
Feb 22 21:14:07 localhost login: login on ttyv0 as jb
Feb 22 21:14:15 localhost su: jb to root on /dev/ttyv0
...
Jul 25 15:23:48 localhost su: jb to root on /dev/pts/3
Jul 25 17:25:05 localhost snoopy[50059]: [uid:0 sid:45449 tty:/dev/pts/2
cwd:/usr/ports/security/snoopy filename:/usr/bin/touch]: touch 
/etc/ld.so.preload 
Jul 25 17:25:05 localhost snoopy[50060]: [uid:0 sid:45449 tty:/dev/pts/2
cwd:/usr/ports/security/snoopy filename:/usr/bin/grep]: grep -c
^/usr/local/lib//snoopy.so /etc/ld.so.preload 
Jul 25 17:52:29 localhost snoopy[50145]: [uid:0 sid:46687 tty:/dev/pts/3
cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log 
Jul 25 17:54:03 localhost snoopy[50148]: [uid:0 sid:46687 tty:/dev/pts/3
cwd:/usr/home/jb filename:/usr/bin/touch]: touch test1 
Jul 25 17:54:08 localhost snoopy[50149]: [uid:0 sid:46687 tty:/dev/pts/3
cwd:/usr/home/jb filename:/usr/bin/less]: less /var/log/auth.log 
[root@localhost /home/jb]#

jb


___
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: how to speed up port make??

2012-07-25 Thread Brian W.
You could use pkg_add -r xorg to get it and all of its dependencies
installed. I usually use that, in combination with ccache to speed up
compiles called by portupgrade.

Brian
On Jul 25, 2012 8:38 AM, "Mr U"  wrote:

>
> hi
>
> is it possible to speed up port make ??
> i want to install openbox and xorg on a Pentium 4 and 2gb ram,
> compiling xorg takes about 2 hours
>
> thank you all
> mru
>
> Sent from Yahoo! Mail on Android
>
> ___
> 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"
>
___
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"


how to speed up port make??

2012-07-25 Thread Robert Huff

Mr U writes:

>  is it possible to speed up port make ??
>  i want to install openbox and xorg on a Pentium 4 and 2gb ram,
>  compiling xorg takes about 2 hours

Humorous answer:
Yes - get a more powerful computer.


Robert Huff

___
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"


mail(1) save command does not work as in the man page

2012-07-25 Thread Anton Shterenlikht
According to the man mail(1):

 save(s) Takes a message list and a filename and appends each message
 in turn to the end of the file.  The filename in quotes, followed
 by the line count and character count is echoed on the user's
 terminal.

However, it seems the mail is copied, but not
deleted on exit:

$ mail -f mbox
Mail version 8.1 6/6/93.  Type ? for help.
"mbox": 1 message
>   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
& s 1 somefile   
"somefile" [New file]
& h
>*  1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
& q

$ mail -f somefile 
Mail version 8.1 6/6/93.  Type ? for help.
"somefile": 1 message
>   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
& q

So the mail was copied to  file, as expected.
However, it's still in mbox file too:

$ mail -f mbox 
Mail version 8.1 6/6/93.  Type ? for help.
"mbox": 1 message
>   1 me...@bristol.ac.uk   Wed Jul 25 16:36  46/2045  "kuku"
& q
$ 

This shouldn't happen. According to the man page
the expected behaviour is that message 1 should
be deleted from mbox on quit.

Any comments?

___
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"


how to speed up port make??

2012-07-25 Thread Mr U

hi

is it possible to speed up port make ??
i want to install openbox and xorg on a Pentium 4 and 2gb ram,
compiling xorg takes about 2 hours

thank you all
mru 

Sent from Yahoo! Mail on Android

___
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: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Erich Dollansky
Hi

On Wed, 25 Jul 2012 20:21:04 +0530
Manish Jain  wrote:
> On 25-Jul-12 18:53, Erich Dollansky wrote:
> > On Tue, 24 Jul 2012 14:29:07 +0530
> > Manish Jain  wrote:
> >> On 23-Jul-12 16:07, Erich Dollansky wrote:
> >>> On Monday 23 July 2012 16:46:04 Manish Jain wrote:
>  On 21-Jul-12 19:06, Matthias Apitz wrote:
> > El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
> > Jain escribió:
> 
> I tried switching the USB ports and have some information which could 
> help you to help me :
> 
> usbconfig -u 0 -a 2 dump_device_desc :
> ugen0.2:  at usbus0, cfg=0 md=HOST 
> spd=FULL (12Mbps) pwr=ON
> 
>bLength = 0x0012
>bDescriptorType = 0x0001
>bcdUSB = 0x0110
>bDeviceClass = 0x
>bDeviceSubClass = 0x
>bDeviceProtocol = 0x
>bMaxPacketSize0 = 0x0040
>idVendor = 0x12d1
>idProduct = 0x140b

This is strange. src/sys/dev/usb/usbdevs says this:

product HUAWEI E140B0x140b  3G modem

This means that your product is supported

Is this line in your usbdevs?

> Now what should my devfs.conf contain ? Currently it contains the 
> following :

Mine is empty. Comment all entries out. This might be the problem.
> 
> link cuaU0.0 modem
> own modem root:operator
> perm modem 666
> 
> link ugen0.3 usv
> own usv root:operator
> perm usv 666
> 
> link cuaU0.1 apcups
> own apcups root:operator
> perm apcups 666
> 
> Obviously, these entries are incorrect since neither my modem speaks
> to the internet nor is any signal from the APC UPS recognized. I
> believe once I have the correct devfs entries, the whole system
> should work smoothly. But please correct me if I am wrong.
> 
> Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b
> or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig 
> configure the devices correctly ? I am no expert here, so if yes, I 
> would need the complete commands.
> 
What version of FreeBSD are you using?

> Thanks for any help. I am greatly indebted to FreeBSD and its
> philosophy making things 'as simple as possible, but not any simpler'
> - which has helped me learn a great deal about computers in general
> and managing my own computer in particular. But the USB related stuff
> still beats the hell out of me, so I need help here.

There is something very, very simple wrong. I just do not see now what
it is.

I have the feeling that your modem is not recognised while it should be
as it is known to FreeBSD.
> 
> BTW, my system now has the usbdump command (installed from sources 
> downloaded from http://biot.com/usbdump/) but no manpage.
> 
You got then a Linux version which might causes more problems that you
need.

Erich
___
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: how to determine the temperature of your CPU?

2012-07-25 Thread ill...@gmail.com
On 25 July 2012 07:55, Владислав Продан  wrote:
>
>
> CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
> CPU)
>   Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 2
>
> # kldstat -v | grep temp
> 319 cpu/coretemp
> 311 hostb/amdtemp
>
>

% sysctl dev.amdtemp
&
% sysctl hw.acpi.thermal
& the other stuff is probably best extracted via:
% sysctl dev.cpu | grep temperature
(as you can't use wildcards in sysctl oids, bleh)

For my dual core machine, I use:
% sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \
dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature

in a script to quickly see all of my temperature sensors.  You likely have
many more.

-- 
--
___
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: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Manish Jain

On 25-Jul-12 18:53, Erich Dollansky wrote:

Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain  wrote:


On 23-Jul-12 16:07, Erich Dollansky wrote:

Hi,

On Monday 23 July 2012 16:46:04 Manish Jain wrote:

On 21-Jul-12 19:06, Matthias Apitz wrote:

El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
Jain escribió:




I am still stuck because I can't know the syntax to run usbdump.
usbdump


man usbdump

usbconfig gives you the device numbers.


I got something wrong.

It is all done by usbconfig

usbconfig without any parameters gives you a list of devices. One entry
should look like this:

ugen0.4:  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

You enter then

usbconfig -u 0 -a 4 dump_device_desc

and you should get something like this:

ugen0.4:  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x12d1
   idProduct = 0x1803
   bcdDevice = 0x
   iManufacturer = 0x0003
   iProduct = 0x0002
   iSerialNumber = 0x
   bNumConfigurations = 0x0001

You try to find a solution from the other side of the rope. I think we
better start here first.

Erich




Hi,

Thanks for your reply.

I tried switching the USB ports and have some information which could 
help you to help me :


usbconfig -u 0 -a 2 dump_device_desc :
ugen0.2:  at usbus0, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x140b
  bcdDevice = 0x
  iManufacturer = 0x0001  
  iProduct = 0x0002  
  iSerialNumber = 0x0004  <>
  bNumConfigurations = 0x0001

usbconfig -u 0 -a 3 dump_device_desc :
ugen0.3: Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x051d
  idProduct = 0x0002
  bcdDevice = 0x0006
  iManufacturer = 0x0003  
  iProduct = 0x0001  
  iSerialNumber = 0x0002  
  bNumConfigurations = 0x0001

Now what should my devfs.conf contain ? Currently it contains the 
following :


link cuaU0.0 modem
own modem root:operator
perm modem 666

link ugen0.3 usv
own usv root:operator
perm usv 666

link cuaU0.1 apcups
own apcups root:operator
perm apcups 666

Obviously, these entries are incorrect since neither my modem speaks to 
the internet nor is any signal from the APC UPS recognized. I believe 
once I have the correct devfs entries, the whole system should work 
smoothly. But please correct me if I am wrong.


Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b or 
051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig 
configure the devices correctly ? I am no expert here, so if yes, I 
would need the complete commands.


Thanks for any help. I am greatly indebted to FreeBSD and its philosophy 
making things 'as simple as possible, but not any simpler' - which has 
helped me learn a great deal about computers in general and managing my 
own computer in particular. But the USB related stuff still beats the 
hell out of me, so I need help here.


BTW, my system now has the usbdump command (installed from sources 
downloaded from http://biot.com/usbdump/) but no manpage.



Thanks again &
--
Regards,

Manish Jain
+91-99620-10329
___
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: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Matthias Apitz
El día Wednesday, July 25, 2012 a las 08:23:57PM +0700, Erich Dollansky 
escribió:

> You enter then
> 
> usbconfig -u 0 -a 4 dump_device_desc
> 
> and you should get something like this:
> 
> ugen0.4:  at usbus0,
> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
> 
>   bLength = 0x0012 
>   bDescriptorType = 0x0001 
>   bcdUSB = 0x0200 
>   bDeviceClass = 0x 
>   bDeviceSubClass = 0x 
>   bDeviceProtocol = 0x 
>   bMaxPacketSize0 = 0x0040 
>   idVendor = 0x12d1 
>   idProduct = 0x1803 
>   bcdDevice = 0x 
>   iManufacturer = 0x0003  
>   iProduct = 0x0002  
>   iSerialNumber = 0x  
>   bNumConfigurations = 0x0001 
> 
> You try to find a solution from the other side of the rope. I think we
> better start here first.

Yep, I said this already: before there is no modem /dev/ device
which belongs to the Huawei device and produced by u3g, and before one
can not talk with AT cmds (for example with kermit), it makes no
real sense to think in ppp and fire up ppp;

matthias
-- 
Matthias Apitz
e  - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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: Support

2012-07-25 Thread Lowell Gilbert
Andy  writes:

> I was trying to install the free bsd to my mac computer its an ibook
> g3 with a 20gb hard dive i was using the powerpc version and it was
> working fine then i got to the part were you have to set up the hard
> drive i got some kind of err so i turned off my computer when i turned
> it back on it only boots to a white screen idk what to do please help

Are you booting from a CD for the install?
Does anything at all show up on the screen?
___
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: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot

On 7/25/12 3:41 PM, Victor Sudakov wrote:
> Peter Boosten wrote:
>> Have you ever considered the audit function of FreeBSD?
> 
> Does it really log user commands? At best, it logs executed processes.
> 

>From the handbook, it seems to be able to log executed commands and even
arguments.

That would suit the need.


I've tried a bit, alas I'm afraid that for some reason, it won't log my
commands as a user...

I have to try a bit harder.



Either way and back on topic, I'm concerned that the security/snoopy/
port might be broken.

I have not yet seen a reply mentioning success, and have had none on my
side on 8.1-RELEASE (admittedly, I could try on a more up-to-date system).
___
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: Securituy - logging of user commands

2012-07-25 Thread Victor Sudakov
Peter Boosten wrote:
> Have you ever considered the audit function of FreeBSD?

Does it really log user commands? At best, it logs executed processes.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Erich Dollansky
Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain  wrote:

> On 23-Jul-12 16:07, Erich Dollansky wrote:
> > Hi,
> >
> > On Monday 23 July 2012 16:46:04 Manish Jain wrote:
> >> On 21-Jul-12 19:06, Matthias Apitz wrote:
> >>> El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
> >>> Jain escribió:
> >>>
> >
> >> I am still stuck because I can't know the syntax to run usbdump.
> >> usbdump
> >
> > man usbdump
> >
> > usbconfig gives you the device numbers.

I got something wrong.

It is all done by usbconfig

usbconfig without any parameters gives you a list of devices. One entry
should look like this:

ugen0.4:  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

You enter then

usbconfig -u 0 -a 4 dump_device_desc

and you should get something like this:

ugen0.4:  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x12d1 
  idProduct = 0x1803 
  bcdDevice = 0x 
  iManufacturer = 0x0003  
  iProduct = 0x0002  
  iSerialNumber = 0x  
  bNumConfigurations = 0x0001 

You try to find a solution from the other side of the rope. I think we
better start here first.

Erich
___
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: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot

On 7/25/12 2:42 PM, jb wrote:
> Damien Fleuriot  my.gd> writes:
> 
>> ... 
>> I notice it also exists on FreeBSD as /usr/ports/security/snoopy .
>>
>> However I face several problems with it, mainly it doesn't seem to log
>> anything.
>>
>> As per the README, I have added "/usr/local/lib/snoopy.so" to
>> /etc/ld.so.preload
>>
>> I'm not even sure this file is used on BSD ?
>> ...
> 
> /usr/ports/security/snoopy]# make clean; make
> ...
> # ls work/snoopy-1.8.0/
> ...
> enable.sh
> ...
> 
> jb
> 


Well that's my problem exactly, really.

1/ the enable script won't work and will always return an error,
requiring a manual activation
2/ even once enabled, snoopy doesn't get loaded because
/etc/ld.so.preload is not used on FBSD apparently
3/ even when enabled with "setenv LD_PRELOAD /usr/local/lib/snoopy.so",
snoopy won't return any log



>From config.h:
/* Syslog facility to use */
#define SNOOPY_SYSLOG_FACILITY LOG_AUTHPRIV

/* Syslog level to use */
#define SNOOPY_SYSLOG_LEVEL LOG_INFO


>From my syslog.conf:
auth.info;authpriv.info /var/log/auth.log

Yet I'm seeing not a trail in /var/log/auth.log , or messages, or even
in secure


I have however validated that snoopy.so is called, as per the following:

# truss ls /dev/null
[snip]
open("/usr/local/lib/snoopy.so",O_RDONLY,031)= 2 (0x2)
fstat(2,{ mode=-r-xr-xr-x ,inode=548761,size=6952,blksize=16384 }) = 0 (0x0)
fstatfs(0x2,0x7fffe220,0x19,0x0,0x80080053a068,0x0) = 0 (0x0)
pread(0x2,0x80063e2a0,0x1000,0x0,0x80080053a068,0x0) = 4096 (0x1000)
mmap(0x0,1056768,PROT_NONE,MAP_PRIVATE|MAP_ANON|MAP_NOCORE,-1,0x0) =
34366341120 (0x80064c000)
mmap(0x80064c000,8192,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE,2,0x0)
= 34366341120 (0x80064c000)
mmap(0x80074d000,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED,2,0x1000)
= 34367393792 (0x80074d000)
close(2) = 0 (0x0)


And still no logs...
___
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: FreeBSD Stable production version.

2012-07-25 Thread Jakub Lach
8.3 or 9.1.

Using 9.0 when 9.1 is behind the corner
is going backwards IMHO.

or 9-STABLE if you want your system
evolving up to release, which is nice 
because you can catch and solve all
possible problems one at the time, 
and not be overwhelmed upgrading
only to RELEASE.



--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/FreeBSD-Stable-production-version-tp5729696p5729739.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
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: help about free bsp version netcat to work it on ubuntu

2012-07-25 Thread Chad Perrin
On Tue, Jul 24, 2012 at 07:18:13PM +0800, lei yang wrote:
> 
> Aha,I just want to learn want to know how to build the netcat for
> freebsd version on a no-freebsd platform

I'm really curious, now:

Why?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
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: FreeBSD Stable production version.

2012-07-25 Thread Erich Dollansky
Hi,

On Wed, 25 Jul 2012 13:19:53 +0200
Damien Fleuriot  wrote:

> On 7/25/12 1:13 PM, Marwan Sultan wrote:
> > 
> > Hello all and Good Morning, Afternoon or evening :)
> >  
> >  I finally decided to take off my FreeBSD 7.2 server which is onlin
> > esince 2009. 
> >  I will go for a new FreeBSD version and will move out all data.
> >  
> >  My Server is mainly is a MAIL server, sendmail.
> >  and ofcourse few websites, data.etc..
> >  
> >  Which version do you recommend? 
> >  Shall I go for 9 ?
> >  or 8.3 is still more fit for a production and bsns server ?
> >  
> 
> 
> I'd say it's a matter of personal preference.
> 
> We're mostly running 8.3 in production here.
> 
I do not wonder. This is the best choice.

But I must say that I moved my machines now all to 10 and I am
surprised how robust it already is.

If robustness is the main concern, I would still recommend 8.x.

Erich
___
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: Securituy - logging of user commands

2012-07-25 Thread jb
Damien Fleuriot  my.gd> writes:

> ... 
> I notice it also exists on FreeBSD as /usr/ports/security/snoopy .
> 
> However I face several problems with it, mainly it doesn't seem to log
> anything.
> 
> As per the README, I have added "/usr/local/lib/snoopy.so" to
> /etc/ld.so.preload
> 
> I'm not even sure this file is used on BSD ?
> ...

/usr/ports/security/snoopy]# make clean; make
...
# ls work/snoopy-1.8.0/
...
enable.sh
...

jb

  


___
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: FreeBSD Stable production version.

2012-07-25 Thread Odhiambo Washington
On Wed, Jul 25, 2012 at 3:24 PM, Marwan Sultan wrote:

>
> Well, I also like your philosophy of waiting x.1 !
> its a very good point.
>
> Maybe 8.3-R would be the best.
>
> I will wait to hear more comments.
>
>
For cowards, yes!

Whoever said that -RELEASE is bad is a joker, too.

Now, what the hell do you think can go so wrong on a Mail server running
Sendmail and Apache?

Network stack??



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
___
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: FreeBSD Stable production version.

2012-07-25 Thread Damien Fleuriot
While I participate in this philosophy, a very good point was made on
this list that if everyone waits for x.1 , then x.1 will just be riddled
with all the bugs that nobody (or only a select few) found in x.0

That is the point that decided me to get 9-STABLE for 2 of our new
firewall boxes.


On 7/25/12 2:24 PM, Marwan Sultan wrote:
> 
> Well, I also like your philosophy of waiting x.1 !
> its a very good point.
>  
> Maybe 8.3-R would be the best.
>  
> I will wait to hear more comments.
>  
> 
>> Date: Wed, 25 Jul 2012 08:13:28 -0400
>> From: je...@seibercom.net
>> To: freebsd-questions@freebsd.org
>> Subject: Re: FreeBSD Stable production version.
>>
>> On Wed, 25 Jul 2012 13:19:53 +0200
>> Damien Fleuriot articulated:
>>
>>> I'd say it's a matter of personal preference.
>>>
>>> We're mostly running 8.3 in production here.
>>>
>>> I've recently installed 9-STABLE servers to try them out and fill PRs
>>> if I get problems.
>>>
>>> I would encourage you to use 9-STABLE so that you may do the same and
>>> ensure the stability of future releases.
>>
>> I would agree with that philosophy up to a point. It is definitely a
>> matter of personal preference; however, for myself, I NEVER install
>> version X.0 of any software if said software is to be used in a mission
>> critical situation. I always wait until X.1 is released. If possible in
>> your case, would it be feasible to wait until 9.1 is released? You
>> can gather some info on it here:
>> . As usual, any
>> correlation between the expected release date and the actual date is
>> purely coincidental. Just my 2¢ on the matter.
>>
>> -- 
>> Jerry ♔
>>
>> Disclaimer: off-list followups get on-list replies or get ignored.
>> Please do not ignore the Reply-To header.
>> __
>> If you steal from one author it's plagiarism; if you steal from
>> many it's research.
>>
>> Wilson Mizner
> 
> 
> 
> 
> ___
> 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"
> 
___
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: Securituy - logging of user commands

2012-07-25 Thread Peter Boosten
Have you ever considered the audit function of FreeBSD?


Peter Boosten

On 25 jul. 2012, at 13:47, Damien Fleuriot  wrote:

> Hello list,
> 
> 
> 
> We're currently working towards the PCI DSS certification (Payment Card
> Industry) for a project at work.
> 
> 
> One of the prerequisites is that all user commands be logged.
> 
> We're currently using a very bad hack that takes the last command from a
> user's history and sends it to a log server.
> 
> This of course is unreliable as a user may entirely disable their
> history, or just use another shell to bypass the csh function or whatever.
> 
> 
> 
> My colleagues installed Snoopy on debian and it seems to work wonders as
> a module which is LD preloaded.
> 
> 
> I notice it also exists on FreeBSD as /usr/ports/security/snoopy .
> 
> 
> However I face several problems with it, mainly it doesn't seem to log
> anything.
> 
> 
> 
> As per the README, I have added "/usr/local/lib/snoopy.so" to
> /etc/ld.so.preload
> 
> I'm not even sure this file is used on BSD ?
> 
> As per the man page for ld.so there's no such file:
> http://www.freebsd.org/cgi/man.cgi?query=ld.so
> 
> Neither libmap.conf nor ldconfig(8) seem to be the answer either.
> 
> 
> 
> I've googled for ld.so.conf and found the following 2 posts which seem
> to indicate it isn't used either:
> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html
> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html
> 
> The posts mention -current but date back from 2003.
> 
> 
> 
> Lastly, I have also noticed that the port installs /usr/local/bin/detect
> which I executed and would always reply "something's fishy".
> 
> By looking at the (very short) source I noticed the program merely loads
> /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with
> /lib/libc.so.7).
> Adjusting and recompiling lets the program correctly print "secure" but
> it does nothing else.
> 
> I have checked that the output /usr/local/lib/snoopy.so module is linked
> against libc.so.7 , and it is.
> 
> 
> 
> Has anyone ever got Snoopy to work on BSD ?
> Might I need to install linux emulation ?
> 
> Is there any other port that might do the job and which I could use ?
> ___
> 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"
___
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: FreeBSD Stable production version.

2012-07-25 Thread Marwan Sultan

Well, I also like your philosophy of waiting x.1 !
its a very good point.
 
Maybe 8.3-R would be the best.
 
I will wait to hear more comments.
 

> Date: Wed, 25 Jul 2012 08:13:28 -0400
> From: je...@seibercom.net
> To: freebsd-questions@freebsd.org
> Subject: Re: FreeBSD Stable production version.
> 
> On Wed, 25 Jul 2012 13:19:53 +0200
> Damien Fleuriot articulated:
> 
> > I'd say it's a matter of personal preference.
> > 
> > We're mostly running 8.3 in production here.
> > 
> > I've recently installed 9-STABLE servers to try them out and fill PRs
> > if I get problems.
> > 
> > I would encourage you to use 9-STABLE so that you may do the same and
> > ensure the stability of future releases.
> 
> I would agree with that philosophy up to a point. It is definitely a
> matter of personal preference; however, for myself, I NEVER install
> version X.0 of any software if said software is to be used in a mission
> critical situation. I always wait until X.1 is released. If possible in
> your case, would it be feasible to wait until 9.1 is released? You
> can gather some info on it here:
> . As usual, any
> correlation between the expected release date and the actual date is
> purely coincidental. Just my 2¢ on the matter.
> 
> -- 
> Jerry ♔
> 
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
> If you steal from one author it's plagiarism; if you steal from
> many it's research.
> 
> Wilson Mizner
  ___
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: FreeBSD Stable production version.

2012-07-25 Thread Jerry
On Wed, 25 Jul 2012 13:19:53 +0200
Damien Fleuriot articulated:

> I'd say it's a matter of personal preference.
> 
> We're mostly running 8.3 in production here.
> 
> I've recently installed 9-STABLE servers to try them out and fill PRs
> if I get problems.
> 
> I would encourage you to use 9-STABLE so that you may do the same and
> ensure the stability of future releases.

I would agree with that philosophy up to a point. It is definitely a
matter of personal preference; however, for myself, I NEVER install
version X.0 of any software if said software is to be used in a mission
critical situation. I always wait until X.1 is released. If possible in
your case, would it be feasible to wait until 9.1 is released? You
can gather some info on it here:
. As usual, any
correlation between the expected release date and the actual date is
purely coincidental. Just my 2¢ on the matter.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
If you steal from one author it's plagiarism; if you steal from
many it's research.

Wilson Mizner


signature.asc
Description: PGP signature


Re: Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
No I haven't.

That's a good suggestion, I'll look into it and see if it fits the
purpose :)


On 7/25/12 2:04 PM, Peter Boosten wrote:
> Have you ever considered the audit function of FreeBSD?
> 
> 
> Peter Boosten
> 
> On 25 jul. 2012, at 13:47, Damien Fleuriot  wrote:
> 
>> Hello list,
>>
>>
>>
>> We're currently working towards the PCI DSS certification (Payment Card
>> Industry) for a project at work.
>>
>>
>> One of the prerequisites is that all user commands be logged.
>>
>> We're currently using a very bad hack that takes the last command from a
>> user's history and sends it to a log server.
>>
>> This of course is unreliable as a user may entirely disable their
>> history, or just use another shell to bypass the csh function or whatever.
>>
>>
>>
>> My colleagues installed Snoopy on debian and it seems to work wonders as
>> a module which is LD preloaded.
>>
>>
>> I notice it also exists on FreeBSD as /usr/ports/security/snoopy .
>>
>>
>> However I face several problems with it, mainly it doesn't seem to log
>> anything.
>>
>>
>>
>> As per the README, I have added "/usr/local/lib/snoopy.so" to
>> /etc/ld.so.preload
>>
>> I'm not even sure this file is used on BSD ?
>>
>> As per the man page for ld.so there's no such file:
>> http://www.freebsd.org/cgi/man.cgi?query=ld.so
>>
>> Neither libmap.conf nor ldconfig(8) seem to be the answer either.
>>
>>
>>
>> I've googled for ld.so.conf and found the following 2 posts which seem
>> to indicate it isn't used either:
>> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html
>> http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html
>>
>> The posts mention -current but date back from 2003.
>>
>>
>>
>> Lastly, I have also noticed that the port installs /usr/local/bin/detect
>> which I executed and would always reply "something's fishy".
>>
>> By looking at the (very short) source I noticed the program merely loads
>> /lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with
>> /lib/libc.so.7).
>> Adjusting and recompiling lets the program correctly print "secure" but
>> it does nothing else.
>>
>> I have checked that the output /usr/local/lib/snoopy.so module is linked
>> against libc.so.7 , and it is.
>>
>>
>>
>> Has anyone ever got Snoopy to work on BSD ?
>> Might I need to install linux emulation ?
>>
>> Is there any other port that might do the job and which I could use ?
>> ___
>> 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"
___
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"


Securituy - logging of user commands

2012-07-25 Thread Damien Fleuriot
Hello list,



We're currently working towards the PCI DSS certification (Payment Card
Industry) for a project at work.


One of the prerequisites is that all user commands be logged.

We're currently using a very bad hack that takes the last command from a
user's history and sends it to a log server.

This of course is unreliable as a user may entirely disable their
history, or just use another shell to bypass the csh function or whatever.



My colleagues installed Snoopy on debian and it seems to work wonders as
a module which is LD preloaded.


I notice it also exists on FreeBSD as /usr/ports/security/snoopy .


However I face several problems with it, mainly it doesn't seem to log
anything.



As per the README, I have added "/usr/local/lib/snoopy.so" to
/etc/ld.so.preload

I'm not even sure this file is used on BSD ?

As per the man page for ld.so there's no such file:
http://www.freebsd.org/cgi/man.cgi?query=ld.so

Neither libmap.conf nor ldconfig(8) seem to be the answer either.



I've googled for ld.so.conf and found the following 2 posts which seem
to indicate it isn't used either:
http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html
http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001747.html

The posts mention -current but date back from 2003.



Lastly, I have also noticed that the port installs /usr/local/bin/detect
which I executed and would always reply "something's fishy".

By looking at the (very short) source I noticed the program merely loads
/lib/libc.so.6 , and it wouldn't find it on my system (8.3-STABLE with
/lib/libc.so.7).
Adjusting and recompiling lets the program correctly print "secure" but
it does nothing else.

I have checked that the output /usr/local/lib/snoopy.so module is linked
against libc.so.7 , and it is.



Has anyone ever got Snoopy to work on BSD ?
Might I need to install linux emulation ?

Is there any other port that might do the job and which I could use ?
___
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: Removing sendmail from an installed system

2012-07-25 Thread Fbsd8

Lowell Gilbert wrote:

Darren Pilgrim  writes:


I'm removing sendmail entirely from an installed system.  I had
WITHOUT_SENDMAIL in /etc/src.conf when I updated to RELENG_8_3, but
that left an old version of sendmail rotting away on disk.  This is
the list I have so far:

/etc/mail/* (excluding mailer.conf)
/etc/rc.d/sendmail
/usr/bin/vacation
/usr/libexec/mail.local
/usr/libexec/sendmail
/usr/libexec/smrsh
/usr/sbin/editmap
/usr/sbin/mailstats
/usr/sbin/makemap
/usr/sbin/praliases
/usr/share/sendmail
/var/spool/clientmqueue
/var/spool/mqueue

Is this list complete?  I'm intentionally leaving the stuff for
mailwrapper.  I'm ok with leaving /etc/rc.d/sendmail behind as well,
but it looks like it's not needed by anything (i.e., nothing requires
"mail").


"make delete-old"; see the section "Deleting obsolete files, directories
and libraries" in the handbook.


Even though I have WITHOUT_SENDMAIL specified and the world was built
with that, mergemaster still installs /etc/mail/aliases and
/etc/rc.d/sendmail.  Is there a way to prevent this other than adding
them to IGNORE_FILES in mergemasterrc?


There are other ways, but that's the first one I would think of. Note
that neither of these files can be harmful, and might (especially
aliases) be used by other MTA.




I have same question but from different view point. In my situation I
find it easier to install from scratch to empty disk using .iso file
when moving to an newer version of freebsd. Sendmail is included as part
of the base system. What is best method to totally remove sendmail
including the /var/log/sendmail.st file from rotating?


___
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: FreeBSD Stable production version.

2012-07-25 Thread Damien Fleuriot


On 7/25/12 1:13 PM, Marwan Sultan wrote:
> 
> Hello all and Good Morning, Afternoon or evening :)
>  
>  I finally decided to take off my FreeBSD 7.2 server which is onlin esince 
> 2009.
>  
>  I will go for a new FreeBSD version and will move out all data.
>  
>  My Server is mainly is a MAIL server, sendmail.
>  and ofcourse few websites, data.etc..
>  
>  Which version do you recommend? 
>  Shall I go for 9 ?
>  or 8.3 is still more fit for a production and bsns server ?
>  


I'd say it's a matter of personal preference.

We're mostly running 8.3 in production here.


I've recently installed 9-STABLE servers to try them out and fill PRs if
I get problems.


I would encourage you to use 9-STABLE so that you may do the same and
ensure the stability of future releases.

___
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"


FreeBSD Stable production version.

2012-07-25 Thread Marwan Sultan

Hello all and Good Morning, Afternoon or evening :)
 
 I finally decided to take off my FreeBSD 7.2 server which is onlin esince 2009.
 
 I will go for a new FreeBSD version and will move out all data.
 
 My Server is mainly is a MAIL server, sendmail.
 and ofcourse few websites, data.etc..
 
 Which version do you recommend? 
 Shall I go for 9 ?
 or 8.3 is still more fit for a production and bsns server ?
 
 Thank you.
-marwan Sultan
___
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: Locally modifying ports

2012-07-25 Thread Victor Sudakov
kron wrote:
> 
> I use in /etc/make.conf:
> 
> ...
> .if ${.CURDIR:M*/ports/x11-wm/openbox}
> EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-NULL_SELF_TITLE.diff
> EXTRA_PATCHES+=/home/ok/patches/openbox/patch-VK-SPEED_FOCUS.diff
> .endif
> ...

What do you do if the extra patches need some pathnames to be removed
(need a PATCH_STRIP different from those in files/patch-*)?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
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"