Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Julian Elischer
Julian Elischer wrote: Kevin Sanders wrote: On 12/22/06, Brooks Davis <[EMAIL PROTECTED]> wrote: On Fri, Dec 22, 2006 at 12:43:29PM -0300, Fabr?cio Barros Cabral wrote: > Hello everybody! > > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet,

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Julian Elischer
Kevin Sanders wrote: On 12/22/06, Brooks Davis <[EMAIL PROTECTED]> wrote: On Fri, Dec 22, 2006 at 12:43:29PM -0300, Fabr?cio Barros Cabral wrote: > Hello everybody! > > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet, like libpcap does), mo

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Kevin Sanders
On 12/22/06, Brooks Davis <[EMAIL PROTECTED]> wrote: On Fri, Dec 22, 2006 at 12:43:29PM -0300, Fabr?cio Barros Cabral wrote: > Hello everybody! > > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet, like libpcap does), move this packet into my >

Re: [was] addition to ipfw (read vlans from bridge)..

2006-12-22 Thread Julian Elischer
Taking to heart comments by Andre and Max (Laier), I have redone this patch in a different manner. The aim is to be able to see inside vlans when bridging. Now, this is a 6.x patch to bridge.c because that is what we are using, but I will make a similar patch to if_bridge.c for 6 and 7 if this m

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Brooks Davis
On Fri, Dec 22, 2006 at 12:43:29PM -0300, Fabr?cio Barros Cabral wrote: > Hello everybody! > > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet, like libpcap does), move this packet into my > application (userland), do some checking in the packet

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Eygene Ryabinkin
Fabricio, good day! > I'm developing a network application which needs *to intercept* a packet > (not just *copy* a packet, like libpcap does), move this packet into my > application (userland), do some checking in the packet and according > with some heuristics, the application may change the payl

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Chuck Swiger
Fabrício Barros Cabral wrote: Hello everybody! I'm developing a network application which needs *to intercept* a packet (not just *copy* a packet, like libpcap does), move this packet into my application (userland), do some checking in the packet and according with some heuristics, the applicati

Re: Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Max Laier
On Friday 22 December 2006 16:43, Fabrício Barros Cabral wrote: > I'm developing a network application which needs *to intercept* a > packet (not just *copy* a packet, like libpcap does), move this packet > into my application (userland), do some checking in the packet and > according with some heu

Intercepting a packet, changing it and re-injecting into the network

2006-12-22 Thread Fabrício Barros Cabral
Hello everybody! I'm developing a network application which needs *to intercept* a packet (not just *copy* a packet, like libpcap does), move this packet into my application (userland), do some checking in the packet and according with some heuristics, the application may change the payload and re

Re: UDP lite for FreeBSD

2006-12-22 Thread Randall Stewart
Fernando: comments in-line.. Fernando Gont wrote: At 10:26 19/12/2006, Randall Stewart wrote: I have always thought of it as a bit of a hack as well... and there is one really big problem with it.. It has no value unless you can tell your network-interface card to deliver damaged packets. I d

FreeBSD PPPoE server and IP Conflict

2006-12-22 Thread Gloomy Group
Hi list, I have setup freebsd pppoe server in 6.0. My ppp.conf server is as follows. Problem I have been facing is server assigns the same ip address to the two different clients and the clients IP get conflicted. I have followed WARTA project papers to do the bandwidth shaping for pppoe s

Re: bridging ethernets containing vlans,

2006-12-22 Thread Yar Tikhiy
On Thu, Dec 21, 2006 at 05:00:09PM -0800, Julian Elischer wrote: > If I bridge two ethernets, one with HW_vlan tagging and the other > without, and there are vlans active on that network, am I right in > assuming that it requires that the two ethernets need to both have their > HW_vlan capabiliti