This is a discussion on Are IP addresses reliable? within the PHP General forums, part of the PHP Programming Forums category; I wanna know that is there a way to forge someone's IP address? for example, I have a client ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I wanna know that is there a way to forge someone's IP address? for example, I have a client with an static ip address, and she is a superuser. Can i rely on her IP address? or somebody else can forge her IP? I don't want her to enter a username and a password..
Cheers, Daniel --------------------------------- Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. |
|
|||
|
On 6/16/07, PHP Developer <developerphp@yahoo.com> wrote:
> I wanna know that is there a way to forge someone's IP address? for example, I have a client with an static ip address, and she is a superuser. Can i rely on her IP address? or somebody else can forge her IP? I don't want her to enter a username and a password.. > Cheers, > Daniel Only if she is running a proxy server, or has her computer open in some way that someone can connect through her computer, then somebody can use her IP. else it is fine to rely on her IP. Tijnema |
|
|||
|
On Sat, 16 Jun 2007, PHP Developer wrote: > I wanna know that is there a way to forge someone's IP address? for > example, I have a client with an static ip address, and she is a > superuser. Can i rely on her IP address? or somebody else can forge her > IP? I don't want her to enter a username and a password.. For purposes of above question only (and assuming application is PHP and thus running on HTTP which is TCP-based protocol) the answer is that you can rely on the ip address. For general purposes the answer is you can forge ip address and can not rely on them (due to NAT and other issues) but its very very not easy and a lot depends on protocol in question. -- William Leibzon Elan Networks william@elan.net |
|
|||
|
On 6/16/07, william(at)elan.net <william@elan.net> wrote:
> > On Sat, 16 Jun 2007, PHP Developer wrote: > > > I wanna know that is there a way to forge someone's IP address? for > > example, I have a client with an static ip address, and she is a > > superuser. Can i rely on her IP address? or somebody else can forge her > > IP? I don't want her to enter a username and a password.. > > For purposes of above question only (and assuming application is PHP and > thus running on HTTP which is TCP-based protocol) the answer is that you > can rely on the ip address. For general purposes the answer is you can > forge ip address and can not rely on them (due to NAT and other issues) > but its very very not easy and a lot depends on protocol in question. > > -- > William Leibzon > Elan Networks > william@elan.net > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > If it's something very mission-critical and/or top secret, NEVER strictly rely on the IP. In fact, IP spoofing is one of the very basic fundamentals in "hackology" and is not only rather easy to do, but also rather common. I'd suggest doing a hash of the system (similar to what the default SSH client on Linux does) and using that, which is a lot more difficult to duplicate. -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 |