|
|
|
Re: Sending a packet with 127.0.0.2 source address | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Thanks for your advice. But it is not the way :( This feature( of sending packets with source of 127.x subnet ) will be used in other software and I would not like to modify it so deeply. But I have already found a workaround - the source address checking takes palce in route.c in __mkroute_output() function by if (ipv4_is_loopback(fl->fl4_src) && !(dev_out->flags&IFF_LOOPBACK)) return -EINVAL; I'll try to comment it and test ping's behaviour but I can do that only tomorrow. 2009/4/26 Satish Chandra Kilaru <iam.kilaru@xxxxxxxxx>: > Try modifying ping source code. Ping uses raw sockets. You can create > your own IP header with that. > > --Satish > -- Best regards Anatoly Muliarski -- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux 802.1Q VLAN] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Git] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux PCI] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]