Re: Sending a packet to the loopback address.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have some suggestion don't know whether it works or not,

1.) try disable the lo interface
or
2.) change the 127.0.0.1's netmask to some other subnet. like /32, /31 ...etc.


rgds,
kennyen


----- Original Message ----- From: "Steve Iribarne" <steve.iribarne@xxxxxxxxxxxxxxxxxxxxx>
To: <linux-net@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 05, 2005 7:55 AM
Subject: Sending a packet to the loopback address.



I need to be able to send a packet destined for the loopback address (i.e. 127.10.10.1 or some such address) out onto the wire. (eth0, eth1 whatever)

I have seen some documentation on a packet path with the old 2.4 kernel but the 2.6 kernel is completely different.

Can anyone point me to documentation on this? Or if not point me to the function that would best be "hacked" to get this to work.

My guess is I will have two places to hack:

1.  Somewhere in ip_output.c

2.  Somewhere in arp.c

thanks in advance.


Steve Iribarne Dilithium Networks

TEL: +1 707 792 3920
FAX: +1 707 795 3744

steve.iribarne@xxxxxxxxxxxxxxxxxxxxx


Communications for a Borderless World

This electronic message contains information from Dilithium Networks Pty Ltd which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately.

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


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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux