When I turn it on https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html I guess it's IP_ Dynaddr - Boolean. If set non-zero, enables support for dynamic addresses. If set to a non-zero value larger than 1, a kernel log message will be printed when dynamic address rewriting occurs.Default : 0. Should it be set to 1 to send packets disguised as IP? But when I use vi IP_ dynaddr To modify and save the prompt: "IP"_ dynaddr" E212: Can't open file for writing“. So I used Chmod 777 ip_ dynaddr authority, display error: Chmod: changing permissions of 'IP_ dynaddr': Operation not permitted. I use chaddr - i ip_dynaddr command to removes attributes and displays an error: chattr: Inappropriate ioctl for device while reading flags on ip_dynaddr. How to set dynaddr?
On Wed, Dec 23, 2020 at 10:51 PM Dan Ritter <d...@randomstring.org> wrote: > zhang yang wrote: > > When I write a raw socket to send packets in Linux C, it shows: > > WARNNING:The current server does not support IP spoofing. > > How to set up debian8 system to use this function > > 1. Read > https://www.kernel.org/doc/html/latest/networking/ip-sysctl.html > > 2. Install a Debian 10 (stable) system. Debian supports > upgrading in place to 9, then 10. If you're doing spoofing, you > are security-conscious; if you are security-conscious, you > should be running stable, not old-old-stable. > > 3. Alternatively, you don't mean to be spoofing and your problem > is in your code. > > -dsr- >