Re: updated ports tree

2004-04-23 Thread Chuck Swiger
Killermink ! wrote: I see what your saying and i suppose I have two points: 1) Can you install a port without installing the ports tree? Yes, or sort of. You need things like the ports Makefiles in /usr/ports/Mk, but if you copy, say, archivers/gtar to /tmp/gtar and then deleted

Re: compile signal code

2004-05-11 Thread Chuck Swiger
Brian Henning wrote: [ ... ] I am having trouble compiling some signal related code in freebsd. What is the library I should link to get this to compile? man signal says that the standard C library contains the signal handling functionality. FreeBSD also supports the POSIX sigaction family.

Re: Dual Homed IP's

2004-05-13 Thread Chuck Swiger
Adam Seniuk wrote: I have 2 mail servers, I would like to give those servers 2 ips so if one card dies the other will pick it up. But I am having a problem since most of the configurations that i have read up on have 2 different ip blocks. I have one large block that i can pick from. If you want

Re: remove users from system

2004-05-13 Thread Chuck Swiger
OLAF STEIN wrote: i removed 2 users from my system by deleting their entries in /etc/passwd and /etc/group (they had their own group and where in no other groups) the users are still able to login after i deleted them Run pwd_mkdb. It would be a good idea to use vipw when editting password files

Re: ipfw divert but no packet payload?

