--- In Jason Stahls <> wrote:
>
> wrote:
> > Hi,
> > just a general question about ethernet-packet capture.
> > what I',m trying to get working is an application to receive packets on
> > eth0 on the TS-7260 board and route them to either eth1 or eth2 on a
> > TS-eth2 peripheral card.
>
> Are you wanting to just route packets, or actually look at them and or
> modify them? If all you want to do is route then any basic Linux
> routing tutorial should have your answers, try starting with reading up
> on iptables and iproute2. If that's not the case and you need to write
> a app to do something to these packets then rebroadcast them again
> you'll want to read up on socket programming, depending on your language
> of choice.
>
> --
> Jason Stahls
>
Just to elaborate a bit on my question on Ethernet packet capturing, I suppose
it's a two part action that I need to get going, firstly to capture and inspect
the headers of packets on eth0, and then route to eth1 or eth2 based on a IP
addresses in the packet header.
Would a utility like libpcap be the right way to go about packet capture?
thanks,
Simon
o ET
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|