baseaudit?

2006-12-29 Thread Jeff Hinrichs - DMT

Is there an a sibling to portaudit that monitors your base ?

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


Re: baseaudit?

2006-12-29 Thread Jeff Hinrichs - DMT

On 12/29/06, Dan Nelson [EMAIL PROTECTED] wrote:

In the last episode (Dec 29), Jeff Hinrichs - DMT said:
 Is there an a sibling to portaudit that monitors your base ?

Subscribing to the freebsd-security-notifications list (very low
traffic), or periodically checking http://security.freebsd.org/ is
about it.


That's too bad.  I monitor those -- but it never hurts to have a
secondary channel. ( What I would like a bunch is a way to wire
portaudit and the theoretical baseaudit in to nagios, but that is a
different issue)  I could probably hack a baseaudit up with vuln.xml
and uname -r  but I wonder what size task it would be to add an option
to portaudit?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd desktop

2006-11-26 Thread Jeff Hinrichs - DMT

You should really take a look at PC-BSD ( http://pcbsd.org/ ) .

I think that might answer your, I don't want to config anything --
just work desire.
Not an unreasonable desire, however not really how ports are used, imho.

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


Re: RAID

2006-11-23 Thread Jeff Hinrichs - DMT

On 11/22/06, Office of CEO- rithy4u.NET [EMAIL PROTECTED] wrote:

Thanks, could you introduce a cost effective SATA model for me one?

Jeff Hinrichs - DMT wrote:
 On 11/22/06, Office of CEO- rithy4u.NET [EMAIL PROTECTED] wrote:
 Does FreeBSD support newer SATA RAID Controller? What software to make
 RAID 1? or someone know which SATA RAID Controller can support hardware
 mirror?

 --
 *Rithy Ray, RCSA*
 Chief Executive Officer
 Web: www.rithy4u.net http://www.rithy4u.net
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Phone: (855) 12 403 001

 --
 This message has been scanned for viruses and
 dangerous content by rithy4uSpamAppliance, and is
 believed to be clean.

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

 Newer RAID controllers -- Yes, see the h/w compat listing on the
 freebsd site

 Software RAID 1 - easy, gmirror.  see
 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html for
 more

 Pretty much any controller that supports FreeBSD supports mirroring.


--
*Rithy Ray, RCSA*
Chief Executive Officer
Web: www.rithy4u.net http://www.rithy4u.net
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Phone: (855) 12 403 001

--
This message has been scanned for viruses and
dangerous content by rithy4uSpamAppliance, and is
believed to be clean.




That really depends on the application and your server hardware.  I've
used Highpoint cards with success.  Others are quite pleased with
3ware products and there are others.  I would suggest you research
some possibilities and then query the group for feedback on the
particular models you are condidering.

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


Re: Password Security

2006-11-22 Thread Jeff Hinrichs - DMT

Although I haven't used either, gbde and geli are possible methods.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Password Security

2006-11-22 Thread Jeff Hinrichs - DMT

On 11/22/06, VeeJay [EMAIL PROTECTED] wrote:

Thanks Jeff...

But does this encryption affects on Disk Speed or Performance for Data
Access/Read/Write?


On 11/22/06, Jeff Hinrichs - DMT [EMAIL PROTECTED] wrote:
 Although I haven't used either, gbde and geli are possible methods.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html


As I stated before, I haven't used either so I am in no way an
authoritative source, but in general anytime you do additional
processing in the data channel, some penalty is going to be incurred.
I am sure there are things that can be done to mitigate this penalty
to a degree (i.e. offloading encryption operations to an add-in card)
but only you can be the judge if the trade off is a good one.

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


Re: RAID

2006-11-22 Thread Jeff Hinrichs - DMT

On 11/22/06, Office of CEO- rithy4u.NET [EMAIL PROTECTED] wrote:

Does FreeBSD support newer SATA RAID Controller? What software to make
RAID 1? or someone know which SATA RAID Controller can support hardware
mirror?

--
*Rithy Ray, RCSA*
Chief Executive Officer
Web: www.rithy4u.net http://www.rithy4u.net
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Phone: (855) 12 403 001

--
This message has been scanned for viruses and
dangerous content by rithy4uSpamAppliance, and is
believed to be clean.

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


Newer RAID controllers -- Yes, see the h/w compat listing on the freebsd site

Software RAID 1 - easy, gmirror.  see
http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html for
more

Pretty much any controller that supports FreeBSD supports mirroring.

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


Re: FreeBSD date drifts significantly

2006-11-21 Thread Jeff Hinrichs - DMT

On 11/21/06, Eric [EMAIL PROTECTED] wrote:

Neil Short wrote:
 my FreeBSD date drifts out of sync with the system
 date.

 When I set it, it is absolutely correct and matches
 the system (CMOS) date. I then reboot and - shezam!
 it's jumped 12 hours forward. Reboot again - another
 12 hour jump ... until the FreeBSD date is about 2 and
 a half days beyond today's date - and the CMOS date.

 When I set up the system I said that the system clock
 is NOT set to UTC - but just to be sure, I went back
 into sysinstall and re-set the time zone the same way
 (MST - Arizona).

 I suspect this has something to do with maybe the
 server that is synchronizing my time; but I don't
 recall how to synchronize my time with an up-stream
 server. Can't find documentation on it either.

 Any pointers?


man ntpd

has your answers. my /etc/ntp.conf looks like:

server us.pool.ntp.org
server 0.pool.ntp.org
server 1.pool.ntp.org
driftfile /var/db/ntp.drift


us.pool.ntp.org is just a meta pointer to one of the servers in the us
pool - so you could be pointing/asking 0.pool.ntp.org twice.  Usually
just us.pool.ntp.org is good enough.  Unless your obsessive like me
and list, 0,1,2 and 3.us.pool.ntp.org

++1 on http://www.pool.ntp.org/  -- great redundancy and you don't end
up hard coding time servers that may go away or drop their public
access.   If you don't have your own cesium clock it's a cheap
replacement g.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: I don't see anything to answer my q

2006-11-21 Thread Jeff Hinrichs - DMT

On 11/21/06, Warren Block [EMAIL PROTECTED] wrote:

On Tue, 21 Nov 2006, Jerry McAllister wrote:

 As far as I know, there are no freeware utilities that will do this
 for NTFS.   The ones that come with FreeBSD will handle fat and fat32
 just fine, but not NTFS.

QTParted says it can resize NTFS:

http://qtparted.sourceforge.net/features.en.html

It's included on the System Rescue CD, as is Partimage, which can be
used to back up the partition before trying it:

http://sysresccd.org

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Just finished this task myself this weekend on my laptop.  You don't
need to spend a dime in my opinion.  Being a belt and suspender man,
here is what I did:

Backup ALL of your important docs/pics/files

g4u  - ghost for unix (Based on netbsd) http://www.feyrer.de/g4u/
Made a complete copy of my entire drive to another drive connected
via USB -- see copydisk
They have a live ISO that makes life nice.

Perfect Disk - 30 day free trial
http://www.raxco.com/products/downloadit/perfectdisk_download.cfm
I used this to consolidate everything to the front of the drive
giving me 28G on the back end.

qtparted live cd http://qtparted.sourceforge.net/
After verifying my backup I used the live cd to resize my NTFS
partition and created a 2GB swap and a 20G partition for the OS
They have a live ISO that makes life nice.
Here is where yours may differ as I was doing an installation of
another OS (starts with a U) but the general directions are relevant.

I installed it to the two new partitions, then I told it to write grub
boot to the NEW OS root partition (in my case hda4 - known to grub as
hd0,3)

Then I dd off the the 1st 512 bytes of that drive(the boot sector) to
a file(u#.bin) on my usb thumb stick

Then I copied the u.bin file to my C:\ drive and updated the
boot.ini and added another boot option

Works just fine and no damage.  Your biggest concern is what to do
when the new boot loader wants to write to the 1st partition of the
drive -- something you don't want if you want to use the W## boot
loader.

My best piece of advice is to clone your current hard drive with
g4u/copydisk and test it before proceeding further.  It can save your
bacon -- dual boots are hairy most times because everyone's compute is
slightly different than the next persons.
--
Jeff Hinrichs
Dundee Media  Technology, Inc

I write u# and w## because it would be heresy to mention any
other OS by name on the FreeBSD list.  It was utter curiosity with the
u# OS that lead me to try it.  I am running FreeBSD 6.1 w/ gnome2
on the other workstations here at my house -- the lappy has my
quickbooks I use for billing so it still has a pain in the a$$ os on
it because the application dictates it. ;(  Some day I'll be
completely free of it. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 6.x hangs on AMD64 again

2006-11-12 Thread Jeff Hinrichs - DMT

On 11/11/06, Kris Kennaway [EMAIL PROTECTED] wrote:

On Sat, Nov 11, 2006 at 11:15:54AM -0800, Chris wrote:
 
 If your system is hanging then you need to configure additional
 debugging to figure out the cause.  Read the chapter on kernel
 debugging the developers handbook; without this information no
 developer can help you.
 
 Kris
 
 P.S. In my testing SMP amd64 is quite stable even under exceptionally
 heavy loads, so it's either something related to your hardware or your
 particular workload.

 Hadn't considered that a user level debugging solution. I'll give it
 a try.

 We had considered it possibly related to our mix because the SuperMicro
 dual xeon we are trying to replace it with was rebooting (not hanging)
 without any error messages every 15-20 days. I thought it was failing
 hardware. It's on 6.1 R P10. Maybe related in some way.

That is indeed almost always failing hardware.

Kris





I had a similiar issue of rebooting or more specifically shutting
down.  The BIOS would also loose it's config.  After some hardware
swapping it turned out to be the power supply.

--
Jeff Hinrichs
Dundee Media  Technology, Inc
[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: php5 issue

2006-11-06 Thread Jeff Hinrichs - DMT


I find it kind of weird that people click right through
`make config' without reading it.


Actually, the apache module was the default until recently.  I
normally set any non-defaut options in pkgtools.conf and keep things
upgraded with portinstall/upgrade.  The change caught me as well.
(BATCH=YES)

Granted the fix was in 20060506 UPDATING, which should be the first
place to go if something goes amiss during an upgrade.  However, there
have been a number of changes to the php family of ports that impacted
people who already had the port installed.  I only wish that when
these types of changes are made to a popular port that the maintainer
would explain the reason for the pain -- due to the quality of the
work done by the port maintainers (excellent, in my opinion) I assume
it was for a good reason -- I just wish I was smart enough to figure
out why or that they would note it, so I could read it and be smarter
for it. g

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


Re: portupgrade forget package options

2006-11-06 Thread Jeff Hinrichs - DMT

On 11/6/06, Josh Carroll [EMAIL PROTECTED] wrote:

 Today I found the CPU is drained up by 5 instances of
 script and dialog, because everyday when portupgrade updates
 python, it tried to display a menu in text mode and ask for a few
 options (such as whether python should support IPv6 etc), which of
 course hangs in cron job.

Some ports have a config make target which will save options. For
ports that do not, you can use pkgtools.conf and set MAKE_ARGS for
that port.

It may be that a port was modified to support the config target, but
you have not yet run make config for it. It should remember the
options after you make config and select the options you want
included/excluded.

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


also,

settting
BATCH=YES
in /etc/make.conf

helps in getting around these dialogs -- however, UPDATING is your
friend when something goes amiss.

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


Re: Some php files in same directory of working files with same permissions won't process

2006-11-03 Thread Jeff Hinrichs - DMT

On 11/3/06, John Vaughan [EMAIL PROTECTED] wrote:

Has anyone ever had this happen?  I upgraded phpMyAdmin (2.9.0.3) and
suddenly the php files no longer were processed by the php engine --
(Apache sends the php files as though they were a download).  I checked
my permissions, php.ini and httpd.conf, nothing strange there -- same
as when it worked.  I read UPDATING (I'm running FreeBSD 6.1-RELEASE,
Apache 2.2.3, PHP 5.1.6_1, MySQL 5.0.24a) and nothing there on it.
Checked the phpMyAdmin site and nothing I could find there either.

Here's the really odd part -- if I go to the phpmyadmin directory,
create a php file with vi and save -- viola the new file works as
expected.  What should I check next?

To see what I am talking about go to:
http://welcome.coe.jmu.edu/dbadmin/index.php

and then go to
http://welcome.coe.jmu.edu/dbadmin/test.php


Have you tried copying index.php to index2.php and then try to access
index.php??
What were the results?

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


Re: portsdb -uU error (I also need some tips)

2005-03-13 Thread Jeff Hinrichs
Fafa Diliha Romanova wrote:
Hello!
There's been a lot of mess in my ports lately.
I want to get rid of this:
pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
pkg_delete: package bsdpan-libwww-perl-5.800 has no origin recorded
Which pops up every time I install/deinstall a port or package.
I have done a 'pkgdb -F' which seemed to work.
Upon 'portsdb -uU' I get:
#
Updating the ports index ... Generating INDEX.tmp - please wait..cannot create 
/tmp/index.UHO8TTKq/INDEX.tmp.desc.german: No such file or directory
*** Error code 2
1 error

Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the ports-all
collection, and have no refuse files.)  If that is the case, then
report the failure to [EMAIL PROTECTED] together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).
Note: the latest pre-generated version of INDEX may be fetched
automatically with make fetchindex.

*** Error code 1
Stop in /usr/ports.
*** Error code 1
Stop in /usr/ports.
No such file or directory - /tmp/INDEX8274.0
portsdb: index chmod error
#
So what is this?
Also, can anybody tell me if these commands are all I need to
do a full cleanup and upgrade of my ports?
This is my /root/make.PORTS:
#
cvsup -g -L 2 /etc/cvsupfile  pkgdb -F  portupgrade -ra  portsdb -uU  
portupgrade -ra  pkgdb -F
#
Thank you all so much!
All the best,
-- Fafa
This may not fix all of your problems, but doing a
 cd /usr/ports
 make fetchindex
is much faster and less problematic than
 portsdb -uU
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Need IMAP Server Selection Advice

2005-02-20 Thread Jeff Hinrichs
Shouldn't be much difference - except that it might actually be
easier.  I came from Linux (way back in the RH6.0 days) running Cyrus
Imapd to FreeBSD running the same.  I recently moved over to Courier
Imapd, which I think I like better.  Cyrus required a lot of up front
work and detailed tweaking, but Courier was surprisingly easy.  The
distribution config was pretty self explanatory with good descriptions
of what was needed, and the only thing I needed to do by hand is make
sure all the maildirs were created - which courier provides a utility
for.
I've always found that it's far easier to get software working when I
use the ports.  Nowadays, I never - and I mean NEVER - install
software any other way if there is a port I can use.  When I want a
package to solve a particular problem, the ports are the first second,
and last place I search.

  You might want to check your disk layout before deciding.  Cyrus will
store all mail in a single location, typically somewhere in /var,
while Courier puts it right in maildir folders in the home directory -
although you can tweak this if you don't want to create shell accounts
for every mail account.  Personally, I like Courier better.  I know
where my mail is, and I have a lot more flexibility in my filtration
and delivery.
Read the other responses coming.  There are other IMAP capable servers
in the ports, and most of them will get a nod from the list folk.
I'd have to agree with the poster.  For a small installation Courier is 
faster to get up and running the Cyrus.  But once you start having to 
use it with 20-30 users, Cyrus is hands down a better deal.  Yes, it 
does take a more grokking to get Cyrus running correctly but not having 
shell accounts on your mailserver is a blessing.

As long as you have a small installation, most of the decisions are 
fairly meaningless, i.e. mbox or maildir, which smtp server, etc.

I had been admin' a moderatly sized (cyrus/exim/spamassasin/clam-av) 
setup until recently when we switched to the darkside. (Don't ask, it's 
still to painful to think about.)(If you're still curious it had nothing 
to do with email capabilities but with scheduling capabilities and the 
darkside client)


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 2/18/2005
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Finding options for ports

2004-11-16 Thread Jeff Hinrichs
Paul Schmehl wrote:
--On Monday, November 15, 2004 06:46:42 PM -0600 Conrad J. Sabatier 
[EMAIL PROTECTED] wrote:

This is a useless use of cat.  You could accomplish the same thing
with:
grep WITH Makefile

When there are ten different ways to skin a cat, what makes one way 
inherently better than another?

less typing :)
-jeff
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.3.1 - Release Date: 11/15/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Soekris engineering routers

2004-10-31 Thread Jeff Hinrichs
LiQuiD wrote:
Hi all,
I've noticed a few people mention this company, http://www.soekris.com
in the list now.  Their website claims they can be used with a compact
flash card.  I'm curious regarding their usage with a flash card as a
hard drive.  Has anyone successfully been able to install FreeBSD on one
of those boxes using a compact flash card?
If this were possible, I could replace my router with that, and a couple
clients' machines with something far smaller and with much less power
consumption.
I use Soekris boards with m0n0wall(http://m0n0.ch/wall/) there is also a 
m0n0BSD (http://m0n0.ch/bsd/) project that might be of interest to you.

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


Re: Advice: The Right authentication method

2004-09-24 Thread Jeff Hinrichs
Al Johnson wrote:
On Thu, Sep 23, 2004 at 12:37:09PM +0100, Matthew Seaman wrote:
On Thu, Sep 23, 2004 at 11:53:40AM +0100, Andy Holyer wrote:
I'm working on writing the Control Panel scripts which subscribers to 
our ISP will use to set up their eMail accounts and web space.

Here's the Server spec:
FreeBSD-Current;
Perl 5.6.1, no problem installing any needed modules;
Apache 2;
I'm keeping ordinary customers off the machine, so I run Postfix and 
Cyus and use sasl2 for customer passwords. I'd like to use these ID to 
arrange access to the control panel system.

I'm stuck at the very start of my design process. I have two tasks to 
do:

Verify that users have supplied the correct password; and let the perl 
scripts know who that visitor is, so that we can select the correct 
accounts to show.

Do I use SASL directly? or LDAP? or do I implement an Apache module to 
handle access and let Apache do the work?

I want to do The right thing - that is, the most general and correct 
thing possible, I've got years of experience in perl scripting, but at 
the moment I wandering around in a twisty litte maze of standards, all 
different.

Clue, please?
You're basically writing a web application.  For which you need access
control.  You've got two choices: either use the HTTP basic or HTTP
digest auth mechanisms built into HTTP, and supported by Apache, or
(and this is by far the most popular choice) write your own
authentication mechanism as part of your application[1].
The second choice gives you a lot more flexibility about how you
customise things and how you make the login screen look, which is
probably why it's more popular.  You can also arrange things to avoid
sending passwords across the net in cleartext if you're cunning
enough.
However you do it, the authentication process is essentially that the
client sends you two pieces of information: their username (ie. who
they claim to be) and some form of secret.  The secret is usually a
password, but it can be something more complicated like an Opie
one-time password or whatever.  Then in your application you compare
the secret to your stored version of it, and if they match you believe
that the client is who they say they are and that they should have
access.  Of course, you don't want to keep the secret values lying
around in plain text: the standard Unix response to all that is to
generate a password hash using DES or MD5 to store, and to try and
recreate that hash using the password supplied by the user.
That's where SASL comes in: instead of having to code up all that
stuff your self, SASL is a library of authentication methods that you
can just plug into your application.
Yes, you will need some sort of user account database -- often
implemented using a RDBMS, but could with little extra effort be made
to operate against an LDAP or RADIUS server.  Or whatever the database
type you're already using for your Postfix+Cyrus setup.
There are several examples of doing this sort of thing within the
ports system -- most are written in PHP, but check out devel/bugzilla
and www/rt3 for perl based examples.
Cheers,
	Matthew

I'd be grateful if someone would point out some examples of SASL
authentication using PHP in the ports.
I've searched through the ports, but had no luck finding any.
It looks like there is a SASL implementation in PEAR
http://pear.php.net/package/Auth_SASL/docs/1.0.0/li_Auth_SASL.html
You might try and start here:
 http://www.freshports.org/security/pear-Auth_SASL/
hth,
Jeff
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Using portsupgrade with make arguments

2004-04-21 Thread Jeff Hinrichs
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 2:23 PM
Subject: Using portsupgrade with make arguments


 Hi all,

 just to get it clear for me: If I upgrade a port that has been originally
 installed with additional make arguments I must include them again. Is the
 following correct?

 Original installation:
 # make arg_1=val_1 arg_2=arg_2 install clean

 Upgrading port using portupgrade:
 # portupgrade -R -m arg_1=val_1 arg_2=arg_2 port
 Even better, use pkgtools.conf
-jeff

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


Re: Moving to apache2

2004-04-21 Thread Jeff Hinrichs
- Original Message - 
From: Dick Davies [EMAIL PROTECTED]
To: Marius Kirschner [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 2:47 PM
Subject: Re: Moving to apache2


 * Marius Kirschner [EMAIL PROTECTED] [0413 20:13]:
  So in order ensure the most backward compatibility it's better to stick
with
  1.39?

 It depends what you use. mod_ruby, mod_php4, mod_perl and mod_fastcgi are
ok.
 mod_dav and mod_ssl are now builtins. That's all I use.

 You don't gain an awful lot from 2, I just wanted it for SubVersion, which
 isn't available for apache 1.3.

 Don't know about python, you'd have to check.
mod_python is good, v3.1.3 in fact.
-Jeff

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


Re: Moving to apache2

2004-04-21 Thread Jeff Hinrichs
- Original Message - 
From: Dick Davies [EMAIL PROTECTED]
To: Marius Kirschner [EMAIL PROTECTED]
Cc: FreeBSD Questions [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 2:47 PM
Subject: Re: Moving to apache2


 * Marius Kirschner [EMAIL PROTECTED] [0413 20:13]:
  So in order ensure the most backward compatibility it's better to stick
with
  1.39?

 It depends what you use. mod_ruby, mod_php4, mod_perl and mod_fastcgi are
ok.
 mod_dav and mod_ssl are now builtins. That's all I use.

 You don't gain an awful lot from 2, I just wanted it for SubVersion, which
 isn't available for apache 1.3.

 Don't know about python, you'd have to check.
mod_python is good, v3.1.3 in fact.
-Jeff

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


Re: pkgtools.conf entry for samba

2004-04-02 Thread Jeff Hinrichs
From: dave [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 01, 2004 3:11 PM
Subject: pkgtools.conf entry for samba


 Hello,
 Does anyone have a pkgtools.conf entry for samba? I'm trying to update
 mine, but i can not figure out how to make it stop giving me the dialog
 box/or accepting my options, i've used batch and various combinations of
the
 options.
I've had good luck with...

 'net/samba'= 'BATCH=1 WITH_AUDIT=1 WITH_SYSLOG=1',

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


Re: Why does favicon.ico show as error in apache log

2004-03-25 Thread Jeff Hinrichs
- Original Message - 
From: JJB [EMAIL PROTECTED]
To: [EMAIL PROTECTED] ORG [EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 12:59 PM
Subject: Why does favicon.ico show as error in apache log


 I do not use this favicon.ico file in my web site, But an small
 number of the visitors for some reason try to get this file which is
 not there. This is reported as file error in the analog apache log
 reports. Can someone explain why some visitor browsers try to get
 this file, and what I can do to fix this?
There is no fix per se.  People using IE are viewing your page.  IE by
default, looks for a favicon.ico file in the root of the web.  If it finds
one, it displays it next to the URL in the address field.

If you don't like the error, then create a cool icon and place it in your
directory.  For more specifics, google is your friend.

-Jeff

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


Re: Server automatically Shuts down.

2004-03-18 Thread Jeff Hinrichs
- Original Message - 
From: samy lancher [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 8:56 AM
Subject: RE: Server automatically Shuts down.


 Last night the system again crashed. Are there any other ways to redude
power load on the system.?

 Thanks,
 Naveen.
If it is power load then you'd probably be better off replacing your power
supply with something a bit bigger than you currently have installed.  Is
the machine on a UPS?  Also, just to check because I've seen this happen
before:

The power is not controlled by a switch that a new employee or maint staff
is switching off?
New cleaning crew unplugging  to get access for their vacuum/radio, etc?

Don't laugh, I've consulted on gigs where such things have happened.

-Jeff

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


Re: squirrel/qmail/quota question ??

2004-03-09 Thread Jeff Hinrichs
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 5:17 AM
Subject: squirrel/qmail/quota question ??


 
 courier-imap-1.7.1
 qmail-1.03_1
 squirrelmail-1.4.0
 
 running the mail processes. They are working fine, although I received an
 important email with a 1.2MB attachment and wanted to read that.
 Unfortunately, when I access that, it says
 
 Fatal error: Allowed memory size of 9437240 bytes exhausted at (null):0
 (tried to allocate 79 bytes) in
 /usr/local/www/data-dist/webmail/functions/mime.php on line 113
 
You php.ini file most likely has memory_limit = 8M set.  This is why you 
get the error.  Try upping the limit to 16M and see if that solves your 
problem.

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


Re: squirrel/qmail/quota question [Success]

2004-03-09 Thread Jeff Hinrichs
 Thanks for replying.  Peter Risdon told me that earlier but I forgot to
 say that i got it working.  I was wondering if since that file I was
 accessing was only 1M, and it took up about 10M of memory, do files for
 example 2M take up about 20M of memory? Is the relation 1:10 or more?

 Im just speculating coz I want to make concrete rules for php.ini to
 follow that are safe on system resources.

It really depends on the file. I am surprised that a 1.2M attachment used so
much memory.  When sending attachments, they are normally mime encoded,
because mail doesn't like the high bits set.  Anyway, I normally expect a 2x
memory usage.  That is 1M attachment takes 2M of space once encoded.

the attachment size is always listed as the un-mimed size of the file not
how
much space it's taking while it's encoded.  I would leave it set a 16MB and
tell your MTA to reject any attachment bigger than 5MB.  But that depends
on the terrain.  Anything bigger and they *should* be using sFTP.

We can dream can't weg

-jeff

p.s. Check out squirrelmail on and see if there are any problems with
the mime functions in v1.40, a quick look see at the CVS should tell
you if there is.  That might be an answer to why a 1.2M file ate up
over 8M of memory.
http://cvs.sf.net/viewcvs.py/squirrelmail/squirrelmail/functions/mime.php?only_with_tag=SM-1_4-STABLE

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


Re: seeking shell scripting resources

2004-03-02 Thread Jeff Hinrichs
- Original Message - 
From: Quintin Riis [EMAIL PROTECTED]
To: Marty Landman [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 5:18 AM
Subject: Re: seeking shell scripting resources


 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 No problem.  I know of no good guides, all that I have found use
 inefficient coding practices.  Just make it up as you go along, show
 what you come up with to someone more experienced, and learn.
 
Have you tried the Advanced Bash-Scripting Guide:
  http://www.tldp.org/LDP/abs/html/

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


Re: Search Path in Bash

2004-03-01 Thread Jeff Hinrichs
- Original Message - 
From: Peter Risdon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 2:25 AM
Subject: Re: Search Path in Bash


 Gerard Seibert wrote:

 Peter Risdon writes:
 
 
 When  bash is invoked as an interactive login shell, or as a non-inter-
   active shell with the --login option, it first reads and
 executes  com-
   mands  from  the file /etc/profile, if that file exists.  After
 reading
   that file, it looks for ~/.bash_profile, ~/.bash_login, and
 ~/.profile,
   in  that order, and reads and executes commands from the first
 one that
   exists and is readable.  The --noprofile option may be  used
 when  the
   shell is started to inhibit this behavior.
 
 
 
 
 
 ** Reply Separator **
 Sunday, February 29, 2004 6:01:48 PM
 
 Peter, you stated the following:
 
 When  bash is invoked as an interactive login shell, or as a
non-inter-active
 shell with the --login option, it first reads and executes  commands
 from  the file /etc/profile, if that file exists.  After reading that
 file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in
 that order, and reads and executes commands from the first one that
 exists and is readable
 
 
 The credit has been lost along the way, but I was quoting the man page.

 If I am following you correctly, then having a ~/,bashrc, ~/.bashrc or
 ~/.profile file is worthless, if bash reads only the first file that it
 finds. I am referring in this scenario to the ~/.bash_profile file.
 
On systems that I have used, I have seen the following:
~/.bash_profile  which then executes ~/.bashrc when then executes
/etc/bashrc
the logic being that:
  # Personal envrionment variables and startup programs go in
~/.bash_profile
  # Personal aliases and functions should go in ~/.bashrc.  .
  # System wide aliases and functions are in /etc/bashrc.
  # System wide environment variables and startup programs are in
/etc/profile

funny thing is that I was just researching that topic today.  Now, if
someone sees a glaring problem with the above information please feel free
to let me in on it.

-Jeff

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