2004-05-13 Thread Chuck Swiger
Tom R. no spam wrote: [ ... ] Any suggestions would be very appreciated. (I'm using FreeBSD as Mac OSX 10.2.8, [ ... ] If you actually are using FreeBSD, it would help to know whether you are using IPFW1 or IPFW2, and see the output of 'uname -a'. If you are using MacOS X, I would suggest

Re: cdrw PIO4

2004-05-08 Thread Chuck Swiger
w sx wrote: Does anyone have any tips on getting the CDRW drive set to UDMA mode? Add the following to your /boot/loader.conf: hw.ata.atapi_dma=1 ...and reboot. You might also be able to use atacontrol. -- -Chuck ___ [EMAIL PROTECTED] mailing list

Re: cdrw PIO4

2004-05-08 Thread Chuck Swiger
anubis wrote: On Sun, 9 May 2004 3:17 am, w sx wrote: [ ... ] Have a look at man ata. Here is the important part ATAPI devices are set to PIO mode by default because severe DMA problems are common even if the device capabilities indicate support. You can always try to set DMA mode on an ATAPI

Re: blacklist(s)

2004-05-14 Thread Chuck Swiger
Gary Kline wrote: Can anyone point me to the website that told how to set up sendmail's FEATURE to use blacklists? There were at least fourr blacklist sites. I've grep'd thru my ~/Mail directory, can't find it? http://www.sendmail.org/m4/anti_spam.html

Re: COPTFLAGS (not?) only for compiling the kernel?

2004-05-14 Thread Chuck Swiger
platanthera wrote: On Friday 14 May 2004 00:03, Giorgos Keramidas wrote: [ ... ] Yes, you do. But I'm sure that you will find the make.conf(5) manpage very informative and useful. not really. it says ... The /etc/make.conf file is included from the appropriate Makefile which specifies the

Re: blacklist(s)

2004-05-14 Thread Chuck Swiger
(216.231.43.140) Diagnostic-Code: smtp; 550 5.0.0 Verizon email not wanted here Subject: Re: blacklist(s) From: Chuck Swiger [EMAIL PROTECTED] Date:Fri, 14 May 2004 21:40:55 -0400 To: [EMAIL PROTECTED] Gary Kline wrote: [ ... ] Ack! I don't have a problem with refusing mail from

Re: Command to display the complete picture of hard drive

2004-05-15 Thread Chuck Swiger
Stephen Liu wrote: [ ... ] Why the denotation of hard drive = /dev/ad4sla, not /dev/hda, etc. FreeBSD isn't Linux. ad referrs to (A)TAPI (D)isk, the 4 refers to an IDE device which is after the standard primary secondary channels (which are ad0 - ad3), and s1a refers to the first FDISK

Re: Multiple IP's with DHCP?

2004-05-15 Thread Chuck Swiger
GRF . wrote: I have Time Warner Road Runner Boradband service and I spoke to the technician and found that they allow 3 IP's to be pulled with basic service. I would like to set up My FreeBSD 4.9 box with two of these IP's. Why do you want to do so? What is probably happening is that you're

Re: Question re: eventual upgrade to 5-Stable

2004-05-15 Thread Chuck Swiger
Robert Carr wrote: Is there any update as to when 5-stable might be released? Is 5.3 expected to be forked as 5-Stable? The last I heard, yes, 5.3 is expected to become 5-STABLE. Release schedules are harder to call. :-/ If I build a FreeBSD 5 server for home use (Postfix, Apache) and use

Re: blacklist(s)

2004-05-16 Thread Chuck Swiger
Gary Kline wrote: On Fri, May 14, 2004 at 10:00:58PM -0400, Chuck Swiger wrote: According to the RFCs, one MUST NOT bounce mail sent to postmaster. One ought to read the rfc-ignorant.org site I mentioned. [ ... ] Well, bit again. The line in my access file was 206.46

Re: FTP Problems

2004-05-16 Thread Chuck Swiger
Me Actionfigure wrote: Hi there..Im on 5.1 and every time I try to install a program using ftp, I usually get about 97% of it downloaded and get this error: 450 Socket write to client timed-out. 9838592 bytes received in 41:21 (3.87 KB/s) 421 Service not available, remote server has closed

Re: network traffic

2004-05-19 Thread Chuck Swiger
Buck Jones wrote: I would like two programs that sit on two computer and just talk to each other and tell what the speed they are talking and if there is a packet loss ping -f is a pretty good way of stress-testing a LAN. You can also use time ping -s 1000 -c 1000 -i 0.0001 host or so to send

Re: memory allocation/deallocation (malloc experts needed)

2004-05-20 Thread Chuck Swiger
Till Plewe wrote: My problem is essentially that freeing large numbers of small chunks of memory can be very slow. I have run into this problem twice so far. [ ... ] One solution would be to divide the memory in larger regions and to tell malloc which chunk to use for the next few calls,

Re: 2 ISP on one FreeBSD router

2004-05-25 Thread Chuck Swiger
Piotr Gnyp wrote: My question is: Is there a way to configure FreeBSD, so the NATed workstations will use two ISP at once and in case of one ISP failure the whole traffic will be put on one connection? Sure, that's a standard multihoming scenario. Get an AS number (www.arin.net) and set up BGP

Re: Detect CD Media Type?

2004-05-25 Thread Chuck Swiger
Warren Block wrote: Are there any simple utilities that can detect the type of media loaded in a CD or DVD recorder? For example, a CD-R, or DVD+R, or CDRW. I'd like to make a backup script auto-sensing. The sysutils/dvd+rw-tools port comes with dvd+rw-mediainfo... -- -Chuck

Re: two nics, one dhcp server

2004-05-25 Thread Chuck Swiger
dave wrote: I've got a machine that i need to give two separate addresses to using two nics, both of which are 3c905's, working fine under 5.2.1. I've got lines in rc.conf set so they both get their addresses via dhcp, however this isn't working. Having both cards in the box neither gets an

Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Jorn Argelo wrote: Recently I came across something which kind of bothered me. Every time when pkg_info removes and/or registers a package it gives this output: pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded pkg_info: package bsdpan-DBI-1.42 has no origin recorded pkg_info:

Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Garance A Drosihn wrote: [ ...snip thread about pkg_info: ... has no origin recorded messages... ] In my case, it was happening on something that I had always upgraded via ports portupgrade. It was not bsdpan (which I do not even have installed...), but I do not remember what it was. If you

Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Garance A Drosihn wrote: At 4:49 PM -0400 5/25/04, Chuck Swiger wrote: If you install perl from ports, you apparently get bsdpan included. Hmm. How would I know if I had it? I don't seem to have any port with the letters 'pan' in it. and `locate bsdpan' does not find anything. I guess I don't

Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Christopher Nehren wrote: On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these curious markings: Elbereth...? :-) pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded pkg_info: package bsdpan-DBI-1.42 has no origin recorded pkg_info: package bsdpan-GD-1.19 has no origin

Re: patch

2004-05-26 Thread Chuck Swiger
[EMAIL PROTECTED] wrote: I have a source ( in fact it's many sources) divided in many directories; and I have to patch it with a diff file. But when I perform the patch command, the computers wants to know which file I want to patch; but there are a lot of sources, and many of them have to be

Re: fputs

2004-05-26 Thread Chuck Swiger
Richard Burnett-Godfree wrote: In the code the software use fputs to output chars to the terminal. What seems to be happening is these are all buffered until the process terminates and then they all come out rather than being sent to the terminal during the program operation. Do I need to change

Re: vipw: pw_edit(): No such file or directory

2004-05-29 Thread Chuck Swiger
Kevin A. Pieckiel wrote: A server (that someone else has set up as a development box) gets the following error whenever I run vipw: vipw: pw_edit(): No such file or directory Where do I even begin to look to fix this? I would check what $EDITOR is set to, and verify whether that program is

Re: 3Com 3c905B-TX Fast EtherLink XL Packet Loss

2004-05-31 Thread Chuck Swiger
Technical Director wrote: [ ... ] 3Com 3c905B-TX showing up as xl0 plugged in using a etl certified (whooie) cat-5e to: Linksys EtherFast 4116 Using ping -f /{some address}/, I've noticed at these configured speeds the following: 10baseT/UTP half-duplex == 11% packet loss 10baseT/UTP full-duplex

Re: 5.2.1 goes beserk on EPIA M board

2004-05-31 Thread Chuck Swiger
Robert Downes wrote: [ ... ] ad0: FAILURE - WRITE_DMA status=11 DSC,ERROR error=84ICRC,ABORTED LBA=4127103 I did have, yesterday, FreeBSD 5.0 running on my EPIA M successfully until I tried to buildworld using 5.2.1 sources, at which point my EPIA hard crashed and reset itself. I assumed my

Re: NFS server fail-over - how do you do it?

2004-05-31 Thread Chuck Swiger
adp wrote: One of my big problems right now is that if our primary NFS server goes down then everything using that NFS mount locks up. If I change to the mounted filesystem on the client then it stalls: # pwd /root # cd /nfs-mount-dir [locks] If I try to reboot the reboot fails as well since

Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Chuck Swiger
hugle wrote: [ ... ] why then my users eats so much CPU? look: CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free I have only 61% idle ? usualy i have ~50 idle.. now I have P4 2.4GHZ maybe my

Re: NFS server fail-over - how do you do it?

2004-05-31 Thread Chuck Swiger
adp wrote: We can live with the chance that a file write might fail as long as we can switch over to another NFS server if the primary fails. Sorry, NFS simply won't work with the model of operation you've described. There is no way to do fallback to a secondary NFS server if the primary goes

Re: Documentation for LDAP Mail Server

2004-05-31 Thread Chuck Swiger
David Snyder wrote: I want to setup a mail server on my FreeBSD box that runs Postfix and Cyrus that authenticates through OpenLDAP and have encryption (ssl?). Also, I'd like everything to be database backed... DB3 or DB4? I can't seem to find anything on the internet that will show me how.

Re: c++ compile problem

2004-06-03 Thread Chuck Swiger
John Oxley wrote: I have written and incredibly complex cpp program [ ...hello, world deleted... ] the compiler throws many error messages $ g++ -ansi -pedantic -Wall -ggdb -o hello hello.cpp 21 | wc -l 88 I have posted the messages at http://oxo.rucus.net/cpp-err.txt If I compile without

Re: Running FreeBSD/PostgreSQL on high-end dual Xeon box

2004-06-04 Thread Chuck Swiger
Kenji M wrote: I had been considering the same setup, but it might make sense just to use 3 disk RAID5 with hot spare ready. The new RAID controller implementation might not buy us much by using 0+1 vs. 5. Any thoughts? I doubt many databases recommend RAID-5; using RAID 0+1 is likely to be a

Re: Please help me understand pciutils output

2004-06-07 Thread Chuck Swiger
Luke wrote: I suspect that my PCI bus is incompatible with some of the PCI cards I'm trying to use with it. The motherboard was made in 1996 and these cards are all much newer. One of the cards gives USB 2.0 support, but I'm not getting anywhere near USB 2.0 speed out of the USB 2.0 devices I

Re: suggestions for optimal filesystem-layout over multiple harddrives?

2004-06-07 Thread Chuck Swiger
Geert Hendrickx wrote: using multiple harddisks can increase performance, since I/O can be done in parallel. But what would be an optimal filesystem-layout on, say, two disks of equal size? Swap should evidently be spread equally over the different drives. As for the filesystems, say I'd have a

Re: CVS vs CVSup

2004-06-07 Thread Chuck Swiger
Joshua Lewis wrote: What is the difference between CVS and CVSup? The cvsup manpage quite reasonably provides a description: DESCRIPTION CVSup is a software package for distributing and updating collections of files across a network. The name CVSup refers to the package as a whole.

Re: Please help me understand pciutils output

2004-06-07 Thread Chuck Swiger
Luke wrote: [ ... ] More details about the USB performance in terms of numbers you are seeing from some benchmark would be very useful. I agree. How can I benchmark my just my USB controller? Using a mass storage device like an external hard drive is probably the best bet. In the message you

Re: Scripting backup of file naming?

2004-06-07 Thread Chuck Swiger
Bart Silverstrim wrote: [ ... ] *problem; on server1, I'm going to have two directories: ~/archive and ~/workingdir. I want the scp to move the files from server2 to ~/workingdir, tar and zip them as a file name with a date attached (like backup06072004.tgz) to make the filename distinctive,

Re: Maximum Swap Size

2004-06-07 Thread Chuck Swiger
Scott Ballantyne wrote: Hmmm... I didn't know there was a maximum swap size on FreeBSD 4.10 of 1677216 blocks... Is there an easy way to reduce this partition without redoing the entire install? Yes. Delete just the swap partition in place, then recreate it using a smaller size (using

Re: Frontpage and jails and possible alternatives

2004-06-10 Thread Chuck Swiger
Lucas Holt wrote: [ ... ] Personally, I find it odd to run frontpage extensions on a unix host. If people want microsoft technology, they should pay for NT hosting. I would very much rather administer a Unix box running software which plays nice with Windows protocols (if that is what the client

Re: SO_LINGER on socket with non-blocking I/O

2004-06-10 Thread Chuck Swiger
Julian Cowley wrote: I've been developing an application that attempts to send data from one host to another via TCP. The intent is for the data transfer to be as reliable as possible, and to log whenever it detects that it has lost data (this is for a reliable syslog protocol, if you're

Re: options tcp_drop_synfin and virtual hosts

2004-06-15 Thread Chuck Swiger
dave wrote: Is there a doc that says what the tcp_drop_synfin option does and what effect it has on webservers and why it should never be used on such? The meaning of the SYN and FIN flags is discussed in RFC-793. Normally, one goes through the 3WHS and exchanges some data before one side

Re: 160 Gb Harddisk: needs extra tweeking?

2004-06-15 Thread Chuck Swiger
Rob wrote: It comes with a tiny CD-rom, about 8cm in diameter, entitled Data Lifeguard Tools. I don't know what to do with this CDrom. You can probably run the software on it to check the hard drive, format it (as in, create a MBR and probably FAT and maybe NTFS filesystems), etc. You don't

Re: Keep log_in_vain Value

2004-06-15 Thread Chuck Swiger
Matt Cyber Dog LaPlante wrote: Right now on a FreeBSD 4.7 box, net.inet.tcp.log_in_vain and net.inet.udp.log_in_vain are both turned on. I know they can be disabled using sysctl, but this only fixes the problem until the machine is rebooted, at which point they both come back on. These default to

Re: arplookup WWW.XXX.YYY.ZZZ failed: host is not on local network

2004-06-16 Thread Chuck Swiger
David Fuchs wrote: Ok, riddle me this: /kernel: arplookup WWW.XXX.YYY.10 failed: host is not on local network [ ... ] Static routes have been added to force all communication *between* these two hosts to use the secondary interfaces: WWW.XXX.YYY.25's static route: route add WWW.XXX.YYY.10

Re: IDE hard disk recoms

2004-06-16 Thread Chuck Swiger
freebsd_daemon wrote: does someone have some recommondations for IDE hard disks to use in a small server? Sure. I'd pick up a 7200 RPM ATA drive with 8MB of cache, such as the Western Digital WD1200JB. Pick another size (40GB, 80GB, probably through 200GB) if you like. Seagate and Maxtor are

Re: Should gcc be accessable by others?

2004-06-16 Thread Chuck Swiger
[EMAIL PROTECTED] wrote: Is it a good idea to change the permisions on the gcc tools to 750 ? I looked through the FreeBSD Handbook and could find no advice on this matter. Changing gcc to 750 might provide a small benefit to security, but if someone has enough access to be able to try to run gcc

Re: IDE hard disk recoms

2004-06-16 Thread Chuck Swiger
Mike Woods wrote: Chuck Swiger wrote: Sure. I'd pick up a 7200 RPM ATA drive with 8MB of cache, such as the Western Digital WD1200JB. Pick another size (40GB, 80GB, probably through 200GB) if you like. Seconded, but id get the sata version and a caddy for a server, makes like easier

Re: Mail

2004-06-16 Thread Chuck Swiger
Robert Huff wrote: Chuck Swiger writes: [ ... ] Would you care to nominate an inherently network-accessible program with such a track record? For example: 5.2.1 was released in late February; there are currently 12 security advisories*, of which I would consider at least 5 to be part

Re: Redirection with a bridge ?

2004-06-19 Thread Chuck Swiger
Matt Juszczak wrote: Is there a way to do IP redirection without using layer 3? (IPNAT or routing)? I have a bridge setup and want to redirect any port 80 traffic outgoing through the bridge to a specific server but it seems I can only do this with ipfw's forward/fwd or ipnat's rdr

Re: Turning off sshd version display when someone telnets to port.

2004-06-19 Thread Chuck Swiger
Emperor of Florida wrote: [ ...concealing the purpose of a port... ] Currently when you telnet to it you will see: Escape character is '^]'. SSH-1.99-OpenSSH_3.6.1p1 YbrickRd As Jeremy said, SSH depends on exchanging the version of the procotols it is using in order for both sides to figure out

Re: Python application in rc.d.

2004-06-20 Thread Chuck Swiger
Lewis Thompson wrote: I'm trying to create a port for a Python application that I want to start from local/etc/rc.d. The command is this: /usr/bin/su freevo -c /usr/local/bin/freevo -fs start /dev/null 21 Unfortunately when I boot up I get a message about Python not being configured/available

Re: Python application in rc.d.

2004-06-20 Thread Chuck Swiger
Lewis Thompson wrote: [ ... ] Does the script set $PATH to include the location where python is? If you don't list /usr/local/bin explicitly, this may be the problem... No, PATH doesn't get set but if I run it as /usr/local/bin/freevo.sh start from a login shell (i.e. after the system has

Re: Win-modems

2004-06-20 Thread Chuck Swiger
Kris Kennaway [EMAIL PROTECTED] wrote: On Wed, Jun 20, 2001 at 11:44:22AM +0300, Alex wrote: [...] You're living in the past, man! Heh! Amusing turn of phrase, this. -- -Chuck PS: In case the phrase he used doesn't translate, out of pity for interpreting foreign languages,

Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: It's the mailboxes themselves that are difficult to get. Best we've got right now is backing up the Cyrus mail folders using rsync ... but this is very time- consuming, and (thus) only done once a day. In order for it to be done right, Cyrus has to be shut down while it's

Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: Chuck Swiger [EMAIL PROTECTED] wrote: [ ... ] The latter uses one-message-per-file, and ought to work *much* better both in terms of performance and stability, and in terms of playing nice with the way rsync wants to back things up. Doesn't really matter. Fact is, the mail

Re: read vs. mmap (or io vs. page faults)

2004-06-21 Thread Chuck Swiger
Matthew Dillon wrote: Mikhail Teterin wrote: =Both read and mmap have a read-ahead heuristic. The heuristic =works. In fact, the mmap heuristic is so smart it can read-behind =as well as read-ahead if it detects a backwards scan. Evidently, read's heuristics are better. At least, for

Re: [OT] Re: What's the best possible email failover solution

2004-06-21 Thread Chuck Swiger
Bill Moran wrote: Chuck Swiger [EMAIL PROTECTED] wrote: [ I don't think that stuffing email into a database is a particularly good idea since that means keeping large blobs of non-relational data floating around, something that the filesystem can do a better job of handling... ] [ ... ] During

Re: [OT] Re: What's the best possible email failover solution

2004-06-22 Thread Chuck Swiger
Bill Moran wrote: Christian Laursen [EMAIL PROTECTED] wrote: If you are running FreeBSD 5, you should be able to make a filesystem snapshot and rsync from there. I suppose I should have commented on that ;) We're not running FreeBSD 5 on these production machines yet ... but it's likely we will be

Re: HardWare may be

2004-06-22 Thread Chuck Swiger
wrote: Russia, Chitinskaya state, Chita city. Hello to you ?untranslatable name?, too. :-) FreeBSD 5.2.1, it freezes on start load(default) of install. Probably it because of that of incompatibility with the hardware. Perhaps so. You might try booting with APCI disabled, or in safe mode, and

'ftp' command does what...?

2004-06-22 Thread Chuck Swiger
Hi, all-- Is there a reason why the ftp command does odd things when presented with the URL format on this particular FTP server? 5-epia% ftp ftp://ftp.andrew.cmu.edu Connected to ASG2.WEB.cmu.edu. 220 asg2.web.cmu.edu FTP server (Version 6.00+Heimdal 20031031+KTH-KRB 1.3-20031 030) ready. 331

Re: Mounting hard disk in multiple locations

2004-06-24 Thread Chuck Swiger
Alan Gerber wrote: I'm trying to mount a single hard disk slice in two separate locations (one location being r/o and another being r/w), and having a hard time figuring out how to do it. mount the slice r/w as a normal filesystem, then NFS export that filesystem RO and mount it again in the

Re: any use to build from source?

2004-06-27 Thread Chuck Swiger
Kai Grossjohann wrote: Charles Swiger [EMAIL PROTECTED] writes: Oh, yes. The first time you run into a problem and fix it yourself, or make a change to the programs to add some feature that you want, you will discover the serious advantages. However, if you never try to fix bugs or write code for

Re: Forgot to add...

2004-06-27 Thread Chuck Swiger
3BSD wrote: One thing I forgot to add to be previous e-mail about hardware compatibility was that I'm using the DVI port of my graphics card, connected to an LCD display, will that pose any problems? Generally not. To the extent that your configuration of video card and monitor can be treated as

Re: Mirrors needed?

2004-06-28 Thread Chuck Swiger
Brad Pugh wrote: I just wanted to see if you guys in need of anymore mirrors for you're downloads? If so how much space does you're downloads need? Thanks for your offer. Please refer to: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-requirements.html -- -Chuck

Re: IP alias + NAT through a single NIC?

2004-06-28 Thread Chuck Swiger
Romain Kang wrote: I have a single physical network with 2 disjoint address spaces in it. Logical Net 1 is routable, while Logical Net 2 is in private space intended to keep devices there safe from the outside. Now I need to allow some Net 2 devices the capability to access the web, and putting

Re: a quick mailing list question

2004-06-28 Thread Chuck Swiger
Vulpes Velox wrote: I've been going though transfering all the freebsd mailing lists I've subscribe to over to one account... the small problem I ran into is this, I can send emails from this new account fine, but for some reason if I send something to a list, it does not appear to show up... I

Re: firewall for web server

2004-06-28 Thread Chuck Swiger
Peter Zyumbilev wrote: Do you know some good tutorial for bulding firewall for FreeBSD as web server. I found a lot of tutorials but for FreeBSD as router. First, are you building a firewall or a web server? If you're building a firewall, you don't want to run any services like WWW at all on the

Re: NFS and Backups

2004-07-03 Thread Chuck Swiger
Grant Peel wrote: I have recently decided to use some extra disk space on one of my servers as backup space. I have NFS client and Servers running OK, but was wondering how secure it really is. NFS is not secure at all. If you don't trust the local subnet, don't use NFS there. Certainly don't

Re: NFS and Backups

2004-07-03 Thread Chuck Swiger
Bruce Hunter wrote: What should you use instead of NFS? I like the fact that I can open up a window and throw some files to my server. Maybe, something can be accessed through a firewall? rsync over ssh is very good for this. -- -Chuck ___ [EMAIL

Re: Long-running connections stop working through a FreeBSD 5.1R firewall/NAT box...

2003-09-12 Thread Chuck Swiger
Douglas Carmichael wrote: HTTP connections across the firewall work fine (ie. web browsing) and I can maintain a connection to a streaming radio station just fine from my PowerBook inside the firewall, but AIM, ICQ, and Yahoo Messenger seem to stay up for a while and then just unexpectedly

Re: JAILS: Shared IP?

2003-09-13 Thread Chuck Swiger
Chris wrote: 1) What would be the advantage(s) or disadvanatage(s) of giving each website it's own IP vs sharing a single IP? Are you doing SSL? You'd need to give each SSL site it's own IP, but otherwise you can do what Apache calls name-based virtual domains and share. 2) Is one going to be

Re: Ogg encoding

2003-09-14 Thread Chuck Swiger
Todd Stephens wrote: I found a port for mp32ogg to convert mp3 to ogg format, but is there a program to convert wav to ogg format? I like the ogg format, but it seems to me that there will be some data loss going from wav to mp3 and then to ogg. There will be data loss in converting from mp3

Re: Slow NAT firewall

2003-09-16 Thread Chuck Swiger
Lay Tay wrote: [ ... ] Everything worked fine except that I noticed ssh connection takes a very long time. When I use PUTTY or WinSCP on a windows machine to connect to my internal machine, the authentication takes a very long time. WinSCP will alway timeout on the first try, when I hit retry,

Re: tcp sendspace

2003-09-18 Thread Chuck Swiger
Antoine Jacoutot wrote: I just wanted to know if setting: net.inet.tcp.sendspace=65535 was a bad idea ? Probably not. I'm not sure about all the consequences this could have, if any... Are you trying to solve a problem or tune network performance, or are you just asking what happens if you

Re: Spam and virus filter for mailserver

2003-09-22 Thread Chuck Swiger
Daniela wrote: [ ... ] What MTA would you recommend (sendmail is too insecure)? The two main choices are probably postfix and qmail. Can I just put the mail in the respective user's home directory with fetchmail, and configure their MUA's to get mail from there? Or do I put it in

Re: RealTek Nic Chip

2003-09-26 Thread Chuck Swiger
Bill Campbell wrote: [ ... ] As a paper weight, yes, as a NIC no. I can't speak to these on FreeBSD, but they have a horrible reputation in the Linux world, and I gave up on them quite a while ago (as I did non-DEC Tulip cards). Agreed. I just had my third (out of three) Asante FastEthernet

Re: Message format *again*

2003-09-27 Thread Chuck Swiger
also be okay, although not perfect, since Mozilla sometimes has a habit of prepending a space before a quoted line inconsistently, resulting in output like: Original Message Subject: Re: Mask IP:port with Domain Name Date: Fri, 27 Jun 2003 11:46:20 -0400 From: Chuck Swiger [EMAIL

Re: NFS server redundancy/failover

2003-09-29 Thread Chuck Swiger
Guy Van Sanden wrote: [ ... ] Does anyone know if and how it is possible to set up a redundant NFS server? Yes, although true redundancy for NFS is available only for read-only shares. From man mount_nfs under Solaris: Replicated file systems and failover resource can list

Re: Passwd command slow

2003-09-30 Thread Chuck Swiger
Greg Goodman wrote: I have a server running freebsd 4.8. When you type the command passwd it hangs for more than 2 minutes before it finally responds and prompts to change an existing users password. Can anyone shed some light on this issue? That sounds a lot like an NIS timeout. Are you using

Re: tar vs cp

2003-10-01 Thread Chuck Swiger
Jamie wrote: [ ... ] I don't know what the actual rationale is for this. Can anyone explain why it is oftentimes better to tar something rather than using cp when copying directories and their contents? tar handles symbolic links properly, whereas cp will copy through the contents of the

Re: Email notification

2003-10-05 Thread Chuck Swiger
Gabriel Striewe wrote: I would like to send an email notification to an outside email address whenever new mail arrives in a certain mailbox. What is the best procedure to follow here? See man vacation for instructions on how to set up one common autoresponder. Something like procmail will

Re: Mail format problems

2003-10-05 Thread Chuck Swiger
Siegbert Baude wrote: Greg 'groggy' Lehey wrote: [ ... ] http://www.lemis.com/email/email-format.html. I couldn't find any information on this page about the computer output topic. Is there a better method within Mozilla/Thunderbird than specifying a line length long enough for the computer

Re: seperating user timezones from system timezones

2003-10-05 Thread Chuck Swiger
Mailing Lists Catcher wrote: How to I allow users access to their own timezone without affecting the system processes? All of my systems regardless of location have always been set to UTC so logs and cron are in sync across timezones. Hmm. Unix has understood the notion of 'local time' versus UTC

Re: 5.2 + ipfw2 + keep-state rules Bug

2004-01-18 Thread Chuck Swiger
fbsd_user wrote: Using an fresh install of FBSD 5.2 RC2 I am trying to get stateful rules to function. For some reason ipfw2 seems to be issuing an ICMP:3.3 packet to my ISP's dns. [ ... ] # Internal gateway housekeeping $cmd 00100 allow all from any to any via lo0 # allow all localhost $cmd

Re: usernames with uppercase

2004-01-18 Thread Chuck Swiger
Spades wrote: I tried to add a username ie. Bryan, but FreeBSD doesn't allow me to do so. It gives me illegal username error. Any idea how to go about adding usernames like 'Bryan-admin' etc. You can create such users by directly editting the passwd database via 'vipw' rather than by running

Re: i found something ugly about freeBSD

2004-01-29 Thread Chuck Swiger
[EMAIL PROTECTED] wrote: Am probably wrong i hope but mysqld creates a file call /tmp/mysql.sock but this file got to be 777??? ...i loging with a other useran call a rm /ytmp/mysql.sock and mysql stop working ...O_o ..but then i did this ... Your mysql configuration isn't very secure. (Or:

Re: where am I supposed to put my rc.firewall?

2004-01-30 Thread Chuck Swiger
Eric F Crist wrote: I'm trying to add IPFW support. Where do I put my rc.firewall so that it gets read at boot time? I've tried /usr/local/etc/rc.d and /etc but neither seems to get read. Specify the location of your firewall script in /etc/rc.conf like so: firewall_enable='YES'

Re: where am I supposed to put my rc.firewall?

2004-01-31 Thread Chuck Swiger
Peder Blom wrote: [ ... ] Add this to your rc.conf: (instead of firewall_type=...): firewall_script=/etc/grog.firewall See /etc/defaults/rc.conf ! While I won't speak against looking at /etc/defaults/rc.conf, setting firewall_type works fine; see the end of /etc/rc.firewall: *) if [ -r

Re: where am I supposed to put my rc.firewall?

2004-01-31 Thread Chuck Swiger
Peder Blom wrote: I've never done it this way, but in this case I assume that you just define the rules in '/etc/ERICS_firewall', thus: -- add 100 pass all from any to any via lo0 add 200 deny all from any to 127.0.0.0/8 add 300 deny ip from 127.0.0.0/8 to any add 600 allow all from

Re: where am I supposed to put my rc.firewall?

2004-01-31 Thread Chuck Swiger
Jack L. Stone wrote: At 02:04 PM 1.31.2004 -0500, Chuck Swiger wrote: # set these to your inside interface network and netmask and ip #define IIF fxp0 #define INET 10.1.1.0/24 #define IIP 10.1.1.1 [ ...OIF info snipped... ] # port number ranges #define LOPORTS 1-1023 #define HIPORTS 1024

Re: Help to configure FreeBSD as server

2004-02-03 Thread Chuck Swiger
[EMAIL PROTECTED] wrote: Why? I can't understand. I try to solve this problem 5 days, but nothing helps me. When I entered DNS suffix: office.net - OK. But in my office that works without DNS-suffix. Consider the search parameter in /etc/resolv.conf. If you are using DHCP, your office network

Re: Mail Delivery within Local Domain Takes Hours

2004-02-06 Thread Chuck Swiger
Maxine Simpson wrote: [ ... ] 3. Mail between users in our local domain ([EMAIL PROTECTED] to [EMAIL PROTECTED]) takes ~4 hours to be delivered. (???) Any thoughts on what might be causing this? Several, although you should look at /var/log/maillog and see what's really going on. :-)

Re: AMD vs Intel ...

2004-02-10 Thread Chuck Swiger
Marc Wiz wrote: On Mon, Feb 09, 2004 at 01:53:38PM -0500, Charles Swiger wrote: OK. The price difference for AMD vs. Intel is pretty significant, but be aware that you'll also pay a significant premium for dual-proc hardware versus single-proc machines: compare an AMD 2400MP versus the 2400XP

Re: Mounting to freebsd ufs under WinXP

2004-02-13 Thread Chuck Swiger
Peter Leftwich wrote: Can someone recommend software that lets you mount TO freebsd (ufs) partition FROM WITHIN Windows XP Pro SP1 (transparently)? I am not familiar with any such software, regrettably. You'd need a Windows developer experienced with their kernel and filesystem management code

Re: need help on CFLAGS in /etc/make.conf please

2004-02-13 Thread Chuck Swiger
Hi, Paul-- There is little point to crossposting between -questions and -hackers; dropping the latter. Actually, [EMAIL PROTECTED] is probably the most appropriate place... Paul Seniura wrote: My question for this discussion is specifically how to prevent overriding a port's own setting for

Re: startup daemon as unpriviliged user

2004-02-13 Thread Chuck Swiger
Louis LeBlanc wrote: So, how can I get a process to run automatically on startup for an unprivileged user? It's reasonable to create a fetchmail.sh script in /usr/local/etc/rc.d which does something like: #!/bin/sh USER = me COMMAND = /usr/local/bin/fetchmail... su - ${USER} -c ${COMMAND} In

Re: Other ways to check/repair disks besides fsck?

2004-02-14 Thread Chuck Swiger
Mark Hessler wrote: Are there any other approaches to checking/repairing disks besides fsck after a power outage? Certainly, however it would help to know what types of problems you are concerned about reparing: physical media errors, data corruption within the filesystem (truncated files,

  1   2   3   4   5   6   7   8   9   10   >