Pcap
  • Introduction
  • Getting Started
    • Dependency management
    • Installing Libpcap or Npcap
    • Run as non root user
    • Logging
    • Obtaining the device list
    • Opening an adapter and capturing the packets
    • Capturing the packets without the callback
    • Capture statistics
    • Filtering the traffic
    • Write the packets to a capture file
    • Read packets from a capture file.
    • Sending packets
    • I/O Multiplexing
    • Restricted Method
  • Developer Guide
    • Branches to look
    • Build from Source
    • Notes
  • Packet Structure
    • Packet Header
    • Packet Buffer
  • Packet Codec
    • Using packet codec
    • Adding protocol support
  • Others
  • Thanks to
  • Fork me on Github
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Restricted Method

Restricted method

Access to method annotated with @Restricted is disabled by default; to enabled access to restricted method, the Pcap property 'pcap.restricted' must be set to a value other then deny. The possible values for this property are:

  • deny: issues a runtime exception on each restricted call. This is the default value.

  • permit: allows restricted calls.

  • warn: like permit, but also prints a one-line warning on each restricted call.

PreviousI/O MultiplexingNextDeveloper Guide

Last updated 3 years ago

Was this helpful?