Linux Netfilter discussions
 help / color / mirror / Atom feed
* REDIRECT changes DST address of the packet
@ 2005-06-30  7:07 Venkata Narayana
  0 siblings, 0 replies; 4+ messages in thread
From: Venkata Narayana @ 2005-06-30  7:07 UTC (permalink / raw)
  To: netfilter

Hello,

I am new to this mailing list sorry If I ask any thing
wrong.

My question is if I use REDIRECT action in PREROUTINg
rule is it going to change the tcp packet DST address.

If I lose original DST address, how can I persist that
value in that packet.

Help me !!!

Thanks in advance.

Nari.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* REDIRECT changes DST address of the packet
@ 2005-06-30  7:29 Venkata Narayana
  2005-06-30  7:46 ` George Alexandru Dragoi
  2005-07-05 15:46 ` Jason Lunz
  0 siblings, 2 replies; 4+ messages in thread
From: Venkata Narayana @ 2005-06-30  7:29 UTC (permalink / raw)
  To: netfilter

Hello,
 
 I am new to this mailing list sorry If I ask any
 thing wrong.

 My question is if I use REDIRECT action in
 PREROUTINg
 rule is it going to change the tcp packet DST
 address.
 
 If I lose original DST address, how can I persist
 that
 value in that packet.
 
 Help me !!!
 
 Thanks in advance.
 
 Nari.
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: REDIRECT changes DST address of the packet
  2005-06-30  7:29 REDIRECT changes DST address of the packet Venkata Narayana
@ 2005-06-30  7:46 ` George Alexandru Dragoi
  2005-07-05 15:46 ` Jason Lunz
  1 sibling, 0 replies; 4+ messages in thread
From: George Alexandru Dragoi @ 2005-06-30  7:46 UTC (permalink / raw)
  To: Venkata Narayana; +Cc: netfilter

Yes, it is changed to a local address i think (or loopback one). The
original address is restored after routing by NAT system to packets
which comes back (as source address).


>  If I lose original DST address, how can I persist
>  that
>  value in that packet.

Well, i didn't quite get this last worry of you.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: REDIRECT changes DST address of the packet
  2005-06-30  7:29 REDIRECT changes DST address of the packet Venkata Narayana
  2005-06-30  7:46 ` George Alexandru Dragoi
@ 2005-07-05 15:46 ` Jason Lunz
  1 sibling, 0 replies; 4+ messages in thread
From: Jason Lunz @ 2005-07-05 15:46 UTC (permalink / raw)
  To: netfilter

mesg2nari@yahoo.com said:
>  I am new to this mailing list sorry If I ask any thing wrong.
>
>  My question is if I use REDIRECT action in PREROUTINg rule is it
>  going to change the tcp packet DST address.
>  
>  If I lose original DST address, how can I persist that value in that
>  packet.

I think you're looking for the SO_ORIGINAL_DST sockopt.

Jason



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-05 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30  7:29 REDIRECT changes DST address of the packet Venkata Narayana
2005-06-30  7:46 ` George Alexandru Dragoi
2005-07-05 15:46 ` Jason Lunz
  -- strict thread matches above, loose matches on Subject: below --
2005-06-30  7:07 Venkata Narayana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox