LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2020, 06:18 AM   #1
eylinux
LQ Newbie
 
Registered: Sep 2020
Posts: 1

Rep: Reputation: Disabled
Writing a virtual NIC


Hello everybody,
I want to create a virtual NIC to redirect outgoing packets to a server (basically I'm writing a VPN client).

What do you recommend me to read? What do I need to know? What do I need to learn?

Also, I want this to be a kernel module just for fun and practice.

Thanks ahead.
 
Old 09-17-2020, 12:07 PM   #2
mikelw
LQ Newbie
 
Registered: Oct 2016
Location: close to Atlanta, Georgia, USA
Distribution: primarily Xubuntu & Centos
Posts: 4

Rep: Reputation: Disabled
I'd recommend _Linux_Device_Drivers_, by Jonathan Corbet, Alessandro Rubini, & Greg Kroah-Hartman. I believe the 3rd Edition is the latest, and it is a bit old (2005), but still good. There are many other good books on Linux device drivers and kernel programming. Another great resource for something similar to a VPN client would be the documentation and source code for OpenVPN:
https://sourceforge.net/projects/openvpn/
https://forums.openvpn.net/
http://community.openvpn.net/openvpn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bridge two NIC's in virtual OS with NIC's in physical machine m4rtin Linux - Networking 0 01-24-2012 06:58 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 02:04 PM
LXer: Democratization, Writing and Writing Code LXer Syndicated Linux News 0 11-22-2006 06:03 AM
Writing CD Writing Software starunj Linux - Software 1 12-28-2003 06:05 AM
cd writing software which supports multisession writing jayakrishnan Linux - General 3 03-24-2003 06:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration