Re: OT: www search engines

2008-02-06 Thread Jonathan Franks


On Feb 6, 2008, at 7:07 PM, Erik Osterholm wrote:



.



Then there's the issue of spam and spam blocking.  Google does a great
job of blocking spam.


Really? I can't say that I've had the same experience. I'd say that  
80 percent of what ends up in my inbox is unadulterated spam.


I still use it for similar reasons as you, but I can't agree on this  
point.


-Jonathan

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Jonathan Franks


On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  
ssh.  Is there a way I can have the box automatically kill any tcp/ 
ip connectivity to hosts that try and fail a given number of  
times?  Is there a port or something that I can install to give  
this kind of protection.  I'm still kind of a FreeBSD newbie.


If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of attempts  
in a given time (say, 5 in a minute). Once you have the table you're  
in business... you can block based on it... and then set up a cron  
job to copy the table to disk every so often (perhaps once every two  
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


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


Re: Too many open files (Critical, have only one session left)

2005-01-24 Thread Jonathan Franks
On Thu, 20 Jan 2005 15:59:22 -0800
Michael C. Shultz [EMAIL PROTECTED] wrote:

 On Thursday 20 January 2005 03:38 pm, Joachim Dagerot wrote:
   I have got it before and took appropriate steps using the ideas
   and tips from you guys. Now I have it again:
  
   Current situation on my head-less system is that I do have a
   single SSH session up. Unfortunately it's not authenticated as
   ROOT but as an ordinary user.
  
   When I try a ls I get :
  
   $ ls
   ls: .: Too many open files in system
  
   Trying a su gives:
   $ su
   /usr/libexec/ld-elf.so.1: Cannot open /usr/lib/libutil.so.3
  
  
   I have a fairly huge RAID-5 system thatdislikes a power shutdown
   so I rather want to reboot the machine manually. I certainly need
   som help here and also more help on how to avoid this problem in
   the future.
  
  I don't remember a previous message from you, but here is a link you
  may find helpful:
  
  http://www.onlamp.com/pub/a/bsd/2002/09/26/Big_Scary_Daemons.html?pa
  ge=1
 
  Good tip, unforunately I can't even run fstab:
  $ su
  /usr/libexec/ld-elf.so.1: Cannot open /usr/lib/libutil.so.3
 
 You mean you can't run fstat right?
 
  I seam to be stucked. Is there a way to do a su for a specific
  program. I can't run 'su' but when I try shutdwon:
 
  $ shutdown -r now
  -bash: /sbin/shutdown: Permission denied
 
  Looks like it's possible to run shutdown if I only hade the right
  permission...
 
 Can you run ps -aux and maybe kill some processes? I know it's unlikely
 but its the only thing I can think of, hopefully someone who knows more
 will offer better suggestions.
 
 -Mike
  
This may not be as helpful as it seems to me, but what about sudo? Assuming 
it's installed and you're an sudoer, of course, but if so something like:

$ sudo shutdown -r now

might work...


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


Re: Sharing drive data with windows

2005-01-03 Thread Jonathan Franks
On Sun, 02 Jan 2005 00:37:42 +0100
Phil Schulz [EMAIL PROTECTED] wrote:

 On 01/01/05 23:54, Sergei Gnezdov wrote:
  Is it possible to have NTFS writable?
  Do I have to use FAT32 to share data with Windows XP?
  
 
 there is limited support for writing to an ntfs filesystem in freebsd. 
 see mount_ntfs(8) for details. personally i think you're better off 
 using fat32
 
 regards,
 
 phil.
 
Alternatively, you could set up a samba share on the FreeBSD box
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD box causes workgroup to crash

2004-12-31 Thread Jonathan Franks
On Fri, 31 Dec 2004 09:59:54 -0500
Doug Van Allen [EMAIL PROTECTED] wrote:

 When my FreeBSD 5.3 box is connected to the network, no one can browse
 the network.  The internet works fine and on the other 2 PC's(WinXP). 
 When I disconnect the BSD box from the switch, the other 2 PC's can
 browse the network.  I have no idea why it would be doing this.
 
 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
Check your samba configuration. You probably want to set local master=no. You 
can also set os level=20, and domain master=no if you want to be extra certain. 

You'll need to restart samba for this to take effect. 

man smb.conf(5)


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


Re: Trouble with 'portsdb -uU' and ld-elf.so...

2004-12-16 Thread Jonathan Franks
Joe Altman wrote:
On Thu, Dec 16, 2004 at 10:07:19AM -0600, Eric Schuele wrote:
 

Hello,
I'm having trouble with 'portsdb -uU'
It worked exactly twice on my machine.  I was using the following 
commands to upgrade all my ports:

# cvsup -g -L 2 /root/ports-supfile
# portsdb -uU
# pkgdb -F
# portupupgrade -a
worked fine first two times.  Now.. my cvsup works fine.  but when I 
'portsdb -uU', it runs for a while and then I get something like:

K_1_2 Segmentation fault (core dumped) JAVA_PORT_LINUX_IBM_JDK_1_3 | 
/usr/bin/awk '{ print $1 }' returned non-zero status
=== java/javamail failed
*** Error code 1
2 errors
/libexec/ld-elf.so.1: rm: Shared object has no run-time symbol table
   

Here is my guess, and I emphasize that it is a guess:
http://fireflynetworks.net/pipermail/rtg/2004-December/001375.html
is a page I found by using Google to search for:
Shared object has no run-time symbol table
 

Now mind you I may have broken my ports tree at some point. 
   

This appears to be the case:
 

I'm 
relatively new to FreeBSD... and before I began using portupgrade... I 
was manually upgrading a handful of ports (make install.. deinstall... 
reinstall type stuff... downloading port folder manually).. 
   

I suggest reinstalling the ports you deinstalled, if you haven't
already done so...
 

and I think 
a placed a few in 'new' directories in my ports tree.  So I do not know 
if that would 'break' my ports tree or not.  But thought it was worth 
mentioning.
   

I can't quite parse this because it appears to me that you've left out
a word or two.
 

Other things worth mentioning:
- I have a very slight customized kernel config file.  Added support for 
ath, removed some processor support (486/586), added splash screen.
   

I don't think this is relevant.
 

- I have NEVER cvsupped my kernel src... only the ports tree.
   

And here it is: go and update your source, including the ports tree,
after you have reinstalled the ports you deinstalled. Make sure that
the world is correctly installed; then go and try the portupgrade
bits, one port at a time.
 

I have done nothing such as buildworld.
   

Go and do buildworld, then portupgrade.
 

Have I broken something?  Am I going about upgrading ports the wrong 
way?  
   

Yes, it appears that you have broken something.
 

If I have broken my ports tree is it possible to recreate it 
correctly?  Maybe delete it and reinstall off CD then cvsup it?
   

No, you don't need to do a complete reinstall, IMO; you do need to
update your source, perhaps even desperately.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

From what I've heard, portsdb -Uu is not preferred in 5.3, rather one 
should do make fetchindex in /usr/ports then run portsdb -u afterwards. 
I've only HEARD that this is correct, but it worked for me. so make 
of it what you will
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Booting with Grub

2004-07-01 Thread Jonathan Franks
Andrew Walrond wrote:
I have installed 5.2.1 into a partition and I want to use my existing 
bootloader, grub.

Can anyone tell me what the required grub configuartion line would look like, 
or point me to an FAQ?

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

I'm actually using a GRUB floppy, but this is what I type in to boot 
freeBSD (it's on the second IDE drive in my system)

GRUB root (hd1,0)
GRUB chainloder +1
GRUB boot
in the first line, (hd1,0) refers to the HDD and the partition, in that 
order. So if you have only one drive, and BSD is on the second partiton, 
for example, you'd use root (hd0,1)

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