Interaction between mpd and ipfilter/ipnat

2006-03-16 Thread Jim Hatfield
I have a FreeBSD firewall which does packet filtering and NAT. The internal address range is 172.16.64.0/24. The only filtering is incoming on the external NIC, fxp0. The machine also runs mpd for remote access. By pure chance I was tailing ipf.log when I connected an XP laptop to the mpd servic

FBSD5 and FBSD6 aren't too keen on the SFU/AD NIS server

2006-01-24 Thread Jim Hatfield
My current situation is that I have a Solaris based NIS server and various client machines, including FreeBSD. A production FreeBSD 5 machine and a test FreeBSD 6 machine work just fine with it, except for a small glitch on the FreeBSD 6 machine: >speyburn# ypwhich >panther.internal.local >speybu

NIS client differences between FBSD5 and FBSD6?

2006-01-17 Thread Jim Hatfield
Still trying to migrate our NIS from an old Sparc to a Services For Unix/Active Directory setup. AMD won't play so I'm using text files for that. Now to move forward to actually logging in A test machine running FreeBSD 6 seems to work OK, though "ypwhich -m" behaves strangely: >speyburn# una

amd doesn't like NIS maps from a Windows NIS server

2006-01-11 Thread Jim Hatfield
We've been using NIS-based automounter maps for ages, using a Solaris NIS server. Some of our machines use autofs type maps, and some use amd, notably the FreeBSD boxes. As part of a move to single sign-on I've implemented a NIS server using Microsoft's Services for Unix installed on an Active Dir

Correct configuration of pam_winbind.so for login using AD accounts

2005-11-23 Thread Jim Hatfield
I'm using a newly-installed FBSD 6 system to experiment with Single Sign-On to an Active Directory network. Samba is installed, the machine is joined to the domain, winbind seems to work fine, wbinfo -u lets me enumerate users OK. I'm trying to work out how to edit the files in /etc/pam.d to get

Re: Failures after upgrading perl

2005-02-09 Thread Jim Hatfield
On Wed, 9 Feb 2005 10:07:59 - , in local.freebsd.questions you wrote: >I have a 4.7-based system I use as a mail gateway. Yesterday I >did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that >I have no incoming mail, due to mimedefang no longer functioning: Bang my head against a wal

Failures after upgrading perl

2005-02-09 Thread Jim Hatfield
I have a 4.7-based system I use as a mail gateway. Yesterday I did a portupgrade of perl from 5.6.1 to 5.6.2. Today I find that I have no incoming mail, due to mimedefang no longer functioning: >Feb 9 09:56:39 highland mimedefang-multiplexor[91186]: Slave 0 stderr: Can't >locate MIME/Base64.pm i

Re: ipnat and "udp consistent translation" (Skype related)

2004-10-05 Thread Jim Hatfield
On Wed, 29 Sep 2004 13:45:40 +0100, in local.freebsd.questions you wrote: >Using Skype on a machine behind a FreeBSD 4.x firewall using >ipf/ipnat, if I try a file transfer I get "your connection is relayed" >which suggests that there are problems using "UDP hole punching" to >get a direct connect

ipnat and "udp consistent translation" (Skype related)

2004-09-29 Thread Jim Hatfield
Using Skype on a machine behind a FreeBSD 4.x firewall using ipf/ipnat, if I try a file transfer I get "your connection is relayed" which suggests that there are problems using "UDP hole punching" to get a direct connection. The Skype help page sends you to: http://bgp.lcs.mit.edu/~dga/view.cgi w

New-style PHP and Sybase DB-Lib

2004-08-03 Thread Jim Hatfield
Just looking at the Makefile for lang/php4-extensions and I see in the list of options SYBASE_CT but no SYBASE_DB. I think my existing PHP setup was compiled with SYBASE_DB, certainly phpinfo() reveals in the Sybase section: > $Id: dblib.c,v 1.160.2.1 2004/04/04 09:07:04 freddy77 Exp $ I also r

Transparent proxying in 4.x with squid and ipf?

2004-07-27 Thread Jim Hatfield
I used to do transparent http proxying with ipfw and Squid, but lost that when I switched from ipfw to ipf. The Squid port Makefile says: >#This option does not work on FreeBSD at the moment: ># >#--enable-ipf-transparent ># Enable Transparent Proxy support for IP-Filter systems (incl

Re: Growisofs and etc/crontab

2004-07-21 Thread Jim Hatfield
On Wed, 21 Jul 2004 07:48:31 +0100, in local.freebsd.questions you wrote: >Thanks for the suggestion will check the paths at the beginning. The >crontab >I was using is the system one (/etc/crontab) and I did try specifying >the >whole path to the program as well. Not in this example you didn't.

Re: mpd3.18

2004-06-15 Thread Jim Hatfield
On Mon, 14 Jun 2004 20:14:23 +0100, in local.freebsd.questions you wrote: >I have a box that is having a 24th hour crash, I have narrowed it down >to mpd 3.18 as the cause, kill mpd and the box will hum right along for >days, restart mpd 24 hrs later it goes into kernel panic and reboots. >Anyone

Issues with large files on nfs-mounted filesystems?

2004-06-03 Thread Jim Hatfield
I've made a large .mpg file on a Linux machine (because some tools, such as mplex, are newer than available in FreeBSD ports). Here's a directory listing: >-rw-r--r-- 1 jim users 4388444160 Jun 2 23:15 movie.mpg I want to burn it to DVD but the burner is on a BSD box, so I nfs-mount the /home

Max size of file on ISO filesystem?

2004-05-06 Thread Jim Hatfield
I used to think that ISO filesystems were limited to a maximum size of 2 Gb for each file, but now I'm not sure sure. mkisofs from sysutils/mkisofs will not accept files over 2 Gb but the one in syutils/mkisofs-devel will without a problem. So if you install mkisofs-devel you can then use growiso

Re: IMAP server and client recommendations?

2004-04-22 Thread Jim Hatfield
On Thu, 22 Apr 2004 05:42:00 +0100, in local.freebsd.questions you wrote: >Almost right, but not quite. You set up an IMAP server that stores >mail in the desired format, add the IMAP support to Outlook, and then >drag/drop the mail into the IMAP mailbox. There is no equivalent >client-side e

Re: DVD -> SVCD with FreeBSD?

2004-03-29 Thread Jim Hatfield
On Mon, 29 Mar 2004 16:13:18 +0100, in local.freebsd.questions you wrote: >On Mon, 29 Mar 2004, Jim Hatfield wrote: > >> I tried mencoder. The ports version won't produce mpeg2 (at > >Here's what I do: I decode the MPEG to YUV using mplayer, then >reencod

DVD -> SVCD with FreeBSD?

2004-03-29 Thread Jim Hatfield
If anyone is successfully converting DVDs to SVCD (or MPEG2 formats in general) I'd appreciate knowing what tools they use. I have been fine producing MPEG4 files with mencoder, but I now have a networked video player (Hauppauge MediaMVP) which doesn't support MPEG4 but supports MPEG2 just fine.

Re: OT: transcode, ffmpeg, mencoder

2004-03-09 Thread Jim Hatfield
On Mon, 8 Mar 2004 22:01:35 - , in local.freebsd.questions you wrote: >#convert a quicktime file into an mpg >mencoder -of mpeg -o example.mpg -oac mp3lame -ovc lavc -lavcopts >vcodec=mpeg1video example.mov >mencoder -of mpeg -o example.mpg -oac copy -ovc lavc -lavcopts >vcodec=mpeg1video >exa

Re: S/KEY ftp logins

2004-03-09 Thread Jim Hatfield
On Mon, 8 Mar 2004 15:31:50 - , in local.freebsd.questions you wrote: >Is there some way to tell if ftp logins are successfully using S/KEY or >falling back to cleartext? Is there some way to require S/KEY only? I believe the password prompt includes "required" if a static password would not

(Re) mp4 spliter

2004-02-25 Thread Jim Hatfield
On Wed, 25 Feb 2004 04:00:20 -, in local.freebsd.questions Tsu-Fan Cheng <[EMAIL PROTECTED]> wrote: >Hi freebsders, I have a movie file ended with mp4 and it's bigger than >700mb, does anybody know how I can split the file into 2 so I can make a >CD out of it? thanks a lot! > >Best Regards, :-

