kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Guideline on Linux NAT feature
@ 2023-01-27 15:13 Abdul Matin
  0 siblings, 0 replies; only message in thread
From: Abdul Matin @ 2023-01-27 15:13 UTC (permalink / raw)
  To: kernelnewbies


[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-27 15:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-27 15:13 Guideline on Linux NAT feature Abdul Matin

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 NNTP newsgroup(s).