Help about Tape Device

2003-01-28 Thread shen chao
Hi:

Can someone tell me how to configure the Tape Device if it is not identified 
by the FreeBSD.Or I must add options to the kernel.

Mine is dds-3 12/24G internal scsi Tape device.

Shen Chao




_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Re: sandboxing named...

2003-01-28 Thread Ceri Davies
On Tue, Jan 28, 2003 at 01:45:27AM -0500, Chuck Swiger wrote:
 I believe the normal way to chroot named in FreeBSD is something like:
 
 named_enable=YES
 named_flags=-u bind -g bind -t /etc/namedb -c named.conf
 
 ...in /etc/rc.conf.  When doing so, the following seems to make life 
 much better for ndc and the config file:
 
 mkdir /etc/namedb/etc
 mkdir /etc/namedb/var
 mkdir /etc/namedb/var/run
 ln -s / /etc/namedb/etc/namedb
 ln -s /etc/namedb/var/run/ndc /var/run/ndc

Please read the section on this in the handbook.

Ceri
-- 
The brothers of the fire have brought your fate!

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



Re: Spam filter combined with virus filter

2003-01-28 Thread Simon Dick
On Mon, 2003-01-27 at 04:23, Dragoncrest wrote:
   Looking for a good anti-virus to go with my spam filter.  Currently using 
 spam assassin with mixed results, but now I'm getting more and more of 
 these stupid viruses coming into the mail server I'd rather deal 
 without.  Anybody got a good suggestion for a good spam filter/virus filter 
 combination?  Should I stick with Spam Assassin or go with something 
 else?  I'm fishing for ideas, cause this is getting kind of old dealing 
 with this stuff.

exim with exiscan can link with spamassassin and works with virus
checkers too, or http://mailscanner.info/ does very good spam and virus
scanning but may be over the top for personal installations :)

-- 
Simon Dick  [EMAIL PROTECTED]


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



help needed!

2003-01-28 Thread
Hello, gentlemen!
Our company has an email  internet server working under FreeBSD. We
use it for mail and as a internet gate, not for web-hosting. We have
no specialists in UNIX systems, but we have a great need of measuring
IP-traffic via the server. Can we use any standard commands for this
purpose or do we need to get a special program for it?

Best regards,
Vladimir Titenkov
mailto:[EMAIL PROTECTED]


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



Re: Help about Tape Device

2003-01-28 Thread Toomas Aas
Hi!

 Can someone tell me how to configure the Tape Device if it is not identified 
 by the FreeBSD.Or I must add options to the kernel.
 
 Mine is dds-3 12/24G internal scsi Tape device.

In my experience SCSI tape drives require no special configuration of 
FreeBSD. You just need to make sure that the driver for your SCSI card 
is loaded (included in the kernel).

If the adapter is found by FreeBSD but the tape drive is not, then 
maybe you have problems with the SCSI bus (conflicting IDs, missing 
termination, bad cable etc).
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* If you think education's expensive, try ignorance.


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



Fixing degraded atacontrol based software RAID?

2003-01-28 Thread Gabriel Ambuehl
Hello,
I have a machine running atacontrol based software RAID in which one
of the disks recently failed (Maxtor, not IBM for those who want to
know). Now I'm wondering how I should go about fixing this. atacontrol
seems to lack a command to fix broken software only arrays.

