Re: [tcpdump-workers] How to use "pcap" on a router ???

2006-04-06 Thread Guy Harris
kashif wrote: I have configured my PC running RedHat Linux 9.0 into a router by turning on the ip_forwarding facility of it. It got TWO LAN cards...and if i run two instances of *pcap* one for each LAN card for capturing packets, it works fineBut i intend writing an application wherein i nee

Re: [tcpdump-workers] How to use "pcap" on a router ???

2006-04-05 Thread Ury Segal
Hi! I'd prefer calling "pcap_open_live()" twice, set the appropriate filters (which may be different), call "get_selectable_fd()" on each pcap_t, and then use select() to pick up packets from any interface that may have some ready. That way I don't have to deal with threads. However on some si

[tcpdump-workers] How to use "pcap" on a router ???

2006-04-05 Thread kashif
Dear, I have configured my PC running RedHat Linux 9.0 into a router by turning on the ip_forwarding facility of it. It got TWO LAN cards...and if i run two instances of *pcap* one for each LAN card for capturing packets, it works fineBut i intend writing an application wherein i need the info

[tcpdump-workers] How to use "pcap" on a router

2006-04-01 Thread kashif javed
Dear, I have configured my PC running RedHat Linux 9.0 into a router by turning on the ip_forwarding facility of it. It got TWO LAN cards... running two instances of *pcap* for capturing packets is working fineBut i intend to write an application wherein i need the information captured by bot