Re: Any working SIP-phone on FreeBSD?

2011-06-22 Thread David Scheidt

On Jun 20, 2011, at 10:46 AM, Chad Perrin wrote:

 
 . . . and, somehow, social convention tells me it would be rude to let
 this person know (for next time) that everything will be much easier for
 everyone if the data is just left in its original format.
 
 

Oh, I'd have sent an email saying sorry, your data is not in the required 
format.  See the requirements at (url, or other way where it's specified.).
If you didn't specify the format, well, stop bitching, because it's your own 
fault. ___
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: routing to a directly attached subnet without an address in this subnet

2011-04-24 Thread David Scheidt

On Apr 24, 2011, at 4:29 PM, Lionel Fourquaux wrote:

 Dear FreeBSD users,
 
 Consider an IPv6 router with two interfaces, e.g. em0 and em1.
 em0 has addresses fe80::1234:56ff:fe78:9abc and 2001:db8::1
 em1 has address fe80::1234:56ff:fe78:9abd
 Network 2001:db8::/64 is directly attached to em0, and network 
 2001:db8:0:1::/64 is directly attached to em1. The default route points to 
 em0. I would like to route packets addressed to 2001:db8:0:1::/64 to 
 interface em1, without allocating an address in 2001:db8:0:1::/64 for em1. 
 (Or to understand why this would be impossible).
 

Why do you want to do this?  How do you expect the hosts on the attached 
networks to get packets to you?  

___
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: FreeBSD VMWare Mac screen resulution and keyboard map

2011-04-18 Thread David Scheidt

On Apr 18, 2011, at 2:45 PM, Chuck Swiger wrote:

 On Apr 18, 2011, at 11:35 AM, Sascha Vieweg wrote:
 man syscons | less -p'Back Scrolling'
 
 ... Says: press the `slock' key (with some PC keyboard description). 
 However, I have got a MB Pro where no such key is available. Thus, I may 
 repeat my question: How can I get console scolling working on my MacBook Pro 
 13''?
 
 slock is the key above the home key; on an Apple A1048 USB keyboard, that is 
 labelled F15.  I don't think the 13 Macbook Pro has that key available, so 
 you might have to attach an external USB keyboard.

fn-shift-f12 should be scroll lock.  At least, it is when the hardware runs 
windows___
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: a few Last qstns on the wordpress installation....

2011-01-14 Thread David Scheidt

On Jan 14, 2011, at 4:20 PM, Gary Kline wrote:

 On Fri, Jan 14, 2011 at 11:48:07AM -0800, Chip Camden wrote:
 
 Both of those can be anything you want.
 
 The database prefix just makes your database names unique.  I usually use
 some form of the blog name itself as the prefix.
 
 The site title is just a string that can be accessed from your WP theme.
 usually the theme renders it as part of the title of each page, as well
 as putting it near the top of the page somewhere (usually).
 
 
   Super.  Thanks for two direct answers.  If I Ever have to refer
   to the 0th and 1 st blogs, it makes sense to minimize the
   keystrokes; but that's just my bias.  

Use a meaningful string.  In a year,  will you know which is 0 and which is 1?  
Which is 937 or 739?  Let the computer do the hard things, and let the poor 
squishy brain do the easy things.  Much easier to remember that user fred's 
blog is fred_, and user barney's is barney_.  you can guess that Wilma's is 
going to be wilma_.  ___
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: Which php??

2011-01-13 Thread David Scheidt

On Jan 12, 2011, at 7:18 PM, Gary Kline wrote:
 
 autoconf: required version 2.68 not found
 *** Error code 1

did you follow the procedure in ports/UPDATING about autotools?  


___
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: problem with shell script

2011-01-12 Thread David Scheidt

On Jan 12, 2011, at 10:43 AM, Samuel Martín Moro wrote:

 On W
 
 If I run in the following shell script :
 
 #!/bin/sh
 SD=0
 SD=`ps -ax | grep slapd | grep -v grep | wc -l`
 echo $SD
 
 the result is 3 !!!
 
 
 ps ax | grep [/]slapd  | wc -l
 
 ps ax | awk '/[/]slapd /{n++} END{print n}'
 sorry...
 
 may not fix the problem
 but still cleaner


ps ax | grep [s]lapd | wc -l

The [] creates a one-character class that doesn't match the regex.  Easier to 
type and grep should be a bit faster.  
___
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: Continuing problems with Dovecot + MySQL 5.5.8_1

2011-01-11 Thread David Scheidt

On Jan 11, 2011, at 11:25 AM, Jerry wrote:

 FreeBSD 8.2-PRERELEASE
 
 After updating to the latest version of MySQL (5.5.8_1), I am
 continuing to have problems with Dovecot failing to run correctly even
 though I completely removed and reinstalled it. I might add that I did
 a pkg_delete of the MySQL client and server also before updating the
 port. I was led to believe that this updated version corrected the
 problem; however, that does not appear to be correct. :-(
 
 Strangely enough, Postfix, after rebuilding it, works fine with the
 new version of MySQL. :-)
 
 What I need to do is get a gdb backtrace of dovecot. Since the program
 starts from the dovecot script in the /usr/local/etc/rc.d directory, I
 am unsure of how to accomplish this. I have tried several methods;
 however, they all fail. Exactly how would I start dovecot using the
 script via gdb to get a backtrace?
 

start it from the command line?  There are some knobs in the conf file to help 
with debugging, too.  ___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread David Scheidt

On Dec 29, 2010, at 8:21 PM, n j wrote:

 Thanks for the input, I'll look into the suggested options:
 
 http://arpnetworks.com/vps
 http://www.rootbsd.net/virtual-hosting/
 http://www.johncompanies.com/jc_bsd.html
 
 If you know of any other FreeBSD VPS providers, please share.


I've got several with panix:
http://www.panix.com/corp/v-colo/vplans.html

Also includes IPv6 connectivity, not currenlty mentioned on that page.  
___
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: RAM/Memory resources on 7 STABLE

2009-01-16 Thread David Scheidt
On Sat, Jan 17, 2009 at 01:25:19AM +, RW wrote:
 
 On Fri, 16 Jan 2009 22:23:06 +0100 (CET)
 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote:
 
   When I boot this machine it usually shows (in top) about 11 G Free
   in the Mem: line
  
   The machine, in this snippet, has been up for 5 days 22 hours and
   change and it now shows 1436M free in the Mem: line
   I've been watching the number and it has been slowly decreasing
   over the 5 days since its last boot.  It looks like as the Free
   line trends down, the Inact value trends up to keep the total Mem
   used at the installed 12G
  
  ALL unused memory is used as disk cache in FreeBSD.
 
 Although, looking at the output of top, most of the memory is in the
 inactive state. As I understand it cache pages go from active to
 cached, and the inactive queue contains pages that need to be written
 out to swap before they can be reused.

No.  It just means they're not active -- nothing has touched them
recently.  They may be dirty.  They may not be.  Recently means the
last 20 seconds to a minute, depending.  


 
 The very high level of inactive memory looks suspiciously like a
 memory-leak to me. Hopefully someone who knows more about this will
 step in - don't take my word for it.

I have no data on the system in question, but it's very common for a
machine to have large amounts of inactive memory, particularly one
that's not under any sort of memory pressure. 

My basically idle workstation has 1.5 GB of memory, 5 MB free, and over
a gig inactive.  Since I'm not doing anything with it (I'm writing this
from another machine), and its just hanging out, this is what I'd expect.
Should it do something that requires memory, the pager will toss clean
inactive pages to the free list, and they'll be reused.  Of course, if
what they're required for is something they already have in them (like
the code segments of recently terminated application that's
restarted), they'll get reused, saving having to read them from disk.
The only time you'll large amounts of memory on the Free list is when
a machine is first booted and hasn't touched that memory for anything,
or when an application that's got a large dyanmically allocated block
of memory terminates.  The rest of the time, the free list should be
small.  

If the machine isn't swapping, there's usually nothing to worry about.
___
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: Any way to play www.last.fm on FreeBSD?

2008-09-24 Thread David Scheidt
On Wed, Sep 24, 2008 at 09:33:20PM +0200, Pieter de Goeje wrote:
 On Wednesday 24 September 2008, Gary Kline wrote:
  gary
 
  PS:  these guys have a *lot* of music, :-)
 
 Amarok is able to stream lastfm radio on it's own. The settings I referred 
 to, 
 are Amarok's settings, not Konqueror's.

It's also possible to use windows firefox under wine to play things.
(The windows version of Firefox works quite well under wine.  )
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Flash player installation problems

2007-10-14 Thread David Scheidt

I'm trying to install linux-flashplugin7, and am having problems.  


I've got nspluginwrapper, and linux-flashplugin7 installed.  When I
run nspluginwrapper -a -v -i I get this error:

/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin: error while
loading shared libraries: libX11.so.6: cannot open shared object file:
No such file or directory

I've got libX11.so.6, though:
[EMAIL PROTECTED] locate libX11.so.6
/usr/compat/linux/usr/X11R6/lib/libX11.so.6
/usr/compat/linux/usr/X11R6/lib/libX11.so.6.2
/usr/local/lib/libX11.so.6

Can I force nspluginwrapper to find it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ipod software

2007-10-14 Thread David Scheidt
On Mon, Oct 15, 2007 at 12:40:33AM +, Pollywog wrote:
 
 On Monday 15 October 2007 00:05:08 Rem P Roberti wrote:
  Thanks for the suggestions.  I am trying out gtkpod now, and it seems to
  work fine, although I wish that there was a non/gui type program.
 
  BTW, is it possible to convert mp3 files that were purchased originally
  from the Apple store via iTunes so that they could be used on non/iTunes
  players?
 
 iTunes files have DRM protection, so the short answer is that it can't be 
 done.

Burn them to CD, and then rip the CDs.  There's a loss of quality
involved.  In the future, don't buy music with DRM, if you don't want
to put up with it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux-flashplugin9 (usable?)

2007-10-03 Thread David Scheidt
On Wed, Oct 03, 2007 at 09:22:58PM +, Aryeh Friedman wrote:
 
  I'm running 6.2-RELEASE-p7. I haven't tried the Linux Flash player but
  I do know the GNU Flash project [gnash] is worth looking at. Sure
  it's not perfect, but they're certainly having a good try at it. It
  works fairly well in Firefox at least.
 
 crashs X on 7-current amd64

Does the same, at least some of the time on 6.2-STABLE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux-flashplugin9 (usable?)

2007-10-03 Thread David Scheidt
On Wed, Oct 03, 2007 at 08:11:44PM -0400, Philip M. Gollucci wrote:
 http://monkey.org/freebsd/archive/freebsd-questions/200707/msg01926.html
 Used to work flawlessly while you could download v7 but the distfile
 disappeared.


It may have just moved, as it now works:
rally3# cd /usr/ports/www/linux-flashplugin7
rally3# make fetch
===  Vulnerability check disabled, database not found
= fp7_archive.zip doesn't seem to exist in
/usr/ports/distfiles/flashplugin.
= Attempting to fetch from
http://fpdownload.macromedia.com/get/flashplayer/installers/archive/.
fp7_archive.zip   100% of   31 MB  556
kBps 00m00s
rally3# make checksum
===  Vulnerability check disabled, database not found
= MD5 Checksum OK for flashplugin/fp7_archive.zip.
= SHA256 Checksum OK for flashplugin/fp7_archive.zip.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: syslog all commands

2006-06-18 Thread David Scheidt
On Sun, Jun 18, 2006 at 06:06:45PM -0700, Lawrence Horvath wrote:
 Date: Sun, 18 Jun 2006 18:06:45 -0700
 From: Lawrence Horvath [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Subject: syslog all commands
 
 Im looking for a way to syslog all commands run my a group of users, i
 was looking at the authpriv.debug but it doesn't log _every_ command,
 is there anyother way to syslog all the commands run by a user?
 

Is process accounting good enough?  It'll record the name of the
commands run by all users, what terminal they were run from, how much
cpu time they used, and start and stop times.  

See the man pages for acct(5) and lastcomm(1).  It's turned on by
setting accounting_enable=YES in /etc/rc.conf, and running
/etc/rc.d/accounting start

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Dump to DVD problem.

2006-03-25 Thread David Scheidt
On Sat, Mar 25, 2006 at 12:25:32PM -0900, Beech Rintoul wrote:
 
 On Saturday 25 March 2006 12:00, Scott Ballantyne wrote:
  I am trying to use dump/restore to backup my filesystems to DVD.  I am
  using a DVD+RW, format it with dvd+rw-format -force /dev/cd0, and then do:
 
  dump -0 -b 32 -B 4590208 -f /dev/cd0 /
 
  to backup the root filesystem. I do this after going to single user
  mode.
 
  It seems that dump is perhaps not properly closing the file? The DVD
  drive light remains on, and I get errors from restore:
 
  tape read error: Unknown error: 0
 
  dvd+rw-mediainfo /dev/cd0 is more informative:
 
  /dev/cd0: unable to open: Device busy
 
  I *can* dump to a file on a filesystem, and use growisofs to write
  this dump file to the DVD. No problems mounting and reading the
  resulting dump file. Unfortunately, I do not have enough free disk
  space to do this with my larger file systems.
 
  This is with 5.3-RELEASE.
 
 Try:
 
 dump -0au -L -f  /dev/cd0 /
 

dump -0 -unL -C16 -B4589840 -P 'growisofs -speed=4 -Z \
/dev/cd1=/dev/fd/0' filesystem

is what I use to dump to DVD+R and +RW.  Change the speed to match
your drive and media, and the dump level to match what you want to do.  

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tape backup / Bizzare Device Question

2006-03-07 Thread David Scheidt
On Tue, Mar 07, 2006 at 02:09:40PM -, Graham Bentley wrote:
 
 Description: Glass bulb, similar to light bulb but with 
 narrow end flared at bootom so it standsup. Inside, 
 a rotating wire device that has 4 squares of card like 
 material attached, like vanes. 
 
 One one side they are black on the other they are white. 
 When the sun shines brightly enough, the white side reflects 
 the light energy and the black side absorbs it. The vanes 
 spin around. 
 
 This does exist and has a name and I know there are 
 some very knowledgeable people on this list who will 
 know.

It's called a radiometer.  I've seen them called other things, like a
lightmill or a light gauge.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sudden jump in swap usage, how to tell what's using it

2006-03-04 Thread David Scheidt
On Thu, Mar 02, 2006 at 09:02:15AM -0500, Chuck Swiger wrote:
 
 Nathan Vidican wrote:
  Typically, we sit between 0-10% of swap used... this morning I came in,
  and output of top is showing 76% used; that's some 3Gigs+ more than usual.
  
  System load is still sitting at 0.05, and no adverse effects seem to be
  coming our way. No particular processes appear to be using abnormal
  amounts of memory, and nothing seems 'off'... is there a way to
  determine which process(es) have taken out (how much) swap space?
 
 top -o size or top -o res...

The second character of the state column in ps will tell you if a
process is swapped out.  (If it's W. )  Remember, though, that once
pages are swapped out, they don't get moved back into core until
they're used, which may well be never.  So if the machine is no longer 
under memory pressure, there may be nothing to tell you what used up the
memory.  It's very common to see long running machines have swap used,
even if in normal operation they have plenty of free memory.  An
one-time, or occaisonal, occurance of low memory will cause things to
get swapped.  Many processes have memory they use rarely, if ever;
idle processes also don't need to be swapped in until they become
non-idle.  

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recipient list on FreeBSD mailing lists

2006-03-01 Thread David Scheidt
On Wed, Mar 01, 2006 at 04:50:56PM +0800, Ow Mun Heng wrote:
 
 On Wed, 2006-03-01 at 03:33 -0500, Parv wrote:
  in message [EMAIL PROTECTED], wrote Ow
  Mun Heng thusly...
  
   PS : why is it that this list To's the replies directly to the
   person answering and cc's the list instead of To'ing the list
   only??
 
The guideline is to copy both the OP and the list as not everybody
who posts a message is subscribed.
 
 I see. So that's the rules of this mail-list. er.. does this also mean
 that everyone can post to this list w/o registering?

Yes.  This is a support list; making people subscribe places a big
barrier to support...

 
 Various other mailing lists dictates that posters reply to the list and
 not the list _and_ the OP.
 
 Guess this is different.
 
 I still prefer for messages to be sent to the list.

Most people reading FreeBSD mailing lists are doing so in their spare
time, or are only following things they find interesting.  I delete 99%
of -questions without reading it, because I know from the subject
lines that someone will already have answered the question before I
get around to reading -questions, which is maybe two or three times a
week.  I expect that's typical.  CC'ing the recipient helps insure
that they see the response.  

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rl0 discard oversize

2006-02-27 Thread David Scheidt
On Sun, Feb 26, 2006 at 11:20:13PM +, Chris wrote:
 I wonder if anyone has the time to rewrite the realtek driver because
 whenever anyone posts about rl0 the advice is always ditch the card, I agree
 that realtek's are the reliant robin class of lan cards but the problems
 people see do not happen on other operating systems with the same hardware,
 eg. I have never seen that mtu problem on debian or windows but I have had

The RealTek cards supported by the rl(4) driver are trash.  If you want to
write a better driver, knock yourself out.  I'm sure Bill Paul won't
mind.  Keep in mind that there are other, better performing NICs
available for the about same price.  

I've got one in a machine that dual-boots FreeBSD and XP.  The network
preformance in XP is no better than on FreeBSD.  


David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Memory leak?

2006-02-13 Thread David Scheidt
On Mon, Feb 13, 2006 at 09:30:17PM +1100, Robert Leftwich wrote:
 From: Robert Leftwich [EMAIL PROTECTED]
 
 On Mon, 13 Feb 2006 09:29:03 +0100, Erik Norgaard
 [EMAIL PROTECTED] said:
  
  Do you run other applications also?
  
  There was a discussion on CURRENT@ some weeks ago about a memory leak 
  that turned out to be firefox with some extensions, updates are 
  available now.
  
 
 Unfortunately no, its cli only, no x, pretty much just Postgres and
 Python and C :-(

I've seen (very, very, very, very) large memory leaks on long-lived
Python processes.  I haven't looked at it to figure out if it's
python, some module, or the application doing something stupid.  But
the processes will grow until they hit their limits.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Ports vs. Gentoo Portage (a matter of concept)

2006-02-07 Thread David Scheidt
On Wed, Feb 08, 2006 at 11:04:23AM +1100, Norberto Meijome wrote:
 
 interesting. Is there anywhere one can read about these things, ie,
 about where and how USE_* are used/ defined, WITH_, etc. ... and how to
 compile a list of available (USE|WITH)_* and their meaning (grep -r
 USE|WITH /usr/ports/*/*/Makefile ?? )... so far i've been using the
 @freebsd.org lists to do this, but it's rather unreliable and unsystematic

Start with /usr/ports/Mk/bsd.port.mk  and if you're ears aren't
bleeding, work out from there.  That defines (nearly) all the USE_ and
WANT_.  WITH_ and WITHOUT_ are port specific, though there are some
that are used in multiple places.  Those are defined by an OPTIONS
directive in the individual port makefile like this:

OPTIONS=  FOO  Description of foo off \
BAR Descprtion of bar on

Where FOO or BAR is the option name, then a description, then a
default state.  


David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Banning (Using IPFW)

2006-02-06 Thread David Scheidt
On Tue, Feb 07, 2006 at 12:40:22AM +0200, Atis wrote:
 On Sun, 5 Feb 2006 18:55:13 -0500
 David Scheidt [EMAIL PROTECTED] wrote:
 
  
  Nonsense.  There may be some people that only scan well-known ports,
  but it's much more common to scan every port on a machine.  If you're
  running a server on a non-standard port, an attacker will find it.
  
 
 sure, but 99% of the time the machines attacking your server are zombies
 that do not care to do a full portscan. i suppose the purpose is to
 find other misconfigured, easy-to-hack computers on the network. by
 putting your services on non-standard ports you get rid of these
 mindless drones and don't pollute log files with useless garbage.
 
 now if somebody _does_ actually target your server in particular then
 this is definitely not the solution.
 
 anywayz, putting things on non-standard ports helps a lot, and is
 one of the first and easiest security measures an administrator
 may consider.
 

Taking your clothes off and painting yourself blue is also one of the
first and easiest security measures to consider.  It's even more
effective, too.  I know of no machine that's been cracked that had a
wheel naked and painted blue.  I've seen lots running standard
services on non-standard ports.

Security through obscurity doesn't work, it makes tracking down
other problems harder, and creates work to maintain non-standard
configurations.

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IP Banning (Using IPFW)

2006-02-05 Thread David Scheidt
On Sun, Feb 05, 2006 at 05:38:11PM -0500, fbsd_user wrote:
 
 You missed to whole meaning.
 Attackers only scan for the published service port numbers,
 that is what is meant by portscan the box.
 Those high order port numbers are dynamically
 used during normal session conversation.
 So any response from those port numbers if an
 attacker scanned that high would be meaningless.
 Please check your facts before commenting.

Nonsense.  There may be some people that only scan well-known ports,
but it's much more common to scan every port on a machine.  If you're
running a server on a non-standard port, an attacker will find it.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 1.5

2006-01-29 Thread David Scheidt
On Sun, Jan 29, 2006 at 10:13:23PM +, Adam Nealis wrote:
 
 I hate the friendly HTTP error messages. I haven't worked out how to 
 get bare HTTP error messages yet.
 

set browser.xul.error_pages.enabled to false

David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkg_add not installing lsof (and other programs)? (newbie problem)

2005-12-14 Thread David Scheidt
On Wed, Dec 14, 2005 at 10:39:10PM -0700, TuxGirl wrote:
 Hello,
 
 I installed FreeBSD for the first time tonight (I've been running
 Linux for a while), and I seem to be misunderstanding pkg_add.  I'm
 following the instructions in the FreeBSD manual, and I ran:
 
 # pkg_add -r lsof
 
 It claimed to succeed:
 Fetching 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/lsof.tbz...
 Done
 
 then:
 # lsof
 lsof: Command not found.
 
 # echo $PATH
 /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11/R6/bin:/root/bin
 
 # uname -a
 FreeBSD .hsd1.ut.comcast.net. 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu
 Nov 3 09:36:13 UTC 2005   
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC   i386
 

You can confirm that the package was installed by running the pkg_info
command, which returns a list of all installed packages and ports.
You can also look in /var/db/pkg, which is where the package database
is kept.  Assuming you've got it installed (which you should, pkg_add
returns error messages...) you've run into a difference between the
root shells in FreeBSD and Linux.  

The FreeBSD root user shell is tcsh.  tcsh, unlike bash, scans the
$PATH enviornmental variable at login to find everything, and builds a
table in memory so it can quickly find and execute commands.  If you
install a program, the shell won't know about it.  You can force it to
rebuild the table by issuing the 'rehash' command.  

bash, on the other hand, builds its command hash table incrementally,
as you execute commanads.  So if you add new ones, they're found
automatically.  

David



DAvid
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OpenVPN routing problems.

2005-11-27 Thread David Scheidt
I'm trying to set up an OpenVPN tunnel, from a remote (Win XP)
machine to my local network.  I've got that working, except for one
problem.  When I start the OpenVPN server, my FreeBSD
router/firewall/ipnat/OpenVPN machine stops routing packets to the
outside world.  The machine is running 6.0-STABLE from about a week
ago:

FreeBSD tor 6.0-STABLE FreeBSD 6.0-STABLE #1: Mon Nov 21 23:06:14 EST
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TOR  i386

though I built world before the new kernel, and it's a slow machine,
so sources are at least 16 hours older than that.  

It's a pretty un-complicated network:  the router has two NICs, rl0 is
the real world, rl1 is the private network.  Ipfilter has this rule
set:  (10.10.10.169 is (munged) public IP address, 172.21.172.0/24 is 
the private LAN, and 172.21.173.0/24 is the VPN subnet).

block in log first quick on rl0 from 192.168.0.0/16 to any
block in log first quick on rl0 from 172.16.0.0/12 to any
block in log first quick on rl0 from 127.0.0.0/8 to any
block in log first quick on rl0 from 0.0.0.0/8 to any
block in log first quick on rl0 from 169.254.0.0/16 to any
block in log first quick on rl0 from 192.0.2.0/24 to any
block in log first quick on rl0 from 204.152.64.0/23 to any
block in log first quick on rl0 from 224.0.0.0/3 to any
block in log first quick on rl0 from 10.0.0.0/8 to any

block in log first on rl0 from any to any

pass in quick  on tun0
pass out quick on tun0


pass in quick on rl0 proto tcp from any to 10.10.10.169/32 port = 22
flags S ke ep state
pass in quick on rl0 proto udp from any to 10.10.10.169/32 port = 1194 
keep state

pass out quick on rl0 proto tcp from 172.21.172.0/24 to any flags S keep state
pass out quick on rl0 proto udp from 172.21.172.0/24 to any  keep state
pass out quick on rl0 proto icmp from 172.21.172.0/24 to any keep state
pass out quick on rl0 proto tcp from 10.10.10.169/32 to any flags keep state
pass out quick on rl0 proto udp from 10.10.10.169/32 to any  keep state
pass out quick on rl0 proto icmp from 10.10.10.169/32 to any keep state

ipnat has one rule:

map rl0 172.21.172.0/24 - 0/32 portmap tcp/udp auto

The output of netstat -rn before starting the OpenVPN server:

Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default10.10.10.129  UGS 0 4399rl0
127.0.0.1  127.0.0.1  UH  0   88lo0
10.10.10.128/26   link#1 UC  00rl0
10.10.10.129  00:09:e9:b5:2f:fc  UHLW20rl0   1160
172.21.172/24  link#2 UC  00rl1
172.21.172.5   00:30:c1:0e:14:8f  UHLW11rl1781
172.21.172.8   00:0d:88:c9:d2:99  UHLW1  167rl1366
172.21.172.9   00:11:24:bc:d1:cd  UHLW1  965rl1657
172.21.172.100 00:11:24:9f:2d:dd  UHLW1 1245rl1705

Internet6:
Destination   Gateway   Flags  Netif
 Expire
::1   ::1   UH  lo0
fe80::%rl0/64 link#1UC  rl0
fe80::211:95ff:fe1c:2992%rl0  00:11:95:1c:29:92 UHL lo0
fe80::%rl1/64 link#2UC  rl1
fe80::250:baff:fed1:8d6c%rl1  00:50:ba:d1:8d:6c UHL lo0
fe80::%lo0/64 fe80::1%lo0   U   lo0
fe80::1%lo0   link#4UHL lo0
ff01:1::/32   link#1UC  rl0
ff01:2::/32   link#2UC  rl1
ff01:4::/32   ::1   UC  lo0
ff02::%rl0/32 link#1UC  rl0
ff02::%rl1/32 link#2UC  rl1
ff02::%lo0/32 ::1   UC  lo0


The output of netstat -rn after starting OpenVPN:
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
default10.10.10.129  UGS 0 6544rl0
127.0.0.1  127.0.0.1  UH  0  128lo0
10.10.10.128/26   link#1 UC  00rl0
10.10.10.129  00:09:e9:b5:2f:fc  UHLW20rl0   1134
172.21.172/24  link#2 UC  00rl1
172.21.172.5   00:30:c1:0e:14:8f  UHLW11rl1199
172.21.172.8   00:0d:88:c9:d2:99  UHLW1   75rl1   1164
172.21.172.9   00:11:24:bc:d1:cd  UHLW1  977rl1 75
172.21.172.100 00:11:24:9f:2d:dd  UHLW1 2145rl1123
172.21.173/24  172.21.173.2   UGS 0   57   tun0
172.21.173.2   172.21.173.1   UH  

Re: DualBoot

2005-11-27 Thread David Scheidt
On Sun, Nov 27, 2005 at 10:50:12PM -0800, Remington wrote:
 They work perfectly fine together, I've been using XP and BSD with the
 BSD boot loader for sometime now, or GRUB also works.
 

Life is made somewhat easier if you install XP first, then install
FreeBSD.  It's very useful to have a slice on the disk that has a
Fat32 file system on it, so you can easily move data from one system
to the other.

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Windows/FreeBSD VPNs

2005-11-24 Thread David Scheidt
I need to set up a VPN so a remote windows client can access some
Samba shares.  All of the documentation I've found are for FreeBSD to
FreeBSD tunnels, not for a client connecting directly.  Pointers to
documentation?


David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: doubts

2005-11-24 Thread David Scheidt
On Fri, Nov 25, 2005 at 10:08:15AM +0530, Anirban Adhikary wrote:
 Hi guys. This is Anirban. I have a doubt on crontab.The question is
 
 how to write a crontabwhich takes the back-up at 11:59 pm daily and every 
 tuesday of the week
 Hope i will receive the answer soon.

I don't quite understand what you want.  The format of a line in a
crontab file is as follows.  There are five columns that specify the
time to run the job at:

Minutes  Hours  Day of Month   Month  Day of week 

59   23  *  *  *   /path/to/script  

Would run /path/to/script every day at 11:59 pm.  If what you want to
do is only run it on tuesday, 

59 23   *  *  2   /path/to/script 

The utility to install crontabs is called crontab.  The format of
entries is defined in the crontab(5) man page.  'man 5 crontab' will
allow you to read that.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pptp problems

2004-12-19 Thread David Scheidt
On Thu, 9 Dec 2004 15:08:06 +0100, Ruben de Groot [EMAIL PROTECTED] wrote:
 On Tue, Dec 07, 2004 at 09:54:46PM -0500, David Scheidt typed:
  I'm having problems getting a PPTP VPN to work, using net/pptpclient.
  I get the tunnel set up, but I'm not sending traffic over it.
 
  my etc/ppp/ppp.conf entry
 
  VPN:
   set autname MYNAME
   set authkey PASSWD
   set timeout 0
 
add default HISADDR

So I got things to work.  It seems I have to add a host route to the
PPTP server.
 

To get mpd to work, I not only have to add the host route, but delete
the default route, else it fails to change it.


This seems not quite sensible.  
-- 
David Scheidt
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pptp problems

2004-12-10 Thread David Scheidt
On Thu, 9 Dec 2004 15:08:06 +0100, Ruben de Groot [EMAIL PROTECTED] wrote:
 On Tue, Dec 07, 2004 at 09:54:46PM -0500, David Scheidt typed:
  I'm having problems getting a PPTP VPN to work, using net/pptpclient.
  I get the tunnel set up, but I'm not sending traffic over it.
 
  my etc/ppp/ppp.conf entry
 
  VPN:
   set autname MYNAME
   set authkey PASSWD
   set timeout 0
 
add default HISADDR

When I do that, I get error messages like this:

 Dec 10 22:14:56 lightbulb ppp[1306]: Warning: ff02:5::/32: Change route 
 failed:
errno: Network is unreachable
Dec 10 22:14:56 lightbulb ppp[1306]: Warning: ff02:5::/32: Change route failed:
errno: Network is unreachable
Dec 10 22:14:56 lightbulb ppp[1306]: Phase: Signal 15, terminate.

And the connection fails.  I've added a disable IPV6 line to the
ppp.conf file, and it's still trying to add the IPV6 route.

There's a PR, misc/73051 about more or less the same problem in 5.2.1
using PPoE.



-- 
David Scheidt
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What's the proper way to use ctags?

2004-12-08 Thread David Scheidt
Let say I want to quickly browse through all the source files in a 
given
directory. What I tried was I ran ctags -R source_dir, which builds a
tag file for the entire source. When I start vim in that directory and
view files in the sub directories, tag works just fine. But when I go
into other directory(outside of vim), since there is no tag file there,
I can't use the tag feature anymore.

I could ran ctag in all sub directories, but then I won't be able to
search for functions that are define outside of the sub directory. So
what's the proper way to use ctag?
You need to tell vim where your tag files are.
:set tags=./tags,/path/to/your/tags
(note the lack of a space character there!)
I think the default is just ./tags.  Or perhaps it's tags,./tags.  I 
don't remember.  Read the vim help files on tags

:help tags
Regards,
David 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


pptp problems

2004-12-07 Thread David Scheidt
I'm having problems getting a PPTP VPN to work, using net/pptpclient.  
I get the tunnel set up, but I'm not sending traffic over it.  

my etc/ppp/ppp.conf entry

VPN:
 set autname MYNAME
 set authkey PASSWD
 set timeout 0

netstat -rn produces  (roughly, I'm typing this by hand)

default10.255.128.100  UGS  0  165 ndis_iwi
10.255.128/24 link#4 UC  0 0 ndis_iwi
10.225.128.100 (my mac addy) UHLW 1 0 ndis_i
10.225.128.73  127.0.0.1 UGHS 0 0 lo0
127.0.0.1 127.0.0.1   UH 1 55 lo0
149.161.17.3 149.161.17.23  UH 0 4 tun0



-- 
David Scheidt
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]