in reply to How to add payload in raw socket
$src_host = "192.1.2.2"; # The source IP/Hostname $dst_host = "192.1.2.3"; # The Destination IP/Hostname
I believe the addresses you are using are real Internet addresses. The private addresses are:
| 24-bit block | 10.0.0.0 - 10.255.255.255 |
| 20-bit block | 172.16.0.0 - 172.31.255.255 |
| 16-bit block | 192.168.0.0 - 192.168.255.255 |
If you are behind a NAT firewall/router, it doesn't matter since those addresses aren't visible to the Internet. But if you are using a non-NAT device to get to the internet, those addresses will be routed on the Internet and may give you some strange and interesting results :-)
Good Luck...Ed
"Well done is better than well said." - Benjamin Franklin
|
|---|