I suppose I could use dd -if workingdisk -of newdisk but atacontrol
seems to block the disks during multi user (and since the box has got
work to do, I can't just take it down for a few hours).

Other option would be to just install a hardware RAID controller I
suppose. I still have a 3ware one laying around somewhere (this one
features background rebuilding, albeit very slowly) but I'd be
interested to hear whether I can do background rebuilding triggered
from atacontrol with Highpoint 370 or Promise Fasttrak controllers.

Any comments would greatly be appreciated (as would be CCs to myself
as the traffic on this list makes it sometimes hard to find the
answers ;-).


TIA  regards,
Gabriel


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



Installing customized mod_php4 port

2003-01-28 Thread Andreas Pauley
Hi,

I would like to know what the preferred way is for installing the mod_php4 
port (4.2.3) with your own customized options enabled.
This is on FreeBSD 4.7, in conjunction with apache+mod_ssl-1.3.27+2.8.12.

I see the Makefile's CONFIGURE_ARGS specifically states --without-gd and 
--without-mysql.
Do I need to change this if I want those options enabled?

The Makefile also mentions PHP4_OPTIONS.
Is this something I can use to enable certain extra options (eg. IMAP 
support)?
Does the FreeBSD ports have something like flavors, as in OpenBSD?

The options I would like to enable are:
gdbm, imap, imap-ssl, mhash, mm, recode, pdflib, gd, jpeg, png, tiff, 
mcrypt, curl, mysql, postgresql.

Regards,
Andreas.

-- 
Only two things are infinite:
the universe and human stupidity,
and I'm not so sure about the former.
-- Albert Einstein



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



Re: Installing customized mod_php4 port

2003-01-28 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just run 'make' from the mod_php4 directory. You set all those options
interactively.

# Adam


 (01.28.2003 @ 0253 PST): Andreas Pauley said, in 1.0K: 
 Hi,
 
 I would like to know what the preferred way is for installing the mod_php4 
 port (4.2.3) with your own customized options enabled.
 This is on FreeBSD 4.7, in conjunction with apache+mod_ssl-1.3.27+2.8.12.
 
 I see the Makefile's CONFIGURE_ARGS specifically states --without-gd and 
 --without-mysql.
 Do I need to change this if I want those options enabled?
 
 The Makefile also mentions PHP4_OPTIONS.
 Is this something I can use to enable certain extra options (eg. IMAP 
 support)?
 Does the FreeBSD ports have something like flavors, as in OpenBSD?
 
 The options I would like to enable are:
 gdbm, imap, imap-ssl, mhash, mm, recode, pdflib, gd, jpeg, png, tiff, 
 mcrypt, curl, mysql, postgresql.
 
 Regards,
 Andreas.
 
 -- 
 Only two things are infinite:
 the universe and human stupidity,
 and I'm not so sure about the former.
 -- Albert Einstein
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 end of Installing customized mod_php4 port from Andreas Pauley 


- --
Adam Weinberger
vectors.cx[EMAIL PROTECTED]
FreeBSD.org   [EMAIL PROTECTED]
Bayer Berkeley[EMAIL PROTECTED]
#vim:set ts=8: 8-char tabs prevent tooth decay.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+NmLZo8KM2ULHQ/0RApsfAJ9IEdcfbhaNlAErR9RxIN8ikQ9BaACeLGnE
piPoeOHtjMfWUdC5ZJCzuaY=
=te8l
-END PGP SIGNATURE-

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



Re: Installing customized mod_php4 port

2003-01-28 Thread Stijn Hoop
On Tue, Jan 28, 2003 at 03:00:41AM -0800, Adam Weinberger wrote:
 Just run 'make' from the mod_php4 directory. You set all those options
 interactively.

Or for the noninteractive version:

# make PHP4_OPTIONS='\option1\ \option2\ ...' BATCH=yes install

The quotes  backslashes are necessary AFAIK. For a list of option names
consult scripts/configure.php.

HTH,

--Stijn

-- 
An adult is a child who has more ethics and morals, that's all.
-- Shigeru Miyamoto



msg16976/pgp0.pgp
Description: PGP signature


Re: IMAP2

2003-01-28 Thread Mykroft Holmes IV
On Tue, 2003-01-28 at 06:48, Gannater János wrote:
 My problem is that,
 I installed the popper and the imap-uw programs. With make install 
 from their directory in /usr/ports.
 My first problem is that I can't find the popper program...
 All the installations went fine!
 Athought the impad program does exists, but if I start it I can't see it 
 anywhere. Not in sockstat in the ps and telnet .
 I tried to restart the system, but nothing else changed. Of course I 
 uncommented the pop3 and imap lines in the /etc/inetd.conf file.
 Do you have a guess what could be wrong?

imapd is a peculiar program. It doesn't actually understand IP or ports,
merely stin and stdout. If you have uncommented it's lines in inetd, try
'telnet localhost 143' and see if you get a response. The sockstat and
netstat suggestions will not work for imapd, since it is started by
inetd.

Your inetd daemon is running, right? If not, check the Handbook on how
to enable it (IIRC it's an option you need to set in rc.conf, but should
be enabled in /etc/defaults/rc.conf)

Adam


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



Re: How to stop BIND from using high ports?

2003-01-28 Thread Matthew Seaman
On Tue, Jan 28, 2003 at 11:29:28AM +0100, Mark wrote:

 I am having a bit of a problem. One might say, a serious problem. :( When
 other servers query my name servers, they send queries with a source port of
 53; but apparently my BIND (8.3.4) is responding from a high port (seemingly
 random). And this is causing some trouble. :( How can I prevent that??
 
 In my options section I have
 
 query-source address * port 53;

Looks right to me.  You might also want to investigate:

transfer-source 81.2.69.218 port 53;
notify-source   81.2.69.218 port 53;

if you have off-site secondaries.  Check that the syntax is correct
for Bind8 --- I just copied that out of my Bind9 config.
 
 But my log is filled with entries like these:
 
 Accept UDP 10.0.0.2:53 194.112.32.1:1024 out via rl0
 Accept UDP 10.0.0.2:53 209.73.14.10:38992 out via rl0
 Accept UDP 10.0.0.2:53 165.250.91.52:53 out via rl0
 Accept UDP 10.0.0.2:53 209.73.14.10:38992 out via rl0
 Accept UDP 10.0.0.2:53 15.243.160.33:32857 out via rl0
 Accept UDP 10.0.0.2:53 194.205.246.130:42876 out via rl0
 Accept UDP 10.0.0.2:53 198.49.218.20:53 out via rl0
 Accept UDP 10.0.0.2:53 203.2.75.109:53 out via rl0
 Accept UDP 10.0.0.2:53 146.18.16.248:53 out via rl0
 Accept UDP 10.0.0.2:53 15.251.160.31:32852 out via rl0
 Accept UDP 10.0.0.2:53 15.251.160.31:32852 out via rl0
 
 Which seems to suggest that for outgoing UDP a random high port is being
 used. :( And I do not understand why. :(

I assume that 10.0.0.2 is the IP number of your DNS machine.  Then it
would appear to be doing exactly what it's been told to.  All the
replies it sends have the source IP address of the machine and the
*source* port 53.  Your nameserver is either responding to packets
from a resolver out on the internet somewhere, or querying a remote
server for DNS data on your behalf.  In the second case, the
destination port must be 53 in order to contact a nameserver, but the
source port could be anything, and it's usual to use an arbitrary
high-numbered port.

Incoming packaets in the first case will have whatever source port the
remote machine felt like using, which is outside the scope of what you
can control.  Your machine has to respond back to the given IP and
port number, or the other end won't be able to connect the reply it
receives with the query it sent out.

 I have only four ipfw rules defined regarding DNS:
 
 ${fwcmd} add 3 allow tcp from any to any 53 out via ${outside}
 ${fwcmd} add 4 allow udp from any to any 53 out via ${outside}
 ${fwcmd} add 5 allow tcp from any 53 to any in via ${outside}
 ${fwcmd} add 6 allow udp from any 53 to any in via ${outside}

Hmmm... I use dynamic rules to achieve the same goal:

add 1000 allow tcp from any to 81.2.69.218 22,25,53 setup keep-state in recv de0

add 1600 allow udp from 81.2.69.218 to any 53 keep-state out xmit de0
add 1700 allow udp from any to 81.2.69.218 53 keep-state in recv de0

So 1600 matches the first packet when I try and look something up
remotely, and the generated dynamic rule permits the response to come
back in only from the machine I queried.  Similarly 1700 lets remote
systems query me and the generated rule permits the response back out.

Rule 1000 permits TCP connections into my DNS (ie. generally my
secondaries doing an AXFR when my zone data gets updated) amongst
other services, and I have a generic rule that lets me do any outward
going tcp connection I want.

This works very well for a lightly loaded server --- it even copes
with the sudden flood of DNS traffic when I send messages to the
thousands of recipients on this list.  If your DNS traffic is
considerably higher than mine, then you might prefer to use static
rules, but you'll have to add two extra rules corresponding to the
packets in reply to queries:

add 1600 allow udp from 81.2.69.218 to any 53 out xmit de0
add 1650 allow udp from any 53 to 81.2.69.218 in recv de0
add 1700 allow udp from any to 81.2.69.218 53 in recv de0
add 1750 allow udp from 81.2.69.218 53 to any out xmit de0

Obviously, this opens you up to rather more malicious traffic than the
stateful version, but that's a judgement you'll have to make.

TCP connections can be handled similarly, taking account of the
'setup' vs 'established' state change.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK

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



Actually reverse a g i n g symptoms! 9643ZWme1-589swmo9566ToYU4-238Be-30

2003-01-28 Thread heather
* Reduce the amount of sleep you need
* Cause wounds to heal faster
* Lose weight while your sleeping
* Become less winded when excersizing
* Put color back in grey hair
* Grow hair back where it had once fallen out
* Tighten skin
* Strengthen bones
* Body builders - use this to build your muscles quicker
..The List truly goes on and on..

As seen on NBC, CBS, CNN, and Oprah! The health discovery 
that actually reverses aging symptoms without dieting or exercise! 
This PROVEN discovery has been reported on by the 
New England Journal of Medicine - don't just take our word for it.

In fact we'd like you to receive a F.R.E.E thirty day supply; look and feel 
younger, lose weight, reduce sleep, The list goes on, we 
encourage you to at least take a look at the information as to
what else it can do

http://hidden.com.ms-script.651685.9873661-0332198763513531841.encode.3202362541570382.else.14055863720258946302155063732.ms/www.growyoung.com/?lifes



7870veJv2-304HvhG3344dFHF5-465LjPh5186kJYV8-088WrBx9649gzvT8-720XSTg5543wHRU1-l73N…'²æìr¸›zǧvf¢–Új:+v‰¨·ž
 è®¶§²æìr¸›yúÞy»ªç¬¶*'²)í…æèw*¶¦zˁ


Re: Anyone using popFile in FreeBSD?

2003-01-28 Thread Andrew Brampton
Yes, I'm currently using this on my FreeBSD box checking mail from a Windows
Outlook Express machine, and all is working fine.

Didn't take long to set up, and very quickly got accurate. I'm on many
mailing lists, and receive far too many emails a day, a few 100 atleast.

So far after using popFile for about 2 months I have a 99.29% accuracy.

I do check my spam folder occasionally to make sure what is spam is actually
spam, but I rarely find a misplaced email.

Andrew
- Original Message -
From: Francisco Reyes [EMAIL PROTECTED]
To: FreeBSD Questions List [EMAIL PROTECTED]
Sent: Monday, January 27, 2003 10:09 PM
Subject: Anyone using popFile in FreeBSD?


 Found this program which seems like may help controlling spam
 http://popfile.sourceforge.net/

 However I am wondering if anyone has got it working in FreeBSD that could
 share some tips. Looking at the archives from the forums of the project
 seems that there are some FreeBSD users currently using it.



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



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



Re: help needed!

2003-01-28 Thread Saint Aardvark the Carpeted
 We have
 no specialists in UNIX systems, but we have a great need of measuring
 IP-traffic via the server. Can we use any standard commands for this
 purpose or do we need to get a special program for it?

MRTG is probably what you're looking for:  it produces graphs, updated every
five minutes by default, that show the level of traffic going in and out
of your server.  It's more for seeing how traffic has been over time (it keeps
statistics for a year), rather than seeing what's happening right this very second.
(If right-this-moment information is what you're after, ask about trafshow.)
It's in ports, so to install it you could either fetch it precompiled:

# pkg_add -r mrtg

or compile it yourself if you have the ports tree installed:

# cd /usr/ports/net/mrtg  make install distclean

(To see if you have the ports tree installed, do ls /usr/ports; if you see
lots of directories, you've got it.  The first method is probably easier... )

MRTG uses SNMP to get its traffic numbers, and the graphs it generates
are usually displayed via web pages -- so in addition to MRTG itself, you'd usually
need a web server like Apache, and an SNMP daemon like Net-SNMP or UCD-SNMP.

You can find more info on MRTG and some examples of how to use it at the website:

http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

Hope this helps!

Hugh

-- 
Saint Aardvark the Carpeted
[EMAIL PROTECTED]
Because the plural of Anecdote is Myth.

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



Re: help needed!

2003-01-28 Thread Bill Moran
ÈÂÖ wrote:

Hello, gentlemen!
Our company has an email  internet server working under FreeBSD. We
use it for mail and as a internet gate, not for web-hosting. We have
no specialists in UNIX systems, but we have a great need of measuring
IP-traffic via the server. Can we use any standard commands for this
purpose or do we need to get a special program for it?


You can use the ipfw logging capability to log traffic and something
along the lines of a perl script to compile it into whatever form or
statistics you need.  If you're using Squid or any other cache, there
is a lot of information logged, and programs such as Calamaris to
analyze it.  Most mail programs will record transaction data as well,
although I don't know of any analyzers, there must be something available!
You also have snmp programs as well as mrtg, which produces nice graphs.
Which combination of tools you use is going to depend more specifically
on what you need to monitor, but hopefully I've given you some direction.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



emu10k1

2003-01-28 Thread Antoine Jacoutot
Hi !

I know this question was asked a lot in the past, but I coudn't find any 
answer.
Is there any way I could get bass/treble switches in the sound mixer ? I have 
a Creative SBLive.
kldstat:
snd_emu10k1.ko
snd_pcm.ko

I know some months ago someone was working on a patch to implement some of the 
opensource.creative.com emu-tools... is still going on ?

Thanks in advance.

Antoine


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



Re: IMAP2

2003-01-28 Thread Jim Trigg
On Tue, Jan 28, 2003 at 07:41:36AM -0500, Mykroft Holmes IV wrote:
 On Tue, 2003-01-28 at 06:48, Gannater J??nos wrote:
  My problem is that,
  I installed the popper and the imap-uw programs. With make install 
  from their directory in /usr/ports.
  My first problem is that I can't find the popper program...
  All the installations went fine!
  Athought the impad program does exists, but if I start it I can't see it 
  anywhere. Not in sockstat in the ps and telnet .
  I tried to restart the system, but nothing else changed. Of course I 
  uncommented the pop3 and imap lines in the /etc/inetd.conf file.
  Do you have a guess what could be wrong?
 
 imapd is a peculiar program. It doesn't actually understand IP or ports,
 merely stin and stdout. If you have uncommented it's lines in inetd, try
 'telnet localhost 143' and see if you get a response. The sockstat and
 netstat suggestions will not work for imapd, since it is started by
 inetd.
 
 Your inetd daemon is running, right? If not, check the Handbook on how
 to enable it (IIRC it's an option you need to set in rc.conf, but should
 be enabled in /etc/defaults/rc.conf)

As an additional question, you did restart/reload inetd after changing
inetd.conf, right?  (killall -HUP inetd)

Jim
-- 
Jim Trigg, Lord High Everything Else  O-  /\
  \ /  ASCII RIBBON CAMPAIGN
Hostmaster, Huie Kin family websiteXHELP CURE HTML MAIL
Verger, All Saints Church - Sharon Chapel / \

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



Re: Fixit instructions

2003-01-28 Thread Giorgos Keramidas
On 2003-01-28 17:17, [EMAIL PROTECTED] wrote:
 Quoting Mike Meyer [EMAIL PROTECTED]:
  There are also some writeups on the FreeBSD web site on
  troubleshooting.

 Don't doubt you, but that is the first place I looked on the
 Internet.  That info is well hidden, I think.

Not quite.  I believe by 'troubleshooting' Mike was referring to the
FAQ section.  It should be pretty easy to find, if you start browsing
at [ http://www.FreeBSD.org/docs.html ].  The first page of the site,
at [ http://www.FreeBSD.org/ ], contains various documentation links.

I wouldn't call that `hidden'.


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



Re: IMAP2

2003-01-28 Thread Gannater Jnos
 Your inetd daemon is running, right? If not, check the Handbook on 
how
 to enable it (IIRC it's an option you need to set in rc.conf, but should
 be enabled in /etc/defaults/rc.conf)
Thanks a lot for all of you!
I have found the problem! My inet dameon was desabled at 
the /etc/rc.conf file...



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



Re: Problems w NIC

2003-01-28 Thread Nikolaj Farrell
I guess this thread is dead by now. Just thought I should tell all of you
who have tried to help me that I bought a new NIC yesterday with a different
chipset. Everything works like a charm!

I am not going to bother further testing with the Cnet-card- even though it
was brand new. If anyone happens to remember the thread and possibly found a
solution, I will consider sticking the card in a different machine and see
what happens. I am now thinking either driver problem or some setting
problem(like memory adressing). I very much doubt that the card is broken,
since it is brand new. (and works in windows).

Anyways, thanks for all your help and avoid the Cnet pro200 with the Davicom
DM9102A chipset...

/Nikolaj


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



Re: How to stop BIND from using high ports?

2003-01-28 Thread Mark
- Original Message -
From: Matthew Seaman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 1:52 PM
Subject: Re: How to stop BIND from using high ports?


 On Tue, Jan 28, 2003 at 11:29:28AM +0100, Mark wrote:

  I am having a bit of a problem. One might say, a serious problem. :(
  When other servers query my name servers, they send queries with a
  source port of 53; but apparently my BIND (8.3.4) is responding from
  a high port (seemingly random). And this is causing some trouble. :(
  How can I prevent that??
 
 In my options section I have
 
  query-source address * port 53;

Hi Matthew,

Yours was a very useful reply. :) I truly appreciate your time and effort
here. And your dynamic rules were equally useful.

 Looks right to me. You might also want to investigate:

transfer-source 81.2.69.218 port 53;
notify-source 81.2.69.218 port 53;

 if you have off-site secondaries. Check that the syntax is correct
 for Bind8 --- I just copied that out of my Bind9 config.

I don't think you can specify a port for transfer-source in BIND 8.x, but
as I only allow XFRs from trusted parties, this should not be an issue, I
think.

  But my log is filled with entries like these:
 
  Accept UDP 10.0.0.2:53 146.18.16.248:53 out via rl0
  Accept UDP 10.0.0.2:53 15.251.160.31:32852 out via rl0
  Accept UDP 10.0.0.2:53 15.251.160.31:32852 out via rl0
 
  Which seems to suggest that for outgoing UDP a random high port is
  being used. :( And I do not understand why. :(

 I assume that 10.0.0.2 is the IP number of your DNS machine.

Yes.

 Then it would appear to be doing exactly what it's been told to. All the
 replies it sends have the source IP address of the machine and the
 *source* port 53.

You know what? You are absolutely right. :) I guess I read it wrong, in my
panic (kernel is not the only one prone to panic attacks).

Problem is, an ISP in Australia cannot resolve me; and, as I wrote the
admin, he responded:

Our name servers are configured to send queries with a source port of 53 ..
but when we do so, you respond from a high port? ... I suspect that bind is
throwing away your replies because they don't match the expected response
ip/port combination.

I tried to resolve my domain name via their name server
(ns1.optusnet.com.au = 203.2.75.2), and, indeed, that fails. He gave me
the following log entries, though:

--[ with src port = 53 ]
15:33:03.472128 210.49.20.142.domain  194.109.160.70.domain:  [udp sum ok]
6636 A? asarian-host.net. [|domain] (ttl 64, id 13043, len 62)
15:33:03.802488 194.109.160.70.34336  210.49.20.142.domain:  6636*- q: A?

Here it seems my BIND is indeed replying with a source port of 34336. Very
peculiar. I have no idea how this is possible. :(

Again, thank you for your time and energy. If you have any more bright
ideas, not meant sarcastically, be sure to tell me. :)

- Mark


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



Re: Anyone using popFile in FreeBSD?

2003-01-28 Thread Francisco Reyes
On Tue, 28 Jan 2003, Andrew Brampton wrote:

 Yes, I'm currently using this on my FreeBSD box checking mail from a Windows
 Outlook Express machine, and all is working fine.

 Didn't take long to set up, and very quickly got accurate. I'm on many
 mailing lists, and receive far too many emails a day, a few 100 atleast.

 Andrew


Where you able to get it running as a regular user and not as root?


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



Re: sandboxing named...

2003-01-28 Thread Chuck Swiger
Ceri Davies wrote:
[ ... ]

Please read the section on this in the handbook.


This one:

17.9.8 Running named in a Sandbox
Contributed by Ceri Davies.

...?  :-)  Thank you.

-Chuck

Hmm.  Quick testing suggests that having a /usr/obj tree lying around 
does trigger the problem of staticly linking as you mentioned.


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


Re: mozilla build port hangs at /usr/bin/sed

2003-01-28 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100:
 Hi,  
   
 i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this
 point:  
   
 /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g   
 /usr/ports/www/mozilla/files/mozilla.sh
 /usr/ports/www/mozilla/work/mozilla/mozilla  
 (cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env
 LD_LIBRARY_PATH=.  
 MOZILLA_FIVE_HOME=. ./regxpcom;  /usr/bin/env LD_LIBRARY_PATH=.
 MOZILLA_FIVE_HOME=.  
 ./regchrome;  /usr/bin/touch ./chrome/user-skins.rdf
 ./chrome/user-locales.rdf)  
   
 What might be the reason? The ports tree is fresh. 

It's caused by the fact that you didn't include the error message.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: Caching nameserver question - I need a spot here . . .

2003-01-28 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-27 17:15:29 -0500:
 Hey all.  I'm finally getting around to setting up a caching dns
 server.  Pretty confusing from my angle.
 
 Here's what I have so far:
 named enaabled in /etc/rc.conf
 cd to /etc/namedb and run sh make-localhost
 
 and the following in /etc/namedb/named.conf:
 
 options {
   directory /etc/namedb;
   forward first;
   forwarders {
   151.203.0.84;
   151.202.0.84;
   };
   listen-on { 10.8.20.5; };
   version surely you must be joking
   query-source address * port 53;
 };
 
 
 zone . {
 type hint;
 file named.root;
 };
 
 zone 0.0.127.IN-ADDR.ARPA {
 type master;
 file localhost.rev;
 };

are you setting up a cache, or an authoritative server?
IOW, do you want Bind to resolve names for clients (they'll will
have it in /etc/resolv.conf and equivalents), or do you want it to
publish names?

You are doing both, but if you want to have this Bind resolving
names for clients (external cache), being authoritative for
0.0.127.in-addr.arpa doesn't IMO make sense.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



more named questions . . .

2003-01-28 Thread Louis LeBlanc
I've been working on setting up named in a sandbox.  I got some
helpful hints here where I couldn't quite understand the handbook
(yes, I did read it, that doesn't necessarily mean I understood it :).

Anyway, I followed the handbook steps for sandboxing named exactly -
meaning I didn't even retype the commands, but copied them by mouse
from the handbook page.  This part is giving me some trouble:

# Symlink /var/run/ndc to /etc/namedb/var/run/ndc:

# ln -sf /etc/namedb/var/run/ndc /var/run/ndc

Note: This simply avoids having to specify the -c option to ndc(8)
every time you run it. Since the contents of /var/run are deleted on
boot, if this is something that you find useful you may wish to add
this command to root's crontab, making use of the @reboot option. See
crontab(5) for more information regarding this.


What are the chances this is wrong?  After completing the section, I
typed 'ndc start' at the root prompt, and got the following:

# ndc start
ndc: error: name server has not started (yet?)

So I tried to stop it:

# ndc stop
ndc: error: ctl_client: evConnect(fd 3): No such file or directory
ndc: error: cannot connect to command channel (/var/run/ndc)

And this didn't even stop named.  Something had to be wrong.  I did a
little more reading, and it looked to me like that command should have
been the other way around.  So I tried the following:

# rm /var/run/ndc 
# ln -s /var/run/ndc /etc/namedb/var/run/ndc
# ndc start
new pid is 42557

then, just to be sure:
# ndc stop

and named did quit.

Did I stumble on a typo in the handbook?  And if so, did I also
stumble on the CORRECT way to do it?


And, finally, once I got named started in this manner, I got the
following message in the /var/log/messages:

Jan 28 10:41:04 keyslapper named[42779]: check_hints: A records for
J.ROOT-SERVERS.NET class 1 do not match hint records

Doing a lookup, host gave 192.58.128.30 as the correct IP, but
named.root had 198.41.0.10.  When I changed named.root and restarted
named, the message went away.  Anyone else ever have this kind of
problem?


TIA

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

QOTD:
  I'm not really for apathy, but I'm not against it either...

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



desknote 928a sis 900 ethernet driver problems?

2003-01-28 Thread Evren Yurtesen
I have desknote 928a and sis 900 ethernet says attach returned 6
although it finds the MAC. I tried with 4.6.2, 4.7, 5.0 release boot
floppies! Same result!

Did anybody have any luck with this?

Evren


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



5.0 buildworld dying on kerberos

2003-01-28 Thread David J. Haines
Hey all-
	I am trying to do a buildworld on 5.0-RELEASE, but it seems to die  
while making the kerberos5 system.  And ideas? The error is as follows.

=== kerberos5/libexec
=== kerberos5/libexec/ipropd-master
cc -O -pipe -march=pentium4  
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
include   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
kadm5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
krb5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
asn1   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
hdb   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
roken   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
kuser   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master -Wall  
-I/usr/src/kerberos5/libexec/ipropd-master/../../include  
-DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6-c  
/usr/src/crypto/heimdal/lib/kadm5/ipropd_master.c
cc -O -pipe -march=pentium4  
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
include   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
kadm5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
krb5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
asn1   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
hdb   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
roken   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
kuser   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master -Wall  
-I/usr/src/kerberos5/libexec/ipropd-master/../../include  
-DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6 -o ipropd-master  
ipropd_master.o  
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/ 
libkadm5srv -lkadm5srv   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkrb5  
-lkrb5   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb  
-lhdb  
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libroken  
-lroken   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers  
-lvers  -lkrb -lkafs   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1  
-lasn1 -lcrypto -lcrypt -lcom_err
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkadm5srv/ 
libkadm5srv.so: undefined reference to `copy_Key'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `free_hdb_entry'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkadm5srv/ 
libkadm5srv.so: undefined reference to `free_Key'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `encode_hdb_entry'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `decode_hdb_entry'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `length_hdb_entry'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error


David J. Haines
Telecommunications Services
University of Oregon
[EMAIL PROTECTED]


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


Re: Caching nameserver question - I need a spot here . . .

2003-01-28 Thread Louis LeBlanc
On 01/28/03 03:39 PM, Roman Neuhauser sat at the `puter and typed:
 # [EMAIL PROTECTED] / 2003-01-27 17:15:29 -0500:
  Hey all.  I'm finally getting around to setting up a caching dns
  server.  Pretty confusing from my angle.
  
  Here's what I have so far:
  named enaabled in /etc/rc.conf
  cd to /etc/namedb and run sh make-localhost
  
  and the following in /etc/namedb/named.conf:
  
  options {
  directory /etc/namedb;
  forward first;
  forwarders {
  151.203.0.84;
  151.202.0.84;
  };
  listen-on { 10.8.20.5; };
  version surely you must be joking
  query-source address * port 53;
  };
  
  
  zone . {
  type hint;
  file named.root;
  };
  
  zone 0.0.127.IN-ADDR.ARPA {
  type master;
  file localhost.rev;
  };
 
 are you setting up a cache, or an authoritative server?
 IOW, do you want Bind to resolve names for clients (they'll will
 have it in /etc/resolv.conf and equivalents), or do you want it to
 publish names?
 
 You are doing both, but if you want to have this Bind resolving
 names for clients (external cache), being authoritative for
 0.0.127.in-addr.arpa doesn't IMO make sense.
 

I want just a caching nameserver.  If I understand correctly, you are
suggesting I remove the 0.0.127.IN-ADDR.ARPA zone.  So I should only
have the hint zone, right?

Thanks for your comments, Roman.
Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Prototype designs always work.
-- Don Vonada

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



Re: mozilla build port hangs at /usr/bin/sed

2003-01-28 Thread Pascal Giannakakis
 # [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100: 
  Hi,   
 
  i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this

  point:   
 
  /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g


  /usr/ports/www/mozilla/files/mozilla.sh 
  /usr/ports/www/mozilla/work/mozilla/mozilla   
  (cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env 
  LD_LIBRARY_PATH=.   
  MOZILLA_FIVE_HOME=. ./regxpcom;  /usr/bin/env LD_LIBRARY_PATH=. 
  MOZILLA_FIVE_HOME=.   
  ./regchrome;  /usr/bin/touch ./chrome/user-skins.rdf 
  ./chrome/user-locales.rdf)   
 
  What might be the reason? The ports tree is fresh.  
  
 It's caused by the fact that you didn't include the error message. 
 
There is no error message, it just prints this text during the portinstall
process, 
and hangs. It doesn't even use CPU time, it waits there for ever or CRTL +
C; whatever 
comes first. A package is not available, updating to 5.0 is currently not an
option. 
 

-- 
+++ GMX - Mail, Messaging  more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!


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



Re: 5.0 buildworld dying on kerberos

2003-01-28 Thread Miguel Mendez
On Tue, 28 Jan 2003 07:52:30 -0800
David J. Haines [EMAIL PROTECTED] wrote:

Hi,

 Hey all-
   I am trying to do a buildworld on 5.0-RELEASE, but it seems to
   die  
 while making the kerberos5 system.  And ideas? The error is as
 follows.
 
 === kerberos5/libexec
 === kerberos5/libexec/ipropd-master
 cc -O -pipe -march=pentium4  
^^
IIRC gcc's pentium4 optimizations are broken, or are least, prone to
errors under certain circumstances. Does the error also happen using,
e.g. CPUTYPE=i686 in your /etc/make.conf?

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg17000/pgp0.pgp
Description: PGP signature


Re: bsd

2003-01-28 Thread John Bleichert
On Mon, 27 Jan 2003, Justin Carrera wrote:
 Subject: bsd
 
 what is the difference between Freebsd and Openbsd?
 
 thank you
 

This is kinda hard to answer in a mailing list. OpenBSD is primarily 
concerned with code review and producing an uber-secure operating system. 
A lot of this work filters directly into the other BSDs.

See the mission statements on each opsys' website and also the archives 
of this list for more info.

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


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



Re: Caching nameserver question - I need a spot here . . .

2003-01-28 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-28 10:52:10 -0500:
 I want just a caching nameserver.  If I understand correctly, you are
 suggesting I remove the 0.0.127.IN-ADDR.ARPA zone.  So I should only
 have the hint zone, right?

exactly.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



Re: How to stop BIND from using high ports?

2003-01-28 Thread Matthew Seaman
On Tue, Jan 28, 2003 at 04:11:51PM +0100, Mark wrote:
 - Original Message -
 From: Matthew Seaman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, January 28, 2003 1:52 PM
 Subject: Re: How to stop BIND from using high ports?
 
 
  On Tue, Jan 28, 2003 at 11:29:28AM +0100, Mark wrote:
 
  I assume that 10.0.0.2 is the IP number of your DNS machine.
 
 Yes.
 
  Then it would appear to be doing exactly what it's been told to. All the
  replies it sends have the source IP address of the machine and the
  *source* port 53.
 
 You know what? You are absolutely right. :) I guess I read it wrong, in my
 panic (kernel is not the only one prone to panic attacks).
 
 Problem is, an ISP in Australia cannot resolve me; and, as I wrote the
 admin, he responded:
 
 Our name servers are configured to send queries with a source port of 53 ..
 but when we do so, you respond from a high port? ... I suspect that bind is
 throwing away your replies because they don't match the expected response
 ip/port combination.
 
 I tried to resolve my domain name via their name server
 (ns1.optusnet.com.au = 203.2.75.2), and, indeed, that fails. He gave me
 the following log entries, though:
 
 --[ with src port = 53 ]
 15:33:03.472128 210.49.20.142.domain  194.109.160.70.domain:  [udp sum ok]
 6636 A? asarian-host.net. [|domain] (ttl 64, id 13043, len 62)
 15:33:03.802488 194.109.160.70.34336  210.49.20.142.domain:  6636*- q: A?
 
 Here it seems my BIND is indeed replying with a source port of 34336. Very
 peculiar. I have no idea how this is possible. :(

Is your nameserver perhaps behind a NAT gateway?  Does this option
from the natd(8) man page seem relevant to you?

 -same_ports | -m
 Try to keep the same port number when altering outgoing pack-
 ets.  With this option, protocols such as RPC will have a
 better chance of working.  If it is not possible to maintain
 the port number, it will be silently changed as per normal.

I've seen a similar effect with NTP passing through a NAT'ing firewall
before now.  NTP expects both source and destination ports to be 123,
and it got perplexed by packets sent to port 123 apparently from some high
numbered port.

The -same_ports option will mostly work, but the only completely
effective answer is to provide nameservice from an internet registered
address.  As it seems that ns1.asarian-host.net and
ns2.asarian-host.net are both the same machine (or at least, are
sharing the same IP address) which is therefore your one and only
registered IP number and probably your NAT gateway, I think your best
bet is to find someone on a different part of the net to 2ary for you.
If your ISP won't do it or is too expensive, look at
eg. http://www.gradwell.com/services/sec_dns.cfm?cfid=258474cftoken=21163252

(Which, I happen to know, is hosted on FreeBSD boxes)

You can always set up your machine as domain master (so you control
the content), but register the domain using a couple of well connected
secondary NS's (which will get all the traffic).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK



msg17003/pgp0.pgp
Description: PGP signature


FreeBSD 5.0 on Dell Inspiron 2650

2003-01-28 Thread Mark Miller
Hello,

I'm trying to put 5.0-RELEASE on my new laptop, and I found a good guide
for doing so with 4.x-- basically, you have to escape the autoboot
process, type boot -c, enter eisa 0 at the config prompt, and then
quit to start the boot.  But it seems like 5.0 does not support boot -c
(just ignores it entirely).  I'm using the disc 1 .iso (it mentions
mini-inst during the pre-boot stages).  Can anybody tell me what I'm doing
wrong, or what the replacement for boot -c is?

Thanks in advance,
Mark

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



IMAPd

2003-01-28 Thread Gannater Jnos
It seems like my IMAPd is loaded, but not correctly.
How can I tell IMAPd to use my authentication information?
And how should I configure IMAPd?
My problem is that when I try to log in to my accounts from
squirrelmail it says their are not availible. Althought I
used the right password and username.



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



Re: more named questions . . .

2003-01-28 Thread Dan Pelleg
Louis LeBlanc [EMAIL PROTECTED] writes:

 
 And, finally, once I got named started in this manner, I got the
 following message in the /var/log/messages:
 
 Jan 28 10:41:04 keyslapper named[42779]: check_hints: A records for
 J.ROOT-SERVERS.NET class 1 do not match hint records
 
 Doing a lookup, host gave 192.58.128.30 as the correct IP, but
 named.root had 198.41.0.10.  When I changed named.root and restarted
 named, the message went away.  Anyone else ever have this kind of
 problem?
 
 

Lots of people; there was a lot of discussion in the mailing lists about
this. In fact, there is one going on right now on freebsd-stable. Search
for the thread 4.7-R-p3: j.root-servers.net

-- 

  Dan Pelleg

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



FW: Running 4.7-REL need bind-9.1+

2003-01-28 Thread Everett Batey EL

Guess it was a big mistake to send a security issue question to 
security@freebsd,  I apologize.

My concerns are over my FreeBSD 4.7-REL bind-8.  I am 
under a lot of pressure (to stay on the air) to upgrade
just the bind 8.x to preferably 9.2.2.  IS THERE ANY WAY
to just get the /usr/ports/.../bind-9.2.x FOR 4.7R ???

i I dont want to get the whole ports and ii I dont want to 
upgrade my whole release, and, iii I do want a clean bind-9.2+
that is well tuned to the 4.7 .. 

HOW ???



-Original Message-
From: Jacques A. Vidrine [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 5:57 AM
To: [EMAIL PROTECTED]
Subject: Re: Running 4.7-REL need bind-9.1+


On Fri, Jan 24, 2003 at 12:18:36AM -0800, Everett F Batey II - PB_G4 elnk wrote:
 We were just compelled to update our BIND boxes. 
 That was a slam [dunk] for our Solaris for bind-9.2.2rc1. 
  I AM NOT SO GOOD with FreeBSD.  Is there a way I can 
 just update the bind port alone and be able to do a make 
 build just for named, dig, etc ???
 
 I have yet to learn how to just get ONE port in the tree. 
  help .. please..

 This address is for communicating with the FreeBSD Security
 Officer.  It is not for general questions or discussion.

 Please try writing to [EMAIL PROTECTED] instead.

Cheers,
-- 
Jacques A. ...


R/ Everett -- 805 340-6471
  800 545-6998 / [EMAIL PROTECTED]
  www.vhwy.com

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



Re: FreeBSD-5.0 xl0 problem

2003-01-28 Thread Alex

Dear/Beste Roman,

Monday, January 27, 2003, 9:21:45 AM, you wrote:

 I currently installed FreeBSD-5.0 and having problem configuring xl 
 card. Dmesg shows that kernel picks it up:

 xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xe400-0xe47f mem 
 0xe000-0xe07f irq 11 at device 9.0 on pci0
 xl0: Ethernet address: 00:50:da:7d:f1:c3

 after i do ifconfig xl0 up it seems like the card shuts down, the 
 link indicator on the hub as well as on the card itself goes blank...

 Here is ifconfig before i do anything:

 xl0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
  options=3RXCSUM,TXCSUM
  ether 00:50:da:7d:f1:c3
  media: Ethernet 100baseTX hw-loopback (100baseTX 
 full-duplex)
  status: active
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 ::1 prefixlen 128
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
  inet 127.0.0.1 netmask 0xff00

 ifconfig after ifconfig xl0 up:

   xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
  options=3RXCSUM,TXCSUM
  inet6 fe80::250:daff:fe7d:f1c3%xl0 prefixlen 64 scopeid 0x1
  ether 00:50:da:7d:f1:c3
  media: Ethernet 100baseTX hw-loopback (none)
 lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
  inet6 ::1 prefixlen 128
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
  inet 127.0.0.1 netmask 0xff00


 With 4.7 there is no such problem. Is there is a way to load old 
 (4.7) xl driver?
 Thank you.
 roman.

You could try to take the source files for the xl driver from 4.7 and
put them with the 5.0 source than follow a normal make world (from the
handbook)

There located in /usr/src/sys/modules/xl and /usr/src/sys/pci (if_xl.c
opt_bdg.h device_if.h bus_if.h pci_if.h).

It would be nice if you checked the bugs pages and send a PR if its
missing.

From Mat:

 I also use 3com's with the xl driver and I have no such issues:
 
 xl0: 3Com 3c905B-TX Fast Etherlink XL port 0xe400-0xe47f mem 0xea00-
 0xea7f irq 12 at device 15.0 on pci0
 xl0: Ethernet address: 00:a0:24:ac:e1:b4
 xl1: 3Com 3c905-TX Fast Etherlink XL port 0xe800-0xe83f irq 11 at device 
 17.0 on pci0
 xl1: Ethernet address: 00:60:08:6d:1e:3b
 
 Both are configured and working first on FreeBSD5.0-RELEASE and now on 5.0-
 CURRENT after I cvsup'd over the weekend.
 
 The only problems I have seen which I did not see with 4.x-STABLE was the 
 following errors:
 
 xl1: transmission error: 90
 xl1: tx underrun, increasing tx start threshold to 120 bytes
 
 This occured as I was transferring a large amount of data over a samba mount, 
 but I have not seen it since and the card is still working normally.

I also got a xl1 card. I got the same errors when i was running 4.5 or
4.4 (i don't remember that well). All was ok when i updated later.

-- 
Best regards/Met vriendelijke groet,
Alex


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



Re: IMAPd

2003-01-28 Thread Michael K. Smith

On Tuesday, January 28, 2003, at 09:44 AM, Gannater János wrote:


It seems like my IMAPd is loaded, but not correctly.
How can I tell IMAPd to use my authentication information?
And how should I configure IMAPd?
My problem is that when I try to log in to my accounts from
squirrelmail it says their are not availible. Althought I
used the right password and username.



My guess is either your inetd.conf file or your Squirrel Mail  
configuration are broken.  Here are both for UW Imap.

Server Settings
1.  Domain   : your domain
2.  IMAP Server  : localhost
3.  IMAP Port: 143
4.  Use Sendmail/SMTP: SMTP
6.SMTP Server: localhost
7.SMTP Port  : 25
8.Authenticated SMTP : false
9.POP Before SMTP: false
10. Server   : uw
11. Invert Time  : false
12. Delimiter: detect

This is the entry I use for inetd.conf (which I think is the default).

imap4   stream  tcp nowait  root/usr/local/libexec/imapd 
imapd

Mike
 
--
Michael	K.	Smith		NoaNet
206.219.7116 (work)		206.579.8360 (cell)
[EMAIL PROTECTED]		http://www.noanet.net


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


Re: 5.0 buildworld dying on kerberos

2003-01-28 Thread David J. Haines
Well, that didn't fix it.  I set the CPUTYPE as instructed, but I got  
the following error:

=== kerberos5/lib/libkadm5clnt
=== kerberos5/lib/libkadm5srv
=== kerberos5/lib/libsl
=== kerberos5/lib/libgssapi
=== kerberos5/lib/libkafs5
=== kerberos5/lib/libtelnet
=== kerberos5/libexec
=== kerberos5/libexec/ipropd-master
cc -O -pipe -march=pentiumpro  
-I/usr/src/kerberos5/libexec/ipropd-master/../../.
./crypto/heimdal/include   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../cr
ypto/heimdal/lib/kadm5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../cryp
to/heimdal/lib/krb5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/
heimdal/lib/asn1   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/hei
mdal/lib/hdb   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
roken   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
kuser   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master -Wall  
-I/usr/src/kerberos5/libexec/ipropd-master/../../include  
-DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6-c  
/usr/src/crypto/heimdal/lib/kadm5/ipropd_master.c
cc -O -pipe -march=pentiumpro  
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
include   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
kadm5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
krb5   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
asn1   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
hdb   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/ 
roken   
-I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/ 
kuser   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb   
-I/usr/obj/usr/src/kerberos5/libexec/ipropd-master -Wall  
-I/usr/src/kerberos5/libexec/ipropd-master/../../include  
-DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6 -o ipropd-master  
ipropd_master.o  
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/ 
libkadm5srv -lkadm5srv   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkrb5  
-lkrb5   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb  
-lhdb  
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libroken  
-lroken   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers  
-lvers  -lkrb -lkafs   
-L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1  
-lasn1 -lcrypto -lcrypt -lcom_err
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `length_GENERATION'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `copy_GENERATION'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `decode_GENERATION'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `encode_GENERATION'
/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/ 
libhdb.so: undefined reference to `free_GENERATION'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

On Tuesday, January 28, 2003, at 07:56  AM, Miguel Mendez wrote:

On Tue, 28 Jan 2003 07:52:30 -0800
David J. Haines [EMAIL PROTECTED] wrote:

Hi,


Hey all-
	I am trying to do a buildworld on 5.0-RELEASE, but it seems to
	die
while making the kerberos5 system.  And ideas? The error is as
follows.

=== kerberos5/libexec
=== kerberos5/libexec/ipropd-master
cc -O -pipe -march=pentium4

^^
IIRC gcc's pentium4 optimizations are broken, or are least, prone to
errors under certain circumstances. Does the error also happen using,
e.g. CPUTYPE=i686 in your /etc/make.conf?

Cheers,
--
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!
mime-attachment



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



Re: mozilla build port hangs at /usr/bin/sed

2003-01-28 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-28 16:54:20 +0100:
  # [EMAIL PROTECTED] / 2003-01-27 13:12:39 +0100: 
   Hi,   
  
   i can't build mozilla from ports on FreeBSD 4.7-STABLE. It hangs at this
 
   point:   
  
   /usr/bin/sed -e s|%%PREFIX%%|/usr/X11R6|g -e s|%%MOZILLA%%|mozilla|g
 
   /usr/ports/www/mozilla/files/mozilla.sh 
   /usr/ports/www/mozilla/work/mozilla/mozilla   
   (cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env 
   LD_LIBRARY_PATH=.   
   MOZILLA_FIVE_HOME=. ./regxpcom;  /usr/bin/env LD_LIBRARY_PATH=. 
   MOZILLA_FIVE_HOME=.   
   ./regchrome;  /usr/bin/touch ./chrome/user-skins.rdf 
   ./chrome/user-locales.rdf)   
  
   What might be the reason? The ports tree is fresh.  
   
  It's caused by the fact that you didn't include the error message. 
  
 There is no error message, it just prints this text during the portinstall
 process, and hangs. It doesn't even use CPU time, it waits there for
 ever or CRTL + C; whatever comes first. A package is not available,
 updating to 5.0 is currently not an option. 

Hmm, are you sure it hangs in sed? Looks like it's actually in
/usr/ports/www/mozilla/work/mozilla/dist/bin/regxpcom.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



cvs

2003-01-28 Thread Brian Henning
I am setting up a cvs server on my bsd box. So far i have enabled pserver in
my /etc/initd.conf file. I have added a user called 'cvsuser' i have created
a repository in /home/cvsroot i have pointed my CVSROOT variable to that
cvsroot directory. when i enter the command
cvs -d :pserver:cvsuser@localhost:/home/cvsroot login
i can't get logged in because i don't have a password set in my passwd file.
i created an empty one '/home/cvsroot/passwd' but, i don't know howto add
users to it..
can anyone help me do this?
thanks,

brian

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



SOLVED! (was: Re: How to stop BIND from using high ports?)

2003-01-28 Thread Mark
- Original Message -
From: Matthew Seaman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 28, 2003 5:31 PM
Subject: Re: How to stop BIND from using high ports?

 On Tue, Jan 28, 2003 at 04:11:51PM +0100, Mark wrote:

  --[ with src port = 53 ] 15:33:03.472128 210.49.20.142.domain 
  194.109.160.70.domain: [udp sum ok] 6636 A? asarian-host.net. [|domain]
  (ttl 64, id 13043, len 62) 15:33:03.802488 194.109.160.70.34336 
  210.49.20.142.domain: 6636*- q: A?
 
  Here it seems my BIND is indeed replying with a source port of 34336.
  Very peculiar. I have no idea how this is possible. :(

 Is your nameserver perhaps behind a NAT gateway?  Does this option
 from the natd(8) man page seem relevant to you?

   -same_ports | -m
Try to keep the same port number when altering outgoing
packets. With this option, protocols such as RPC will have a
better chance of working.  If it is not possible to maintain
the port number, it will be silently changed as per normal.


Matthew, you're a genius!! :) Although I do not have the NAT daemon running,
I suddenly realized my hardware router does NAT too.

You were so right! Even though the hardware NAT has no redirection defined
for outgoing ports, this is, in fact, exactly what happened, just as you
predicted. :) I disabled it altogether (I just used it for incoming
port-redirection to several machines on my LAN, but I now solved that
otherwise), and lo and behold, all problems are immediately gone and
everything resolves again. :))

I'm impressed! Matthew, you're the man! :)

- Mark


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



Re: IMAPd

2003-01-28 Thread Gannater Jnos
 My guess is either your inetd.conf file or your Squirrel
Mail  
 configuration are broken.  Here are both for UW Imap.
 
 Server Settings
 1.  Domain   : your domain
 2.  IMAP Server  : localhost
 3.  IMAP Port: 143
 4.  Use Sendmail/SMTP: SMTP
 6.SMTP Server: localhost
 7.SMTP Port  : 25
 8.Authenticated SMTP : false
 9.POP Before SMTP: false
 10. Server   : uw
 11. Invert Time  : false
 12. Delimiter: detect
 
 This is the entry I use for inetd.conf (which I think is
the default).
 
 imap4   stream  tcp nowait  root   
/usr/local/libexec/imapd imapd
 
I tried this:

telnet localhost 143
  A01 LOGIN username password
  A02 LOGOUT

But it's not working. He can't find the username..
There should be some problem with the IMAPd.
What should I do?



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



Re: Which files and directories to backup?

2003-01-28 Thread Francisco Reyes
On Tue, 28 Jan 2003, Brett Harris wrote:
 The best way that I've found to back my machine's configs up, is to
create a directory such as /etc/config , *move* all my important
configuration files to it (firewall, syslogd, rc.conf etc -
basically anything i'd want to keep for a new machine),
and then symlink them to their proper locations.

But don't you want to also have an external copy outside the machine?
What if the whole HD dies?


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



IP Change == Problems

2003-01-28 Thread Joseph Maxwell
Hello,
I recently changed my ISP - DSL provider, a new static IP, and now
having problems ssh'ing in, none before.
My config ==

ISP[DSL]
|
Modem
|
Router/Gateway
|
==  HubLAN machine(1)
   |LAN machine(2)
   |
   |LAN machine(n)

The LAN side machines are configured w/ NAT and the mapping are
unchanged, using 192.168.x.n etc. The WAN side is configured correctly,
I think. I can access the internet from the LAN, SSH  Telnet. However I
cannot telnet or SSH into the LAN and the Port mappings are the same as
before??? The only change has been to the Gateway configuration, IP #,
DNS  subnetmask.

I am using the SMC barricade router,SMC7004ABR, w/ an
Admin GUI, according to the GUI the IP has been updated.
I can ping the gateway, it is seen by nslookup, there is no hostname
assigned so there should be no resolver issues I think

ftp or ssh to the IP followed by the :assigned public port ==
No address associated with hostname

I 've made the requisite changes to the
defaultrouter=nnn.xxx.yy.zz in the /etc/rc.conf file inserting the
gateway IP LAN address here. Are there any files that may contain the
Old IP # and may require changing?

What am I missing?
Thanks!
--  Joe  --




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



Managing /etc/hosts.lpd??

2003-01-28 Thread Mark


Hello,

Is there a better way to manage lpd permissions than 
specifying individual hosts in /etc/hosts.lpd?  I have a
heterogeneous network here (there are a few Winder's machines in
addition to a bunch of Unix machines) that has a bunch o' machines
on it, all of which are listed in a local DNS server.  

What I'd really like to be able to do is just say:  Allow
any machine from this local domain to connect to lpd.

The documentation for hosts.lpd doesn't help out on
format here, and the source code for lpd.c seems to confirm
that there is, indeed, no wildcarding supported.

Any other options?

Thanks,
mark...




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



Re: Managing /etc/hosts.lpd??

2003-01-28 Thread Bill Moran
Mark wrote:


Hello,

Is there a better way to manage lpd permissions than 
specifying individual hosts in /etc/hosts.lpd?  I have a
heterogeneous network here (there are a few Winder's machines in
addition to a bunch of Unix machines) that has a bunch o' machines
on it, all of which are listed in a local DNS server.  

What I'd really like to be able to do is just say:  Allow
any machine from this local domain to connect to lpd.

The documentation for hosts.lpd doesn't help out on
format here, and the source code for lpd.c seems to confirm
that there is, indeed, no wildcarding supported.

Any other options?

I wouldn't normally chime in like this, but I want to add a me too
here.

In my case it would be perfectly acceptable to eliminate all host
checking on the part of LPD, since the LPD port is firewalled off from
everything but our local network anyway.

Haven't been able to find any way to do this (or what Mark asks for)
in the docs anywhere.  Am I missing something?

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread Conrad Sabatier

On 28-Jan-2003 John Reynolds~ wrote:
 
 We need to echo a string *and* a NUL character (\0) into a stream so that a
 program that delimits its input by \0 characters will do the right thing.
 
 He had been doing this via printf(1) like so:
 
   % printf some string\0 | some_process
 
 however, it never worked under FreeBSD. Upon further inspection, our
 printf(1) does not work like the GNU one with the above string. Consider
 this from a linux box:
 
   linux [~]374% printf foo\0bar\0 | od -c
   000   f   o   o  \0   b   a   r  \0
   010
 
 Now the same command from a FreeBSD (4.7-STABLE) box:
 
   freebsd [~]76% printf foo\0bar\0 | od -c
   000f   o   o
   003

Works fine under -current:

$ printf foo\0bar\0 | od -c
000f   o   o  \0   b   a   r  \0

 After checking the man pages, I also used a complete octal constant but that
 doesn't work either:
 
   linux [~]376% printf foo\ | od -c
   000   f   o   o  \0
   004
 
   freebsd [~]77% printf foo\ | od -c
   000f   o   o
   003

This also works under -current:

$ printf foo\ | od -c
000f   o   o  \0
004

 I checked our implementation and it seems wrong. The first step done in the
 source code is to interpolate all escape sequences. However, when it does
 this and the octal number happens to be 0, this fact is not captured
 later on and that 0 becomes the NULL terminator for the string and nothing
 else is printed after it.
 
   linux [~]379% printf foo\0%d 4 | od -c
   000   f   o   o  \0   4
   005
   
   freebsd [~]78% printf foo\0%d 4 | od -c
   printf: missing format character
   000f   o   o
   003

This also works under -current:

$ printf foo\0%d 4 | od -c
000f   o   o  \0   4
005

 This behavior has been checked on HP-UX and Solaris and those two systems are
 identical to the Linux one. It seems to me that our printf(1)'s behavior is
 incorrect. Comments?

It may very well be that printf (or libc?) has a bug under -stable.  Are you
using any unusual optimization settings in /etc/make.conf, by the way?  When
did you last upgrade?
 
-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas


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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread John Reynolds~

[ On Tuesday, January 28, Conrad Sabatier wrote: ]
 
 Works fine under -current:
 
 $ printf foo\0bar\0 | od -c
 000f   o   o  \0   b   a   r  \0
 
 This also works under -current:
 
 $ printf foo\ | od -c
 000f   o   o  \0
 004
 
 This also works under -current:
 
 $ printf foo\0%d 4 | od -c
 000f   o   o  \0   4
 005

That's good that all of those work under -current.

 It may very well be that printf (or libc?) has a bug under -stable.  Are you
 using any unusual optimization settings in /etc/make.conf, by the way?  When
 did you last upgrade?

nope, nothing unusual.

 CFLAGS= -O -pipe

The last time I updated and installed world/kernel was Dec 26th of 2002
(4.7-STABLE). 

Maybe if it's not a libc problem but just a printf(1) src problem we could get
an MFC done ...

Thanks for the info. At least we know that -current acts like other OS's.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|John Reynolds   Sr. Component Design Engineer - ICG/EID/Si Engineering |
|Intel Corporation   MS: CH6-302   Phone: 480-554-9092   pgr: 602-868-6512  |
|[EMAIL PROTECTED]  http://www-aec.ch.intel.com/~jreynold/   |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread Conrad Sabatier

On 28-Jan-2003 John Reynolds~ wrote:
 
 [ On Tuesday, January 28, Conrad Sabatier wrote: ]
 
 It may very well be that printf (or libc?) has a bug under -stable.  Are you
 using any unusual optimization settings in /etc/make.conf, by the way?  When
 did you last upgrade?
 
 nope, nothing unusual.
 
  CFLAGS= -O -pipe
 
 The last time I updated and installed world/kernel was Dec 26th of 2002
 (4.7-STABLE). 
 
 Maybe if it's not a libc problem but just a printf(1) src problem we could
 get an MFC done ...

Unless it's already been done.  :-)  Can you check the RCS Id in
/usr/src/usr.bin/printf/printf.c?  Here's what I have:

$FreeBSD: src/usr.bin/printf/printf.c,v 1.26 2002/09/04 23:29:05 dwmalone Exp $

 Thanks for the info. At least we know that -current acts like other OS's.

Now, if we have identical versions, we have a bona fide mystery on our hands
here.  :-)

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas


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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread John Reynolds~

[ On Tuesday, January 28, Conrad Sabatier wrote: ]
 
 Unless it's already been done.  :-)  Can you check the RCS Id in
 /usr/src/usr.bin/printf/printf.c?  Here's what I have:
 
 $FreeBSD: src/usr.bin/printf/printf.c,v 1.26 2002/09/04 23:29:05 dwmalone Exp $
 
 Now, if we have identical versions, we have a bona fide mystery on our hands
 here.  :-)
 

Well, this is what I have:

  $FreeBSD: src/usr.bin/printf/printf.c,v 1.12.6.6 2002/04/29 16:45:16 jmallett

according to the CVS repo, 1.26 has RELENG_5_0* tags as well as HEAD while
the latest on the RELENG_4 branch is still what I have--1.12.6.6.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|John Reynolds   Sr. Component Design Engineer - ICG/EID/Si Engineering |
|Intel Corporation   MS: CH6-302   Phone: 480-554-9092   pgr: 602-868-6512  |
|[EMAIL PROTECTED]  http://www-aec.ch.intel.com/~jreynold/   |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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



portupgrade of rsync-2.5.5_1 fails

2003-01-28 Thread Stacey Roberts
Hello,
 After a fresh cvsup of ports tree, portupgrade -R rsync2.5.5_1
fails. Here is the uname info:
$ uname -a
FreeBSD snip 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 15 23:37:50 GMT
2002 snip:/usr/obj/usr/src/sys/snip  i386
$

Here is a tail of the portupgrade output:
 rsync 2.5.6 configuration successful

===  Building for rsync-2.5.6
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c rsync.c -o rsync.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c generator.c -o generator.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c receiver.c -o receiver.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c cleanup.c -o cleanup.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c sender.c -o sender.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c exclude.c -o exclude.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c util.c -o util.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c main.c -o main.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c checksum.c -o checksum.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c match.c -o match.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c syscall.c -o syscall.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c log.c -o log.o
log.c: In function `log_transfer':
log.c:579: warning: unused parameter `file'
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c backup.c -o backup.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c options.c -o options.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c flist.c -o flist.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c io.c -o io.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c compat.c -o compat.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c hlink.c -o hlink.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c token.c -o token.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c uidlist.c -o uidlist.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c socket.c -o socket.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c fileio.c -o fileio.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c batch.c -o batch.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c clientname.c -o clientname.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c progress.c -o progress.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c pipe.c -o pipe.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c params.c -o params.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c loadparm.c -o loadparm.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c clientserver.c -o clientserver.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c access.c -o access.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c connection.c -o connection.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c authenticate.c -o authenticate.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c lib/fnmatch.c -o lib/fnmatch.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c lib/compat.c -o lib/compat.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c lib/snprintf.c -o lib/snprintf.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c lib/mdfour.c -o lib/mdfour.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c lib/permstring.c -o lib/permstring.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/deflate.c -o zlib/deflate.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/infblock.c -o zlib/infblock.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/infcodes.c -o zlib/infcodes.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/inffast.c -o zlib/inffast.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/inflate.c -o zlib/inflate.o
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/inftrees.c -o zlib/inftrees.o
zlib/inftrees.c: In function `inflate_trees_fixed':
zlib/inftrees.c:403: warning: unused parameter `z'
cc -I. -I. -O -pipe -march=pentiumpro -DHAVE_CONFIG_H -Wall -W -I./popt 
-c zlib/infutil.c -o zlib/infutil.o
cc -I. -I. -O -pipe 

can we use KDE 3.1 on FreeBSD 4.7?

2003-01-28 Thread BSD baby
Sorry for the newbie Q:

I'd love to start using KDE 3.1 as soon as possible on my FreeBSD 4.7 box.

How will I know when/if it's ready to install from ports?
What's the recommended method?  Just 'cvsup' and see if it's there?


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



RE: can we use KDE 3.1 on FreeBSD 4.7?

2003-01-28 Thread Harald Schmalzbauer
[EMAIL PROTECTED] wrote:
 Sorry for the newbie Q:

 I'd love to start using KDE 3.1 as soon as possible on my FreeBSD 4.7
 box.

 How will I know when/if it's ready to install from ports?
 What's the recommended method?  Just 'cvsup' and see if it's there?

You can also have a look at http://www.freshports.org and cvsup
afterwards;-)

-Harry



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



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



RE: can we use KDE 3.1 on FreeBSD 4.7?

2003-01-28 Thread Scott A. Moberly

 [EMAIL PROTECTED] wrote:
 Sorry for the newbie Q:

 I'd love to start using KDE 3.1 as soon as possible on my FreeBSD 4.7
 box.

 How will I know when/if it's ready to install from ports?
 What's the recommended method?  Just 'cvsup' and see if it's there?

 You can also have a look at http://www.freshports.org and cvsup
 afterwards;-)

 -Harry


Looks like it is committed :)

-- 
Scott A. Moberly
[EMAIL PROTECTED]

A language that doesn't affect the way you think about programming is
not worth knowing.




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



setuid sendmail

2003-01-28 Thread Michael Grant
It seems that sendmail is no longer setuid root.  (I have 4.7 on one
box where it's not setuid and 4.2 stable on another box where it is).

When I run mailq from my 4.7 box, I get a permission denied error when 
run as a normal user.  Is this now the expected behavior?  Is there
any relatively secure way to make mailq work again from a non-root
user?

Michael Grant

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



Deleted files not releasing their space (was Re: syslog message wrtinodes)

2003-01-28 Thread Bill Moran
David Bear wrote:

I'm getting messages like below that I'm out of inodes on /var.

asu.edu kernel log messages:


id 25 on /var: out of inodes
 syslogd: /var/log/auth.log: No such file or directory
 syslogd: /var/log/maillog: No such file or directory
 syslogd: /var/log/cron: No such file or directory
 syslogd: /var/log/auth.log: No such file or directory
 syslogd: /var/log/maillog: No such file or directory
 syslogd: /var/log/cron: No such file or directory
 syslogd: /var/log/auth.log: No such file or directory
 syslogd: /var/log/maillog: No such file or directory
 syslogd: /var/log/cron: No such file or directory
 syslogd: /var/log/auth.log: No such file or directory
 syslogd: /var/log/maillog: No such file or directory
 syslogd: /var/log/cron: No such file or directory



Filesystem  1K-blocks   Used   Avail Capacity iused  ifree %iused  Mounted on
/dev/ad0s1a128990  37232   8144031%1316  149388%   /
/dev/ad0s1f257998  4  237356 0%   2  325080%   /tmp
/dev/ad0s1g   2341102 508366 164544824%   37711 256175   13%   /usr
/dev/ad0s1e257998  25572  21178811%8298  24212   26%   /var
procfs  4  4   0   100%  255075%   /proc

Last week my var volume did run out of inodes.  I erase some
snort logs to free up the inodes.  But it appears the kernel or
syslogd doesn't know about it.

any pointers on letting the kernel know I have enough inodes?


Let's see if I remember the details on this.
I believe this happens when a file is deleted, but another program still holds
a filehandle? to it.  Thus, if you delete Apache's log file (for example) but
don't restart Apache, the space the logfile is using isn't truely freed.
(This is why newsyslog.conf has a column for the PID of a process to restart).

So ... if you know which process had the files open, restart it (probably by
sending it a -HUP).

If you don't know, you can probably cheat and just reboot the machine, but that
shouldn't be necessary.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



Fw: cvs

2003-01-28 Thread Brian Henning



John,

 the only step i am not clear on is step 4. Where can i find the passwd file
 that i should use? I assume that you are talking about the shadowed
password
 file.

 Thanks for you input,

 Brian


 - Original Message -
 From: John Mills [EMAIL PROTECTED]
 To: Brian Henning [EMAIL PROTECTED]
 Cc: freebsd [EMAIL PROTECTED]
 Sent: Tuesday, January 28, 2003 1:27 PM
 Subject: Re: cvs


  Brian, all -
 
  It's been a while since I did this. It's a manual operation, and I've
  forgotten any subtleties.
 
  On Tue, 28 Jan 2003, Brian Henning wrote:
 
   I am setting up a cvs server on my bsd box. So far i have enabled
 pserver in
   my /etc/initd.conf file. I have added a user called 'cvsuser' i have
 created
   a repository in /home/cvsroot i have pointed my CVSROOT variable to
that
   cvsroot directory. when i enter the command
   cvs -d :pserver:cvsuser@localhost:/home/cvsroot login
   i can't get logged in because i don't have a password set in my passwd
 file.
   i created an empty one '/home/cvsroot/passwd' but, i don't know howto
 add
   users to it..
 
  In order to get started I did something like this:
 
  1) I created a 'cvsuser' as you did, a real user with a real $HOME
  directory.
 
  2) I gave that user a 'dumb' password.
 
  3) I set my pserver to use the same password authorization that the host
  did (PAM/MD5 in this case).
 
  4) I copied the system's password hash for that user into the right
place
  in their line of the CVS 'passwd' file. (DON'T DO THIS FOR A REAL USER
  WITH A SIGNIFICANT PASSWORD!!)
 
  5) I was then able to 'cvs ... login' as 'cvsuser' using the 'dumb'
  password.
 
  6) I then gave all my real CVS users the same hash in their respective
  lines in the CVS 'passwd' file, so they wouldn't compromise their
