Re: Changing TTL of incoming packets?
- From: "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx>
- Date: Tue, 15 Nov 2005 10:25:58 +0200
Just play with raw sockets and change TTL field in IP header , look at
RFC791 where it is but be aware that dummy header have to be changed too ,
to better understanding learn the steps of raw socket game from
http://www.codeguru.com/network/tcpip_lib31.html
Arkady
"Angel Tsankov" <fn42551@xxxxxxxxxxxxxxxx> wrote in message
news:O%23uqPha6FHA.3276@xxxxxxxxxxxxxxxxxxxxxxx
>
> "Pavel A." <pavel_a@xxxxxxxxxxxxxxx> wrote in message
> news:uNk4ulW6FHA.2036@xxxxxxxxxxxxxxxxxxxxxxx
>> "Angel Tsankov" <fn42551@xxxxxxxxxxxxxxxx> wrote in message
>> news:uq4cdJW6FHA.252@xxxxxxxxxxxxxxxxxxxxxxx
>>> Well, let's concentrate on the gateway case. When the gateway receives a
>>> packet (from the Internet) it usually has to forward it to the host
>>> that's waiting for it. Unfortunately, if the TTL is 1 the gateway will
>>> drop the packet and the host will get nothing. Can I change the TTL of
>>> packets from 1 to, say, 2 in order to avoid this problem?
>>
>> Depends on who are you. If you are (in) the gateway, you can.
>>
>> --PA
>
> Yes, I am in the gateway. How do I do it?
.
- Follow-Ups:
- Re: Changing TTL of incoming packets?
- From: Angel Tsankov
- Re: Changing TTL of incoming packets?
- From: Arkady Frenkel
- Re: Changing TTL of incoming packets?
- References:
- Changing TTL of incoming packets?
- From: Angel Tsankov
- Re: Changing TTL of incoming packets?
- From: rounner
- Re: Changing TTL of incoming packets?
- From: Angel Tsankov
- Re: Changing TTL of incoming packets?
- From: Arkady Frenkel
- Re: Changing TTL of incoming packets?
- From: Angel Tsankov
- Re: Changing TTL of incoming packets?
- From: Pavel A.
- Re: Changing TTL of incoming packets?
- From: Angel Tsankov
- Changing TTL of incoming packets?
- Prev by Date: Re: Multithread safety
- Next by Date: Re: Changing TTL of incoming packets?
- Previous by thread: Re: Changing TTL of incoming packets?
- Next by thread: Re: Changing TTL of incoming packets?
- Index(es):
Relevant Pages
|
Loading