Re: faking source address in Java

New Message Reply About this list Date view Thread view Subject view Author view

Ge' Weijers (ge@Progressive-Systems.Com)
Fri, 25 Sep 1998 11:38:02 -0400 (EDT)


A normal IP stack will not willingly do this if the IP address is not
associated with one of the network interfaces. Even in C you have to open
a raw socket and fake the UDP packet yourself, for which you'll need root
privileges if you're on a Unix (NT?) system. So even if Java had an
interface to do this it could not complete the operation unless root was
running the application.

Ge'

On Thu, 24 Sep 1998, David Honig wrote:

>
> I'd like to modify the *source* address of UDP datagrams
> sent from an application written in Java. Anyone know
> how to do this? Levels below DatagramPackets seem opaque...
>

-
Ge' Weijers Voice: (614)326 4600
Progressive Systems, Inc. FAX: (614)326 4601
2000 West Henderson Rd. Suite 400, Columbus OH 43220


New Message Reply About this list Date view Thread view Subject view Author view

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

The following archive was created by hippie-mail 7.98617-22 on Sat Apr 10 1999 - 01:14:01