[tcpdump-workers] Libpcap snmp messages?

2007-03-21 Thread Nick De Cristofaro
Anyone knows how to extract snmp messages by using the libpcap library? Such as the version and the command sent? Nick - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

[tcpdump-workers] Printing IP address / filters

2007-03-20 Thread Nick De Cristofaro
I can't seem to figure out how to print the IP address used by the system through pcap_lookupdev. How could I display the value of bpf_u_int32 net in a recognizable IP format? Also, is there a way to apply multiple filters to packets? Such as I want to capture all IP packets but I want to tell me w

[tcpdump-workers] Printing IP address / filters

2007-03-20 Thread Nick De Cristofaro
I can't seem to figure out how to print the IP address used by the system through pcap_lookupdev. How could I display the value of bpf_u_int32 net in a recognizable IP format? Also, is there a way to apply multiple filters to packets? Such as I want to capture all IP packets but I want to tell me