예제 #1
0
파일: peak_li.c 프로젝트: javarange/libpeak
}

LI_DESCRIBE_APP(iptype)
{
	(void)packet;
	return (1);
}

static const struct peak_lis apps[] = {
	/* shallow protocols first (match by IP type) */
	LI_LIST_IPTYPE(LI_ICMP, icmp, IPPROTO_ICMP, IPPROTO_ICMPV6),
	LI_LIST_IPTYPE(LI_IGMP, igmp, IPPROTO_IGMP, IPPROTO_MAX),
	LI_LIST_IPTYPE(LI_OSPF, ospf, IPPROTO_OSPFIGP, IPPROTO_MAX),
	LI_LIST_IPTYPE(LI_L2TP, l2tp, IPPROTO_L2TP, IPPROTO_MAX),
	/* real protocols follow now */
	LI_LIST_APP(LI_PPTP, pptp, IPPROTO_TCP, IPPROTO_GRE),
	LI_LIST_APP(LI_HTTP, http, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_RTSP, rtsp, IPPROTO_TCP, IPPROTO_UDP),
	LI_LIST_APP(LI_POP3, pop3, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_IMAP, imap, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_SMTP, smtp, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_FTP, ftp, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_CVS, cvs, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_SSH, ssh, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_IRC, irc, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_STUN, stun, IPPROTO_UDP, IPPROTO_TCP),
	LI_LIST_APP(LI_SIP, sip, IPPROTO_UDP, IPPROTO_TCP),
	LI_LIST_APP(LI_RIP, rip, IPPROTO_UDP, IPPROTO_MAX),
	LI_LIST_APP(LI_RADIUS, radius, IPPROTO_UDP, IPPROTO_MAX),
	LI_LIST_APP(LI_BGP, bgp, IPPROTO_TCP, IPPROTO_MAX),
	LI_LIST_APP(LI_IKE, ike, IPPROTO_UDP, IPPROTO_MAX),
예제 #2
0
파일: peak_li.c 프로젝트: anthcp/libpeak
}

LI_DESCRIBE_APP(iptype)
{
	(void)packet;
	return (1);
}

static const struct peak_lis apps[] = {
	/* shallow protocols first (match by IP type) */
	LI_LIST_IPTYPE(LI_ICMP, icmp, IPPROTO_ICMP, IPPROTO_ICMPV6, "Internet Control Message Protocol", "ICMP is one of the core protocols of the Internet Protocol Suite. It is chiefly used by the operating systems of networked computers to send error messages indicating, for instance, that a requested service is not available or that a host or router could not be reached. ICMP can also be used to relay query messages.", "Networking"),
	LI_LIST_IPTYPE(LI_IGMP, igmp, IPPROTO_IGMP, IPPROTO_MAX, "Internet Group Management Protocol", "IGMP is a communications protocol used by hosts and adjacent routers on IP networks to establish multicast group memberships.", "Networking"),
	LI_LIST_IPTYPE(LI_OSPF, ospf, IPPROTO_OSPFIGP, IPPROTO_MAX, "Open Shortest Path First", "OSPF is an interior gateway routing protocol developed for IP networks based on the shortest path first or link-state algorithm.", "Networking"),
	LI_LIST_IPTYPE(LI_L2TP, l2tp, IPPROTO_L2TP, IPPROTO_MAX, "Layer 2 Tunneling Protocol", "L2TP is a tunneling protocol used to support virtual private networks (VPNs). It does not provide any encryption or confidentiality by itself; it relies on an encryption protocol that it passes within the tunnel to provide privacy.", "VPN and Tunneling"),
	/* real protocols follow now */
	LI_LIST_APP(LI_PPTP, pptp, IPPROTO_TCP, IPPROTO_GRE, "Point-to-Point Tunneling Protocol", "PPTP is a method for implementing virtual private networks. It uses a control channel over TCP and a GRE tunnel operating to encapsulate PPP packets.", "VPN and Tunneling"),
	LI_LIST_APP(LI_HTTP, http, IPPROTO_TCP, IPPROTO_MAX, "HyperText Transfer Protocol", "HTTP is the principal transport protocol for the World Wide Web.", "Web Services"),
	LI_LIST_APP(LI_RTSP, rtsp, IPPROTO_TCP, IPPROTO_UDP, "Real Time Streaming Protocol", "RTSP is used for establishing and controlling media sessions between end points.", "Streaming Media"),
	LI_LIST_APP(LI_POP3, pop3, IPPROTO_TCP, IPPROTO_MAX, "Post Office Protocol", "POP is a protocol used by local e-mail clients to retrieve e-mail from a remote server.", "Mail"),
	LI_LIST_APP(LI_IMAP, imap, IPPROTO_TCP, IPPROTO_MAX, "Internet Message Access Protocol", "IMAP is an Internet standard protocol for accessing email on a remote server.", "Mail"),
	LI_LIST_APP(LI_SMTP, smtp, IPPROTO_TCP, IPPROTO_MAX, "Simple Mail Transfer Protocol", "SMTP is an Internet standard for electronic mail (e-mail) transmission across Internet Protocol (IP) networks.", "Mail"),
	LI_LIST_APP(LI_FTP, ftp, IPPROTO_TCP, IPPROTO_MAX, "File Transfer Protocol", "FTP is used to transfer files from a file server to a local machine.", "File Transfer"),
	LI_LIST_APP(LI_CVS, cvs, IPPROTO_TCP, IPPROTO_MAX, "Concurrent Versions System", "CVS is a client-server free software revision control system in the field of software development.", "Database"),
	LI_LIST_APP(LI_SSH, ssh, IPPROTO_TCP, IPPROTO_MAX, "Secure Shell", "SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices.", "Remote Access"),
	LI_LIST_APP(LI_IRC, irc, IPPROTO_TCP, IPPROTO_MAX, "Internet Relay Chat", "IRC is a popular form of real-time Internet text messaging.", "Messaging"),
	LI_LIST_APP(LI_STUN, stun, IPPROTO_UDP, IPPROTO_TCP, "Session Traversal Utilities for NAT", "STUN is used in NAT traversal for applications with real-time voice, video, messaging, and other interactive communications.", "Networking"),
	LI_LIST_APP(LI_SIP, sip, IPPROTO_UDP, IPPROTO_TCP, "Session Initiation Protocol", "SIP is a common control protocol for setting up and controlling voice and video calls.", "Messaging"),
	LI_LIST_APP(LI_RIP, rip, IPPROTO_UDP, IPPROTO_MAX, "Routing Information Protocol", "RIP is a dynamic routing protocol.", "Networking"),
	LI_LIST_APP(LI_RADIUS, radius, IPPROTO_UDP, IPPROTO_MAX, "Remote Authentication Dial In User Service", "RADIUS is a networking protocol that provides centralized Authentication, Authorization, and Accounting (AAA) management for computers to connect and use a network service.", "Networking"),
	LI_LIST_APP(LI_BGP, bgp, IPPROTO_TCP, IPPROTO_MAX, "Border Gateway Protocol", "BGP is the protocol backing the core routing decisions on the Internet.", "Networking"),
	LI_LIST_APP(LI_IKE, ike, IPPROTO_UDP, IPPROTO_MAX, "Internet Key Exchange", "IKE is the protocol used to set up a security association (SA) in the IPsec protocol suite.", "VPN and Tunneling"),