Re: Honey pot email address

2009-05-02 Thread Duane
On Sat, May 2, 2009 at 12:57 AM, Andrew  wrote:

> Does anyone have any ideas on how to get on as many spammers mailing lists
> as possible?

What are your plans for the resultant collection of junque?


-- 
Duane
___
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"


The FreeBSD Diary: 2009-05-02

2009-05-02 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 

RECENT ARTICLES:

2-Dec : Obscuring smtp auth headers
 If you consider your smtp-auth location to be private, this is what you 
want. 
 http://freebsddiary.org/smtp-headers-rewrite-auth.php?2

29-Nov : OpenVPN - creating a routed VPN
 If you have multiple VPN clients, this is a practical solution. 
 http://freebsddiary.org/openvpn-routed.php?2

27-Nov : Creating your own Certificate Authority
 How to create a CA and generate your own SSL certificates
 http://freebsddiary.org/openvpn-easy-rsa.php?2

27-Nov : OpenVPN - getting it running
 Using OpenVPN to create a secure pathway between home and office 
 http://freebsddiary.org/openvpn.php?2

5-Oct : Removing dead mailing lists from Mailman
 Mailing lists can outlive their usefulness 
 http://freebsddiary.org/mailman-removing-dead-lists.php?2

30-Aug : gmirror - recovering from a failed HDD
 an HDD failed.  gmirror to the rescue. 
 http://freebsddiary.org/gmirror-failure.php?2

6-Jul : ezjail - A jail administration framework
 This makes jails easier 
 http://freebsddiary.org/ezjail.php?2

24-Jun : Adding gmirror to an existing installation
 Adding RAID-1 to an existing FreeBSD 7 installation
 http://freebsddiary.org/gmirror.php?2

20-Mar : ThinkPad x61s
 Unpacking the box, installing PC-BSD 
 http://freebsddiary.org/thinkpad-x61s.php?2

17-Mar : Using two monitors with X.org
 The GeForce 8600 GT with two monitors 
 http://freebsddiary.org/xorg-two-screens.php?2


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

___
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: lost+found

