colorsit123
asked on
ICMP Code: 10 (Host administratively prohibited)
I am writing a program make the function packet forwarding.
I have a pc with two ether card A and B.
I disabled ip forwarding.
I use raw socket to capture packet from ether A, and then send this packet through ether B. However, I receive this ICMP error: Code: 10 (Host administratively prohibited).
I think this error cause by I was disabled ip forwarding, but I don't know how to fix it.
And if I turn on ip forwarding, how to configuration for ether A don't forward some kind of packet though ether B like that: tcp packet?
I need help.
Thanks!!!
I have a pc with two ether card A and B.
I disabled ip forwarding.
I use raw socket to capture packet from ether A, and then send this packet through ether B. However, I receive this ICMP error: Code: 10 (Host administratively prohibited).
I think this error cause by I was disabled ip forwarding, but I don't know how to fix it.
And if I turn on ip forwarding, how to configuration for ether A don't forward some kind of packet though ether B like that: tcp packet?
I need help.
Thanks!!!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER