query about wrtitng a netfilter module

Posted on 2004-11-16
Last Modified: 2010-04-21
how can i write a module program that will be called at NF_IP_LOCAL_OUT? actually i want to call a function that processes on the packet that is builded in packet outgoing process. for that i want that module to be integrated part of linux can i then make that module to be called at NF_IP_LOCAL_OUT?
Question by:b123coder
    LVL 3

    Accepted Solution


    Author Comment

    hi scn,
               Is there any website that provide more  netfilter module examples?
    LVL 3

    Expert Comment

    Sorry, I am not aware of such websites.
    In the kernel source code, there are some modules that make use of the netfilter hooks, e.g. net/ipv4/netfilter/iptable_netfilter.c. Even if they are quite complex, they can give some ideas.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
    The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now