[tcpdump-workers] How to ensure *pcap* doesnt drop any packet(s)?

2006-04-05 Thread kashif
Dear, By specifying "cnt" a negative value in the following, we can forever capture packets. int pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user) But if i want to capture packets for half an hour for example, do we have any such configuration? Moreover, when pcakets are captur

[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

Re: [tcpdump-workers] any way to write datalink packets?

2006-02-21 Thread kashif javed
latest version of pcap and doesnt use the default one. Kashif On 2/21/06, kashif javed <[EMAIL PROTECTED]> wrote: > I am using RedHat Linux 9.0 and its version of pcap doesnt support the apis > mentioned by you pcap_inject() and pcap_sendpacket() . So i tried downloading > libpcap 0.

[tcpdump-workers] any way to write datalink packets?

2006-02-19 Thread kashif javed
y the pcap? Moreover , can i use pcap for capturing packets on IEEE 802.11 or WLAN, if not, can you please provide me a solution? Thanks Kashif - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.