Sponsored Content
Full Discussion: packet capture
Top Forums Programming packet capture Post 302435087 by jim mcnamara on Tuesday 6th of July 2010 10:28:44 AM
Old 07-06-2010
Which OS?

I assume you mean some kind of packet sniffer?
 

8 More Discussions You Might Find Interesting

1. IP Networking

Seeing IP packet

Hi, Is there any way that i can directly take out the IP packet and see its contents. Waiting for your answer .............. Bye (4 Replies)
Discussion started by: manjunath
4 Replies

2. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

3. IP Networking

Packet parsing and modification

Hi All, I need your help regarding packet capturing and modification. Like we may add extra content into the original html content. Any open source tools.. programs...etc.. Do share your views and ideas. -Vivek (1 Reply)
Discussion started by: viveksnv
1 Replies

4. IP Networking

Packet decoding

Hi, wondering if anyone can suggest a tool to me that will let me either cut & paste hex or type it in for packet decoding. I want to be able to decode a packet as done with tcpdump or wireshark, but I want to be able to manually input the hex myself. (2 Replies)
Discussion started by: Breakology
2 Replies

5. Cybersecurity

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

6. Homework & Coursework Questions

filter packet

Exercise: Protection of WEB and DNS servers using the context-free rules for packet filtering: - Protect your WEB-server, so that would be for him can be accessed by browsers, and could go to dns. - Protect your primary DNS-server so that it could be to contact clients and secondary servers.... (1 Reply)
Discussion started by: numeracy
1 Replies

7. Programming

Why am i getting these strange packets while running my packet capture module written in c.?

I have made an packet capture application running on intel machine, it is capturing packets with src address- 17.0.0.0 destination ip- 66.0.0.0, source port- 0, destination port- 0, and protocol- 0 what does these packets mean ? The code written to interpreter captured bytes is given below.... (5 Replies)
Discussion started by: arunpushkar
5 Replies

8. AIX

Packet loss coming with big packet size ping

(5 Replies)
Discussion started by: Vishal_dba
5 Replies
ldns(3) 						     Library Functions Manual							   ldns(3)

NAME
ldns_pkt_new, ldns_pkt_free, ldns_pkt_print, ldns_pkt_query_new, ldns_pkt_query_new_frm_str, ldns_pkt_reply_type SYNOPSIS
#include <stdint.h> #include <stdbool.h> #include <ldns/ldns.h> ldns_pkt* ldns_pkt_new(); void ldns_pkt_free(ldns_pkt *packet); void ldns_pkt_print(FILE *output, const ldns_pkt *pkt); ldns_pkt* ldns_pkt_query_new(ldns_rdf *rr_name, ldns_rr_type rr_type, ldns_rr_class rr_class, uint16_t flags); ldns_status ldns_pkt_query_new_frm_str(ldns_pkt **p, const char *rr_name, ldns_rr_type rr_type, ldns_rr_class rr_class , uint16_t flags); ldns_pkt_type ldns_pkt_reply_type(ldns_pkt *p); DESCRIPTION
ldns_pkt_new() allocates and initializes a ldns_pkt structure. Returns pointer to the new packet ldns_pkt_free() frees the packet structure and all data that it contains. packet: The packet structure to free Returns void ldns_pkt_print() Prints the data in the DNS packet to the given file stream (in presentation format) output: the file stream to print to pkt: the packet to print Returns void ldns_pkt_query_new() creates a packet with a query in it for the given name, type and class. rr_name: the name to query for rr_type: the type to query for rr_class: the class to query for flags: packet flags Returns ldns_pkt* a pointer to the new pkt ldns_pkt_query_new_frm_str() creates a query packet for the given name, type, class. p: the packet to be returned rr_name: the name to query for (as string) rr_type: the type to query for rr_class: the class to query for flags: packet flags Returns LDNS_STATUS_OK or a ldns_status mesg with the error ldns_pkt_reply_type() looks inside the packet to determine what kind of packet it is, AUTH, NXDOMAIN, REFERRAL, etc. p: the packet to examine Returns the type of packet AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
ldns_pkt. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl. 30 May 2006 ldns(3)
All times are GMT -4. The time now is 01:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy