More info (was Re: 4.11 panic every 23 hours 55 minutes or so)
On Sun, May 17, 2009 at 07:06:57AM -0400, Doug Lee wrote: > One of the weirder things I've seen in a while here... > > OS: FreeBSD 4.11 (yeah I know, old, but generally stable) > CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz > real memory = 536608768 (524032K bytes) > Hds: IDE > > Problem: Ever since a suspitious power outage (I say suspitious > because we think a surge was also involved), this box has been > exhibiting kernel panics about every 23 hours 55 minutes, give or > take about 4 minutes either way. Obviously hardware is suspect, > and hopefully in line for upgrade; but as FreeBSD has always proven > so stable for me, I'm curious what on earth could cause this sort > of regular panic? > > It's not time of day; if I reboot at 2:00 AM, 3:55 PM, or any other > time, it's 23:55 or so later I get a panic, whenever that may be. > I think this rules out cron jobs, external attacks, and load-based > issues. Update: I killed mysqld, four nfsiods, Apache2, mpd, and maybe a couple more no-longer-needed processes two mornings ago. I also disabled them at that time in rc.conf. the next morning, the system restarted with a panic as usual, BUT... This morning, on the first boot that never ran all those processes, I have not seen a restart yet, and we're at 1 day 1 hour as I speak. I looked in /var/at earlier in the week and never found any scheduled jobs. It shouldn't be Cron, since it's sensitive to boot time, not clock time. Is there some way one of those processes, like mysqld, could be scheduling an event to occur 24 hours after launch, without using `at', and without having to be running 24 hours later? Example: Could mysqld schedule something without `at' that will run 24 hours after mysqld starts even if mysqld is no longer running? Also, is it even possible that any process could cause a kernel-mode page fault without there being damaged hardware? Example: Could some mysql file be so corrupt that it would panic a perfectly fine machine? I should hope not, but I wonder. -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "When there is no enemy within, the enemies outside cannot hurt you." --African Proverb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 4.11 panic every 23 hours 55 minutes or so
On Sun, May 17, 2009 at 09:42:05AM -0400, Mehmet Erol Sanliturk wrote: >Another problem may be as follows : >I am living an area nearby to industrial factories . >When they are started or stopped . they are causing important >fluctuation in my home current in such a way that even uninterruptible >power supplies are becoming not able to balance their effects . >Such an effect may be present in your area . In that hour regularly >such a system may start and cause a current fluctuation that it may >boot your computer(s) . That might explain the initial surge (UPSes are indeed in effect in this office), but it won't explain the panics themselves, since they clearly occur relative to boot time, not to real time. -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "Nearly all men can stand adversity, but if you want to test a man's character, give him power." -Abraham Lincoln ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: 4.11 panic every 23 hours 55 minutes or so
On Sun, May 17, 2009 at 07:39:46AM -0400, Glen Barber wrote: > On Sun, May 17, 2009 at 7:06 AM, Doug Lee wrote: > > One of the weirder things I've seen in a while here... > > > > OS: FreeBSD 4.11 (yeah I know, old, but generally stable) > > CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz > > real memory ?= 536608768 (524032K bytes) > > Hds: IDE > > > Do you by chance have the kernel built with debugging enabled? Afraid not, nor much space in / for that. I partitioned this system before /modules arrived, and I barely have enough space in / now (about 3 meg free). That shouldn't affect this issue though; I do have separate /usr, /var, and /tmp. I do mount /tmp and /var/run via MFS. > > Problem: ?Ever since a suspitious power outage (I say suspitious > > because we think a surge was also involved), this box has been > > exhibiting kernel panics about every 23 hours 55 minutes, give or > > take about 4 minutes either way. ?Obviously hardware is suspect, > > and hopefully in line for upgrade; but as FreeBSD has always proven > > so stable for me, I'm curious what on earth could cause this sort > > of regular panic? > > > > It's not time of day; if I reboot at 2:00 AM, 3:55 PM, or any other > > time, it's 23:55 or so later I get a panic, whenever that may be. > > I think this rules out cron jobs, external attacks, and load-based > > issues. > > > Perhaps a bad CMOS battery causing the system time to become > corrupted? (I know it's a long shot...) Interesting idea, though I'd be surprised since I think the system time is set via ntpd, is it not? `date' seems to recover nicely every time anyway. A power surge could indeed play with CMOS though... but how would I test for this while the system is running? -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "Pray devoutly, but hammer stoutly." --Sir William G. Benham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
4.11 panic every 23 hours 55 minutes or so
1 0.00% 0.00% perl5.8.8 8307 root10 0 16532K 15868K nanslp 0:01 0.00% 0.00% perl5.8.8 245 bind 2 0 2484K 1856K select 0:01 0.00% 0.00% named 241 root 2 0 1000K 668K select 0:01 0.00% 0.00% syslogd 8236 root10 0 16516K 15856K nanslp 0:01 0.00% 0.00% perl5.8.8 10 root-2 0 0K 0K vlruwt 0:01 0.00% 0.00% vnlru last pid: 9015; load averages: 0.02, 0.02, 0.00 up 1+00:02:0406:37:53 76 processes: 1 running, 74 sleeping, 1 zombie CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 95M Active, 264M Inact, 63M Wired, 21M Cache, 60M Buf, 55M Free Swap: 250M Total, 250M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 491 mysql2 0 44788K 19244K poll 0:57 0.00% 0.00% mysqld 9 root18 0 0K 0K syncer 0:16 0.00% 0.00% syncer 330 ssbdev 2 0 9744K 8188K poll 0:12 0.00% 0.00% python 248 root 2 0 1336K 868K select 0:04 0.00% 0.00% ntpd 224 root 2 0 464K 252K select 0:03 0.00% 0.00% natd 416 root 2 0 3188K 1948K select 0:03 0.00% 0.00% sendmail 6408 root10 0 2868K 2292K nanslp 0:03 0.00% 0.00% perl5.8.8 308 root 2 0 9884K 5732K select 0:02 0.00% 0.00% httpd 6515 root10 0 16548K 15872K nanslp 0:02 0.00% 0.00% perl5.8.8 505 root 2 0 5364K 1804K select 0:02 0.00% 0.00% nmbd 6738 root10 0 16548K 15872K nanslp 0:01 0.00% 0.00% perl5.8.8 650 dlee 2 0 5336K 1836K select 0:01 0.00% 0.00% sshd 7778 root10 0 16532K 15868K nanslp 0:01 0.00% 0.00% perl5.8.8 8307 root10 0 16532K 15868K nanslp 0:01 0.00% 0.00% perl5.8.8 245 bind 2 0 2484K 1856K select 0:01 0.00% 0.00% named 241 root 2 0 1000K 668K select 0:01 0.00% 0.00% syslogd 8236 root10 0 16516K 15856K nanslp 0:01 0.00% 0.00% perl5.8.8 10 root-2 0 0K 0K vlruwt 0:01 0.00% 0.00% vnlru last pid: 9015; load averages: 0.02, 0.02, 0.00 up 1+00:02:0606:37:55 76 processes: 1 running, 74 sleeping, 1 zombie CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 95M Active, 264M Inact, 63M Wired, 21M Cache, 60M Buf, 55M Free Swap: 250M Total, 250M Free PID USERNAME PRI NICE SIZERES STATETIME WCPUCPU COMMAND 491 mysql2 0 44788K 19244K poll 0:57 0.00% 0.00% mysqld 9 root18 0 0K 0K syncer 0:16 0.00% 0.00% syncer 330 ssbdev 2 0 9744K 8188K poll 0:12 0.00% 0.00% python 248 root 2 0 1336K 868K select 0:04 0.00% 0.00% ntpd 224 root 2 0 464K 252K select 0:03 0.00% 0.00% natd 416 root 2 0 3188K 1948K select 0:03 0.00% 0.00% sendmail 6408 root10 0 2868K 2292K nanslp 0:03 0.00% 0.00% perl5.8.8 308 root 2 0 9884K 5732K select 0:02 0.00% 0.00% httpd 6515 root10 0 16548K 15872K nanslp 0:02 0.00% 0.00% perl5.8.8 505 root 2 0 5364K 1804K select 0:02 0.00% 0.00% nmbd 6738 root10 0 16548K 15872K nanslp 0:01 0.00% 0.00% perl5.8.8 650 dlee 2 0 5336K 1836K select 0:01 0.00% 0.00% sshd 7778 root10 0 16532K 15868K nanslp 0:01 0.00% 0.00% perl5.8.8 8307 root10 0 16532K 15868K nanslp 0:01 0.00% 0.00% perl5.8.8 245 bind 2 0 2484K 1856K select 0:01 0.00% 0.00% named 241 root 2 0 1000K 668K select 0:01 0.00% 0.00% syslogd 8236 root10 0 16516K 15856K nanslp 0:01 0.00% 0.00% perl5.8.8 10 root-2 0 0K 0K vlruwt 0:01 0.00% 0.00% vnlru [Boom!] -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Top Posting Mania [was Re: FreeBSD 7.O compiled code is very slow]
On Thu, Feb 19, 2009 at 06:50:04PM +1100, Ian Smith wrote: > On Thu, 19 Feb 2009, Wojciech Puchar wrote: > > > > > On Wed, 18 Feb 2009, Kailash Kailash wrote: > > > > > > Woj, I'm really surprised that you, of all people, seem lately to have > > > been converted to the Micro$oft Outlock-trained style of top-posting, > > > including tail-quoting all sorts irrelevant and repeated trailers etc, > > > after years of your (almost too- :) concise postings. > > > > well, sorry, but i don't use M$ Outlock > > That's more like it! :) I don't either, but I will provide a different data point: Blind listers, myself included, must generally read through posts sequentially, as it is usually trickier to skip reliably through quotes to the new material when using synthesized speech to read an email. We therefore favor top posting as a rule, though some of us try to adhere to a particular list's preferences. :-) For my part, I got way tired of sifting through masses of quotes and requotes and finally threw a little Perl script in as a Mutt display filter: Anyone who uses ">" to quote lines is now my friend because my filter removes those, and I only see them on demand by opening the body of the message from Mutt's attachment list. Those who use other quoting techniques still cause me some anguish. :) So in summary, I hope people quote consistently, and I'll post at whichever end seems most popular per list. At least when I remember to do so... -- Doug Lee d...@dlee.orghttp://www.dlee.org SSB BART Group doug@ssbbartgroup.com http://www.ssbbartgroup.com "When your best-laid plans have turned to dust, vacuum!" - Whoopi Goldberg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: USB console or other alternatives
On Thu, Apr 26, 2007 at 04:24:23PM -0400, Lowell Gilbert wrote: > Doug Lee <[EMAIL PROTECTED]> writes: > > > On Thu, Apr 26, 2007 at 11:14:26AM -0400, Lowell Gilbert wrote: > >> What do you hook up to that serial port, anyway? > > > > A desktop Windows machine with a serial port, until said machine > > suddenly ceased to function entirely. Now it would be a laptop > > with a USB-to-serial adapter except the one I bought also seems > > unwilling to function. I tend to run short of PCMCIA slots for > > such things on my laptop, my one-and-only PCMCIA slot being occupied > > pretty permanently by an EVDO card. > > So the problem is a lack of serial ports on your laptop "terminal", > not on the FreeBSD machine? That sounds easier to work around than > the other way around. Lack of serial ports on laptop yes; the FreeBSD hardware hasn't been chosen yet, but I predicted difficulty getting a modern machine with a serial port. Perhaps not. > There are some other possibilities, but I don't think they will work > as early in the boot process. I *think* you can use a USB serial port > as a console, but the loader doesn't seem to understand it. There's > also dcons(4), but that needs firewire, and I don't know if that knows > how to talk to anything on a Windows machine. I predicted the USB problem you mention. I have firewire on this laptop but I've never tried to use it. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "There are no guarantees. From a standpoint of fear, none are strong enough. From a standpoint of love, none are necessary." - from Emmanuel's Book II ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB console or other alternatives
On Thu, Apr 26, 2007 at 11:14:26AM -0400, Lowell Gilbert wrote: > Doug Lee <[EMAIL PROTECTED]> writes: > > > I'm one of these guys running FreeBSD 4.11 on very old hardware (a > > Pentium 166, specifically), and I want to upgrade to FreeBSD 6 or 7 > > soon but with new hardware. Being blind, I need to use something > > other than the video card for a console. I've been using a serial > > console for a long time, but serial ports are getting scarce. I need > > the console to become active during the boot sequence in case of > > problems, as it can with a serial console. As I did with FreeBSD 3 > > and 4, I will also want to activate this console during FreeBSD > > installation if possible, so I don't have to have someone else be here > > when I install it. > > > > Can modern hardware and a modern FreeBSD version provide console > > access before the kernel loads via USB or via anything other than an > > actual on-board or PCI serial port? > I am not sure, but I would expect that you would need BIOS support for > something like that. Personally, I would stick with serial ports as > long as possible, because they are much more simple than any > alternatives. More simple once found at least. :-) > What do you hook up to that serial port, anyway? A desktop Windows machine with a serial port, until said machine suddenly ceased to function entirely. Now it would be a laptop with a USB-to-serial adapter except the one I bought also seems unwilling to function. I tend to run short of PCMCIA slots for such things on my laptop, my one-and-only PCMCIA slot being occupied pretty permanently by an EVDO card. Sounds like I'll need a *functional* USB-to-serial adapter on the laptop end, an actual serial port on whatever new box of parts ends up running FreeBSD 6/7, and my old trusty null modem conglomerate of cable and adapters. I guess I'll collect recommendations for a good USB-to-serial adapter. I've seen prices range from around $30 to around $120.00 if memory serves, and the last one I bought was closer to the former. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "A mailing list is a crude but effective cross between a chain letter and a shouting match." -Andrew Kantor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB console or other alternatives
I'm one of these guys running FreeBSD 4.11 on very old hardware (a Pentium 166, specifically), and I want to upgrade to FreeBSD 6 or 7 soon but with new hardware. Being blind, I need to use something other than the video card for a console. I've been using a serial console for a long time, but serial ports are getting scarce. I need the console to become active during the boot sequence in case of problems, as it can with a serial console. As I did with FreeBSD 3 and 4, I will also want to activate this console during FreeBSD installation if possible, so I don't have to have someone else be here when I install it. Can modern hardware and a modern FreeBSD version provide console access before the kernel loads via USB or via anything other than an actual on-board or PCI serial port? Please Cc answers. Thanks very much for any info. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "Innovation is hard to schedule." -- Dan Fylstra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Skype can't connect.
On Sat, Apr 07, 2007 at 06:55:58PM -0700, Paris Jones wrote: > // Weirdness, why did all the messages disappear? > > I would first like to say sorry Garret, my previous questions were not in good > detail. [recap of a problem often requoted recently on list] I happen to be blind and so can't examine your .png files. I also happen to be a very regular user of Skype (though on Windows) and FreeBSD (though an old version). First question: Why, after all the urging, do you not just try the hw.snd.maxautovchans option and see what happens? It doesn't take long to do this, and certainly not as long as it takes to retype your question with details. :) But maybe you aren't aware that having multiple channels can, at least afaik, allow device names like /dev/dsp0.0, /dev/dsp0.1, etc. If just setting maxautovchans doesn't let you use the same device name in both places, maybe you can use different ones after all. But I still think you have to set maxautovchans. Details from you remain below. > FREEBSD 6.0 STABLE > Using the linux_base-8 port. > -->I am using a USB headset, but have also tried one that plugs directly into > my microphone and speaker slots on my computer. Now, since my USB > headsetwill input sound from one device, and output from another, I am in a > little problem. here is a picture of the options for headset in > the skype port: > http://www.arckeda.org/Skype_port.png > > As you can see, there is only one device I can use for my headset, > (there is supposed to be a program called DSP highjacker for this, > but I would think that there would be a better way.) Now, I downloaded > the Linux static binary with QT compiled in from the skype website > (www.skype.com) and tried it on my computer, if I go into the options in > that one, I see this: > > http://www.arckeda.org/Skype_native.png > > You may want to know why I am even writing this if I can just use the > Linux > Skype, well, I am writing this because the Linux build will not let me call > anyone: > > http://www.arckeda.org/Skype_native_cant_call.png > > It will just keep saying connecting, and nothing ever happens, I can > however see who is online at the moment: > > http://www.arckeda.org/Skype_native_can_see.png > > So, my question is, how can I either make the Skype port let me use > two devices > or, allow the Linux Skype to let me call people and receive calls. > I think that about sums it up. > > Thank you. > > -ARCKEDA -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "Innovation is hard to schedule." -- Dan Fylstra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: skype and other *phones
On Mon, Dec 11, 2006 at 11:10:25PM -0800, Renegade Penguin wrote: > > >Eric Kjeldergaard wrote: >> >>If you are open to suggestions on other phone systems, I have been very >>much enjoying my gizmo account. (gizmoproject.com) >> >Yes, but the gizmoproject is particularly onerous. Look at the EULA: > >http://www.gizmoproject.com/gizmo-end-user.html > >Michael Robertson is the head of that project, IIRC. Fairly nasty EULA >for using such "open" terms. Can't even redistribute the software. Gizmo turned me severely off a while back when one individual began repeatedly posting messages on the SkypeEnglish mailing list, which is designed to support Skype users who have visual impairments, advertising Gizmo. I saw no evidence that the individual was actually reading our list, and I consider it rude and highly unprofessional to post unrelated messages repeatedly, especially when they directly compete with the focus of the list, especially when posted by someone who doesn't even seem to read the list, and most especially when the person does not even respond to publicly raised concerns over the first two points but keeps right on posting. The posting stopped eventually, but by then I had developed an active disinterest in Gizmo. Questions as to how accessible to blind users Gizmo might be, such questions being at least related to the list's purpose, were not answered by the company as far as I know. Disclaimer: I can not speak to the company's intentions with respect to this kind of behavior, nor to the exact identity of the poster. At the time though, I was convinced it was a company representative. I have no affiliation with either company except (1) as a happy Skype user and (2) as a beta tester for Skype. The latter is covered by an NDA but is voluntary and not paid. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "You must let me try, for a true soldier does not admit defeat before the battle." --Helen Keller (in a letter to the president of Radcliffe College) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Baud rate change on ex-console line without reboot?
I use a serial console (sio0 flag 0x10, /boot/loader.conf console="comconsole", /boot.config -h, /etc/make.conf BOOT_COMCONSOLE_SPEED=115200), but I suddenly have need to quit doing that that and to use that line for a serial output device at 9600 baud. I am trying to do this without a reboot. Is this possible? I have tried using Screen to grab console output into a window so it isn't routed to the serial line, and setting baud rates on /dev/tty*0 devices, * being d, id, ld, ua (always "device busy"), ala, and aia. I can get speeds to change on initial-state and lock-state devices but not on callin/out devices, and as indicated, I can't seem to free cuaa0. The device I want to connect is an output-only (computer --> device) item; namely, a text-to-speech device. Am I missing something, or is this one of those happily few occasions where one really must reboot the OS? -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
smb_maperror: Unmapped error 1:158 under FreeBSD 4.11 w/smbfs & pure-ftpd
I run the latest 4.11-STABLE (yes I know that's not the latest STABLE in general) and use smbfs to mount a 300-gig network file share. I also use pure-ftpd and hope to allow ftp access to parts of that drive. Problem: When a user connects to pure-ftpd, it is possible to list files, navigate among folders, and even upload; but on trying to download any file from the smbfs share, the following error is logged via syslog and the download instantly terminates: kirk /kernel: smb_maperror: Unmapped error 1:158 The error returned to the client (at least when I use FreeBSD's ftp as a client) is (shown with context) 150-Accepted data connection 150 21286.3 kbytes to download 0% | | 0 --:-- ETA 450 Error during write to data connection This reminds me that, on older FreeBSD versions, attempting to FTP straight off an smbfs mount, though not causing kernel errors, did result in corrupt downloads. That applied to the FreeBSD-internal ftpd as well as to pure-ftpd, but not to wu-ftpd. (I don't want to use wu-ftpd though for security reasons.) I can transfer files to/from the smbfs share by other means, such as via cp, without problems. Anyone have any idea what's going on here? Google searches for error 1:158 turned up very little solid (unless I missed something). Please Cc replies. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.ssbbartgroup.com "It's not easy to be crafty and winsome at the same time, and few accomplish it after the age of six." --John W. Gardner and Francesca Gardner Reese ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Constant ssh errors - sign of security issue?
I run two FreeBSD 4.10 systems and access them via ssh2 from a Windows XP machine running Cygwin ssh, connecting via EVDO link. I get a whole lot of three things: 1. Spontaneous "read from remote host ... terminated; connection reset by peer." Mind, this is normal on an actual connection failure (timeout), but this one can happen while I'm actively typing something through the connection, and with no other evidence that my Internet connection (at either end) is failing.. 2. On reconnect attempt, a message saying the connection was immediately closed by the remote (FreeBSD) side. 3. Less often and frequently on my next connection attempt after #2, a "software connection abort" message. The normal sequences are (4 being successful relink) 1-4, 1-2-4, and 1-2-3-4. I think 1-2-4 and 1-4 are about equally common and 1-2-3-4 is comparatively rare. Being unfamiliar with how all of these can happen while my actual Internet connection (and other TCP connections for example) seems fine, I am wondering if any of this could represent a security issue--packet snooping/redirection/"man-in-the-middle" attacks, etc. Thanks in advance for any input. Please Cc me. -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "Believe, when you are most unhappy, that there is something for you to do in the world. So long as you can sweeten another's pain, life is not in vain." --Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
VLAN security question
I set up a FreeBSD box to be firewall/NAT/mailserver/etc. for a company, but that company subsequently went to a VoIP system, installed a Cisco switch, programmed the switch to route Internet traffic through the BSD box as before but also to route telephone traffic NOT through it, then set things up so that the workstations in the building are plugged into the phones (which have little hubs in them). Internet traffic is now on a VLAN, and telephone traffic is on a different VLAN. Running tcpdump on a workstation indicates that VLAN traffic can be seen there (sensible because the phones contain hubs, not switches). Tcpdump also shows that people on the Internet can send packets onto the telephone VLAN (i.e., random packets from the world can reach the phones and the workstations on that VLAN). The packets I'm seeing with tcpdump are still encapsulated. Question: Is this a security problem? For example, can a packet be crafted out there to show up non-encapsulated and on the workstation network, thus circumventing my FreeBSD firewall? Up to now, I've been assuming that this network is as secure as the phones themselves, meaning that if someone can hack a telephone and make it do things on the network, we have a problem, but otherwise we don't. That prospect also bothers me but is probably outside the scope of my question. :-) -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "Determine that the thing can and shall be done, and then...find the way." - Abraham Lincoln ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: deadlock caused by idprio?
Any hidden hazards in rtprio then? I plan to use rtprio when recording sound, so i/o bursts etc. won't cause things to be missed in the recording. Thanks much for the idprio heads-up. And I do hope, sometime, to jump from 4 to 6 directly--though I also plan to buy a new machine for that. I currently run 4.10 on a P166. Nice to have support for old hardware, and amazing that all I miss in using it are speed of MySQL and mail searches and sound-handling performance; but it is time... On Sat, Nov 19, 2005 at 04:09:03PM -0500, Kris Kennaway wrote: On Sat, Nov 19, 2005 at 01:32:36PM -0500, Doug Lee wrote: > I just ran a MySQL lookup process (written in Perl) as root prefixed > with "idprio 1." I expected it to take a while, but not several > minutes. After a while I decided to abort it, so I typed ^c in its > `screen' window. From then on (either from the ^c point or the idprio > run, I know not which), I could not create any new processes, nor > could I kill the running task. Any attempt to do either would hang > indefinitely. I could end processes and work within existing > processes as long as they didn't try to create new ones. I entered > the debugger (I use the alt method of ~^b) and typed, among other > things, "show lockedvnodes" and got one vnode which said "... with 22 > pending," and this count went up by 1 each time I tried creating a new > process. Sadly, I forgot to snapshot that screen, so I can't quote > the rest of that entry. I remember it said VDIR and type > something+VOBJECT, but I don't remember what the something was. > Unable to retrieve my system, I finally typed "panic" in the debugger > so at least the disks would sync. Other than "giving up on 4 > buffers," that went fine. > > Any ideas what this is, and whether it's a bug? I thought idprio was > harmless as far as affecting other processes. No, it's known to cause deadlocks. I don't know if this is still the case on 6.0. Kris -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "It is not the mountain in the distance which makes you want to stop walking; but the grain of sand in your shoe." --Anon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
deadlock caused by idprio?
I just ran a MySQL lookup process (written in Perl) as root prefixed with "idprio 1." I expected it to take a while, but not several minutes. After a while I decided to abort it, so I typed ^c in its `screen' window. From then on (either from the ^c point or the idprio run, I know not which), I could not create any new processes, nor could I kill the running task. Any attempt to do either would hang indefinitely. I could end processes and work within existing processes as long as they didn't try to create new ones. I entered the debugger (I use the alt method of ~^b) and typed, among other things, "show lockedvnodes" and got one vnode which said "... with 22 pending," and this count went up by 1 each time I tried creating a new process. Sadly, I forgot to snapshot that screen, so I can't quote the rest of that entry. I remember it said VDIR and type something+VOBJECT, but I don't remember what the something was. Unable to retrieve my system, I finally typed "panic" in the debugger so at least the disks would sync. Other than "giving up on 4 buffers," that went fine. Any ideas what this is, and whether it's a bug? I thought idprio was harmless as far as affecting other processes. uname -a: FreeBSD kirk.dlee.org 4.10-STABLE FreeBSD 4.10-STABLE #0: Sun Aug 8 03:03:49 EDT 2004 [EMAIL PROTECTED]:/usr2/obj/usr/src/sys/CUSTOM i386 -- Doug Lee [EMAIL PROTECTED] SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can a process be made immune to out-of-swap-space kills?
On Sun, Oct 30, 2005 at 01:59:53AM +0300, Giorgos Keramidas wrote: > On 2005-10-29 16:34, Doug Lee <[EMAIL PROTECTED]> wrote: > > Sometimes, I accidentally run something that eats up too much > > memory and causes the pager to run out of swap space and start > > shooting down processes to rectify the situation. Sometimes, > > the process chosen for demolition happens to be `screen.' > > Since this process sorta manages a whole lot of others and, on > > being zapped out of existence, leaves many of them running but > > inaccessible, I find this choice decidedly inconvenient. > > > > Is there a way for me to force FreeBSD to leave `screen' (or > > any other process) alone when selecting something to kill to > > free memory? > > Hmmm, why are user limits not applied? Wouldn't it be a nicer > way to solve the "rogue process" problems? It turns out that the problem is not actually a memory request but a huge temp file in an MFS filesystem... so maybe I need to figure out how to limit the size of a mount_mfs so it can't blast processes out of existence. For the curious, I had tried a "sox ... reverse" operation, which reverses a wav file (and apparently does it by making a temporary copy rather than reading it backward, which I didn't know!), and the file in question was a wav about 240 megabytes long. This is a small home FreeBSD box and almost never hosts any user but me. My /tmp, a mount_mfs, is about 150 meg in size, according to `df.' The `sox' command ate that up so fast that the sheer volume of swap failure messages prevented me from acting quickly enough, and the pager shot down a whole bunch of processes trying to save the world. The list of shot processes happened to include `screen,' and this created a number of orphans that I had to kill subsequently myself, such as a stranded `ssh' session to another machine. So yes, I could stand for some tuning. On a multi-user system, this would be a most unwise way to leave things. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "I before E, except after C, or when sounded like A, as in neighbor and weigh, except for when weird foreign concierges seize neither leisure nor science from the height of society." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can a process be made immune to out-of-swap-space kills?
Sometimes, I accidentally run something that eats up too much memory and causes the pager to run out of swap space and start shooting down processes to rectify the situation. Sometimes, the process chosen for demolition happens to be `screen.' Since this process sorta manages a whole lot of others and, on being zapped out of existence, leaves many of them running but inaccessible, I find this choice decidedly inconvenient. Is there a way for me to force FreeBSD to leave `screen' (or any other process) alone when selecting something to kill to free memory? Please Cc me any answers. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org SSB + BART Group [EMAIL PROTECTED] http://www.bartsite.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Left/right arrow and backspace translation confusion
On Thu, Jul 14, 2005 at 11:57:51AM -0700, Ben Jencks wrote: > Did you start the screen session from within the local/telnet/ssh/serial > connection you're attempting to use it from? I've found that if you > start a screen session with one keyboard/OS/keymap/method of connection, > and attempt to use it from another, it screws up the "special" keys. A good question indeed, but I've actually tried that both ways too. I've even tried a few games with detaching from a screen session, changing TERM in the parent shell, and attaching again; though I don't remember results very specifically for that. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "It's not easy to be crafty and winsome at the same time, and few accomplish it after the age of six." --John W. Gardner and Francesca Gardner Reese ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Left/right arrow and backspace translation confusion
On Thu, Jul 14, 2005 at 07:57:05AM -0700, Gary W. Swearingen wrote: > You didn't mention these (albeit unlikely) things: > -- Different "console driver" (sc vs. vt) in kernel. Both are the same; not using pcvt. > -- Different "keymap" (see /etc/default/rc.conf). Not setting key maps. > -- Different key "bind" settings in shell config files. I don't think I'm setting that up at all, seeing as how I never noticed one can. :-) Thanks for checking corner cases though; surely the devil lies in the details... --- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Left/right arrow and backspace translation confusion
On Thu, Jul 14, 2005 at 04:43:32AM -0700, Glenn Dawson wrote: > Check TERM in the environment of a shell that's inside screen. It should > be 'screen'. If it's not, or there's no entry for screen in termcap you'll > have exactly the problem you are seeing. "screen" it is, and here's the /etc/termcap entry for it (though I'm sure this will be severely munged by including it as text here): SC|screen|VT 100/ANSI X3.64 virtual terminal:\ :am:xn:ms:mi:G0:km:\ :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:bs:bt=\E[Z:\ :cb=\E[1K:cd=\E[J:ce=\E[K:cl=\E[H\E[J:cm=\E[%i%d;%dH:ct=\E[3g:\ :do=^J:nd=\E[C:pt:rc=\E8:rs=\Ec:sc=\E7:st=\EH:up=\EM:\ :le=^H:bl=^G:cr=^M:it#8:ho=\E[H:nw=\EE:ta=^I:is=\E)0:\ :li#24:co#80:us=\E[4m:ue=\E[24m:so=\E[3m:se=\E[23m:\ :mb=\E[5m:md=\E[1m:mr=\E[7m:me=\E[m:sr=\EM:al=\E[L:\ :AL=\E[%dL:dl=\E[M:DL=\E[%dM:cs=\E[%i%d;%dr:dc=\E[P:\ :DC=\E[%dP:im=\E[4h:ei=\E[4l:IC=\E[%d@:\ :ks=\E[?1h\E=:ke=\E[?1l\E>:vb=\Eg:\ :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\ :k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:\ :k7=\E[18~:k8=\E[19~:k9=\E[20~:k;=\E[21~:F1=\E[23~:F2=\E[24~:\ :kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:@7=\E[4~:kP=\E[5~:\ :kN=\E[6~:eA=\E(B\E)0:as=^N:ae=^O:ti=\E[?1049h:te=\E[?1049l:\ :vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l:\ :Co#8:pa#64:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m:AX:\ :ac=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00: -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Left/right arrow and backspace translation confusion
On Thu, Jul 14, 2005 at 12:41:33PM +0100, Alex Zbyslaw wrote: Doug Lee wrote: > One thing to check is that both keyboards are actually producing the > same codes for your keys. They probably are, but... Yes they are. The truth table (or approximation thereof) also shows that it doesn't matter which system (/keyboard) I start from. > Also, what does "echo $term" show? Identical termcap files don't help > if your terms are different :-) "screen" when in a Screen session, "vt102" when not. I've also tried "vt100" and even "cygwin" (with Cygwin being the point of origin of course). > Is there anything different about the .login or .cshrc between the machines? Apart from different alias definitions, different prompts, and a couple of other unrelated things (like shell variables set to point to drives, for example), no. --Alex -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "Characters live to be noticed. People with character notice how they live." -- Nancy Moser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Left/right arrow and backspace translation confusion
This one is making me feel dumb...I've been using FreeBSD for at least six years but I can't seem to figure this out... I have two FreeBSD systems running 4.10/4.11 (these problems have plagued me through several versions though). On one system, arrows and backspace work as expected, but on the other, left/right arrows in vi cause havock (extra characters and a switch from command to insert mode), and backspace in Lynx, Mutt, etc., backs up but leaves characters intact instead of clearing them. I have verified that the following are identical on both systems: - termcap (/etc symlink and /usr/share/misc/termcap and termcap.db). - ~/.exrc. - stty settings at run time and as set in ~/.login (I use tcsh). - .screenrc (I also use screen 4.00.02 on both systems). - /usr/local/etc/screenrc I have also tried connecting to each system directly, via a serial cable and via a Telnet client; and also connecting to each system through an ssh session on the other one, inside a Screen session. The results are always the same: On one system, keys work as expected, but on the other, they always work in the same wrong way. Actually, I find that the problem only occurs when I'm inside a Screen session on the troublesome system. In other words, all variations above work properly if I'm not in Screen on the troublesome system (even if I'm connected to it through a Screen session running ssh on the other system), but all above variations involving my being in a Screen session on the troublesome system cause the problem. In case it helps, here's sort of a truth table, where s2 is the troublesome system: Serial to s1: ok Serial to s1 screen session: ok Serial to s2: ok Serial to s2 screen session: problem Telnet to s1: ok Telnet to s1 screen session: ok Telnet to s2: ok Telnet to s2 screen session: problem Serial or Telnet through s1 screen session to s2: ok Serial or Telnet through s1 screen session to s2 screen session: problem Serial or Telnet through s2 screen session to s1: ok Serial or Telnet through s2 screen session to s1 screen session: ok! Any help will be most appreciated. Please Cc me with replies. I feel like I'm missing something very basic here... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is this a safe way to multi-home a mail server?
I have a machine on two DSL networks: a /29 and a /28 provided by different ISPS (why is a long story). The machine acts as a mail server (sendmail) as well as a NAT server for an internal network. Both DSL nets arrive at one interface card, and the LAN is on the other card. I have added one of the DSL nets as the main net for the external interface and the other DSL net as an alias via ifconfig. Two questions: 1. Can I have both host IPs (one from each DSL net) as A records in DNS for the mail server's name--e.g., mail.my.domain IN A 1.2.3.4 mail.my.domain IN A 5.6.7.8 and expect mail to arrive at the machine regardless of which network is working at any given time? (Part of the "long story" is that we're having serious trouble with one or the other network at various times and are trying, temporarily at least, to stay afloat by using whichever is better at the moment.) Both host IPs have correct (identical) reverse DNS. 2. Is there a way, via routed or other means, to cause the machine to figure out automatically which net to use for "default" traffic? It would be wonderful if natd could keep up with this too, but there I suspect I'm asking for the moon... Thanks much for any responses. Please Cc me. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "I before E, except after C, or when sounded like A, as in neighbor and weigh, except for when weird foreign concierges seize neither leisure nor science from the height of society." ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Long-standing sound driver issues
I'll try this on FreeBSD-Questions first, then FreeBSD-Stable if I don't get an answer here; not sure which is best. I run FreeBSD-Stable (4.10) with two sound cards: a SoundBlaster AWE64 and a Turtle Beach Santa Cruz. I use two because I can't get full duplex with one. I've always had several problems with sound on FreeBSD, and I'm wondering if there's a solution or anything I can do to help promote or create one. 1. In several 4.x versions (can't remember which was the first), sounds tend not to finish playing before they stop. Tested with play (from Sox) and wavplay ports. rplay does finish sounds but doesn't play as many formats. The sound card used for this is a Turtle Beach Santa Cruz. 2. I can't record sound in stereo: If I try, I get mono at best and a mess at worst. I record with a SoundBlaster AWE64. 3. Monaural recording works but often requires me to edit the sound file header (wav) to flip the high- and low-order bytes of the sample rate. Rec from Sox gets this part right though. 4. If I use the sysctls for allowing virtual channels, problem 1 goes away, but I get fuzzy-sounding results. I never asked this before because I've always found ways around these issues and figured it was relatively rare to use FreeBSD for sound anyway, but it would really be nice to take advantage of some of the capabilities of these cards under FreeBSD. Thanks much for any help. Please Cc replies. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "Determine that the thing can and shall be done, and then...find the way." - Abraham Lincoln ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anyone ever consider a filesystem served by MySQL for mail folders?
On Sat, Apr 09, 2005 at 05:33:22PM -0400, Chuck Swiger wrote: Doug Lee wrote: >Is it practical to implement a mountable filesystem for mail archiving >whose contents are served by a MySQL (or other SQL) database? >Creating this is surely way beyond my level of expertise in FreeBSD, >and maybe even the full design is, but I imagine this much: > >The actual supporting database would include category strings for each >message (many-to-many). File names in the filesystem would be >category strings, so saving an email would file it in that category >(to save in several categories, resave to the corresponding names; >only one actual copy of the message would be saved). [ ... ] Using a database backend for mail storage and to provide fancy searching and the like is the architecture used to build Microsoft Exchange and Lotus Notes. The advantage is that users gets fancy searching. The disadvantage is that you need to provide around 4 times as much disk space for a DB-based mailstore as you would for a normal mbox/maildir style representation, you need to provide a lot more server horsepower, you need to continuously maintain and purge old mail from the database, and you end up with your mail buried in database tables, so heaven help you if the database becomes inconsistent and you need to recover. Horsepower yes, trouble if things become inconsistent yes, purging requirements not really (you are entitled to just as much hoarding under either system ) ... But as for increased storage requirements, I've always wondered how much could be saved by an intelligent method of behind-the-scenes handling of quoting among messages in a thread. Goodness knows half the mail on a lot of lists, and even in a lot of personal mail streams, is simply copies of some or all of other messages, perhaps shifted over by quote signs like `>' etc. Seems to me a system could be devised to store directions for rebuilding a message instead of the message itself with all quoting intact. Dangerous, in need of a LOT of testing before production use, likely not to catch all possible cases because of, for example, people who like unique quoting prefixes (:P) etc. etc... but I think still feasible. I don't know how much could be gained, but I wouldn't be surprised if it could reverse the increased storage requirements you mention. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "It's not easy to be crafty and winsome at the same time, and few accomplish it after the age of six." --John W. Gardner and Francesca Gardner Reese ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Anyone ever consider a filesystem served by MySQL for mail folders?
Ok, tell me if this is a totally awful idea, but it seems quite useful to me, even if unusual... Is it practical to implement a mountable filesystem for mail archiving whose contents are served by a MySQL (or other SQL) database? Creating this is surely way beyond my level of expertise in FreeBSD, and maybe even the full design is, but I imagine this much: The actual supporting database would include category strings for each message (many-to-many). File names in the filesystem would be category strings, so saving an email would file it in that category (to save in several categories, resave to the corresponding names; only one actual copy of the message would be saved). Special rules could be constructed that allow special filename formats to cause queries; for example, trying to load messages from a file called "from:[EMAIL PROTECTED]" might pull in a mail file consisting of all messages from [EMAIL PROTECTED] (note I use `%', the SQL wildcard, both to simplify the query and to avoid collision with the normal `*' wildcard for filenames). I suggest the rule<-->filename mapping should be held in an administrator-modifiable configuration file. The reason I propose all this is that I'm interested in a better way to store massive amounts of email that does not depend on a particular mail program. Granted, the returned mail file format would have to be preset--unless that's configurable too, or special patterns are included for different formats compatible with different mailers, which would be immensely cool! I am continually frustrated by trying to find an email among hundreds of thousands of them, and by the inability to categorize emails in multiple ways easily without saving multiple copies of messages. I suddenly today thought of things like devfs, procfs, etc., that are pseudo-filesystems, and realized that even if this is an odd approach, it does have the benefit (at least potentially) of working with most any mail client with no modification to the client and no user intervention such as manually copying messages to/from the database. If such a thing now existed that could serve Mutt-compatible (MMDF, I think) mail files, I would wish to import about 400 megabytes of messages as soon as possible. :-) Thoughts welcome. Please Cc me. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org BART Group [EMAIL PROTECTED] http://www.bartsite.com "Innovation is hard to schedule." -- Dan Fylstra ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to set environment variable for a port daemon?
SpamAssassin now recommends an environment variable setting like "export LANG=en_US" be made when unicode support is not needed, for performance reasons, as of the migration to Perl 5.8, which uses unicode by default at some expense to SpamAssassin's performance. I'm trying to figure out the best way to make that setting apply to spamd, the SpamAssassin daemon. From my read of docs and my scan of /usr/local/etc/rc.subr, I don't think throwing the setting into spamd_flags in /etc/rc.conf will work; that would look like this: spamd_flags="LANG=en_US -c -d -m 3 -r /var/run/spamd.pid" but I'm hoping either I'm wrong or there's a similarly easy solution. Reason for interest: I'm running SpamAssassin on an old P166, and as of my latest port upgrade, its performance dropped dramatically, and it actually began interfering with day-to-day activities on this old box. I'm hoping the unicode evasion will help with that, though I don't know how likely this is. Please Cc replies to me. Thanks much for any advice. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Believe, when you are most unhappy, that there is something for you to do in the world. So long as you can sweeten another's pain, life is not in vain." --Helen Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portinstall/upgrade stops with no error
On Sat, Mar 12, 2005 at 03:24:19PM -0800, Michael C. Shultz wrote: > > Portmanager is at version 0.2.9_2 now so you should update with > cvsup. I'm guessing you did not run portmanager as root, if that > is the problem the current version will correctly report it. > > -Mike > > Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing > a cvsup of ports and will try an upgrade of portmanager anyway. If it still cores, build with WITH_DEBUG=yes and send me the core please if you are on a X86 system. If not the output of gdb /usr/local/bin/portmanager ./portmanager.core bt would be very helpful. Thanks -Mike Built with debug, still cores. gdb output first: (gdb) bt #0 0x280d5b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, portName=0x804e1b0 "pine-4.44") at PMGRrAddDependencies.c:109 #2 0x2806fca6 in PMGRrDbCreate (property=0xbfbff5b4) at PMGRrDbCreate.c:173 #3 0x280746ff in PMGRrStatus (property=0xbfbff5b4) at PMGRrStatus.c:53 #4 0x8049137 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #5 0x8048a44 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 #6 0x8048986 in PMGRrShowLeaves () at PMGRrShowLeaves.c:26 (gdb) f 1 #1 0x2806f7a0 in PMGRrAddDependencies (property=0xbfbff5b4, portName=0x804e1b0 "pine-4.44") at PMGRrAddDependencies.c:109 109 stringSize = strstr( portDependencyDir, "\n" ) - portDependencyDir; (gdb) print portDependency $1 = 0x8050049 "cclient-2001a,1" (gdb) Core size 417 K. If you need it, I'll email it privately. I doubt there's anything compromising in there... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm that's funny...'" -- Isaac Asimov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portinstall/upgrade stops with no error
On Sat, Mar 12, 2005 at 01:58:58PM -0800, Michael C. Shultz wrote: On Saturday 12 March 2005 12:16 pm, Doug Lee wrote: > You said simply to try sysutils/portmanager. I must have really made > a mess here: > > Kirk 3# portmanager -s > - >--- PMGRrStatus 0.2.7_0 info: Creating inital data bases > - >--- Segmentation fault (core dumped) > Kirk 3# gdb /usr/local/bin/portmanager portmanager.core > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are welcome to change it and/or distribute copies of it under > certain conditions. Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. This GDB was configured as "i386-unknown-freebsd"... > (no debugging symbols found)... > Core was generated by `portmanager'. > Program terminated with signal 11, Segmentation fault. > Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols > found)... done. > Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols > found)... done. > Reading symbols from /usr/lib/libc.so.4...(no debugging symbols > found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no > debugging symbols found)... done. > #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 > (gdb) bt > #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 > #1 0x2806e618 in PMGRrAddDependencies () from > /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from > /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from > /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () > #5 0x8048862 in PMGRrShowLeaves () > #6 0x80487a2 in PMGRrShowLeaves () > (gdb) > > I had no errors installing portmanager, though I think I had to use > make install. > > On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: > > On Friday 25 February 2005 09:26 pm, Doug Lee wrote: > > System: FreeBSD-STABLE (4.10). Ports updated recently, but I've > > had trouble with the database and probably never straightened it > > out. > > > > Problem: "portinstall lang/perl5.8" and other similar attempts to > > install ports abort quietly. With -v, I just see session started, > > nothing installed or upgraded, session ended. I can install any > > port via make install though (perl is going in now thus). I have > > run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; > > no change. I've run make index several times, but not today (this > > is a P166, so make index takes a while). > > > > I think my ports database must be irreparably hosed, but I welcome > > suggestions on how to salvage things. :-) > > > > Please Cc me. > > Try sysutils/portmanager Portmanager is at version 0.2.9_2 now so you should update with cvsup. I'm guessing you did not run portmanager as root, if that is the problem the current version will correctly report it. -Mike Yes I ran it as root (hence the "#" in "Kirk 3#"), but I'm now doing a cvsup of ports and will try an upgrade of portmanager anyway. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Pray devoutly, but hammer stoutly." --Sir William G. Benham ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portinstall/upgrade stops with no error
You said simply to try sysutils/portmanager. I must have really made a mess here: Kirk 3# portmanager -s PMGRrStatus 0.2.7_0 info: Creating inital data bases Segmentation fault (core dumped) Kirk 3# gdb /usr/local/bin/portmanager portmanager.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `portmanager'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libMG.1...(no debugging symbols found)... done. Reading symbols from /usr/local/lib/libPMGR.1...(no debugging symbols found)... done. Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)... done. #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 (gdb) bt #0 0x280d3b74 in strstr () from /usr/lib/libc.so.4 #1 0x2806e618 in PMGRrAddDependencies () from /usr/local/lib/libPMGR.1 #2 0x2806ea9f in PMGRrDbCreate () from /usr/local/lib/libPMGR.1 #3 0x280724d5 in PMGRrShowLeaves () from /usr/local/lib/libPMGR.1 #4 0x8048df3 in PMGRrShowLeaves () #5 0x8048862 in PMGRrShowLeaves () #6 0x80487a2 in PMGRrShowLeaves () (gdb) I had no errors installing portmanager, though I think I had to use make install. On Fri, Feb 25, 2005 at 10:09:14PM -0800, Michael C. Shultz wrote: On Friday 25 February 2005 09:26 pm, Doug Lee wrote: > System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had > trouble with the database and probably never straightened it out. > > Problem: "portinstall lang/perl5.8" and other similar attempts to > install ports abort quietly. With -v, I just see session started, > nothing installed or upgraded, session ended. I can install any port > via make install though (perl is going in now thus). I have run > pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no > change. I've run make index several times, but not today (this is a > P166, so make index takes a while). > > I think my ports database must be irreparably hosed, but I welcome > suggestions on how to salvage things. :-) > > Please Cc me. Try sysutils/portmanager -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com In laughter, love is found; but in tears, it is forged. (12/09/01) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Portinstall/upgrade stops with no error
System: FreeBSD-STABLE (4.10). Ports updated recently, but I've had trouble with the database and probably never straightened it out. Problem: "portinstall lang/perl5.8" and other similar attempts to install ports abort quietly. With -v, I just see session started, nothing installed or upgraded, session ended. I can install any port via make install though (perl is going in now thus). I have run pkgdb -fu, then pkgdb -F, then just in case, pkgdb -fu again; no change. I've run make index several times, but not today (this is a P166, so make index takes a while). I think my ports database must be irreparably hosed, but I welcome suggestions on how to salvage things. :-) Please Cc me. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Any way to get an audio representation of packet flow?
Ok, this may be odd to many, but here's what I want: I like tcpdump's powerful ways of selecting and analyzing specific portions of packet traffic, but I want a real-time way to represent the results. I am blind, so graphs don't help. Usually all I want to know is the pattern of packet match frequency vs. time, so a little click for each matching packet would translate nicely into what I'm looking for. My normal tactic involves directing output from tcpdump to /dev/audio or even /dev/pcaudio: tcpdump -l -n [... rules for traffic ...] >/dev/audio is the first trick I tried. Problem: It causes me to get kernel errors like "runt packet" and such, presumably because it adds too mmuch overhead to packet processing somehow. (This is a P166; maybe that problem wouldn't exist on faster hardware?) My next trick was like tcpdump -s 1 -w /dev/audio [... rules for traffic ...] No errors this time, but the output of -w is buffered regardless of -l (which normally makes a lot of sense, of course), so it wasn't very real-time. I currently run FreeBSD 4.10-STABLE, but I'd be interested in any solutions requiring 5.x features as well, for future planning. Please Cc me if you have any ideas. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tcpdump says I'm getting incomplete packets; how to find the culprit?
On Mon, Dec 27, 2004 at 07:30:41PM -0600, Dan Nelson wrote: In the last episode (Dec 27), Doug Lee said: > I use FreeBSD 4.10-STABLE as a nat/firewall box. When connected to > DSL, I got fast web surfing but many gaps in incoming audio traffic > using some audio software. I switched to cable, and now audio works > great, but at least when I pop open pages in Lynx right on the > FreeBSD box, I often experience five-second delays--one at "202 OK" > and one or more during the loading of the page. Tcpdump reports that > I'm receiving incomplete packets, so I assume the five-second delays > are timeouts on my box before a request for packet resends. What is tcpdump printing that makes you think that packets are incomplete? If you are manually decoding packets by looking at tcpdump -X output, make sure you also use -s 0 to grab the entire packet. This is from a "tcpdump -s 0 -w tco -i ed0 port 80" run. Line 12 shows a truncation but no delay, interestingly enough; but I believe line 17 is the one that occurred when I saw "202 OK" and a five-second delay. Actually, I guess it's a seven-second delay after all. :-) I replaced my ip with here. 05:20:02.131687 .4891 > 12.129.203.38.http: S 1518360911:1518360911(0) win 65535 (DF) 05:20:02.211922 12.129.203.38.http > .4891: S 1407738134:1407738134(0) ack 1518360912 win 10136 (DF) 05:20:02.212540 .4891 > 12.129.203.38.http: . ack 1 win 33304 (DF) 05:20:02.221406 .4891 > 12.129.203.38.http: . 1:1449(1448) ack 1 win 33304 (DF) 05:20:02.311500 12.129.203.38.http > .4891: . ack 1449 win 10136 (DF) 05:20:02.312173 .4891 > 12.129.203.38.http: P 1449:1615(166) ack 1 win 33304 (DF) 05:20:02.397972 12.129.203.38.http > .4891: . 1:1449(1448) ack 1615 win 10136 (DF) 05:20:02.399266 12.129.203.38.http > .4891: P 1449:2897(1448) ack 1615 win 10136 (DF) 05:20:02.402194 .4891 > 12.129.203.38.http: . ack 2897 win 32580 (DF) 05:20:02.485577 12.129.203.38.http > .4891: . 2897:4345(1448) ack 1615 win 10136 (DF) 05:20:02.486357 .4891 > 12.129.203.38.http: . ack 4345 win 33304 (DF) 05:20:02.486606 truncated-ip - 276 bytes missing! 12.129.203.38.http > .4891: . 4345:5793(1448) ack 1615 win 10136 (DF) 05:20:02.487904 12.129.203.38.http > .4891: P 5793:7241(1448) ack 1615 win 10136 (DF) 05:20:02.491372 .4891 > 12.129.203.38.http: . ack 4345 win 33304 (DF) 05:20:02.580962 12.129.203.38.http > .4891: . 7241:8689(1448) ack 1615 win 10136 (DF) 05:20:02.581628 .4891 > 12.129.203.38.http: . ack 4345 win 33304 (DF) 05:20:02.581839 truncated-ip - 434 bytes missing! 12.129.203.38.http > .4891: P 8689:10137(1448) ack 1615 win 10136 (DF) 05:20:07.060856 12.129.203.38.http > .4891: . 4345:5793(1448) ack 1615 win 10136 (DF) 05:20:07.061557 .4891 > 12.129.203.38.http: . ack 8689 win 31132 (DF) 05:20:07.061997 .4891 > 12.129.203.38.http: . ack 8689 win 33180 (DF) 05:20:07.144915 12.129.203.38.http > .4891: . 8689:10137(1448) ack 1615 win 10136 (DF) 05:20:07.146198 12.129.203.38.http > .4891: . 10137:11585(1448) ack 1615 win 10136 (DF) 05:20:07.159433 .4891 > 12.129.203.38.http: . ack 11585 win 32580 (DF) -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Never does the human soul appear so strong as when it foregoes revenge, and dares forgive an injury." --E. H. Chapin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Tcpdump says I'm getting incomplete packets; how to find the culprit?
I use FreeBSD 4.10-STABLE as a nat/firewall box. When connected to DSL, I got fast web surfing but many gaps in incoming audio traffic using some audio software. I switched to cable, and now audio works great, but at least when I pop open pages in Lynx right on the FreeBSD box, I often experience five-second delays--one at "202 OK" and one or more during the loading of the page. Tcpdump reports that I'm receiving incomplete packets, so I assume the five-second delays are timeouts on my box before a request for packet resends. I'm afraid this is a black art of sorts, but in case there's a well-known solution, I'm all ears: Is there a fairly straight-forward way to track down and/or fix this kind of packet truncation issue? I don't know if the packets are getting truncated before they reach me or somehow on my box. More info on my topology: DSL was PPPoE straight into the fbsd box via a crossed Ethernet cable; the cable modem is connected via the same cable and uses DHCP. Fwiw, the NAT is served to Windows boxen from a second NIC in the fbsd box. The drivers for the two NICs are ed for the Internet side and dc for the local side. For PPPoE, I was using mpd. I use ipfw/natd for firewalling and NAT. I can surely provide more details to anyone who needs them. Please Cc me on replies (I hope this is not rude to ask; I'm just afraid of missing answers). Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "There's no limit to what a man can do or where he can go if he doesn't mind who gets the credit." Ronald Reagan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD support of RealTek sound chips (HP box)?
I recently encountered an HP computer with what I regard as a unique built-in sound system based on RealTek chips: It breaks out (under Windows XP anyway) into five devices: one playback device and four recording devices. Most sound systems present one device with both record and playback channels. Since FreeBSD seems to have trouble in many cases with simultaneous record and playback on the same device, I thought this might actually be a significant benefit under FreeBSD compared to more conventional chipsets... but it would be difficult to test my theory on this, the only such box I have seen. I'm asking the list because, if this works, I'll probably buy a box just like it for myself. Please Cc me directly. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The best executive is the one who has sense enough to pick good men to do what he wants done, and self-restraint enough to keep from meddling with them while they do it."--Theodore Roosevelt ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How best to recover from untimely portupgrade interruption?
I'm afraid I missed the note in /usr/ports/UPDATING about portupgrade building INDEX, so when a simple upgrade stalled for three hours (p166 here) without doing anything obvious, I'm afraid I typed ^C. Portupgrade was rebuilding the database, and the ^C made it move on to the index, which I again stopped with ^C now knowing I'd actually interrupted something other than an infinite loop. Now if I rerun portupgrade, it restarts the index build but warns me about an incomplete dependency list. I assume this is because I shot down the database builder. That part of the process doesn't seem to want to rerun though... So my question is, what is the best recommended way to get everything back in order? I assume I need to do something to make the database rebuild restart, but I'm not sure what that is. Portupgrade's process isn't interactive like my pkgdb runs, and I didn't snag a ps list at the time, so I'm not sure what it was doing. Again, my apologies for missing the /usr/ports/UPDATING alert about this... Please Cc replies to me. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Any idea why Sharity-Light is at least 3X faster than smbfs
On Wed, Oct 06, 2004 at 02:21:53PM +, [EMAIL PROTECTED] wrote: > > Doug Lee wrote: > > > > >I'm running FreeBSD 4.10-STABLE on a P166 and trying to copy very > .. > > > > > >dc0: port 0xfc00-0xfcff mem > 0xffbefc00-0xffbe irq 10 at > device 20.0 on pci0 > > >miibus0: on dc0 > > >ukphy0: on miibus0 > > >ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > On my LAN the FreeBSD boxes do not always negotiate 100baseTX nicely with > the Foundry switch, resulting in mismatch between simplex and duplex. This > results in vey slow traffic, but high packet fragmentation numbers. You > might check that. I have set the Foundry to force those ports to 100 full. > > Have you tried smbclient? For this application, why is smbfs better? I'm trying to use a Windows box to accept a backup of FreeBSD filesystems. I therefore am creating a file on an SMB filesystem that doesn't already exist on a FreeBSD filesystem. I'll look into getting smbclient to create a file from stdin, but that thought had not occurred to me. This is a scripted process though, so any complexity of making smbclient do it will be a one-time problem. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Any idea why Sharity-Light is at least 3X faster than smbfs here?
I'm running FreeBSD 4.10-STABLE on a P166 and trying to copy very large (but under 4 gig) files from FreeBSD to a Windows 98 (Second Edition) P866 machine. Neither machine has much other load. (The FreeBSD version probably doesn't matter; I've seen this on many 4.x revisions in the same hardware configuration. My network is 100BaseTX Ethernet and uses a hub, though during this test there are no machines on the LAN other than these two. I only see a few packet collisions per minute on the dc0 interface of the FreeBSD machine, which is the interface on this LAN and which produces the following info at boot time: dc0: port 0xfc00-0xfcff mem 0xffbefc00-0xffbe irq 10 at device 20.0 on pci0 miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Anomaly: Contrary to Sharity-Light docs, which say smbfs is faster, A Win98 share as just described accepts data about three times faster if mounted via shlight than if mounted via smbfs. I'm wondering if anyone knows why. (For comparison, I believe ftp moves about two times even faster than shlight.) Please Cc me directly. Thanks very much for any input. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "No person is your friend who demands your silence or denies your right to grow." --unknown source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is there a way to clean up the ports database without a lot of manual intervention?
I have reason to believe I've made some mistakes trying to run pkgdb -F to clean up a couple ports trees on different FreeBSD systems I run. I confess I've never fully understood how to answer some of the prompts during that process. Also though, my ports tree was formed before portupgrade/portinstall were available, so I have some ports that were installed via a simple "make install," some by portinstall/portupgrade, some I installed first with "make install" and then tried to upgrade with portupgrade, etc. Is there a process I can run that will make the database consistent again so I can install/upgrade ports without error? I don't care if it takes two days to run. :-) I also know I may be asking the impossible here, but I figure it doesn't hurt to try. Please email responses directly to me so they don't get lost in traffic. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "If you refuse to be made straight when you are green, you will not be made straight when you are dry." {African} ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Recommended answering machine software?
This is a (slightly edited) repost of a question I asked in February of 2002, to which I got no answer. I never got round to this project, but now I wonder if it would be easier to manage... I'd like to run something under FreeBSD 4.9 which can make my FreeBSD box act as an answering machine: answer calls, play an outgoing message (presumably a .wav or similar file), and take messages. It would be nice if it also could understand DTMF codes and do different things according to them, like allow messages to be maintained for multiple people. Whether or not it's part of the system, I also intend to cause the message files to be e-mailed appropriately on receipt. I wouldn't mind compatibility with mgetty+sendfax, but I don't think that's essential. I do have caller ID and definitely want the system to be able to take advantage of that. I skimmed through ports but didn't find a clear winner for this type of application. I'm also not sure what specific hardware I'd need (I assume not just any modem will do :-), and I suspect this will be dependent on what software I use. Any suggestions welcome. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Two little CVS questions
1. How do I check in a revision with the file date instead of the current date (like cvs import -d, only there's no such option for cvs co)? 2. Do any utilities already exist for appending one repo (,v) file to another, or even intelligently merging repo files so that you get a history containing all revisions from both? These issues are coming up a lot as I try to move a lot of projects into CVS without losing what history we have of their development. This tends to involve massive directory searches, file sorts by date, intelligently organized file copying and cvs imports, etc... but an oversight amid all that would be MUCH easier to fix if I could do the above things. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "If you refuse to be made straight when you are green, you will not be made straight when you are dry." {African} ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD CVS for DOS/Windows sources?
On Sun, Dec 21, 2003 at 08:58:30PM +, Daniela wrote: > On Sunday 21 December 2003 17:25, Doug Lee wrote: > > I'm trying to use FreeBSD's CVS (v1.11.5) to manage DOS/Windows > > projects, which of course means files with CR/LF line endings. The > > docs claim the repository will internally store everything (text files > > anyway) with only LF endings, but in fact I'm seeing CR/LF endings in > > repository text files. This is still fine until I pull a project out > > with a DOS/Windows CVS client (the standard cvs.exe), which gives me > > lines ending in CR/CR/LF. If I pull the project under Unix, I get the > > CR/LF endings just fine; but my coworkers will not be telneting to > > Unix just to pull code... > > I don't know anything about Micro$oft Winblows eXPensive, but why don't you > just strip the CR on the server? So the Windoze client can add the CR, and > you always get the native format, respectively. > This is definitely the fault of the client, so don't blame the server :-) Actually I wasn't sure whose "fault" it was, since the docs say the CR's should not be stored by the server. Given that, the client did what it should under the circumstances. Maybe a later CVS version than 1.11.5 fixes this in the server? I'm not sure. I didn't edit the repo because I don't consider myself savvy enough about CVS yet to start playing with repo files directly, except to look at them with a curious eye. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Is your cucumber bitter? Throw it away. Are there briars in your path? Turn aside. That is enough. Do not go on to say, `Why were things of this sort ever brought into the world?'" --Marcus Aurelius ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD CVS for DOS/Windows sources?
I'm trying to use FreeBSD's CVS (v1.11.5) to manage DOS/Windows projects, which of course means files with CR/LF line endings. The docs claim the repository will internally store everything (text files anyway) with only LF endings, but in fact I'm seeing CR/LF endings in repository text files. This is still fine until I pull a project out with a DOS/Windows CVS client (the standard cvs.exe), which gives me lines ending in CR/CR/LF. If I pull the project under Unix, I get the CR/LF endings just fine; but my coworkers will not be telneting to Unix just to pull code... I'm considering CVSNT because it's made to handle things like this, but I don't really want to hand the whole source management thing over to a Windows box and don't fancy running two different CVS packages on one FreeBSD box either. (Also, I'm not sure how stable CVSNT is now.) Recommendations welcome. I'm not sure I'm asking this in the best place, but I know a lot of people here use CVS, and particularly the one that comes with FreeBSD. (I run FreeBSD 4-STABLE in case it matters.) Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com Snowmen fall from heaven, unassembled. --anon ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Will CVS let me pull in a revision between two existing ones?
I'm finally setting up a CVS repository for work we do at my company, and after piling through cvs.info and bouncing around in cvs(1) and through a number of CVS-related web sites, I think I've found answers to all of my questions but one: Can I import (or otherwise pull in) a revision of sources that is chronologically between two revisions already in the repository? The reason I want to do this is that we have source files embedded in projects which sprang from, eventually returned to, but are not identical to any revision in our local library of code modules. Example of development cycle: While working on a project, a code file I'll call file1 is written. It becomes useful in some similar form in several projects, so we take the time to write a generic version and put it in the code library. Sometime later, while working on another project, I find I have to update it within that project. The update turns out to be useful elsewhere, so it later gets merged by hand back into the library. (Yes, I know...this whole scenario is the whole purpose of systems like CVS; but of all the things CVS can do, time regression (so I can have managed all this right the first time) isn't one of them.) If I can indeed slip a mid-way revision in somehow, I can start building the repository immediately; otherwise, I fear I'll have to do a massive file organization first to line up all the revisions of individual files. In the docs, I saw a (dangerous but possible) way to remove a mid-way revision, but not a way to make one. I'm up for editing repository files if I must for this, but I want the final result to look like I committed the revisions in chronological order. Due to the way CVS numbers revisions, I doubt what I want can be done, at least without a major repository overhaul; but I figure it won't hurt to ask anyway. Thanks for any help. -- Doug Lee, Access Technology Programmer, Bartimaeus Group mailto:[EMAIL PROTECTED] http://www.bartsite.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Where to find info on how to clean up port database properly?
s/fontconfig): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: libiodbc-3.0.5_1 -> imake-4.3.0_1 (devel/imake-4): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: libiodbc-3.0.5_1 -> XFree86-libraries-4.3.0_6 (x11/XFree86-4-libraries): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: libiodbc-3.0.5_1 -> fontconfig-2.2.90_3 (x11-fonts/fontconfig): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale dependency: libwmf-0.2.1 -> XFree86-3.3.6_10 (): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: mod_php4-4.2.3 -> apache-1.3.27_1 (): apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: mysql-server-4.1.0_1 -> p5-DBI-137-1.37 (databases/p5-DBI-137): p5-DBI-1.28 (score:40%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: mysql-server-4.1.0_1 -> p5-DBD-mysql-2.1026_1 (databases/p5-DBD-mysql): p5-DBI-1.28 (score:26%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: mysqlman-1.09 -> apache-1.3.27_5 (www/apache13): apache-2.0.43_1 (score:57%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: wol-0.6.0_1 -> gettext-0.11.5_1 (): gettext-0.12.1 (score:73%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: wv-0.6.7 -> XFree86-3.3.6_10 (): Skip this? ([y]es/[n]o/[a]ll) [yes] # ^Dexit Script done on Tue Oct 21 03:50:07 2003 -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Never does the human soul appear so strong as when it foregoes revenge, and dares forgive an injury." --E. H. Chapin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can I get SMBFS to cooperate with NT apps as well as Sharity Light?
I am trying to open a series of database files from FreeBSD that are hosted by a Windows NT share. I only need read-only access at this point. For some reason though, if a file is opened by a Windows program, FreeBSD can't get read access to it if I use smbfs, but other Windows machines can and so can FreeBSD if I mount the share with Sharity instead of smbfs. I tried to find information in the mount_smbfs man page and in the smbfs source code on how to make smbfs grant me read access to an already-opened file, but I didn't find anything. Is there a way to get smbfs to grant the same access to files that Windows is using? This is FreeBSD 4.8-RC, in case it matters for this. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Sometimes I think my learning curve is a circle." -- David Andrews ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Errors when trying to run Portupgrade
I was getting errors finding files in site-ruby when attempting to run Portupgrade, so I figured my Portupgrade installation might be messed up. I did make deinstall for Portupgrade and pkg_deleted portupgrade* and ruby* (I haven't used ruby for anything else yet). I even did "make clean" in a place or two and, since pkg_delete failed to do this, rm'd -r /usr/local/lib/ruby and /usr/local/share/doc/ruby. I then reinstalled Portupgrade, which appeared to reinstall Ruby also. Now, running portupgrade gets me a different error: ** Error occured reading /usr/local/etc/pkgtools.conf: undefined method `+' for nil I note a lot of differences between /usr/local/etc/pkgtools.conf and /usr/local/etc/pkgtools.conf.sample. I welcome suggestions on how to get this working, including RTFM-type pointers to effective sources of documentation. Please Cc responses to me. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm that's funny...'" -- Isaac Asimov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Why did named start sending UDP to 127.0.0.2:53 out my external interface?
CORRECTION: Both machines stopped for 10-15 minutes, then both restarted the funny logs, though the VPN remains down. Other than an ssh connection I'm using between them, there should be no physical or logical link between them now. I earlier wrote: >I have two FreeBSD 4.8-Stable boxen connected by a VPN (mpd) which, at >just after 5 this morning and about five minutes apart, started >generating ipfw logs like this: > >Sep 29 05:02:35 kirk /kernel: ipfw: 200 Deny UDP >: 127.0.0.2:53 out via > > matches the UDP *:port binding of named, so I figure named >is doing this (besides it being port 53). I shut down and restarted >named on one box only to have it start the same behavior inside four >minutes again. I then shut down the VPN link and then restarted named >again (on the same box), and BOTH boxes stopped doing this. Funny >thing though: The box on which I shut down named was about five >minutes later than the other box at starting all this in the first >place. > >Any ideas? I particularly don't know why named suddenly took interest >in using address 127.0.0.2, besides wondering what triggered both >boxes almost at once and why shutting down the connection stopped the >problem in both places even though timestamps seem to point to the >problem originating at the other end of the link from where I >restarted named... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm that's funny...'" -- Isaac Asimov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Why did named start sending UDP to 127.0.0.2:53 out my external interface?
I have two FreeBSD 4.8-Stable boxen connected by a VPN (mpd) which, at just after 5 this morning and about five minutes apart, started generating ipfw logs like this: Sep 29 05:02:35 kirk /kernel: ipfw: 200 Deny UDP : 127.0.0.2:53 out via matches the UDP *:port binding of named, so I figure named is doing this (besides it being port 53). I shut down and restarted named on one box only to have it start the same behavior inside four minutes again. I then shut down the VPN link and then restarted named again (on the same box), and BOTH boxes stopped doing this. Funny thing though: The box on which I shut down named was about five minutes later than the other box at starting all this in the first place. Any ideas? I particularly don't know why named suddenly took interest in using address 127.0.0.2, besides wondering what triggered both boxes almost at once and why shutting down the connection stopped the problem in both places even though timestamps seem to point to the problem originating at the other end of the link from where I restarted named... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' ('I found it!') but rather 'hmm that's funny...'" -- Isaac Asimov ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dynamic mail alias lists?
Is there a way to make sendmail (or any other MTA for that matter, but I use sendmail) map an alias to the run of a process that returns the addresses for it? I know /etc/[mail/]aliases can forward through a program, but that's different. I also know it can read aliases from a file, but to use that for this, I'd have to make the file a named pipe. Named pipes are interesting, but I like to avoid them unless necessary because accidents can cause infinite program stalls. Finally, I know some of sendmail's tables (virtual user??) can be used in place of or in addition to aliases, but I still don't see a way to use that for this. What I want to do is to make some of my aliases retrieve their address lists at run time from a database of my own design that also may be used for other things. Example: A database of users in different categories, where there are mail aliases for the categories and a way to get the users in a particular category at run time from the database. Please let me know if this is possible--or, for that matter, if I'm missing an obvious and less bizarre solution. Please Cc me on all responses. I subscribe to this list, but a Cc will get me to notice the reply in hours instead of days or weeks. :) -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "It is difficult to produce a television documentary that is both incisive and probing when every twelve minutes one is interrupted by dancing rabbits singing about toilet paper." --Rod Serling ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail
Forgive me if I'm confused here, but... On Mon, Sep 08, 2003 at 08:06:31PM -0400, Matthew Emmerton wrote: > > Here's a sample of that, from Mutt. I replaced the company name in > > the banner with [companyName]. > > > > 220 webshielde250.[companyName] WebShielde250/SMTP Ready. > > EHLO kirk.dlee.org > > 250-DSN > > 250-AUTH LOGIN > > 250-AUTH=LOGIN > > 250 ESMTP OK > > MAIL From:<[EMAIL PROTECTED]> AUTH=<> > > 501 Syntax error - badly formatted address > > quit > > 221 Closing connection > > > > The only difference from Pine is the " AUTH=<>" at the end of "MAIL > > From:" is not there, and it works... > > Sendmail is barfing on the AUTH=<> clause. Although allowed by the RFC > (http://www.faqs.org/rfcs/rfc2554.html), sendmail's refusal may well be > valid since you haven't actually entered authenticated SMTP mode. (In this > case, issuing a AUTH LOGIN before the MAIL FROM.) > > The reason why your other MUAs work is beacuse they simply don't send the > AUTH=<> token if they're not doing authenticated SMTP. Mutt talks to my local (sendmail) SMTP without incident though, unless I'm mistaken; it's the conversation between my local sendmail and the WebShield system at the other end. The "syntax error" message is produced by the WebShield system. I think it's my local sendmail that's sending the AUTH=<> token. In case it helps, here's a syslog of another attempt, with [EMAIL PROTECTED], mailrelay.company.com, and substitutions for the final destination user/domain/relay/ip: > Sep 8 20:26:03 kirk sendmail[90807]: h890Q2HR090807: from=dgl, size=313, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, [EMAIL PROTECTED] Sep 8 20:26:03 kirk sm-mta[90808]: h890Q3hs090808: from=<[EMAIL PROTECTED]>, size=476, class=0, nrcpts=1, msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, [EMAIL PROTECTED] [127.0.0.1] Sep 8 20:26:03 kirk sendmail[90807]: h890Q2HR090807: [EMAIL PROTECTED], ctladdr=dgl (1/20), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30313, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (h890Q3hs090808 Message accepted for delivery) Sep 8 20:26:04 kirk sm-mta[90811]: h890Q3hs090808: to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (1/20), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30476, relay=mailrelay.company.com. [], dsn=5.6.0, stat=Data format error Sep 8 20:26:04 kirk sm-mta[90811]: h890Q3hs090808: h890Q4hs090811: DSN: Data format error Sep 8 20:26:07 kirk sm-mta[90811]: h890Q4hs090811: to=<[EMAIL PROTECTED]>, delay=00:00:03, xdelay=00:00:03, mailer=local, pri=30000, dsn=2.0.0, stat=Sent If I read this right, it shows a complete Mutt-->localSendmail transaction, a failed localSendmail-->destination transaction, and a successful localSendmail transmission of the error message back to me. Comments welcome. > -- > Matt Emmerton -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail
On Mon, Sep 08, 2003 at 02:20:11PM -0500, Gary wrote: > Here is what I am thinking... 1. You mentioned you can send via other > MUAs, pine, etc, so I am inclined to think that your SMTP auth is set up > properly in Sendmail... 2. Given this, I still think it could be a Mutt > problem.. I think you are getting a null Auth return because Mutt is not > sending your password in order to auth the SMTP transaction, and it is > getting bounced. The only confusing thing there is that Mutt doesn't do anything to authenticate to SMTP; neither does Pine or any other mailer we use. Initially I wanted to set that up, but as things are now, we don't use that. You could still be right; I must be overlooking something. > the only other thing I can think of, to rule out Sendmail as a cause, is > to log the entire SMTP transaction, say using Pine and Mutt with your > problem server. Here's a sample of that, from Mutt. I replaced the company name in the banner with [companyName]. 220 webshielde250.[companyName] WebShielde250/SMTP Ready. EHLO kirk.dlee.org 250-DSN 250-AUTH LOGIN 250-AUTH=LOGIN 250 ESMTP OK MAIL From:<[EMAIL PROTECTED]> AUTH=<> 501 Syntax error - badly formatted address quit 221 Closing connection The only difference from Pine is the " AUTH=<>" at the end of "MAIL From:" is not there, and it works... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Our chief want in life is somebody who will make us do what we can. {Ralph Waldo Emerson} ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail
On Mon, Sep 08, 2003 at 12:40:39PM -0500, Gary wrote: > On Mon, Sep 08, 2003 at 01:08:15PM -0400 or thereabouts, Doug Lee wrote: > > On Mon, Sep 08, 2003 at 12:00:31PM -0500, Gary wrote: > > > On Mon, Sep 08, 2003 at 12:46:46PM -0400 or thereabouts, Doug Lee wrote: > > > > > > MAIL From:<[EMAIL PROTECTED]> AUTH=<> > > > > > > whereas mail generated from Pine or a Windows mailer looks like > > > > > > MAIL From:<[EMAIL PROTECTED]> > > > > > > In other words, the "AUTH=<>" only appears in Mutt-generated mail. > > > > > > > > set sendmail = "/usr/sbin/sendmail -f "[EMAIL PROTECTED]"" > > > > > > > No, and I just tried sending without a .muttrc file at all, and I got > > > > the same error back from the WebShielded site. > > > > > > The above in your .muttrc file would set your envelope sender to the > > > above address. > > > > > > last thought, do you have a from address in your .muttrc file? > > > > > > my_hdr From: Doug <[EMAIL PROTECTED]> > > > No, but as I said in my last message, I tested the whole .muttrc > > possibility just now by disabling (renaming) my .muttrc and running > > Mutt afresh without a .muttrc in effect at all. Same error. > > testing or disabling your .muttrc is absolutely meaningless to me since I > am not privy if the above lines are included in there to begin with, which > is why I suggested this first line approach to begin with. Your lack of > info caused me to speculate. Lack of info admitted; I was initially not sure what info would be required. I sorta started out asking how Mutt could affect the contents of a From: line in an SMTP stream (beyond the address on that line, that is) and ended up (in my latest message) covering the whole three-element situation. Sorry for any confusion. These are the lines that look potentially relevant from my .muttrc: set edit_hdrs # let me edit the message header when composing set editor="vi '+/^$/'" # start below header set hdrs# include `my_hdr' lines in outgoing messages set noheader# include message header when replying set from="[EMAIL PROTECTED]" set realname="Doug Lee" set use_from# always generate the `From:' header field set noreverse_realname # Override the real name with the realname variable set dsn_notify='failure,delay' # when to return an error message set dsn_return=hdrs # what to return in the error message my_hdr Organization: Bartimaeus Group I don't remember which of these (if any) is just reestablishing default behavior, but these lines were not in effect during the .muttrcless test. > > By now I'm fairly sure this is related to my having started to set up > > SMTP authorization on both FreeBSD systems. This doesn't explain, > > though, why only Mutt-generated mail is affected, particularly with no > > .muttrc in effect. Pine mail sends out fine to this site. > > this is the first time you mentioned that you have previously set up, or > attempted to set up SMTP auth. > > > So I see it as a three-pronged problem: (1) WebShield refuses From: > > lines containing "AUTH=<>", and WebShield just went into effect at the > > destination site; (2) my SMTP installation probably sometimes sends > > the "AUTH=<>" line because I started configuring that a while back > > (months ago); and (3) Mutt and somehow ONLY Mutt triggers the sending > > of the "AUTH=<>" on From: lines. > > why is your auth sending a null value? Webshield could be hanging on this, My first question exactly. :-) Thanks much for your help so far. > yes, or I agree with you regarding the other 2 possibilities. > > > I hope to identify how (3) can be happening, then maybe if (2) can or > > should be fixed or if "AUTH=<>" is supposed to be legal SMTP syntax on > > a From: line, and finally whether the destination site is likely to be > > refusing much mail as a result of their WebShield installation. > > To my knowledge, no, and I have never seen "Auth" included on the From: > line, it is on a separate line, and yes, something is broken. My > experience with sendmail ends here, as I have not used it in years, but > moved on to qmail. Sorry I could not have been more help. > > -- > Gary -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The U. S. Constitution doesn't guarantee happiness, only the pursuit of it. You have to catch up with it yourself." --Benjamin Franklin ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail
On Mon, Sep 08, 2003 at 12:00:31PM -0500, Gary wrote: > On Mon, Sep 08, 2003 at 12:46:46PM -0400 or thereabouts, Doug Lee wrote: > > > > MAIL From:<[EMAIL PROTECTED]> AUTH=<> > > > > whereas mail generated from Pine or a Windows mailer looks like > > > > MAIL From:<[EMAIL PROTECTED]> > > > > In other words, the "AUTH=<>" only appears in Mutt-generated mail. > > > > set sendmail = "/usr/sbin/sendmail -f "[EMAIL PROTECTED]"" > > > No, and I just tried sending without a .muttrc file at all, and I got > > the same error back from the WebShielded site. > > The above in your .muttrc file would set your envelope sender to the > above address. > > last thought, do you have a from address in your .muttrc file? > > my_hdr From: Doug <[EMAIL PROTECTED]> No, but as I said in my last message, I tested the whole .muttrc possibility just now by disabling (renaming) my .muttrc and running Mutt afresh without a .muttrc in effect at all. Same error. By now I'm fairly sure this is related to my having started to set up SMTP authorization on both FreeBSD systems. This doesn't explain, though, why only Mutt-generated mail is affected, particularly with no .muttrc in effect. Pine mail sends out fine to this site. So I see it as a three-pronged problem: (1) WebShield refuses From: lines containing "AUTH=<>", and WebShield just went into effect at the destination site; (2) my SMTP installation probably sometimes sends the "AUTH=<>" line because I started configuring that a while back (months ago); and (3) Mutt and somehow ONLY Mutt triggers the sending of the "AUTH=<>" on From: lines. I hope to identify how (3) can be happening, then maybe if (2) can or should be fixed or if "AUTH=<>" is supposed to be legal SMTP syntax on a From: line, and finally whether the destination site is likely to be refusing much mail as a result of their WebShield installation. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "I before E, except after C, or when sounded like A, as in neighbor and weigh, except for when weird foreign concierges seize neither leisure nor science from the height of society." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Empty AUTH=<> in SMTP from Mutt message causing refused mail
On Mon, Sep 08, 2003 at 11:37:41AM -0500, Gary wrote: > On Mon, Sep 08, 2003 at 12:25:59PM -0400 or thereabouts, Doug Lee wrote: > > > I have two FreeBSD 4.x systems running sendmail. I'm trying to send > > mail to a site that recently started using the WebShield virus > > > The difference is that Mutt-generated messages' SMTP stream contains a > > line like > > MAIL From:<[EMAIL PROTECTED]> AUTH=<> > > whereas mail generated from Pine or a Windows mailer looks like > > MAIL From:<[EMAIL PROTECTED]> > > In other words, the "AUTH=<>" only appears in Mutt-generated mail. > > > I have no earthly idea how this is possible. If anyone does, please > > let me know. I am trying to figure out (1) how to get Mutt mail > > I don't use sendmail, but I am sure it has something to do with your > .muttrc file. Do you have a line to set your from address? > > set sendmail = "/usr/sbin/sendmail -f "[EMAIL PROTECTED]"" No, and I just tried sending without a .muttrc file at all, and I got the same error back from the WebShielded site. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "There's no limit to what a man can do or where he can go if he doesn't mind who gets the credit." Ronald Reagan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Empty AUTH=<> in SMTP from Mutt message causing refused mail
Hard to define this one fully in a subject line... I have two FreeBSD 4.x systems running sendmail. I'm trying to send mail to a site that recently started using the WebShield virus protection system for incoming mail. If I send from Mutt, the mails are refused by the WebShielded site; if I send from Pine or from a Windows mail client (still through the same SMTP servers in both cases), the mail goes through. The difference is that Mutt-generated messages' SMTP stream contains a line like MAIL From:<[EMAIL PROTECTED]> AUTH=<> whereas mail generated from Pine or a Windows mailer looks like MAIL From:<[EMAIL PROTECTED]> In other words, the "AUTH=<>" only appears in Mutt-generated mail. I have no earthly idea how this is possible. If anyone does, please let me know. I am trying to figure out (1) how to get Mutt mail through to these people again (it worked fine until they installed WebShield), and (2) whether they need to be notified that they may be rejecting a lot of mail. So far, it looks like very few people's mail will be rejected. I just happen to be one of them... Please Cc me on responses so I don't miss something in a huge list mail box. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "The most exhausting thing in life is being insincere." - Anne Morrow Lindbergh {American Author} ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Run a Windows console app from a FreeBSD non-X command line?
Is there anything that will let me run a Windows console application from a FreeBSD command line or shell script? This application is not interactive; it is a compiler, so it will read files in the current directory, write a file there, and produce console output, but will take no input except on the command line passed to it. This app is a console app though, not a DOS app; it will not run in plain DOS without Windows. Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Pray devoutly, but hammer stoutly." --Sir William G. Benham ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Spam and ad/popup blockers: Recommendations please
Oops, I meant to mention I use sendmail for my MTA but sometimes consider switching to Postfix for ease of maintenance. Leaving the rest of this message here for anyone reading last-first; sorry for top-quoting... On Thu, Jul 10, 2003 at 08:10:11PM +0100, lewiz wrote: > On Thu, Jul 10, 2003 at 12:05:43PM -0400, Doug Lee wrote: > > I seek a good system (or systems) for filtering out mail spam, email > > viruses, and web pop-up ads and such at our FreeBSD Internet gateway. > > For adverts I run Squid with adzap (in the ports). I find it pretty > good, although I find the pop-up support a little less advanced. > > The email situation is different (since not everybody runs the same MTA > (although /almost/ all people running proxies I know do use squid)) and > depends heavily on your MTA. I have tried quite a few (although for > very low volume) and am now settled on Exim (althogh Postfix would suit > my needs just as well). Whatever you do (imho) do /not/ use Courier, > because it is slightly pedantic about standards. > > I run Exim with Julian Page's MailScanner (http://mailscanner.info/), > which I find suits my purposes nicely. It supports many virus scanners > and uses SpamAssassin for spam checks (SpamAssassin also supports > Bayesian filtering). You can use more than one virus scanner, too. > > If you're using Qmail, there is the excellent Qmail-scanner, which does > a similar job. MailScanner will also work with Qmail, though, and I > like the way it works. Postfix and Sendmail are also supported. > > Another cross-MTA scanner is amavis (incld. amavis, amavisd and > amavisd-new -- who knows which to pick?). > > SpamAssassian can either add headers to ``considered spam mails'' and > you can filter them on a per-user basis with procmail (or even allow the > user to do it from the MUA -- possibly changing the Subject instead of > the header), or just delete the mail. > > > mailscanner > > Weee! > > > Spam Assassin > > Used by MailScanner. > > > Vipul's Razor (the razor-agents port) > > See above. > > > 2. Minimal upkeep time required from admin. > > Since setup I've not had to look at MailScanner (or adzap) again. > > > 3. Simplicity of use by user (users can mail spam to an address I set > > up so it's flagged as spam, but I don't want users to have to know a > > lot of tech stuff like procmail just to filter spam). > > You could easily do something yourself to create a procmailrc, or just > provide a stock one, and allow more advanced users to modify it, if they > wish. > > > Virus protection at the gateway is a lower priority since we protect > > individual computers, but it wouldn't hurt. > > For mail it's more important to do it at the gateway, I would have > thought. Especially where Outlook is concerned... :) > > Best wishes, > > -lewiz. > > -- > Don't feed the bats tonight. > > -| msn:[EMAIL PROTECTED] | jab:[EMAIL PROTECTED] | url:http://lewiz.net |- -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com In laughter, love is found; but in tears, it is forged. (12/09/01) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Spam and ad/popup blockers: Recommendations please
I seek a good system (or systems) for filtering out mail spam, email viruses, and web pop-up ads and such at our FreeBSD Internet gateway. I run FreeBSD 4.8-STABLE at this site, and all users behind the FreeBSD gateway run various versions of Windows and mailers (Outlook, Outlook Express, and an email system or two embedded in other applications such as GoldMine). I will consider systems that (1) automatically reroute spam out of user email folders, or (2) simply flag spams for users to process themselves via simple header checks (I know Spam Assassin works that way). For web filtering, I assume I need to set up a proxy; I'll have to learn the best way to do that, but I know ipfw well enough to modify our firewall rules as needed. So far, I am examining the following packages (admittedly, this list is based on little more than a scan of Ports). I welcome additions to this list and recommendations for or against any package at all. In short, I want experience-based info more than package descriptions. :) bayespam (Bayesian filtering looks nice if not too hard to maintain) bmf (same comment as above) drbl (sounds good IF the distributed list is considered effective) mailscanner messagewall Spam Assassin Vipul's Razor (the razor-agents port) And for web filtering (ads, popups, etc.): junkbuster middleman privoxy I will consider packages for either of these goals (email spam blocking and web filtering) that are not in the Ports tree. I am, though, looking to minimize the need for ongoing administrative work for whatever I install, since I am the admin but have little time allotted to it (I'm employed as a programmer but run the server because somebody's gotta do it :) ). Specific goals for both systems: 1. Maximum effectiveness against unwanted stuff without blocking wanted stuff. 2. Minimal upkeep time required from admin. 3. Simplicity of use by user (users can mail spam to an address I set up so it's flagged as spam, but I don't want users to have to know a lot of tech stuff like procmail just to filter spam). Virus protection at the gateway is a lower priority since we protect individual computers, but it wouldn't hurt. Thanks much for any recommendations/comments. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org "Pray devoutly, but hammer stoutly." --Sir William G. Benham ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mpd 3.13 problem - man-in-the-middle or legit. issue?
I upgraded to FreeBSD 4.8-STABLE from 4.6-STABLE this weekend without major incident (trouble with terminal left/right arrows, but that's another matter), and my mpd-based VPN seemed unaffected... until this morning, when it suddenly went down after functioning properly under load for a while, then refused to come up. I got connected but couldn't negotiate parameters. This evening it did come up but began spewing protocol rejections on my side and unexpected protocol alerts on the other side, like the data stream was being corrupted. Last week, a Windows user in my office (the destination of my VPN) informed me that attempts to set up a VPN link from XP to the office's mpd-based VPN host locks up his machine now. Is there any chance someone is trying to pull off a man-in-the-middle attack on us, or are these more likely separate issues? I have noted a few such protocol rejections mentioned on this list and/or FreeBSD-STABLE but little or no remarks on why. I'm using mpd 3.13 at both ends, btw, as installed from ports. The link is usually running with 128-bit MPPE. Much thanks for any info. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org "It's not easy to be crafty and winsome at the same time, and few accomplish it after the age of six." --John W. Gardner and Francesca Gardner Reese ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ports' sendmail-sasl without installing a second openssl?
I just compiled sendmail 8.12.8 from /usr/ports/mail/sendmail-sasl to get SASL auth support (along with the security fix to sendmail), and I noticed it compiled and installed openssl even though it's in the base system. Is there a way to avoid this? I just used my home FreeBSD box to test the waters; I'm about to pull the same move on a production machine. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Liberty comes in boxes: ballot, jury, and ammo." -Anonymous To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mail to News software suggestions?
On Tue, Nov 26, 2002 at 01:09:16PM -0800, Vivek Khera wrote: > >>>>> "DL" == Doug Lee <[EMAIL PROTECTED]> writes: > > DL> I want to read busy mailing lists with nn or trn. I have space to > DL> store the messages as news articles locally. I'm looking for a > DL> system that will take incoming list mail and deposit it in "newsgroups" > DL> I create for them on this machine. I use procmail, so it would be > > Download and read the commentary in > > http://www.cpan.org/authors/id/V/VK/VKHERA/mail2news-1.14 > > I use this gateway to read the freebsd lists, and various other high > volume lists that a few of us read here. I keep archives for 6 > months, but that's all configured via my INN installation. I'll plan to check that out, as well as www.gmane.org, which was also suggested here, and nntpcache, which looks like a way to speed up my news access while allowing me to merge this specialized hierarchy with standard newsgroups without even needing to store local article trees. Thanks, all, for the valuable input. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "This page is best viewed with your monitor switched on." --from Antiword web site (http://www.winfield.demon.nl/index.html) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mail to News software suggestions?
On Sun, Nov 24, 2002 at 08:20:31PM +0200, Giorgos Keramidas wrote: > On 2002-11-24 09:51, Cliff Sarginson <[EMAIL PROTECTED]> wrote: > > On Sat, Nov 23, 2002 at 06:12:45PM -0500, Doug Lee wrote: > > > Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all > > > ears! :) > > > > I am not sure whether this would do what you want, and I have never > > tried it, but I believe there is a Mutt patch somewher that gives Mutt > > news reading capabilities. I know squat about it, I just pass this on > > for your information. > > The mutt-devel port has this patch integrated: Um, this is all very interesting... but the reverse of what I'm looking for. I read mail with Mutt and, at the moment, don't read newsgroups at all. I want a more news-like interface for mail, not a more mail-like interface for news. But some cool suggestions have come from this thread. Not sure any will do what I want though, so I'm still watching replies... -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com The very smart may feel they have nothing to learn from anyone; The very wise will find something to learn from everyone. (7/14/01) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Mail to News software suggestions?
On Sat, Nov 23, 2002 at 04:03:40PM -0700, Warren Block wrote: > An alternative that works almost as well and is simpler to set up: have > procmail sort your mail into different directories by mailing list. That addresses the physical storage, but the reason I want news format is I prefer the nn/trn interface over the mail readers I've used--the ability to see a screen of subjects, pick what I want to read, then hit a key to (1) go to the next screen and (2) mark "read" all I did not mark on the first screen. In nn/trn, I mark all I want to read, clear all the rest, then start reading; in Mutt, it's more effective to read as I go, but that means all the stuff I'm not interested in hangs around in the topic list until I get clear to the bottom of the whole file. Now, if you know of a mail reader sporting an nn/trn-style UI, I'm all ears! :) -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "If you refuse to be made straight when you are green, you will not be made straight when you are dry." {African} To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Is this a good time for a procmail global lock file?
On Sat, Nov 23, 2002 at 01:37:00PM -0600, Dan Nelson wrote: > It's likely that procmail does not lock LOGFILE, and from looking at > the source it writes the abstract with a huge number of separate > write() calls. You're probably stuck with using a global lockfile, > which should force serial access to procmail. If you only have one > rule in your procmailrc, it's no worse than a local lockfile. If > you've got a bunch, you might need to log the abstracts manually with a > single write call (or rewrite procmail's logging functions). A call to > /usr/bin/printf with the appropriate format string should work. I have a bunch of rules, but with maybe 360 emails/day, it won't slow things down too much to force serial access... but could I create deadlocks this way by accident? I do not call procmail directly from a recipe, but I do have filter rules that pipe through other stuff. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Liberty comes in boxes: ballot, jury, and ammo." -Anonymous To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Is this a good time for a procmail global lock file?
procmailrc(5) advises us to use per-recipe local lock files instead of using the LOCKFILE environment variable to set up a global one. I use LOGFILE to log abstracts for deliveries though, and at busy moments, these abstracts are getting intermingled, making it impossible for scripts to process them accurately. Is there a better way to prevent this than using the evil global lock file? -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com There is more freedom in knowing how to handle pain than in knowing how to avoid it. (4/29/01) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Mail to News software suggestions?
I want to read busy mailing lists with nn or trn. I have space to store the messages as news articles locally. I'm looking for a system that will take incoming list mail and deposit it in "newsgroups" I create for them on this machine. I use procmail, so it would be fine to pass off list mail messages to this system via procmail recipes. I also hope to find an easy way to expire/delete articles easily after I read them, individually or (more likely) in bulk after each of my nn/trn sessions. Note that these pseudo-newsgroups are for my use only and will not be seen outside of my system, so a read article never need be kept at all, really, unless I decide to keep an archive. Also, I do not handle "real" newsgroups here at all (I don't have THAT much space); if I ever use nn/trn locally to read real news, I'll find an NNTP server. Does anyone know a good way to do this? Thanks much. -- Doug Lee [EMAIL PROTECTED]http://www.dlee.org Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "There are no guarantees. From a standpoint of fear, none are strong enough. From a standpoint of love, none are necessary." - from Emmanuel's Book II To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
ISP DNS blocking?! (was Re: fetchmail protocol error caused by DNS timeout - solution?)
Summary of problem: Some emails that show up in my mailbox at my ISP come from addresses for which I can't get DNS, and for which trying to get DNS info causes a long delay and a timeout--but a long enough delay to cause my fetchmail retrievals to die with a protocol error and thus leave all later messages at my ISP, uncollected. I've tried several suggestions from this list but found nothing that works all the time... but just now, I figured out that at least some of my DNS timeouts might be caused by my ISP, which is Verizon (DSL). Example: nslookup m13.shineandsparkle.com causes a delay/timeout on my box but returns DNS data when issued from the two other (non-Verizon-attached) boxes I tried. So my at least temporary solution was to add the ip of an apparently-nonblocked DNS server to the "Forwarders" list in /etc/namedb/named.conf and restart my local named process. Question: Why/how would my ISP limit my DNS queries, or does this signify either a broken ISP DNS server or some form of attempted spam blocking? Thanks much. The rest of this message is a copy of the older messages in this thread, which I summarized above. On Mon, Oct 21, 2002 at 08:53:44AM -0400, Doug Lee wrote: > I already have > > define(`confBIND_OPTS', `WorkAroundBroken') > > in my .mc file. Not sure where this leaves me. > > Has anyone else here had this problem? > > On Mon, Oct 21, 2002 at 12:10:20PM +0100, Matthew Seaman wrote: > > On Sun, Oct 20, 2002 at 05:58:47PM -0400, Doug Lee wrote: > > > CORRECTION: It's not an rDNS lookup that's causing my problem; it's a > > > straight DNS lookup of the From: address, I think. Example: I just > > > spotted a message coming in from m7.shineandsparkle.com which plugged > > > up my ``fetchmail'' download (I have to go to the source mailbox and > > > hand-delete the thing to get the rest of them to come in by > > > fetchmail). Pinging m7.shineandsparkle.com causes a long pause > > > followed by > > > > > > ping: cannot resolve m7.shineandsparkle.com.: Host name lookup failure > > > > > > It appears that the same DNS lookup, when initiated by ``fetchmail,'' > > > is taking so long that the remote mail server gives up waiting, so > > > that when DNS finally quits trying, ``fetchmail'' issues a protocol > > > error, only to try again later and go through the same sequence. > > > > > > Also, this problem is not fixed by using my ISP's DNS server instead > > > of my own. > > > > I assume you're using fetchmail(1) to feed the mail into the > > sendmail(8) process on your own machine, which is likely the process > > initiating the DNS lookups that are stalling everything. > > > > One thing that may be biting you is IPv6 support in sendmail. As all > > good Unix programs should nowadays, it uses getaddrinfo(3) rather than > > gethostbyname(3) and it searches first for an record in the DNS. > > Usually the DNS server will respond very quickly that such a record > > doesn't exist and the next lookup will be for the IPv4 A record, which > > should succeed. Certain broken DNS servers however return the wrong > > code when queried for a resource record type they don't recognise, > > leading to delays similar to what you're seeing. > > > > Check your /etc/mail/`hostname`.mc file --- there's been a workaround > > for this problem in there since May this year, namely: > > > > define(`confBIND_OPTS', `WorkAroundBroken') > > > > You can tweak the resolver timeouts used by sendmail(8): grep for > > 'confTO_RESOLVER' in /usr/share/sendmail/cf/README (DANGER Will > > Robinson! -- fiddling with resolver timeouts is not for the faint > > hearted). Other things that may bite you are ident queries, but those > > are set to timeout after 5s by default, so they shouldn't have the > > effect you're seeing. > > > > Cheers, > > > > Matthew > > > > -- > > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > > Savill Way > > 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 > > -- > Doug Lee [EMAIL PROTECTED]http://www.visi.com/~dgl > Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com > "If you refuse to be made straight when you are green, > you will not be made straight when you are dry." {African} -- Doug Lee [EMAIL PROTECTED]http://www.visi.com/~dgl Bartimaeus Group [EMAIL PROTECTED] http://www.bartsite.com "Our chief want in life is somebody who will make us do what we can. {Ralph Waldo Emerson} To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message