Logrotating and running a command

2007-03-16 Thread José Pablo Fernández
Hello, I need to rotate some logs, but instead of getting the PID out of a file and sending a SIGHUP to that process, like newsyslog does, I need to run a command. Is that possible with newsyslog? how should I do it? Thank you. -- José Pablo Fernández [EMAIL PROTECTED

PF questions

2007-03-12 Thread José Pablo Fernández
flags S/SA keep state That is, who is letting those IPv6 packages in, and why do I need to let the out specifically? If you need context, my whole rules are below. Any answer and or hint is appreciated. -- José Pablo Fernández [EMAIL PROTECTED] PS: IPs and names have changed. # My interfaces

Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 05:39, Nikos Vassiliadis wrote: On Wednesday 21 February 2007 01:21, José Pablo Fernández wrote: My problem is that when I copy a file from one network to the other, the first 128KB seems to be copied instantaneously, the second 128KB take more than two minutes

Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
? If I put pass in quick pass out quick just below the nat and rdr rules in pf.conf, then the copy happens ok, at normal (fast) speed. -- José Pablo Fernández [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 15:38, J65nko wrote: On 2/21/07, José Pablo Fernández [EMAIL PROTECTED] wrote: Hello, I have a FreeBSD 6.2 acting as router between two LANs and the internet. I am using PF on it for filtering and I am allowing all the traffic to pass by between the two LANs

Re: PF slowing down file copies

2007-02-21 Thread José Pablo Fernández
On Wednesday 21 February 2007 15:49, José Pablo Fernández wrote: For keeping state on TCP connections you should only create state on the first packet of the 3 way TCP handshake. Using flags S/SA will ensure this. This will prevent problems with TCP windows scaling.. Thank you. That solved

PF slowing down file copies

2007-02-20 Thread José Pablo Fernández
to the other computer, it just works. And it seems people copying files with SMB (Window's protocol) have found the same problem. Any ideas what might be going on? Thanks. -- José Pablo Fernández [EMAIL PROTECTED] PS: My full firewall configuration: # My interfaces. lan0= re0 lan1= re1 wan