2009-05-02 Thread Polytropon
On Sat, 02 May 2009 15:45:13 -0400, PJ  wrote:
> [~]# cd /tmp/lost+found/#123456
> [/tmp/lost+found/#123456]# ls

Okay, it's empty.



> [/tmp/lost+found/#123456]# cd ..

Strange, why does .. lead you from /tmp/lost+found/#123456
to /tmp/lost+found/#123456, just as if cd wasn't executed?



> [/tmp/lost+found/#123456]# cd #123456 this returns and empty directory)

Does /tmp/lost+found/#123456 contain another #123456? And
why does this cd lead you to your (root's) home directory?

> [~]# ls (this returns the listing of the contents of /root

Of course, because CWD is ~ now.



> Whoops! What is going on? I'd like to delete this /tmp/lost+found/
> directory but, being very wary, I don't want to take the risk (probably
> none) to delete it since there is no indication that this is a symbolic
> link and might delte the actual /root/ directory withoug getting some
> information about this occurrence.

The best idea would be to copy the content of /root into
another directory first, then performing the rm operation,
and afterwards, if something went wrong, restore /root from
this backup copy.




Very strange... Just to be sure, are you SURE you reported
the paths (in the prompt) and the commands correctly?



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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"


Repeatable X lockups

2009-05-02 Thread Jimmie James
When using the xv output driver for vlc or mplayer, X will lockup, crash 
instantly, trashing the screen and forcing a reboot
Image of screen corruption: 
http://img.photobucket.com/albums/v287/jimmiejaz/xcrash.jpg


This just started manifesting in the past week or so.

HW/SW details
All that's printed to Xorg.0.log
(II) intel(0): EDID vendor "NEC", prod id 17450
Memory heap 0x2867e260:
  Offset:0002a000, Size:0010, F.

Free list:
 FREE Offset:0002a000, Size:0010, F.
End of memory blocks

pciconf -lv
vgap...@pci0:0:2:0: class=0x03 card=0x25821043 chip=0x25828086 
rev=0x04 hdr=0x00

vendor = 'Intel Corporation'
device = '82915G/GV/GL, 82910GL Integrated Graphics Device'
class  = display
subclass   = VGA
vgap...@pci0:0:2:1: class=0x038000 card=0x25821043 chip=0x27828086 
rev=0x04 hdr=0x00

vendor = 'Intel Corporation'
device = '82915G Graphics device: 82915G/GV/910GL Express 
Chipset Family'

class  = display


display bits from dmesg:
vgapci0:  port 0x6800-0x6807 mem 
0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at 
device 2.0 on pci0

agp0:  on vgapci0
drm0:  on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
vgapci1:  mem 0xcfe0-0xcfe7 at device 
2.1 on pci0

vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
drm0:  on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized i915 1.6.0 20080730
drm0: [ITHREAD]


dmesg:
Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.2-PRERELEASE #0: Sat Mar 21 22:34:18 EDT 2009
jim...@jimmiejaz.org:/usr/obj/usr/src/sys/FORTYTWO
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.02-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf41  Stepping = 1

Features=0xbfebfbff
  Features2=0x441d
  AMD Features=0x10
  Logical CPUs per core: 2
real memory  = 1065091072 (1015 MB)
avail memory = 1032073216 (984 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 3f70 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
vgapci0:  port 0x6800-0x6807 mem 
0xcfd8-0xcfdf,0xd000-0xdfff,0xcfe8-0xcfeb at 
device 2.0 on pci0

agp0:  on vgapci0
agp0: detected 7932k stolen memory
agp0: aperture size is 256M
drm0:  on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] AGP at 0xd000 256MB
info: [drm] Initialized i915 1.6.0 20080730
vgapci1:  mem 0xcfe0-0xcfe7 at device 
2.1 on pci0
hdac0:  mem 
0xcfef8000-0xcfefbfff irq 16 at device 27.0 on pci0

hdac0: HDA Driver Revision: 20090316_0130
hdac0: [ITHREAD]
pcib1:  irq 16 at device 28.0 on pci0
pci5:  on pcib1
pcib2:  irq 17 at device 28.1 on pci0
pci4:  on pcib2
pcib3:  irq 18 at device 28.2 on pci0
pci3:  on pcib3
pcib4:  irq 19 at device 28.3 on pci0
pci2:  on pcib4
uhci0:  port 
0x7000-0x701f irq 23 at device 29.0 on pci0

uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0:  on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 
0x7400-0x741f irq 19 at device 29.1 on pci0

uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1:  on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 
0x7800-0x781f irq 18 at device 29.2 on pci0

uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2:  on uhci2
usb2: USB revision 1.0
uhub2:  on usb2
uhub2: 2 ports with 2 removable, self powered
uhci3:  port 
0x8000-0x801f irq 16 at device 29.3 on pci0

uhci3: [GIANT-LOCKED]
uhci3: [ITHREAD]
usb3:  on uhci3
usb3: USB revision 1.0
uhub3:  on usb3
uhub3: 2 ports with 2 removable, self powered
ehci0:  mem 
0xcfeffc00-0xcfef irq 23 at device 29.7 on pci0

ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4:  on ehci0
usb4: USB revision 2.0
uhub4:  on usb4
uhub4: 8 ports with 8 removable, self powered
pcib5:  at device 30.0 on pci0
pci1:  on pcib5
fxp0:  port 0xa000-0xa03f mem 
0xcfffe000-0xcfffefff irq 20 at device 8.0 on pci1

miibus0:  on fxp0
inphy0:  PHY 1 on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:11:d8:11:b7:4e
fxp0: [ITHREAD]
rl0:  port 0xa400-0xa4ff mem 
0xc800-0xc8ff irq 22 at device 10.0 on pci1

miibus1:  on rl0
rlphy0:  PHY 0 on miibus1
rlphy0:  10ba

lost+found

2009-05-02 Thread PJ
A couple of days ago I had minor glitch as my FreeBSD box on my local
intranet had an unexpected shutdown.
When I fsck'd on reboot I was left with a few lost+found directories
with #99 files. Most appeared inconsequential and could be deleted.
But there is one /tmp/lost+found that puzzles me. There are 3
subdirectories that act a little strangely.
[~]# cd /tmp/lost+found/#123456
[/tmp/lost+found/#123456]# ls
[/tmp/lost+found/#123456]# cd ..
[/tmp/lost+found/#123456]# cd #123456 this returns and empty directory)
[~]# ls (this returns the listing of the contents of /root

Whoops! What is going on? I'd like to delete this /tmp/lost+found/
directory but, being very wary, I don't want to take the risk (probably
none) to delete it since there is no indication that this is a symbolic
link and might delte the actual /root/ directory withoug getting some
information about this occurrence.
TIA.


-- 
Hervé Kempf: "Pour sauver la planète, sortez du capitalisme."
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   http://www.chiccantine.com/andypantry.php

___
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"


dmesg: sysctl kern.msgbuf Cannot allocate memory

2009-05-02 Thread Jimmie James
After searching google and various man pages, I'm not finding out what 
it actually means, anyone care to shed some light?


During boot:
dmesg: sysctl kern.msgbuf Cannot allocate memory

#sysctl -a |grep msgbuf
kern.msgbuf_clear: 0
kern.msgbuf:
kern.consmsgbuf_size: 8192
security.bsd.unprivileged_read_msgbuf: 1

--
Over the years I've come to regard you as people I've met.

___
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: Honey pot email address

2009-05-02 Thread Jeffrey Goldberg

On May 1, 2009, at 11:57 PM, Andrew wrote:

Does anyone have any ideas on how to get on as many spammers mailing  
lists as possible?


The single fastest way is to post to Usenet using that address as a  
"from" address.  You should start seeing lots of spam within 48 hours  
of that.


Then once you start getting spam to that address use the "unsubscribe"  
mechanisms in the spam.  That not only confirms that the address works  
and is read by a human, but that it is read by a gullible human.  This  
will make that address a high value spam address.


Cheers,

-j

___
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: Running SMP kernel but only one cpu

2009-05-02 Thread Duane
On Sat, May 2, 2009 at 9:19 AM, Diego F. Arias R.  wrote:

> Are you running generic or custom kernel?

Generic SMP:

# uname -a
FreeBSD poobah.legomenon.org 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed
Nov 26 12:11:16 UTC 2008
r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386


-- 
Duane
___
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: [pure-ftpd] Security Scan question

2009-05-02 Thread John Almberg


On May 2, 2009, at 8:50 AM, Frank Denis wrote:


  Hello Josh,

Le Fri, May 01, 2009 at 08:55:10AM -0500, Josh Trutwin ecrivait :

Because I programmed a custom cart solution for one of my customers,
their merchant account is doing a monthly server scan to check for
known vulnerabilities.


  Great.


I've had to endure these scans, myself, and I must say that they  
helped a lot. The scans are pretty thorough and they made me re-think  
some things I was doing... particularly limiting access to ports that  
I thought 'needed' to be open, but actually just needed to be open to  
a small number of outside addresses. Thank goodness for PF... would  
hate to try to pass one of those scans without a flexible firewall.


-- John
___
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: Running SMP kernel but only one cpu

2009-05-02 Thread Diego F. Arias R.
On Fri, May 1, 2009 at 10:43 PM, Duane  wrote:
> On Fri, May 1, 2009 at 11:18 PM, Adam Vande More  
> wrote:
>
>> top should display a C column with a number that represents which cpu the
>> process is running on.  IIRC, ACPI must be enabled for SMP to work, and ACPI
>> didn't work on my MB until 7.0.
>
> Using the ACPI boot option doesn't seem to change the cpu situation. I
> still get only cpu0 grepping dmesg.
>
>> also "sysctl -a |grep kern.smp.cpus" should return your cpu #
>
> This gives me '1'.
>
> Thanks,
>
> --
> Duane
> ___
> 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"
>

Are you running generic or custom kernel?

-- 
mmm, interesante.
___
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"


local security scanner for vulnerable common opensource www projects

2009-05-02 Thread Jeroen Hofstee
I tried to find a program which could scan the local filesystem and 
extract a lists of well known
web projects (yoomla, wordpress etc), extract the installed version 
number and match it against
a database of known vulnerabilities. Similiar to portaudit, but then for 
the standard scripts users

install themselves. I was unable to find such a program in the ports.

Does such an utilities exists for FreeBSD ?

Jeroen


___
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: ndis0 interrrupt storm

2009-05-02 Thread Chris Whitehouse

Tim Judd wrote:

I think project evil (ndis) requires a specific driver version, such as the
WinXP drivers versus the Vista or 2000 or anything else.



What drivers did you use?  Any other drivers available on the manufacturer
website?


If you're not using XP, I recall reading that XP is the preferred driver for
the recent project evil versions.


--TJ
___
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"


I believe I read about XP being preferred as well.

I downloaded the latest drivers zip file from the linksys website, it 
includes 3 drivers for this chipset, a generic one, one for NT and one 
for XP. I used the XP one. I might try the others just in case but I am 
away for afew days so won't be able to have another look till next week.


Chris
___
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: Poor ZFS performance

2009-05-02 Thread Frederique Rijsdijk

nf wrote:

733843456 bytes transferred in 61.124812 secs (12005656 bytes/sec)


That is very low. I get about 60MB/sec in this way. Adding bs=1m it'll 
go up to 240MB/sec even (raidz1 with 4*1TB).



CPU:  0.4% user,  0.0% nice, 14.3% system,  4.5% interrupt, 80.8% idle
Mem: 1950M Active, 868M Inact, 537M Wired, 238M Cache, 363M Buf, 87M Free
Swap: 1024M Total, 101M Used, 923M Free, 9% Inuse

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 8402 nf  1  500  4604K   788K zio->i 0   0:03  8.59% dd


Could you show top -S ?


-- Frederique
___
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: ndis0 interrrupt storm

2009-05-02 Thread Chris Whitehouse

Paul B. Mahol wrote:

On 5/2/09, Paul B. Mahol  wrote:

On 5/1/09, Chris Whitehouse  wrote:

Paul B. Mahol wrote:

On 4/29/09, Chris Whitehouse  wrote:

Hi all

I'm trying to get a Linksys WPC54Gv5 wireless pccard working. It has a
Marvell 8335 chip. I've created a module with ndisgen and I can see
ndis0. When I up it with ifconfig I immediately get repeated messages:

Apr 28 23:23:19 pcbsd kernel: interrupt storm detected on "irq11:";
throttling interrupt source

As soon as I down the interface the messages stop.

I've also tried starting ndis0 with polling

# ifconfig ndis0 inet 192.168.1.20 polling

but still get the messages. I guess this driver doesn't support
polling.
Or I've got the syntax wrong.

That command is not currently efective at all for ndisX(I yet have to
see if it is possible).


According to vmstat -i irq11 is used by cbb0 and pcm0. ndis0 is on irq9

irq9: cbb1 ndis0++

This is on PCBSD 7.1 which is FreeBSD 7.2-PRERELEASE

Any way I can get this thing working?

Try yo disable cbbX if you dont use it or enable MSI for pcm0 (if
possible).

This is a pcmcia card in a laptop so cbb is needed :( There is no
reference to msi in the pcm man page so I guess it is not available for
this system. (Paul I saw a post from you on multimedia about msi in hdac
and sure enough there is a reference to msi in snd_hda(4) man page). Am
I looking in the right place?

msi for snd_hda(if that is your sound driver) should be enabled by default
on CURRENT (dunno about 7):
hint.hdac.%d.msi=1


my driver is snd_t4dwave and msi is not mentioned in the man page. Does 
that mean it's not available?




You could try to use different dev.ndis.0.InterruptNumber for ndis0.
Changing it via sysctl is not supported, you will need to modify right
line(s)
in inf file, or in .h file generated with ndiscvt(1) via ndisgen(8)

Dunno if that will work  (never tried)


Tried, doesnt work. Polling could be enabled if miniport driver for your
card supports it, look output of sysctl dev.ndis.0


no reference to polling in sysctl dev.ndis




hmm not looking good so far

Chris
___
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: Honey pot email address

2009-05-02 Thread Frederique Rijsdijk

Andrew wrote:

Hi All,

I've created a honey pot email address for SPAM.

Does anyone have any ideas on how to get on as many spammers mailing 
lists as possible?




I'd be happy to put your e-mail address in the source code of some sites 
that I run?



-- F
___
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"