From: Abdul Matin <abdulmatincuetcse17@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Guideline on Linux NAT feature
Date: Fri, 27 Jan 2023 21:13:08 +0600 [thread overview]
Message-ID: <CAGFmy1BpHXGy3MHT4qEPi4M2YhepaFByMV0a4JGkTA48kvBjsg@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 896 bytes --]
Hi, I'm a novice in Kernel development. This is the first time I'm writing
here. I need to develop something similar to FTP ALG on Active mode. That
is, I will inspect some packets while passing through the NAT then based on
some conditions I will set permission for an IP of another device/NAT on
the internet so that it can send packets directly to an internal device.
I'm reading some books on Linux kernel device driver development. I know
I'll have to do that using the Netfilter subsystem of the linux kernel. To
learn how ftp alg is implemented I've been searching for source in kernel
source, although I found code that mangles the packet of PORT command of
FTP connection but I can't find where the mapping thing is done for Active
mode of FTP. Which file should I read to know about how FTP alg for active
mode makes a server connect to a client behind NAT? I'd appreciate any
replies.
[-- Attachment #1.2: Type: text/html, Size: 950 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
reply other threads:[~2023-01-27 15:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGFmy1BpHXGy3MHT4qEPi4M2YhepaFByMV0a4JGkTA48kvBjsg@mail.gmail.com \
--to=abdulmatincuetcse17@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).