regular
  passwords by using them for CVS access.
 
  7) When I had it working I dropped those passwords back to NULL entries
by
  deleting the hash strings, as our access control was independent of CVS
  (and it had better be for you, too!).
 
  IIRC, even if you have a NULL password entry for that user, they have to
  enter _something_ at the prompt. I had some 'turnkey' build scripts and
  those used the dummy user's username as the password. It was accepted
even
  though the $CVSROOT/CVSROOT/passwd entry was NULL.
 
  I found some examples either in the distribution version of the file, or
  in the 'Cederqvist' document's description of 'Administrative Files'.
They
  weren't exactly what I needed, but they got me started.
 
  If that doesn't help, I'll go poke around in the setup and see what I
  _really_ did.
 
  DISCLAIMER: this was in RedHat Linux-7.1.
 
   - John Mills
 


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



Changing the Maximum Segment Size (MSS) of Kame MIP6 for Free BSD 4.4

2003-01-28 Thread Audsin
Respected Sir/ Madam

I am Dev, doing my research in Centre for Telecommunications Research, 
King's college London. My research project involves evaluating the 
performance of MIP6 TCP in the presence of fragmentation and without 
fragmentation. I am  using Kame MIP6 for Free BSD 4.4. I wish to change the 
Maximum segment size of the TCP. Can you please help me , where i should 
change the MSS of the TCP. Can you tell me where the default size of the 
MSS mentioned?

Eagerly waiting for the reply

Best Regards
Dev




A. Dev pramil
Research Student
Center for Telecommunications Research
University of London, Kings College
Strand WC2R 2LS





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


Re: 5.0 buildworld dying on kerberos

2003-01-28 Thread Giorgos Keramidas
Try compiling with the following in your make.conf file:

NO_CPU_CFLAGS=  true#Don't add -march=cpu to CFLAGS automatically
NO_CPU_COPTFLAGS=true   #Don't add -march=cpu to COPTFLAGS automatically

On 2003-01-28 10:09, David J. Haines [EMAIL PROTECTED] wrote:
 Well, that didn't fix it.  I set the CPUTYPE as instructed, but I
 got  the following error:

 === kerberos5/libexec/ipropd-master
 cc -O -pipe -march=pentiumpro
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/include
[...]
 cc -O -pipe -march=pentiumpro
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/include
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/kadm5
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/krb5
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/asn1
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/hdb
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/lib/roken
 -I/usr/src/kerberos5/libexec/ipropd-master/../../../crypto/heimdal/kuser
 -I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1
 -I/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb
 -I/usr/obj/usr/src/kerberos5/libexec/ipropd-master -Wall
 -I/usr/src/kerberos5/libexec/ipropd-master/../../include
 -DHAVE_CONFIG_H -DKRB5_KRB4_COMPAT -DKRB4 -DINET6 -o ipropd-master
 ipropd_master.o
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkadm5srv -lkadm5srv
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libkrb5
 -lkrb5
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb
 -lhdb
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libroken
 -lroken
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libvers
 -lvers  -lkrb -lkafs
 -L/usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libasn1
 -lasn1 -lcrypto -lcrypt -lcom_err
 /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/
 libhdb.so: undefined reference to `length_GENERATION'
 /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/
 libhdb.so: undefined reference to `copy_GENERATION'
 /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/
 libhdb.so: undefined reference to `decode_GENERATION'
 /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/
 libhdb.so: undefined reference to `encode_GENERATION'
 /usr/obj/usr/src/kerberos5/libexec/ipropd-master/../../lib/libhdb/
 libhdb.so: undefined reference to `free_GENERATION'
 *** Error code 1
 1 error

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



Re: IMAPd

2003-01-28 Thread Aslak Evang
 It seems like my IMAPd is loaded, but not correctly.
 How can I tell IMAPd to use my authentication information?
 And how should I configure IMAPd?
 My problem is that when I try to log in to my accounts from
 squirrelmail it says their are not availible. Althought I
 used the right password and username.

 My guess is either your inetd.conf file or your Squirrel Mail
 configuration are broken.  Here are both for UW Imap.

It might be a long shot, but after upgrading to latest version of UW Imap I
couldn't get it working either. Turned out to be a feature with the latest
version that defaults to only offering secure connections. So no port
143... I tried for a long time to pass the correct variable when building
to make it offer both non secure and secure connections, but i appear to be
a moron so I ended up reverting to my previous version and voila, it works
again.
Can't remember the version numbers right now, but the latest port build is
the secure-only as default version.


If anyone can tell me how to pass the correct variable when building (ie.
not only the variable, but how to pass it along to make) I'd be very
grateful.

- Aslak


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



Re: Rsync port problem...

2003-01-28 Thread Stacey Roberts
Hi Oliver,

On Tue, 2003-01-28 at 20:34, Oliver Braun wrote:
 Hi,
 
 I have messed up the Makefile just before the commit :-(
 
 Thanks to you all for pointing this out.
 
 The fix (s/@{STRIP_CMD}/@${STRIP_CMD}/) has been committed a minute
 ago.
 

Thanks for that., and for taking the time to inform us.

Regards,

Stacey

 Apologies,
Olli
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



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



Re: ICMP/Connection Oddity (SOLVED)

2003-01-28 Thread Michael K. Smith
On Tuesday, January 28, 2003, at 01:18 PM, Chuck Swiger wrote:


Michael K. Smith wrote:
[ ... ]

So, here's the issue.  When I ping any of the FreeBSD servers, every   
200th packet is dropped, irrespective of frame size (anywhere from  
100  to 1500 bytes).  I see exactly the same behavior on all of the  
FreeBSD  boxes, but the Win2k server on the same hardware, and the  
Solaris box,  don't have any drops.

What does sysctl net.inet.icmp.icmplim return...?



You'd never guess.  :-)  Thank you for showing me yet another tool I  
probably should have known about.

net.inet.icmp.icmplim: 200

Thanks again!

Mike
 
--
Michael	K.	Smith		NoaNet
206.219.7116 (work)		206.579.8360 (cell)
[EMAIL PROTECTED]		http://www.noanet.net


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


ccd problem

2003-01-28 Thread Damien Hull
I'm trying to setup raid 0 between two 80 gig drives using ccd but it's
not working. Here is the setup.

1. two 80 gig drives
2. Both on a Promise ultra 66 card
3. System disk is separate 

According to the FreeBSD hand book you need to run disklabel to give the
disk a lable and to change the partition typ to 4.2BSD. I tried running
disklabel but it tells me that it can't preforme either operation. 

It's almost like I don't have access to the drives when I use disklabel.
I can format and partition both drives when I use /stand/sysinstall. 

If anyone knows what's going on here I'd apretiate the help.



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



PPP with PPPoE stalls

2003-01-28 Thread Bartosz Fabianowski
Hi,

I have a problem with userland PPP that has persisted ever since 4.5 
(currently using 4.6 and the problem is still there). I am on DSL and 
therefore connecting through the tun0 device and PPPoE.

My problem is, that after some (varying) time, the connection just 
stalls. According to PPP's log, packets are still being sent out, but 
there is absolutely *no* traffic coming in.  There is nothing in the log 
(even when set to log all) that would hint at what is going wrong, it 
just suddenly stops receiving any packets at all.

When I connect to the diagnostic socket, the prompt is PPP. If i issue 
the diconnect command, it will change to PPp and hang there for a 
long time (up to a minute) and finally disconnect and show ppp. If I 
type connect, it will take another long time (up to a few minutes) 
until it finally connects and shows PPP.

While surfing the net, this usually does not happen. But if I start a 
big download (FreeBSD 5.0 ISO, for example) or run a program that 
quickly opens many sockets (file sharing apps), the connection will 
stall quickly (after a few megabytes of transfer) and once it has 
stalled, and I fix it by disconnecting and reconnecting, it will get 
worse and worse, stalling ever more often until I let it sit diconnected 
for a few hours.

The FreeBSD box is running as a server for my home network (NAT and 
DNS). I have tested my DSL modem with a Windows box and it perfectly 
works, no matter what I do. So, it must be something in FreeBSD. Some 
socket / connection limit in the kernel or PPP I'm hitting, maybe? If 
anybody has an idea, I would be very gald to get some help with this, it 
has been bothering me for almost a year now.

Bartosz Fabianowski


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


FreeBSD 5.0 woes

2003-01-28 Thread Juless Grosse
I installed FreeBSD 5.0 this weekend at home and
removed it five hours laters.  Two problems made this
use of this OS prohibitive for me, although I was
hoping to stop using Debian and start using FreeBSD.

1) Awful performance on the sound subsystem under
heavy load.  If I copy large files, or start the
X-Window while playing an MP3, it would simply stop
playing while the disk is being accessed.

2) (the most important) I have a second HD with all my
data in ext3.   Although I could remove the journal
and use it as a ext2, it simply didn't work as
expected and eventually it became corrupted and the
ext2utils could'nt repair it.  When I installed Debian
again, it spent more then 40 min fsck the disk.

3) Really degraded performance on X-Window and Galeon.
 their performance under Debian (xfree 4.1) is MUCH
more smoother and even perceivably faster!

Can anybody here confirm if these are common problems,
and if there are any settings I might tune for their
removal?   I really wish I could change to FreeBSD.

__ 
Post your free ad now! http://personals.yahoo.ca

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



Re: PPP with PPPoE stalls

2003-01-28 Thread Chuck Swiger
Bartosz Fabianowski wrote:
[ ... ]

I have a problem with userland PPP that has persisted ever since 4.5 
(currently using 4.6 and the problem is still there). I am on DSL and 
therefore connecting through the tun0 device and PPPoE.

Have you tried adjusting the MTU?  ISPs which use PPPoE need to use a 
slightly smaller MTU than the default; for instance, Verizon.net wants 1492.

-Chuck



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


Re: FreeBSD 5.0 woes

2003-01-28 Thread Mike Meyer
In [EMAIL PROTECTED], Juless Grosse 
[EMAIL PROTECTED] typed:
 Can anybody here confirm if these are common problems,
 and if there are any settings I might tune for their
 removal?   I really wish I could change to FreeBSD.

The performance issue is easy, and in the early adopter's guide, which
is linked to in the announcement:

  * A certain amount of debugging and diagnostic code is still in place to
help track down problems in FreeBSD 5.0's new features. This may cause
FreeBSD 5.0 to perform more slowly than 4-STABLE.

I haven't checked the details on -RELEASE, but in pre-RELEASE
versions, there was a noticable hit.

If you're trying FreeBSD for the first time, you should probably start
with 4.7. 5.0 is still the equivalent of what the Linux world calls a
development branch.

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

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



Re: FW: Running 4.7-REL need bind-9.1+

2003-01-28 Thread Marc Schneiders
On Tue, 28 Jan 2003, at 09:49 [=GMT-0800], Everett Batey EL wrote:

 My concerns are over my FreeBSD 4.7-REL bind-8.  I am
 under a lot of pressure (to stay on the air) to upgrade
 just the bind 8.x to preferably 9.2.2.  IS THERE ANY WAY
 to just get the /usr/ports/.../bind-9.2.x FOR 4.7R ???

 i I dont want to get the whole ports and ii I dont want to
 upgrade my whole release, and, iii I do want a clean bind-9.2+
 that is well tuned to the 4.7 ..

 HOW ???

Install the package for bind 9.2.1. It is here:

ftp://ftp.freebsd.org//pub/FreeBSD/ports/i386/packages-4.7-release/net/bind9-9.2.1.tgz

So do:

1. cd to your home directory (or some other place where you want the
file)
2. fetch ftp://ftp.free... etc (as above)
3. su
4. pkg_add bind9*
5. put in your /etc/rc.conf:
named_program=/usr/local/sbin/named
named_flags=-c /etc/namedb/named.conf
6. reboot and watch for any errors, specifically:

1. Bind9 wants a TTL in each zone file. So if there are none in yours
(Bind8 doesn't insist on them), Bind9 will complain. Maybe not even
start.
So what you then do is add in the beginning (after the comments, if
any present on a separate line):
$TTL 21600
The number is a suggestion. Could be more or less, depending on your
needs. 21600 seconds is six hours.

2. Bind9 wants to starts rndc, which will probably not work. It is a
program to talk with Bind9. You probably will not need it. So you can
then ignore the error.





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



RE: kde 3.1 on freebsd

2003-01-28 Thread Joey Mingrone
oopss.. that should have been *freebsd.kde.org*

Joey



From kde.freebsd.org:

Looks like KDE 3.1 has finally been released. See the announcement on the 
KDE web site.  More on FreeBSD ports and packages as it becomes available.

Joey





_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


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


Re: FreeBSD 5.0 woes

2003-01-28 Thread Bill Moran
Juless Grosse wrote:

I installed FreeBSD 5.0 this weekend at home and
removed it five hours laters.  Two problems made this
use of this OS prohibitive for me, although I was
hoping to stop using Debian and start using FreeBSD.

1) Awful performance on the sound subsystem under
heavy load.  If I copy large files, or start the
X-Window while playing an MP3, it would simply stop
playing while the disk is being accessed.

2) (the most important) I have a second HD with all my
data in ext3.   Although I could remove the journal
and use it as a ext2, it simply didn't work as
expected and eventually it became corrupted and the
ext2utils could'nt repair it.  When I installed Debian
again, it spent more then 40 min fsck the disk.

3) Really degraded performance on X-Window and Galeon.
 their performance under Debian (xfree 4.1) is MUCH
more smoother and even perceivably faster!

Can anybody here confirm if these are common problems,
and if there are any settings I might tune for their
removal?   I really wish I could change to FreeBSD.


Did you read the Early Adopters Guide?  FreeBSD 5.0 is
still pretty new.  If you're interested in a tried 
true version of FreeBSD, d/l and install 4.7.  The 4.x
branch is still under active development and there will
be more releases along the 4.x line until the 5.x line
works out enough of the problems for it to be as
reliable as 4.x has become.

Most of the problems I've seen people reporting about
5.x fall into the performance category.  I think there's
still a lot of debugging code in 5.0, and that slows
performance a lot.  I've noticed some performance issues
on my 5.0 test box, although none have been as severe
as you describe.

If you feel like contributing, the freebsd-current
mailing list might be very interested in your performance
report.  They've been working pretty hard to get 5.0
running well, and feedback is always helpful.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com


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



how to kill a while loop...

2003-01-28 Thread Josh Brooks

Hi,

I ran a command like:

while `some command` ; do something ; done 

and I missed the PID output when I backgrounded it.

Now I want to kill this while process, but I cannot find it anymore.

I tried to ps auxw | grep while, and grep do and so on, but I cannot find
the process to kill it.

How can I do that ?

thanks!


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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread Conrad Sabatier

On 28-Jan-2003 John Reynolds~ wrote:
 
 [ On Tuesday, January 28, Conrad Sabatier wrote: ]
 
 Unless it's already been done.  :-)  Can you check the RCS Id in
 /usr/src/usr.bin/printf/printf.c?  Here's what I have:
 
 $FreeBSD: src/usr.bin/printf/printf.c,v 1.26 2002/09/04 23:29:05 dwmalone
 Exp $
 
 Now, if we have identical versions, we have a bona fide mystery on our hands
 here.  :-)
 
 
 Well, this is what I have:
 
   $FreeBSD: src/usr.bin/printf/printf.c,v 1.12.6.6 2002/04/29 16:45:16
 jmallett
 
 according to the CVS repo, 1.26 has RELENG_5_0* tags as well as HEAD while
 the latest on the RELENG_4 branch is still what I have--1.12.6.6.

Ah, OK.  So there *is* a difference.  I can't imagine there being anything
unsafe about using the 5.0 version under -stable.  But it would be best to
confirm this.  Perhaps you should file a PR?

-- 
Conrad Sabatier [EMAIL PROTECTED] - In Unix veritas


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



Re: Managing /etc/hosts.lpd??

2003-01-28 Thread Garance A Drosihn
At 1:19 PM -0500 1/28/03, Bill Moran wrote:

Mark wrote:

Is there a better way to manage lpd permissions than
specifying individual hosts in /etc/hosts.lpd?  I have a
heterogeneous network here (there are a few Winder's machines
in addition to a bunch of Unix machines) that has a bunch of
machines on it, all of which are listed in a local DNS server.
What I'd really like to be able to do is just say:
Allow any machine from this local domain to connect to lpd.

The documentation for hosts.lpd doesn't help out on
format here, and the source code for lpd.c seems to confirm
that there is, indeed, no wildcarding supported.

Any other options?


I wouldn't normally chime in like this, but I want to add a
me too here.

In my case it would be perfectly acceptable to eliminate all
host checking on the part of LPD, since the LPD port is
firewalled off from everything but our local network anyway.

Haven't been able to find any way to do this (or what Mark
asks for) in the docs anywhere.  Am I missing something?


The docs do not admit this, but iirc you can list a netgroup in
your /etc/hosts.lpd file.  Unfortunately, that is not a useful
or convenient option for many users.

I have been thinking I should add simple pattern-matching support,
but I haven't decided exactly how I'd like that to work.  I will
move that higher in my list of things to do to lpr.

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]

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



FREE, NEW BOOKLET reveals the hidden secrets of bulk e-mail!

2003-01-28 Thread cashmaker
Hello. 

If Mastercard, Polaroid, Century21, and AOL use it safely and effectively, why 
can't you? Well you can...if you know the secrets! 

Legal, ethical, and responsible Bulk E-mail can make you rich! It will flood 
your bank account with money! But you have to know how, or it can lead you into 
big trouble!


That's why you need to get our FREE new booklet The Untold Secrets to Wealth 
on the Web today! Don't wait! Learn the secrets of fishing for prospects on 
the Net from the Web Fisher. They are Secrets that the professionals don't 
want you to know, and that you can't afford to be without if you hope to make 
money on the Web. 

For your FREE copy, just send a blank email to: [EMAIL PROTECTED] 
with Secrets in the subject line. 

Best regards,
Jeffrey Korn. 

Click here to Sign up: mailto:[EMAIL PROTECTED]?subject=Send-me-URL. 

For easy Removal just click here: mailto: [EMAIL PROTECTED]?
subject=REMOVE-ME 



-
This mail sent through MailService.MS - http://www.MailService.ms 

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



Re: is our printf(1) behavior correct w.r.t \0 escapes?

2003-01-28 Thread John Reynolds~

[ On Tuesday, January 28, Conrad Sabatier wrote: ]
 
 Ah, OK.  So there *is* a difference.  I can't imagine there being anything
 unsafe about using the 5.0 version under -stable.  But it would be best to
 confirm this.  Perhaps you should file a PR?
 

I will pull the -current sources tonight, compile under a fresh -STABLE and if
things work and don't appear broken in any manner I will file a PR. Thanks for
your help.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|John Reynolds   Sr. Component Design Engineer - ICG/EID/Si Engineering |
|Intel Corporation   MS: CH6-302   Phone: 480-554-9092   pgr: 602-868-6512  |
|[EMAIL PROTECTED]  http://www-aec.ch.intel.com/~jreynold/   |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

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



Re: sendmail - different smtp server

2003-01-28 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2003-01-27 23:07:11 +0800:
 Due to my ISP's smtp server not having a valid external hostname, I can
 only send emails to FreeBSD mailing list via yahoo's smtp server (which
 requires authentification).

LART them, and if it doesn't help, LART them again. If that doesn't
help either, LART them even more.
 
 Is it possible to setup my sendmail, so that it will relay emails to
 yahoo's email server instead?

It should be possible. I know Postfix can be set up with static
routes.
 
 Is editing the mailertable to add something like this correct?
 
 .freebsd.org  smtp:smtp.mail.yahoo.com

I don't know the format, sorry.

Another thing to consider is whether smtp.mail.yahoo.com will allow
you to relay through them like that.


-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.see http://www.eyrie.org./~eagle/faqs/questions.html

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



dhclient scwewiness

2003-01-28 Thread Juhani Reissell
Ok, got a new cable modem. Pretty good so far. Now, I just need to get
the DHCP client working. Haven't gotten too lucky with that so far.

First, I just put the line 
ifconfig_xl0=DHCP
in rc.conf.

That did something. Resolv.conf looked good and the leases file in
/var/db looked tremendous. But routing didn't work. Couldn't ping
anything: nameservers, the supposed default routers or anything.

Then, to get something in the log files, I tried starting the dhclient
manually. Now, I see this:
mursu dhclient: New Network Number: 213.243.154.0
mursu dhclient: New Broadcast Address: 213.243.155.255
mursu dhclient: New IP Address (xl0): 213.243.155.19
mursu dhclient: New Subnet Mask (xl0): 255.255.254.0
mursu dhclient: New Broadcast Address (xl0):213.243.155.255
mursu dhclient: New Routers: 213.243.154.1
in /var/log/messages.

This looks promising. But the routing tables don't. This is what I see
with netstat -rn:
Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
127.0.0.1  127.0.0.1  UH  2  232lo0
127.53.0.1 127.53.0.1 UH  12lo0
213.243.155.19 127.0.0.1  UGHS00lo0

And ifconfig gives:
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=3rxcsum,txcsum
inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255
ether 00:a0:24:55:02:24
media: Ethernet 10baseT/UTP
status: active

lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet 127.0.0.1 netmask 0xff00 
inet 127.53.0.1 netmask 0x 

If I ping the supposed default router 213.243.155, I see:
PING 213.243.155.1 (213.243.155.1): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host

And when I ping 213.243.155.19, I see strange things:
...
36 bytes from localhost (127.0.0.1): Redirect Host(New addr: 127.0.0.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 0054 280a   0   04  01 9e97 127.0.0.1  213.243.155.19 

36 bytes from localhost (127.0.0.1): Redirect Host(New addr: 127.0.0.1)
Vr HL TOS  Len   ID Flg  off TTL Pro  cks  Src  Dst
 4  5  00 0054 280a   0   03  01 9f97 127.0.0.1  213.243.155.19 


(Looks like the modem is alive)

So, the question is: What knob must I turn to get dhclient to set the
default route properly? Otherwise the setup look reasonable.


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



Re: Deleted files not releasing their space (was Re: syslog messagewrt inodes)

2003-01-28 Thread Philip Hallstrom
(skip down)

On Tue, 28 Jan 2003, Bill Moran wrote:

 David Bear wrote:
  I'm getting messages like below that I'm out of inodes on /var.
 
  asu.edu kernel log messages:
 
 id 25 on /var: out of inodes
   syslogd: /var/log/auth.log: No such file or directory
   syslogd: /var/log/maillog: No such file or directory
   syslogd: /var/log/cron: No such file or directory
   syslogd: /var/log/auth.log: No such file or directory
   syslogd: /var/log/maillog: No such file or directory
   syslogd: /var/log/cron: No such file or directory
   syslogd: /var/log/auth.log: No such file or directory
   syslogd: /var/log/maillog: No such file or directory
   syslogd: /var/log/cron: No such file or directory
   syslogd: /var/log/auth.log: No such file or directory
   syslogd: /var/log/maillog: No such file or directory
   syslogd: /var/log/cron: No such file or directory
 
 
  Filesystem  1K-blocks   Used   Avail Capacity iused  ifree %iused  Mounted on
  /dev/ad0s1a128990  37232   8144031%1316  149388%   /
  /dev/ad0s1f257998  4  237356 0%   2  325080%   /tmp
  /dev/ad0s1g   2341102 508366 164544824%   37711 256175   13%   /usr
  /dev/ad0s1e257998  25572  21178811%8298  24212   26%   /var
  procfs  4  4   0   100%  255075%   /proc
 
  Last week my var volume did run out of inodes.  I erase some
  snort logs to free up the inodes.  But it appears the kernel or
  syslogd doesn't know about it.
 
  any pointers on letting the kernel know I have enough inodes?

 Let's see if I remember the details on this.
 I believe this happens when a file is deleted, but another program still holds
 a filehandle? to it.  Thus, if you delete Apache's log file (for example) but
 don't restart Apache, the space the logfile is using isn't truely freed.
 (This is why newsyslog.conf has a column for the PID of a process to restart).

 So ... if you know which process had the files open, restart it (probably by
 sending it a -HUP).

 If you don't know, you can probably cheat and just reboot the machine, but that
 shouldn't be necessary.

lsof can tell you what files are open... and includes the process/pids
that have it open.

-philip


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



can I upgrade 4.4 to 4.7 via cvsup

2003-01-28 Thread Hal Lynch
Is it possible/advisable to upgrade my 4.4 system
to 4.7 either stepwise or in one jump.

If so is there a blurb somewhere giving details?.

hal


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



Re: can I upgrade 4.4 to 4.7 via cvsup

2003-01-28 Thread Sergey V. Golitzyn
yes, its possible, but after make world/ make kernel you will need to 
update some file in /etc directory, examples you can found in /usr/src/etc/

Sergey V. Golitzyn
(Russia)

On Wednesday 29 January 2003 02:32, Hal Lynch wrote:
 Is it possible/advisable to upgrade my 4.4 system
 to 4.7 either stepwise or in one jump.

 If so is there a blurb somewhere giving details?.

 hal


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


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



Re: PPP with PPPoE stalls

2003-01-28 Thread Bartosz Fabianowski
Have you tried adjusting the MTU?  ISPs which use PPPoE need to use a 
slightly smaller MTU than the default; for instance, Verizon.net wants 
1492.

Thanks for the tip, I had actually forgotten to set the MTU. However, it 
did not help :(. PPP still stalls...


Bartosz


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


Your online-business depends ENTIRELY on THIS single TOOL!

2003-01-28 Thread removehot
Hello

Frustrated? Angry for wasting your time AND money on stupid
promotional tools that DON'T work? Let me guess; you've tried
just about EVERYTHING that the Webmasters and Internet gurus
suggested :

Search Engines, E-Zines, FFAs, Opt-In lists, URL rotators,
Banners, Banner Exchange, Pop-ups, Pop-unders, Surf-For-Hits,
Paid-For-Leads, Free and Paid Classifieds, and just about
EVERYTHING else they teach you and YET, you're still not
getting any response!! I know, I've been there.

Well, you have a right to be angry, because the one and ONLY 
effective marketing tool that really makes a difference is 
being withheld from you! Well, not any more! I will reveal 
now the single MOST effective promotional tool ever conceived, 
and that is Bulk E-Mail. Let's not deny it; even large 
corporations use it extensively. The difference between them 
and Spammers, is that they use it ethically, with 
responsibility and legitimately. But now, you can level 
the playing field!! If it works for them, so will it for YOU!
The untold secrets of bulk e-mail will reveal the ways and 
methods of doing it correctly, so YOU can achieve success too.
 - ALL by using just this ONE powerful tool!

What are the untold Secrets to bulk mailing that makes 
the all important difference? How do you tap into the 
pool of tens of thousands of new Internet users coming 
in every day looking for opportunities? 

If you harbour hopes for building a successful e-business, 
you cannot afford NOT to read the real secrets of Commercial 
Bulk E-Mail! It is all explained in my booklet and you can get 
a FREE copy when you send an email with Secrets 
in the subject line to  [EMAIL PROTECTED]
OR please click the shortcut bellow :

mailto:[EMAIL PROTECTED]?subject=Secrets

Or  send an email with Secrets in the subject 
line to [EMAIL PROTECTED]

There's no cost or obligation just excitement 
and an outlook for a secure financial future! 
 
To your success!
Jeff
 
=
This is Unsolicited Commercial E-mail. To be 
removed from our list, simply click :
mailto:[EMAIL PROTECTED]?subject=Remove 
All requests honored immediately!
=



-
This mail sent through MailService.MS - http://www.MailService.ms 

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



du of a union'd fs ...

2003-01-28 Thread Marc G. Fournier

Just a quick question, but is there a way of doing a du on a union'd fs,
without unmounting the union?



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



rc.setiathome.conf proxy how?

2003-01-28 Thread jle
HELP! The documentation is pretty poor here. How do I add proxy support to
the rc.setiathome.conf file?

I've tried:
seti_proxy_args=-proxy xxx.xxx.xxx.xxx:port
seti_proxy_args=http_proxy xxx.xxx.xxx.xxx:port
HTTTP_PROXY=xxx.xxx.xxx.xxx:port
and a bunch of other variations but I always get errors and it doesnt use
my proxy.
/usr/local/etc/rc.setiathome.conf: xxx.xxx.xxx.xxx:port: not found
bad arg: xxx.xxx.xxx.xxx:port
bad arg: 15
bad arg: 10
etc...

A better set of documentation with examples would be appreciated.

TIA,

jle

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



Re: How to set-up two 'defaultrouter' IPs?

2003-01-28 Thread Lowell Gilbert
Phillip Smith (mailing list) [EMAIL PROTECTED] writes:

 To create a somewhat redundant network connection, my friend has
 connected to business level ADSL connections at his home (32 IPs each).
 So, he has two routers, on two different networks (ATT/UUNET) and what
 he's doing is multi-homing his NIC cards and via some interesting DNS
 set-up, theoretically, there is some network redundancy or failover or
 something.
 
 Anyway, here's the question... how would I set-up two 'defaultrouter'
 IPs in my rc.conf? Is that were I would do such a thing? I'd like to
 have the same scenario that he's building with a multi-homed NIC and two
 IPs per VirtualHost directive. I guess there are actually many steps to
 accomplish this (as I now start to think about it) but I'm wondering how
 to set-up the networking piece first.
 
 Many thanks in advance,

Two truly default routes is not really sensical.  You generally play
games based on source address, TCP port, or something like that, and 
make sure that they NAT separately.  [It has to involve NAT, because
for networks that small, you can't get routes distributed widely
enough to do true multihoming.]

So the answer depends on exactly what hack you want to do.

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



Re: Fixit instructions

2003-01-28 Thread bastill
Quoting Giorgos Keramidas [EMAIL PROTECTED]:

 On 2003-01-28 17:17, [EMAIL PROTECTED] wrote:
  Quoting Mike Meyer [EMAIL PROTECTED]:
   There are also some writeups on the FreeBSD web site on
   troubleshooting.
 
  Don't doubt you, but that is the first place I looked on the
  Internet.  That info is well hidden, I think.
 
 Not quite.  I believe by 'troubleshooting' Mike was referring to the
 FAQ section.  It should be pretty easy to find, if you start browsing
 at [ http://www.FreeBSD.org/docs.html ].  The first page of the site,
 at [ http://www.FreeBSD.org/ ], contains various documentation links.
 
 I wouldn't call that `hidden'.

May I respectfully ask you to follow your own advice?
Then - assuming you do not already know the answer (as obviously, I don't)
determine which of the documents would tell you how to use the Fixit disk.

BTW, Mike and Chuck gave info which is not accurate for v5 Release Disk2 (It's
OK for v4.6, except that /mnt2/usr/bin doen't exist) and apart from one O'Reilly
book which I shall seek out, they basically suggest simply that  I read all the
man pages for the commands available in Fixit mode.

FBSD has excellent documentation in so many areas that I find it VERY strange
that Fixit use is such an exception.  I can't even get a description of the
Fixit structure or a list of all the commands available, other than by booting
from the Fixit CD and looking.  That's odd.

--
Brian

--
Brian



---
This message sent through Adam Internet Webmail
  http://www.adam.com.au

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



Re: Checking Vulnerabilities

2003-01-28 Thread Lowell Gilbert
Jack L. Stone [EMAIL PROTECTED] writes:

 At 05:56 PM 1.27.2003 -0500, Mario Antonio wrote:
 Dear List,
 
 How Can I verify that my system has some  of the discovered vulnerabilities?
 Is there any tool that I can use to help me out?
 
 
 Regards
 
 Mario
 
 
 The tool I use is regular cvsup for -RELEASE, which includes all security
 updates

That only includes security updates that are considered critical.  
And strictly speaking, it doesn't answer the question, because this
is talking about a way of *fixing* the problems, not identifying them.

Usually, the security notifications include the information needed to
determine whether a problem affects your system or not.

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



Re: FreeBSD 5.0 woes

2003-01-28 Thread Kris Kennaway
On Tue, Jan 28, 2003 at 04:38:10PM -0500, Juless Grosse wrote:
 I installed FreeBSD 5.0 this weekend at home and
 removed it five hours laters.  Two problems made this
 use of this OS prohibitive for me, although I was
 hoping to stop using Debian and start using FreeBSD.

Stick to the 4.x branch..5.0 is for early adopters (you did read the
release notes, right?).

Kris



msg17069/pgp0.pgp
Description: PGP signature


Re: Deleted files not releasing their space (was Re: syslog message wrt inodes)

2003-01-28 Thread Lowell Gilbert
Bill Moran [EMAIL PROTECTED] writes:

 Let's see if I remember the details on this.
 I believe this happens when a file is deleted, but another program still holds
 a filehandle? to it.  Thus, if you delete Apache's log file (for example) but
 don't restart Apache, the space the logfile is using isn't truely freed.
 (This is why newsyslog.conf has a column for the PID of a process to restart).
 
 So ... if you know which process had the files open, restart it (probably by
 sending it a -HUP).

Right.  That's why newsyslog(8) can send a signal on rotating a log file.

I'm not quite sure why this is relevant to the actual problem, because
it's not really *that* many inodes involved in log files, but then
again I'm not sure I completely understand the problem anyway...

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



Brothers keeper

2003-01-28 Thread faah142


Dear Friend.

As you read this, I don’t want you to feel sorry for
me, because, I believe everyone will die someday.

My name is Faisal Ahmed, a merchant in Dubai, in the
U.A.E.I have been diagnosed with Esophageal cancer
which was discovered very late, due to my laxity in
carrying for my health. It has defiled all forms of
medicine, and right now I have only about a few months
to live, according to medical experts. 
 
I have not particularly lived my life so well, as I
never really cared for anyone not even myself but my
business. Though I am very rich, I was never generous,
I was always hostile to people and only focus on my
business as that was the only thing I cared for. But
now I regret all this as I now know that there is more
to life than just wanting to have or make all the
money in the world. 
I believe when God gives me a second chance to come to
this world I would live my life a different way from
how I have lived it. Now that God has called me, I
have willed and given most of my properties and assets
to my immediate and extended family members and as
well as a few close friends. 
I want God to be merciful to me and accept my soul and
so, I have decided to give alms to charity
organizations, as I want this to be one of the last
good deeds I do on earth. So far, I have distributed
money to some charity organizations in the U.A.E,
Algeria and Malaysia. Now that my health has
deteriorated so badly, I cannot do this my self any
more. I once asked members of my family to close one
of my accounts and distribute the money which I have
there to charity organization in Bulgaria and
Pakistan, they refused and kept the money to
themselves. Hence, I do not trust them anymore, as
they seem not to be contended with what I have left
for them.
The last of my money which no one knows of is the huge
cash deposit of twenty four million dollars that I
have with a security company.
I will want you to help me collect this deposit and 
dispatched it to charity organizations.

I have set aside 10% for you for your time and
patience.please reply to 

[EMAIL PROTECTED]

God  be with you.

Faisal Ahmed







-
HKNETMAIL.COM Free WEB MAIL Service by  HKNET

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



Portupgrade and skipping ports?

2003-01-28 Thread Mike Dean
I would like to know if there is a way to have portupgrade update all
ports, except a select few that I want to remain frozen
(OpenOffice.org, simply because I no longer have the free space to
rebuild it).  It looks like I may be able to do something with the -B
switch, but the documentation seems to be a bit lacking as to exactly
how to use this switch.  Does anyone have any examples of how to
accomplish what I want?

Thanks,
Mike

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



Re: Portupgrade and skipping ports?

2003-01-28 Thread Kent Stewart
On Tuesday 28 January 2003 07:06 pm, Mike Dean wrote:
 I would like to know if there is a way to have portupgrade update all
 ports, except a select few that I want to remain frozen
 (OpenOffice.org, simply because I no longer have the free space to
 rebuild it).  It looks like I may be able to do something with the -B
 switch, but the documentation seems to be a bit lacking as to exactly
 how to use this switch.  Does anyone have any examples of how to
 accomplish what I want?

The man page for portupgrade does. Look at -x. For example, I don't want 
to update cvsup or cvsup-mirror and I used '-x cvsup*'.

Kent


 Thanks,
 Mike

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

-- 
Kent Stewart
Richland, WA

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


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



Re: setuid sendmail

2003-01-28 Thread Giorgos Keramidas
On 2003-01-28 20:50, Michael Grant [EMAIL PROTECTED] wrote:
 It seems that sendmail is no longer setuid root.  (I have 4.7 on one
 box where it's not setuid and 4.2 stable on another box where it is).

You should really read the instructions in /usr/src/UPDATING at the
4.7 installation.  Especially the entry that starts with:

: 20020404:
: Due to the import of sendmail 8.12.2 (see 20020325 entry), a new
: user and group are required in order for sendmail to run as a
: set-group-ID binary.  A 'make installworld' will use the new user
: and group [...]

 When I run mailq from my 4.7 box, I get a permission denied error
 when run as a normal user.  Is this now the expected behavior?  Is
 there any relatively secure way to make mailq work again from a
 non-root user?

This is a problem with the permissions of the mail queues.  Do what
UPDATING says and you still fix things.  It works fine after you set
everything up:

$ id
uid=1001(giorgos) gid=1001(giorgos) groups=1001(giorgos), 21(ftp)
$ mailq -Ac
/var/spool/clientmqueue is empty
Total requests: 0
$ mailq
/var/spool/mqueue is empty
Total requests: 0
$

- Giorgos


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



Re: Deleted files not releasing their space (was Re: syslog message wrt inodes)

2003-01-28 Thread David Bear
On Tue, Jan 28, 2003 at 08:27:12PM -0500, Lowell Gilbert wrote:
 Bill Moran [EMAIL PROTECTED] writes:
  Let's see if I remember the details on this.
  I believe this happens when a file is deleted, but another program still holds
  a filehandle? to it.  Thus, if you delete Apache's log file (for example) but
 Right.  That's why newsyslog(8) can send a signal on rotating a log file.
 I'm not quite sure why this is relevant to the actual problem, because
 it's not really *that* many inodes involved in log files, but then
 again I'm not sure I completely understand the problem anyway...
 

The problem is that I am running snort and its creating hundreds of
entries in /var/log/snort -- one directory for each alert generated by
an IP address.  then specific info on that alert in a file under each
directory.  So -- aside from the standard log files, the will be a
bazillion files and directories that snort will create.. I know one
solution would be to create a separate file system for snort, then
mount it at /var/log/snort --- that would likely be the safest.  Then
if it ever ran out of inodes, /var/log would still function.  


but then, this is an old box and I don't have another hard drive to
throw in it...

I think stopping and restarting snort did the trick though.



-- 
David Bear
College of Public Programs/ASU
Mail Code 0803

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



Re: Fw: cvs

2003-01-28 Thread Giorgos Keramidas
On 2003-01-28 14:17, Brian Henning [EMAIL PROTECTED] wrote:
On Tue, 28 Jan 2003, Brian Henning wrote:
 I am setting up a cvs server on my bsd box. So far i have
 enabled pserver in my /etc/initd.conf file. I have added a
 user called 'cvsuser' i have created a repository in
 /home/cvsroot i have pointed my CVSROOT variable to that
 cvsroot directory. when i enter the command
 cvs -d :pserver:cvsuser@localhost:/home/cvsroot login
 i can't get logged in because i don't have a password set in
 my passwd file.  i created an empty one '/home/cvsroot/passwd'
 but, i don't know howto add users to it [...]

 Where can i find the passwd file that i should use? I assume that
 you are talking about the shadowed password file.

Nope.  CVS doesn't use the system password database in :pserver: mode.
For more details, you can always refer to

% info '(cvs)'

You will have to create the /home/cvsroot/CVSROOT/passwd file yourself.

- Giorgos


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



php 4.3.0 in ports?

2003-01-28 Thread Ryan C. Creasey
Can we expect to find php 4.3.0 in ports anytime in the near future?  Last I heard, 
they were waiting for the code freeze release to pass, but now that's done... when can 
we expect an updated php port?

--
Ryan C. Creasey
Network Engineer
p11creative, p11.com

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



postfix on fbsd 5

2003-01-28 Thread Dave
Hello,
Is anyone running postfix on fbsd5? I just installed it as per a howto
and i am getting errors from sendmail about invalid flags even though
sendmail is disabled. Postfix is also periodically complaining about not
being able to access /etc/mail/aliases.db. If anyone is running this can you
send me your /etc/mail, /usr/local/etc/postfix, and your rc.conf or some
pointers?
Thanks.
Dave.


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



  1   2   >