dell raid management
is this available in 5.4 ? I built afacli for managing the array and it runs, but doesn's see any devices. The requirement seems to be options AAC_COMPAT_LINUX I'm only getting unknown option "AAC_COMPAT_LINUX" when trying to configure the kernel. Was this only available in 4.x ? or has something changed and another option is available ? thank you all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mpd and subnet mask
I got mpd working with little pain, on FB 5.3. all xp clients are able to connect and browse the network resources, but no real tcp-ip action is happening inside the VPN. I can't ping anything or connect to any ports on other machines, therefore can't use network based applications on machines other then VPN server. It seems that the subnet mask of the pptp interface gets set to 255.255.255.255, eventhough ipcp ranges are configured as follows. set ipcp ranges 192.168.0.201/24 192.168.10.202/24 I turned off the "default gateway" option on the clients. has anyone run into this ? thanx a lot in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
squirrelmail serverside filter plugin
was anyone able to get squrrelmail serverside filter to work on FreeBSD? please share your experience. thanx in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
OT: how do I get this to link?
can you please share your serverside filter plugin success story ? I'm been struggling with it for a while. thanx a lot in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: webdav and mozilla calendar
Could you kindly share your config ? I seem to have webdav loading but can't figure out how to post calendars. Thanx a lot in advance. Ean Kingston wrote: On February 18, 2005 08:45 pm, synrat wrote: has anyone been able to get mozilla calendar publishing to work with webdav/apache2 ( freebsd 5.3 ) I got it to work with Webdav/apach1.3 but haven't tried 2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
webdav and mozilla calendar
has anyone been able to get mozilla calendar publishing to work with webdav/apache2 ( freebsd 5.3 ) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dummynet
yeah, I also didn't notice his return address at first. That already explains much :). I think I actually sorta, kinda got it working. I'll do some tests and update if my observations are valid. Drew Tomlinson wrote: On 10/28/2004 9:30 AM [EMAIL PROTECTED] wrote: Why don't you guys stop torturing yourself and wasting $1000s worth of your time and get yourself some real bandwidth management software? Its cheaper in the long run. FWIW, I've taken this suggestion with a grain of salt, based upon the general tone of this person's previous posts on a variety of subjects. I suggest you search the archives and draw your own conclusion. Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dummynet
I think most commecrial vendors use some kind of QOS from FreeBSD or Linux anyway. Besides I don't think that buying a $1000 device for better quiality of my $14/month Vonage line is a good idea. James Skinner wrote: Why don't you guys stop torturing yourself and wasting $1000s worth of your time and get yourself some real bandwidth management software? Its cheaper in the long run. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Funny, I thought that's what Dummynet did. It seems that you wouldn't want to steer a user into a horribly overpriced closed-source rate-limiting solutuion when it's available for free in the OS. BTW: Nice email addr. ;) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dummynet
thanx man, but this doesn't work. it seems wrong too ${fwcmd} add pipe 1 { tcp or udp } from ${oip} to any 21 wouldn't this be the right way ? ${fwcmd} add pipe 1 tcp from ${oip} 21 to any out via ${oif} NetAdmin wrote: try this, it works for me. ${fwcmd} add pipe 1 { tcp or udp } from ${oip} to any 21 ${fwcmd} pipe 1 config mask src-ip 0x00ff bw 128Kbit/s queue 20Kbytes You can set the 128Kbit/s to anything but I'm not sure I'd use 2Kbit/s. You may need to play with the 0x00ff. Just install whatmask from /usr/ports/net-mgmt/whatmask Regards On Sun, 2004-10-17 at 23:49, synrat wrote: yeah it kinda seems broken. i can see the pipes being hit by traffic, but no bandwidth limitation is done whatsoever. I tried specifying dedicated port based pipes, that didn't work, I tried using queues for port specification while specifying pipes with the the same port numbers, that didn't work. I tried connecting pipes to the queues, no result as well. for example, to limit outgoing ftp, I tried this, ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s no effect. ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s ${fwcmd} add queue 6 tcp from ${oip} 21 to any out no effect. ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s ${fwcmd} add queue 6 tcp from ${oip} 21 to any out ${fwcmd} queue 6 config pipe 6 setsockopt error. I guess it craps out when trying to bind queue to the pipe. Why ?? who knows I really can't make much sense from what I've read about dummynet in ipfw and dummynet man pages, if anyone knows of a good manual, please let me know. Drew Tomlinson wrote: On 10/11/2004 5:47 PM synrat wrote: Can someone tell me about a good way to troubleshoot pipes/queues or point me in the rigtt direction. I'm trying to restrict outgoing ftp traffic and create some pipes for VOIP. dummynet and pipe rules load fine ( and are in the kernel ) but seem to have no effect. I did read the manual pages 20 times over. I tried adding pipes before doing "config bw" on them, but that didn't make any difference. thanx a lot in advance. I have tried using DUMMYNET also and don't see any effect. If you find an answer, please let me know. It's my goal to give highest priority to ssh connection, next highest priority to the traffic originating on machine "bigdaddy" port 8080, and then all remaining traffic gets passed when there's nothing else going on. I have DSL with a 128K uplink. Here is my rule set in case someone can find my error: # Flush before we define $fwcmd -f queue flush $fwcmd -f pipe flush $fwcmd pipe 1 config queue 128Kbyte $fwcmd queue 1 config pipe 1 weight 85 queue 8Kbyte $fwcmd queue 2 config pipe 1 weight 1 queue 112Kbyte $fwcmd queue 3 config pipe 1 weight 100 queue 8Kbyte $fwcmd add queue 1 ip from bigdaddy 8080 to any out via $oif $fwcmd add queue 3 ip from any 22 to any out via $oif $fwcmd add queue 2 ip from not bigdaddy not 8080 to any out via $oif $fwcmd add queue 2 ip from bigdaddy not 8080 to any out via $oif And I have these options compiled into my kernel: options IPFIREWALL options DUMMYNET options HZ=1000 Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dummynet
yeah it kinda seems broken. i can see the pipes being hit by traffic, but no bandwidth limitation is done whatsoever. I tried specifying dedicated port based pipes, that didn't work, I tried using queues for port specification while specifying pipes with the the same port numbers, that didn't work. I tried connecting pipes to the queues, no result as well. for example, to limit outgoing ftp, I tried this, ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s no effect. ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s ${fwcmd} add queue 6 tcp from ${oip} 21 to any out no effect. ${fwcmd} add pipe 6 tcp from ${oip} 21 to any out xmit ${oif} ${fwcmd} pipe 6 config bw $2Kbit/s ${fwcmd} add queue 6 tcp from ${oip} 21 to any out ${fwcmd} queue 6 config pipe 6 setsockopt error. I guess it craps out when trying to bind queue to the pipe. Why ?? who knows I really can't make much sense from what I've read about dummynet in ipfw and dummynet man pages, if anyone knows of a good manual, please let me know. Drew Tomlinson wrote: On 10/11/2004 5:47 PM synrat wrote: Can someone tell me about a good way to troubleshoot pipes/queues or point me in the rigtt direction. I'm trying to restrict outgoing ftp traffic and create some pipes for VOIP. dummynet and pipe rules load fine ( and are in the kernel ) but seem to have no effect. I did read the manual pages 20 times over. I tried adding pipes before doing "config bw" on them, but that didn't make any difference. thanx a lot in advance. I have tried using DUMMYNET also and don't see any effect. If you find an answer, please let me know. It's my goal to give highest priority to ssh connection, next highest priority to the traffic originating on machine "bigdaddy" port 8080, and then all remaining traffic gets passed when there's nothing else going on. I have DSL with a 128K uplink. Here is my rule set in case someone can find my error: # Flush before we define $fwcmd -f queue flush $fwcmd -f pipe flush $fwcmd pipe 1 config queue 128Kbyte $fwcmd queue 1 config pipe 1 weight 85 queue 8Kbyte $fwcmd queue 2 config pipe 1 weight 1 queue 112Kbyte $fwcmd queue 3 config pipe 1 weight 100 queue 8Kbyte $fwcmd add queue 1 ip from bigdaddy 8080 to any out via $oif $fwcmd add queue 3 ip from any 22 to any out via $oif $fwcmd add queue 2 ip from not bigdaddy not 8080 to any out via $oif $fwcmd add queue 2 ip from bigdaddy not 8080 to any out via $oif And I have these options compiled into my kernel: options IPFIREWALL options DUMMYNET options HZ=1000 Thanks, Drew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dummynet
Can someone tell me about a good way to troubleshoot pipes/queues or point me in the rigtt direction. I'm trying to restrict outgoing ftp traffic and create some pipes for VOIP. dummynet and pipe rules load fine ( and are in the kernel ) but seem to have no effect. I did read the manual pages 20 times over. I tried adding pipes before doing "config bw" on them, but that didn't make any difference. thanx a lot in advance. something like this : # APPLIES TO INCOMING PACKETS (DOWNLOADS) ${fwcmd} pipe 1 config bw 1300Kbit/s ${fwcmd} pipe 3 config bw 100Kbit/s ${fwcmd} queue 1 config weight 5 pipe 1 ${fwcmd} add queue 1 ip from any to 192.168.1.4 ${fwcmd} queue 2 config weight 5 pipe 1 ${fwcmd} add queue 2 ip from any to 192.168.1.3 ${fwcmd} queue 3 config weight 10 pipe 3 ${fwcmd} add queue 3 udp from any to 192.168.1.2 # APPLIES TO OUTGOING PACKETS (UPLOADS) ${fwcmd} pipe 2 config bw 1000Kbit/s ${fwcmd} pipe 4 config bw 100Kbit/s ${fwcmd} queue 4 config weight 5 pipe 2 ${fwcmd} add queue 4 ip from 192.168.1.4 to any ${fwcmd} queue 5 config weight 5 pipe 2 ${fwcmd} add queue 5 ip from 192.168.1.3 to any ${fwcmd} queue 6 config weight 10 pipe 4 ${fwcmd} add queue 6 udp from 192.168.1.2 to any THIS IS FOR OUTGOING FTP ${fwcmd} add pipe 7 tcp from 216.254.116.226 21 to any out via ${oif} ${fwcmd} pipe 7 config bw 3Kbit/s ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw pipes
I'm trying to figure out ipfw/pipes setup. The requirement is to provide more or less exclusive pipe for voip service ( vonage ) that goes through ipfw nat. I know this isn't QOS and I would appreciate advise on QOS as well, but for now I just want to get this working and tested. I want to specify a 64kbs pipe for voip with the most weight and then give the rest of the bandwidht to all hosts behind the NAT, no other pipes. Is this sufficient or do I need to setup rules for ext and int interfaces ? Do I also need to specify the entire bandwidth available via Internet connection and other pipes for the remaining hosts or does leaving everything else out give the remanining bandwidht to other hosts ? thank you all ${fwcmd} add pipe 1 ip from 192.168.1.2 to any out ${fwcmd} add pipe 2 ip from 192.168.1.2 to any in ${fwcmd} pipe 1 config bw 64Kbit/s queue ${fwcmd} pipe 2 config bw 64Kbit/s queue ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: losing disk space
thanx guys. learn something new every day. I actually noticed that my smaller volumes display the same 'discrepancy'..., but it only became a concern after 'loosing' 10gb :). hehe. should've realized that myself right away. is this true though that soft updates use additional disk space ?? Mike Woods wrote: synrat wrote: Filesystem Size Used Avail Capacity Mounted on /dev/vinum/data 67G 2.0K62G 0%/data Does this look weird or what ?? Nope, looks fine to me :) This is a mirrored vinum volume created from 2 partitions fully taking up 2 73gb drives. vinum shows this as 68gb volume, which I guess is ok considering kb>mb>gb calculation rip-off, but losing 10gb after newfsing is something new. The only other thing I did is turn on soft updates, but I wouldn't expect that too 'steal' 10 gb also. anyone ? 5gb :) UFS keep x% of the drive unavailable from anyone but root as part of the filesystem optimisations, you can turn this off if you want with tunefs but expect a performance hit from it. Mike Woods IT Technician ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
losing disk space
Filesystem Size Used Avail Capacity Mounted on /dev/vinum/data 67G 2.0K62G 0%/data Does this look weird or what ?? This is a mirrored vinum volume created from 2 partitions fully taking up 2 73gb drives. vinum shows this as 68gb volume, which I guess is ok considering kb>mb>gb calculation rip-off, but losing 10gb after newfsing is something new. The only other thing I did is turn on soft updates, but I wouldn't expect that too 'steal' 10 gb also. anyone ? thanx in advance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum setup
thanx Greg, you're right as always. I booted into single user from start up and sure enough everything was editable then. I got another problem though. I set up 2 disks for vinum and want to allocate exisiting partitions to vinum mirrored volumes. I left 16 blocks at the begining, moved first partition ( swap ) to 281, recalculated offsets in vinum config with -16, run vinum config, everything's peachy, drives rebuild, fsck sees no errors, I edit fstab, reboot, vinum module loads but root can not be mounted as a vinum device, I still have to manually specify my regular root ( /dev/das1a ) partition. dmesg output below and vinum/disklabel too. thanx a million. Greg for US president :) Mounting root from ufs:/dev/vinum/root missing unit number setrootbyname failed ffs_mountroot: can't find rootvp Root mount failed: 6 disklabel ( similar for both disks ) - a: 21094400 21094404.2BSD 2048 1638489 # (Cyl. 131*- 1444*) b: 2109159 281 swap# (Cyl.0*- 131*) c: 1562481270unused0 0# (Cyl.0 - 9725*) e: 133044287 232038404.2BSD 2048 1638489 # (Cyl. 1444*- 9725*) h: 156248111 16 vinum # (Cyl.0*- 9725*) vinum -- drive a device /dev/ad2s1h drive b device /dev/ad3s1h volume root plex org concat sd length 21094400s driveoffset 2109424s drive a plex org concat sd length 21094400s driveoffset 2109424s drive volume home plex org concat sd length 133044287s driveoffset 23203824s drive a plex org concat sd length 133044287s driveoffset 23203824s drive b On Fri, 18 Jun 2004, Greg 'groggy' Lehey wrote: > [Format recovered--see http://www.lemis.com/email/email-format.html] > > Output wrapped. > > On Thursday, 17 June 2004 at 12:04:01 -0400, synrat wrote: > > 4.8 > > > > I'm trying to setup partitions for vinum. > > I am in single user mode, but every time I try > > to modify swap size to accomodate for vinum confuration > > I get > > > > disklabel: ioctl DIOCWDINFO: open partition would move or shrink > > re-edit the label? [y] > > > > #size offsetfstype [fsize bsize bps/cpg] > > a: 21094400 21094404.2BSD 2048 1638489 # (Cyl. 131*- 1444*) > > b: 2109000 430 swap# (Cyl.0 - 131*) > > c: 1562481270unused0 0# (Cyl.0 - 9725*) > > e: 133044287 232038404.2BSD 2048 1638489 # (Cyl. 1444*- 9725*) > > h: 156248111 16 vinum # (Cyl.0*- 9725*) > > You can't change open partitions. You also can't unmount swap. If > you go from multi-user to single user mode, the swap remains mounted. > You'll need to boot to single user mode to do that. > > If this doesn't answer your question, more details, please, including > any log messages. Please don't wrap them. > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply or reply to the original recipients. > For more information, see http://www.lemis.com/questions.html > Note: I discard all HTML mail unseen. > Finger [EMAIL PROTECTED] for PGP public key. > See complete headers for address and phone numbers. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vinum setup
4.8 I'm trying to setup partitions for vinum. I am in single user mode, but every time I try to modify swap size to accomodate for vinum confuration I get disklabel: ioctl DIOCWDINFO: open partition would move or shrink re-edit the label? [y] #size offsetfstype [fsize bsize bps/cpg] a: 21094400 21094404.2BSD 2048 1638489 # (Cyl. 131*- 1444*) b: 2109000 430 swap# (Cyl.0 - 131*) c: 1562481270unused0 0# (Cyl.0 - 9725*) e: 133044287 232038404.2BSD 2048 1638489 # (Cyl. 1444*- 9725*) h: 156248111 16 vinum # (Cyl.0*- 9725*) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
wu imap ssl and plain
I can't seem to get wu imap to accept plain logins. I built cclient and wu imap with this command. make WITH_SSL_AND_PLAINTEXT=true SSLTYPE=unix install WHen I try to auth to 110 I get -ERR Unknown AUTHORIZATION state command pop banner is not very informative, but imap banner says this * OK [CAPABILITY IMAP4REV1 LOGIN-REFERRALS STARTTLS LOGINDISABLED] does this mean that plain text logins are still disabled ? what other options do I need to use anyone ? thanx in advance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: vinum requirements
thanx Greg. like your book. hope there will be another edition. Does all this mean that if I don't have ~133kb available for Vinum in the beginning of the disk before my first ( root ) partition, I can't use Vinum on that disk ? or would it write half of the configuration in that first 60kb and the rest in whatever other freespace I have ? I admit this sounds like a joke :). thanx again. On Fri, 23 Apr 2004, Greg 'groggy' Lehey wrote: > On Thursday, 22 April 2004 at 11:32:22 -0400, synrat wrote: > > > > does vinum configuration need to be located > > in the beginning of the drive after bootstrap or > > is it possible to store at the end of the drive ? > > Currently it must be at the beginning of a drive. > > > the reason I ask is I only have 60kb available in the beginining and > > the first partition is /. I should be able to shrink swap, which is > > at the end of the drive, but I'm not sure I understand how vinum > > stores it's configuration. Does there need to be a separate > > partition for vinum that has at least enough space for > > configuration, which doesn't overlap with anything else ? > > No, it's part of the drive. In Vinum terminology, a "drive" is a disk > partition, the same one on which the subdisks are stored. > > > Is the rest of vinum partition supposed to overlap with everything > > that I want to configure as a plex ( I'm talking about mirroring > > exisiting partitions ) Or should there be 2 different vinum > > partitions, one for configuration and another one for plexes ? > > I'd suggest you take a look at the documentation at > http://www.vinumvm.org/cfbsd/vinum.pdf. It should clarify a number of > things. > > And yes, in retrospect it was a bad idea to put the configuration at > the front of the drive. > > Greg > -- > When replying to this message, please copy the original recipients. > If you don't, I may ignore the reply or reply to the original recipients. > For more information, see http://www.lemis.com/questions.html > Note: I discard all HTML mail unseen. > Finger [EMAIL PROTECTED] for PGP public key. > See complete headers for address and phone numbers. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vinum requirements
does vinum configuration need to be located in the beginning of the drive after bootstrap or is it possible to store at the end of the drive ? the reason I ask is I only have 60kb available in the beginining and the first partition is /. I should be able to shrink swap, which is at the end of the drive, but I'm not sure I understand how vinum stores it's configuration. Does there need to be a separate partition for vinum that has at least enough space for configuration, which doesn't overlap with anything else ? Is the rest of vinum partition supposed to overlap with everything that I want to configure as a plex ( I'm talking about mirroring exisiting partitions ) Or should there be 2 different vinum partitions, one for configuration and another one for plexes ? I'd appreciate any suggestions. thanx you all ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
LSI21320-R
Does anyone know if LSI21320-R adapter works under freebsd ? I found some mpt driver support for certain chipsets in hardware compat. list, but I don't know what chipset this card uses. Will FreeBSD actually see the hardware raid as one lun ? thanx a lot in advance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
tranparent proxying, squid, nat, ipfw
I'm having a hard time getting this working together. I have squid 2.5 stable working and with all the required setting for transparent proxying. The machine has the kernel with IPFW and forwarding options. NAT is on, firewall type is simple with some modifications. Internal interface address is 192.168.1.1. Squid runs fine when the browser is setup to access it, but the goal is not to have to do that. http_port 3128 httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on I have the forwarding rule as well fwd 127.0.0.1,3128 tcp from any to any 80 I tried 192.168.1.1,3128 in the rule. Tried putting it before both divert rules. Here's my ipfw list output 00050 divert 8668 ip from any to any via rl0 00100 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 00300 deny ip from 127.0.0.0/8 to any 00400 deny ip from 192.168.1.0/24 to any in recv rl0 00500 deny ip from 66.92.100.0/24 to any in recv rl1 00600 deny ip from any to 10.0.0.0/8 via rl0 00700 deny ip from any to 172.16.0.0/12 via rl0 00800 deny ip from any to 192.168.0.0/16 via rl0 00900 deny ip from any to 0.0.0.0/8 via rl0 01000 deny ip from any to 169.254.0.0/16 via rl0 01100 deny ip from any to 192.0.2.0/24 via rl0 01200 deny ip from any to 224.0.0.0/4 via rl0 01300 deny ip from any to 240.0.0.0/4 via rl0 01400 divert 8668 ip from any to any via rl0 01500 deny ip from 10.0.0.0/8 to any via rl0 01600 deny ip from 172.16.0.0/12 to any via rl0 01700 deny ip from 192.168.0.0/16 to any via rl0 01800 deny ip from 0.0.0.0/8 to any via rl0 01900 deny ip from 169.254.0.0/16 to any via rl0 02000 deny ip from 192.0.2.0/24 to any via rl0 02100 deny ip from 224.0.0.0/4 to any via rl0 02200 deny ip from 240.0.0.0/4 to any via rl0 02300 allow tcp from any to any established 02400 allow ip from any to any frag 02500 allow tcp from any to 66.92.100.221 25 setup 02600 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02700 allow tcp from 192.168.1.0/24 to 192.168.1.0/24 02800 allow udp from 192.168.1.0/24 to 192.168.1.0/24 02900 allow udp from 192.168.1.0/24 to 192.168.1.0/24 03000 allow tcp from any to 66.92.100.221 80 setup 03100 allow tcp from any to 66.92.100.221 8080 setup 03200 allow tcp from any to 66.92.100.221 8021 setup 03300 allow tcp from any to 66.92.100.221 21 setup 03400 allow tcp from any to 66.92.100.221 22 setup 03500 allow tcp from any to 66.92.100.221 110 setup 03600 allow tcp from any to 66.92.100.221 143 setup 03700 allow tcp from any to 66.92.100.221 993 setup 03800 allow tcp from any to 66.92.100.221 995 setup 03900 allow icmp from any to any 04000 deny log tcp from any to any in recv rl0 setup 04100 allow tcp from any to any setup 04200 fwd 127.0.0.1,3128 tcp from any to any 80 04300 allow udp from 66.92.100.221 to any keep-state 04400 allow udp from 192.168.1.3 to any keep-state 65535 deny ip from any to any ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Raid 5 - Vinum or Raidframe?
Are you root ? On Fri, 3 Oct 2003, billn wrote: > Plus some other questions. I'm currently unable to get vinum to work in > FreeBSD 4.8, even after careful reading of the docs. > > 4.8 is giving me "Operation Not Permitted" when I attempt to start > vinum. I've read the 4.8 specific section in the docs, followed it. > Still no joy. > > Muchly thanks for any assistance. > > Bill Nicholls ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: saslauthd not working?
why would you want to maintain 2 password databases ? I use saslautd -a pam On Thu, 25 Sep 2003, Sunil Sunder Raj wrote: > Hi, > chmod 777 /usr/local/etc/sasldb > As you are not sure which user is accessing the sasldb file. > > Regards > SSR > > > > >From: Charlie Schluting <[EMAIL PROTECTED]> > >To: Sunil Sunder Raj <[EMAIL PROTECTED]> > >Subject: Re: saslauthd not working? > >Date: Wed, 24 Sep 2003 08:39:14 -0700 (PDT) > > > > > > > >It looks like sasldb, because I get errrors like this sometimes: > >postfix/smtpd[7944]: unable to open Berkeley db /usr/local/etc/sasldb: > >Permission denied > > > >This is strange, because it has permissions set for group mail to rwx. > > > >:) > >Thanks for the response, > >Charlie > > > >On Wed, 24 Sep 2003, Sunil Sunder Raj wrote: > > > > > Hi, > > > What auth module do you want to use (sasldb, mysql). > > > > > > Regards > > > SSR > > > > > > > > > >From: Charlie Schluting <[EMAIL PROTECTED]> > > > >To: [EMAIL PROTECTED] > > > >Subject: saslauthd not working? > > > >Date: Tue, 23 Sep 2003 17:32:33 -0700 (PDT) > > > > > > > >Hi, > > > > > > > >Trying to configure sasl with postfix.. and I keep getting "Login > > > >Failed" > > > > > > > >Here's what I have: > > > > > > > >telnet localhost 25: > > > >AUTH PLAIN Y2hhcm... > > > >535 Error: authentication failed > > > > > > > >The maillog simply shows: > > > >warning: localhost[127.0.0.1]: SASL PLAIN authentication failed > > > > > > > >/etc/rc.conf: > > > >sasl_saslauthd_enable="YES" > > > >sasl_saslauthd_flags="-a getpwent" > > > > > > > >/usr/local/lib/sasl2/smtpd.conf > > > >pwcheck_method: saslauthd > > > >mech_list: plain login > > > > > > > >I'm not using pam for anything else, so I figured that this method had > > > >the best chance of working :) > > > >Postfix is NOT chrooted, and postfix is in group mail. > > > > > > > >Postfix config: > > > > > > > > smtpd_sasl_auth_enable = yes > > > > smtpd_sasl_security_options = noanonymous > > > > smtpd_sasl_local_domain = > > > > broken_sasl_auth_clients = yes > > > > > > > >Here's the perms on saslauthd: > > > >drwxrwx--- 2 cyrus mail 512 Sep 23 17:27 saslauthd/ > > > > > > > >Am I missing anything? > > > >I tried adding -d to saslauthd_flags in rc.conf. When I started > > > >saslauthd, it just hung there, like I expected, only, I didn't get any > > > >output when I tried to login to postfix. > > > > > > > >help would be greatly appreciated. > > > > > > > >-Charlie > > > >___ > > > >[EMAIL PROTECTED] mailing list > > > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > >To unsubscribe, send any mail to > > > >"[EMAIL PROTECTED]" > > > > > > _ > > > Interact with peers. Learn from experts. > > > http://server1.msn.co.in/sp03/teched/index.asp Be tech-empowered! > > > > > _ > Attention NRIs! Banking worries? > http://server1.msn.co.in/msnspecials/nriservices/index.asp Get smart tips. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
x-mailer
I was wondering what's a good way to collect statistics about mailers used to connect to the system ? grepping for x-mailer in mquee doesn't feel very productive. mta - sendmail. thanx for your suggestions. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail vs. Postfix...
what do you mean postfix is hard to setup ? It's fully functional after the installation, you can send e-mail right away and you only need a few changes to main.cf to accept e-mail. The file is very well commented, save the changes, and run 'postfix reload' as root. On Wed, 24 Sep 2003, Payne wrote: > Hey, > > Quick question. How hard is it to set up Postfix. I am getting tried of > Sendmail. Is it hard to set up Postfix to access passwords so that the > only mail can be sent. > > Chuck > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vpn
I'm trying to find vpn software for freebsd that supports pptp. I don't care much for ipsec, unless I have no other choice. Goal being :), windows clients mounting samba shares remotely over vpn. I found a howto for poptop, but it said that encryption is not supported in poptop on bsd. Is that true ? It kind of defeats the purpose in my opinion. What other choices are there ? thank you all ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
samba problems
this may be a wrong list for this question, but I believe that many people should've had the same problems. I get these messages in samba log every now and then read_data: read failure for 4. Error = Connection reset by peer [2003/09/24 12:02:27, 0] lib/util_sock.c:read_data(436) read_data: read failure for 4. Error = Connection reset by peer after that the windows client starts having problems with profiles stored on the server. possibly other problems as well, but I haven't tracked that down. does anyone know what this means ? google shows different opinions about quality of network connection, network cards and drivers, windows patches and other things. Can someone confirm what is the problem ? thank you all ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
iostat or other command to get sn #
Is there a way to tell the serial number of harddrives connected to scsi bus ? iostat -E does that in solaris, is there equivalent command in bsd ? thank you all ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cdrecord
I have 2 scsi controllers in the system, first one is LSI with 4 drives and second one is Adaptec with 2 drives and Yamaha scsi cdr. I'm able to use every device from the both controllers, including the cd drive, but when I do cdrecord -scanbus, it only lists the drives on the first scsi card. Does anyone know how to fix that ? I couldn't find any additional argument for cdrecord to do "extra scanning". Is it also possible to write to the device file itself ?? Which file would it be ? thank you all in advance. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vinum question
I created an additional mirrored volume in my system, but screwed up with disklabel, so now the new volume shows up as stale, actually after I did the second time with the right labels, I got a duplicate stale and crashed. The question is, how do I delete both of them without damaging the other mirrored volume that has data on it. Here's snip from vinum ls. S mirrorhome.p0.s0 State: up PO:0 B Size: 34 GB S mirrorhome.p1.s0 State: up PO:0 B Size: 34 GB S mirrorstuff.p0.s0 State: crashed PO:0 B Size: 28 GB S mirrorstuff.p1.s0 State: crashed PO:0 B Size: 28 GB S mirrorstuff.p2.s0 State: stalePO:0 B Size: 28 GB S mirrorstuff.p3.s0 State: stalePO:0 B Size: 28 GB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sophos on freebsd
Has anyone setup virus scanning for e-mail and/or files shared via Samba ? I'm wondering if I need to buy sophos antivirus only, or both antivirus and "mail monitor" from sophos. Suggestions, feedback and links are appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
yahoo, hotmail, etc
I was wondering if anyone is aware of any scripts or programs that can retrieve mail from different webmail sources. thanx in advance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS stale file handle
How do I troubleshoot this in BSD ? I know is Solaris lsofing and killing the process that holds the mount helps. Supposedly, manually editing /etc/mnttab should work too. How do I solve the same problem in BSD ? thanx ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: squid performance and kernel tuneables
I would say that with that much traffic first thing you don't want to do is cache anything to the disk. Get a couple of gigabytes of memory, use as few ACLs as possible, cache dns for squid on the same machine, but don't use it as dns server for others, setup a logging server or disable logging, disable everything the requires extra processing. On Sun, 23 Mar 2003, L. Jankok wrote: > Hi folks, > > Having to migrate a proxy server from a ultra sparc (u10) to > FreeBSD I am looking for the appropriate kernel tuneables. > The new system will run FreeBSD 4.7 Stable on a SMP machine > with two very fast scsi disks and 1 1/2 GB of RAM. > > I did a man tuning, read the relevant sections on the freebsd handbook > searched google and looked at the faq at www.squid-cache.org. > > This is what I have so far; > > kern.maxfiles:== 65536 > kern.maxfilesperproc: == 32768 > kern.ipc.somaxconn: == 8192 > kern.ipc.nmbclusters: == 131072 > net.inet.ip.portrange.last: == 3 > net.inet.tcp.sendspace: == 65535 > net.inet.tcp.recvspace: == 65535 > net.inet.tcp.delayed_ack: == 0 > net.inet.udp.maxdgram:== 57344 > net.inet.udp.recvspace: == 65535 > kern.ipc.shm_use_phys:== 1 > vfs.write_behind: == shouldn't this be turned off for web cache > systems ? > kern.ipc.shm_use_phys:== ok overhead> > vfs.vmiodirenable:== ok as you can> > > For diskd the FAQ on www.squid-cache.org is clear about the kernel tuneables. > It is the above settings which I want to know more about. > > > My question to the list is as follows; > > Are there any kernel tuneables paramater above which are set wrong or which are plain > irrelevant for a high performance http proxy server on FreeBSD ? and are there any > relevant > parameters (besides that for diskd) which are not included in the above list ? > The system will be a dedicated http proxy server processing approximately 236 GB a > month > and like 216426 request per hour. > > > tnx, > > Lucio Jankok > > 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
disklabel and ext2
I can't delete 2 linux partitions from a drive using disklabel. No matter what /dev/ad0 slices I try to edit, linux partitions don't show up, but fdisk thinks differently. I can easily delete and recreate the first 2 partitions as slices 1 and 2, but can't get rid of the other 2. Thanx in advance. below is fdisk output for /dev/ad0 data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 40949622 (19994 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 40949685, size 2040255 (996 Meg), flag 80 (active) beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 3 is: sysid 131,(Linux filesystem) start 42989940, size 33206355 (16214 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: sysid 130,(Linux swap or Solaris x86) start 76196295, size 1975995 (964 Meg), flag 0 beg: cyl 1023/ head 255/ sector 63; end: cyl 1023/ head 254/ sector 63 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
postfix + sasl
can someone give me a few pointers on setting up this combination on free bsd 4.7 ? I'm using the latest ports and already have postfix running. thanx To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Problem to mount an ext3 partition
that's nonsense. ext3 is completely 100% backward compatible. you can mount it and use it as ext2 from any OS that supports ext2. On Fri, 7 Mar 2003, Subhasish Ghosh wrote: > Hi, what Gary mentions (below) is absolutely > okayLinux Second Extended fs(ext2fs) is NOT equal > to Linux Third Extended fs(ext3fs).. though > theoritically, ext3fs = ext2fs + JFS(Journalling > Filesystem architecture features)...Okay??? > I use FreeBSD 4.7-RELEASE + RedHat Linux > 7.3(valhalla) as well as OpenBSD 3.2-RELEASE > configured on the same hard disk of my humble > computer and I have deliberately installed RedHat > Linux with an ext2fs and NOT ext3fs..cause I know > FreeBSD operating system supports ext2fs functionality > and NOT ext3fs..Okay??? > So..what you should have done was to install Linux > as ext2fs and not ext3fs... :( Nothing can be done.. > Sorry!!! anyway..this should act as a good lesson for > you... if you wanna migrate...totally from Linux to > FreeBSD as you have written you want to...make sure > you know the basics correctly and properly I use > Linux, FreeBSD and OpenBSD on the same computer > Take care.. > Ghosh > > --- Gary Jennejohn <[EMAIL PROTECTED]> wrote: > > EXT2 != EXT3. Most likely EXT3 isn't supported under > > FreeBSD. > > Sorry. > > > > The only thing I can suggest is attaching the disk > > to a Linux system and copying the data to tape or > > CD. Or reinstall Linux with an EXT2 > > partition and copy the data there. > > > > --- > > Gary Jennejohn / [EMAIL PROTECTED] [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-questions" in the body of > > the message > > > __ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > 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: Oracle on FreeBSD
it's not a bad idea, it'd be great if oracle created a port for bsd, but they didn't and most likely won't. you can't run in in native mode, because ... well... it's bsd, not linux. i don't think you'll have issues with emulation mode,. except for performance, which could be pretty big. I suggest just stick with linux for oracle. On Mon, 24 Feb 2003, Damien Hull wrote: > Can you run Oracle on FreeBSD? > > So far I've found some information on installing Oracle using Linux > emulation but nothing about running it in native mode. > > Also, if any of you feel that running Oracle on FreeBSD is a bad idea > let me know. > > > > > > 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: sound module on start up
it only works when I do it manually. Nothing loads on the start up if I add it to loader.conf any ideas ?? On Sat, 15 Feb 2003, Glenn Johnson wrote: > On Sat, Feb 15, 2003 at 08:29:59PM -0500, synrat wrote: > > > I figured out how to load the module for my sound card (ac97) > > but I can't get it to load on start up. When I add the line > > snd_via8233_enable="YES" to /etc/rc.conf it still doesn't load it on > > the start up. How do I do that ? > > You would add the following line to /boot/loader.conf: > > snd_via8233_load="yes" > > > How would I compile that into my kernel? > > devicepcm > > > I thought it would be built when I added pcm to my custom config, but > > it wasn't. I had to build it manually in modules/sounds directory. > > You want to decide whether you want sound support compiled into the > kernel or use a kernel module. I am not sure what happens if you try > to load the kernel module when the kernel already provides it. > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
sound module on start up
I figured out how to load the module for my sound card ( ac97 ) but I can't get it to load on start up. When I add the line snd_via8233_enable="YES" to /etc/rc.conf it still doesn't load it on the start up. How do I do that ? How would I compile that into my kernel ? I thought it would be built when I added pcm to my custom config, but it wasn't. I had to build it manually in modules/sounds directory. thanx a lot To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message