4.5 -> 5.1, rlogin works but rsh fails

2003-12-19 Thread Jim Hatfield
I'm trying to use rdist to mirror a tree from a 4.5 machine ("speyburn") to a 5.1 machine ("banff"). So firstoff rsh has to work. This is root-to-root. I've set up the /root/.rhosts on the target 5.1 machine and also on the 4.5 machine so I can check it both ways round. Logged on as root on the 5

Any way to lock down disk errors?

2003-11-11 Thread Jim Hatfield
Strictly speaking OT but the machine is running FreeBSD. While copying a file I got I/O errors. The console shows: >ad0: hard error cmd=read fsbn 31891359 of 31891359-31891486 status=59 error=40 >ad0: hard error cmd=read fsbn 31891231 of 31891231-31891486 status=59 error=40 Given that the disk i

Confused about perl versions and perl modules

2003-10-29 Thread Jim Hatfield
I'd love to understand the interaction between perl versions, FreeBSD versions and perl modules. Frinstance I have a 4.7 system with only the base system perl, and a number of perl modules from the ports collection. The perl modules seem to install themselves under /usr/local/lib/perl5/site_perl/

Re: Using poptop....

2003-10-20 Thread Jim Hatfield
On Sat, 18 Oct 2003 05:52:57 +0100, in local.freebsd.questions you wrote: >It's really pretty easy. I beat my head on the wall about a year ago, >so I >don't recall where all the docs are, but this is what my configs look >like: >/etc/ppp/ppp.conf: >pptp: > set timeout 0 > set dial > set login >

Re: Using poptop....

2003-10-17 Thread Jim Hatfield
On Fri, 17 Oct 2003 16:00:00 +0100, in local.freebsd.questions you wrote: >If anyone can give me a recipe for setting up poptop >I'd be very grateful. I want to run it on a machine which >is a gateway/firewall. One NIC has a public address and the other >is on a private network, ie 192.168.1.x. I

Re: Strange pkg_ behaviour

2003-10-17 Thread Jim Hatfield
On Fri, 17 Oct 2003 17:55:57 +0100, in local.freebsd.questions you wrote: >On Fri, Oct 17, 2003 at 03:30:19PM +0100, Jim Hatfield wrote: >> Anyone know what causes this: >> >> >speyburn-isis(113) pkg_info -x php >> >pkg_info: read_plist: bad command '@conf

Re: Using poptop....

2003-10-17 Thread Jim Hatfield
On Fri, 17 Oct 2003 17:11:40 +0100, in local.freebsd.questions you wrote: >> >> I would use mpd but it has problems with XP clients. >> >> > >What type of problems are you seeing with MPD (Netgraph variety) and >WinXP? >That's my VPN terminator software and all of my remote XP systems seem >to >ha

Using poptop....

2003-10-17 Thread Jim Hatfield
If anyone can give me a recipe for setting up poptop I'd be very grateful. I want to run it on a machine which is a gateway/firewall. One NIC has a public address and the other is on a private network, ie 192.168.1.x. I want to allow XP clients to connect into the private network. I found the man

Strange pkg_ behaviour

2003-10-17 Thread Jim Hatfield
Anyone know what causes this: >speyburn-isis(113) pkg_info -x php >pkg_info: read_plist: bad command '@conflicts php4-cli-4*' Jim Hatfield ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-question

Strange behaviour of pkg_ commands

2003-09-23 Thread Jim Hatfield
While upgrading ports/packages on a 4.5 machine I noticed some strange behaviour of the pkg_ commands. For example pkg_info with no parameters produces output which ends: >bash-2.05b.007 The GNU Bourne Again Shell >pkg_info: read_plist: bad command '@conflicts bison-[0-9]+' And now I cannot

Can no longer install ports

2003-07-08 Thread Jim Hatfield
When I do a make install in any ports dir, I now get this: >speyburn# cd /usr/ports/graphics/tiff >speyburn# make >speyburn# make install >===> Installing for tiff-3.5.7_1 >===> tiff-3.5.7_1 depends on shared library: jpeg.9 - found >===> Generating temporary packing list >===> Checking if g