Re: Sysctl and root privileges, how could I avoid them ?

2002-12-06 Thread JINMEI Tatuya / 神明達哉
> On Mon, 02 Dec 2002 10:14:54 +0100, > Juan Francisco Rodriguez Hervella <[EMAIL PROTECTED]> said: > Are you talking about the flag CTLFLAG_RW ? I'm using req->oldptr == > NULL and req-> newptr != NULL to add a new element into a kernel table and I > plan > to use req->oldptr & req->

Re: broadcast over loopback

2002-12-06 Thread Jason Hunt
On Fri, 6 Dec 2002, Joshua Graessley wrote: > I am aware of the issues with broadcast, and I strongly urge people to > use multicast instead of broadcast for a variety of reasons. All the > same, I've been asked to address this issue and I wanted to understand > why FreeBSD doesn't allow broadcast

Re: broadcast over loopback

2002-12-06 Thread Joshua Graessley
Thank you for the reply Dan! I am aware of the issues with broadcast, and I strongly urge people to use multicast instead of broadcast for a variety of reasons. All the same, I've been asked to address this issue and I wanted to understand why FreeBSD doesn't allow broadcast on the loopback in

Re: FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Yoss
On Fri, Dec 06, 2002 at 06:31:55PM +0100, Joost Bekkers wrote: > so if you use > ipfw add pipe 1 ip from any to any in recv rl0 bridged > ipfw add pipe 2 ip from any to any in recv vr0 bridged > things should be fine. Yes, now packets are going through pipes. But it doesn't help me in the matter

Re: FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Joost Bekkers
On Fri, Dec 06, 2002 at 04:45:24PM +0100, Bartlomiej Butyn wrote: > bridge1# ipfw pipe 1 config bw 64Kbit/s > bridge1# ipfw pipe 2 config bw 64Kbit/s > bridge1# ipfw add pipe 1 ip from any to any out recv rl0 xmit vr0 > bridge1# ipfw add pipe 2 ip from any to any out recv vr0 xmit rl0 > > /usr/sr

Re: FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Yoss
On Fri, Dec 06, 2002 at 09:51:22AM -0600, Kevin Day wrote: > Have you turned on ipfw for bridging? Try this: > sysctl -w net.link.ether.bridge_ipfw=1 bridge1# sysctl net.link.ether | grep bridge net.link.ether.bridge_cfg: rl0,vr0,vr1,vr2 net.link.ether.bridge: 1 net.link.ether.bridge_ipfw: 1 net.l

Re: FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Yoss
On Fri, Dec 06, 2002 at 09:51:22AM -0600, Kevin Day wrote: > Have you turned on ipfw for bridging? Try this: > sysctl -w net.link.ether.bridge_ipfw=1 bridge1# sysctl net.link.ether | grep bridge net.link.ether.bridge_cfg: rl0,vr0,vr1,vr2 net.link.ether.bridge: 1 net.link.ether.bridge_ipfw: 1 net.

Re: FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Kevin Day
At 09:45 AM 12/6/2002, Bartlomiej Butyn wrote: Hi. I'm trying to configure shapeing bridge on FreeBSD and I have problems with putting packets to pipe with ipfw. My configuration is: %uname -a FreeBSD bridge1.milc.com.pl 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Fri Dec 6 13:31:37 CET 2002 [EMAI

FreeBSD 4.7 and shapeing bridge

2002-12-06 Thread Bartlomiej Butyn
Hi. I'm trying to configure shapeing bridge on FreeBSD and I have problems with putting packets to pipe with ipfw. My configuration is: %uname -a FreeBSD bridge1.milc.com.pl 4.7-RELEASE-p2 FreeBSD 4.7-RELEASE-p2 #0: Fri Dec 6 13:31:37 CET 2002 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386

Squid and NATD with Redirect of ports

2002-12-06 Thread Joao Carlos
I'm having the following problem. FreeBSD 4.7-STABLE (but with any version it does not work either) I've a FreeBSD connected to a cable network, with only one IP Address. My FreeBSD has three network cards. One is connected to my internal network, other is connected to the cable, and the other is

Re: Cjc's Ipfilter/Bridge patch

2002-12-06 Thread Eric Masson
> "Crist" == Crist J Clark <[EMAIL PROTECTED]> writes: Crist> No, it's not there. I've just been way to busy with my day-job Crist> to do much FreeBSD work for the last few months. Welcome to the real world :) Crist> But I'll try to add this code today. Thanks a lot. Eric Masson -- B