Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Getting packets First

ScatScat Member Posts: 7
How do I get a c program to get a packet before anything else, so i can decide whether to forward it on or not in Linux?

Comments

  • DariusDarius Member Posts: 1,666
    : How do I get a c program to get a packet before anything else, so i can decide whether to forward it on or not in Linux?
    :

    Write a device driver. There is plenty of documentation for writing device drivers in Linux (just ask google). Also you can check out the source code to an open source Linux firewall system as it will likely cover this (and it is likely what you are interested in or at least closely related).

    "We can't do nothing and think someone else will make it right."
    -Kyoto Now, Bad Religion

  • Shawn CarterShawn Carter Member Posts: 0

    __ || http://forcoder.org || free ebooks and video tutorials about \ Python Scratch Perl Ruby MATLAB PL/SQL Visual Basic .NET Assembly PHP Visual Basic C Java Go Objective-C C# Delphi JavaScript Swift C++ R Kotlin Alice Logo Erlang Clojure Crystal Fortran D Julia Apex Scala ML F# SAS VBScript Bash Transact-SQL LabVIEW Ada Hack Scheme Rust Lisp Dart Prolog FoxPro Awk COBOL ABAP Lua \ ____________

Sign In or Register to comment.