Re: Spam from NAT boxes

2006-03-06 Thread Freddie Cash
On Mon, March 6, 2006 3:17 pm, Julian Elischer wrote: > Cesar wrote: >> I have some NAT boxes running FreeBSD, each of these boxes do NAT >> for like 100+ people. Almost everyday my IPs got blacklisted because >> of spam. I cant block the smtp traffic going out became some people >> need it to send

Patches for bootparamd for multiple subnets of interest?

2006-03-06 Thread Brian J. McGovern
All, I've done some hacking on bootparamd to support multiple subnets (along with applying some patches to allow some Sun-specific behavior) that I'm using for jumpstarting Solaris/Sparc boxes across a boatload of small subnets. The most obvious change is adding a -R parameter, th

Re: Spam from NAT boxes

2006-03-06 Thread Lou Kamenov
On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > ipfw add fwd xx.xx.xx.xx,25 tcp from 192.168.0.0/24 to any 25 > > > I got some matches in this rule when I try to send an email, but I > > > didnt get redirected to my email server. this is pretty easy with ipnat, this is for smtp

Re: Spam from NAT boxes

2006-03-06 Thread soralx
> > ipfw add fwd xx.xx.xx.xx,25 tcp from 192.168.0.0/24 to any 25 > > I got some matches in this rule when I try to send an email, but I > > didnt get redirected to my email server. > > our email server needs the same rule, fwd 127.0.0.1 .. so that the > incoming packet is not rejected. >

Re: Spam from NAT boxes

2006-03-06 Thread Julian Elischer
Cesar wrote: Hi, I have some NAT boxes running FreeBSD, each of these boxes do NAT for like 100+ people. Almost everyday my IPs got blacklisted because of spam. I cant block the smtp traffic going out became some people need it to send true e-mails. Are there any tool to detect/block

IEEE1284 Device ID string for USB Printers

2006-03-06 Thread Naram Qashat
I was wondering if there were any plans on getting the ieee1284_print_id() function in src/sys/dev/usb/ulpt.c to work properly. I was trying to see about getting HPLIP converted to FreeBSD, but it's hpiod program requires an ioctl to access the printer andget the IEEE1284 device ID string to ident

find(1) -d vs -prune; /etc/periodic/daily/100.clean-disks

2006-03-06 Thread Jilles Tjoelker
find(1)'s -prune primary does not work if depth-first traversal (-d, -depth, also implied by -delete) is in effect. The reason is that it is (obviously) not possible to prune a directory when visiting it after all entries in it. This causes /etc/periodic/daily/100.clean-disks (if enabled) to recur

RE: FreeBSD 4.11 P13 Crash

2006-03-06 Thread Carroll Kong
Well bad news. It happened again even with a new CPU and new PowerSupply. However, the good news is that it seems to be saving the core dumps a bit more consistently now. I swapped the motherboard back to the old one. Honestly, I've had similar core dumps in either case, I'm starting to think it

Re: Adding optimized kernel copying support to FreeBSD-i386 - Part II

2006-03-06 Thread Attilio Rao
2006/3/6, Divacky Roman <[EMAIL PROTECTED]>: > On Mon, Mar 06, 2006 at 11:20:10AM +0100, Attilio Rao wrote: > > Hi, > > I did not received too much feedbacks about Part I stability, but I went > on, > > so Part II is available for tests. > > > > It presents an mmx copy which doesn't give much perfo

Re: Spam from NAT boxes

2006-03-06 Thread Baldur Gislason
With the fwd rule, you can only redirect to 127.0.0.1 when you want your machine to intercept the connection. I'd suggest putting a tcp proxy or smtp proxy listening on 127.0.0.1 port 25 that just forwards to the mailserver box. Baldur On Mon, Mar 06, 2006 at 09:39:46AM -0300, Cesar wrote: > Hi,

panic coredump

2006-03-06 Thread Kevin Rong
Dear sirs I am a freebsd 6.0-stable user. Recently my thinkpad will panic when I use vmware 3.2.1 and mozilla at sames times. So I think I can send these info to you. Help you can help me. thanks you a lot. kevin.rong FreeBSD r

Spam from NAT boxes

2006-03-06 Thread Cesar
Hi, I have some NAT boxes running FreeBSD, each of these boxes do NAT for like 100+ people. Almost everyday my IPs got blacklisted because of spam. I cant block the smtp traffic going out became some people need it to send true e-mails. Are there any tool to detect/block those spams?

Re: Using open system call in KLD

2006-03-06 Thread Pawel Jakub Dawidek
On Mon, Mar 06, 2006 at 02:10:10AM -0800, Anupam Deshpande wrote: +> I successfully created a file using kern_open(). +> Now I want to 'write to' or 'read from' the file.What functions should +> I use for that purpose? This is not so trivial as it is in userland (but you already know that:)). Her

Re: Accessing address space of a process through kld!!

2006-03-06 Thread Andrey Simonenko
On Fri, Mar 03, 2006 at 09:26:35PM +0530, Tanmay wrote: > On Tue, Feb 28, 2006 at 01:33:47PM -0500, > John Baldwin wrote: > >you can use the proc_rwmem() function (it takes a uio >and a struct proc) > >to do the actual I/O portion. You can see example use in >the ptrace() > >syscall. > > Thanks.T

[patch] Adding optimized kernel copying support to FreeBSD-i386 - Part II

2006-03-06 Thread Attilio Rao
Hi, I did not received too much feedbacks about Part I stability, but I went on, so Part II is available for tests. It presents an mmx copy which doesn't give much performance increases but what I need now is testing for correctness. In particular I would see feedbacks about races inside dropping/

Re: Using open system call in KLD

2006-03-06 Thread Anupam Deshpande
On 3/5/06, Robert Watson <[EMAIL PROTECTED]> wrote: > > On Sun, 5 Mar 2006, Anupam Deshpande wrote: > > > I have used open system call in KLD to create a file. But after > > inserting the module the file is not created though the file descriptor > > returned is non zero. I also used close s

Re: sched_newthread question

2006-03-06 Thread Andrey Simonenko
On Sat, Mar 04, 2006 at 06:11:24PM +0100, Divacky Roman wrote: > hi, > > sched_newthread(struct thread *td) > { >struct td_sched *ke; > > ke = (struct td_sched *) (td + 1); > bzero(ke, sizeof(*ke)); > td->td_sched = ke; > ke->ke_thread = td; > ke->k