Re: keep state "issue" / possible feature for the future?

This is a discussion on Re: keep state "issue" / possible feature for the future? within the IPFilter forums, part of the System Security and Security Related category; On 2007-03-02 15:18, Tom Ploegmakers rudely top-posted: > Quoting Jefferson Ogata (Jefferson.Ogata@noaa.gov): >&...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2007
Jefferson Ogata
 
Posts: n/a
Default Re: keep state "issue" / possible feature for the future?

On 2007-03-02 15:18, Tom Ploegmakers rudely top-posted:
> Quoting Jefferson Ogata (Jefferson.Ogata@noaa.gov):
>> Is this (or at least the original poster's issue) not something that is
>> controlled via ip_strict_dst_multihoming?

>

[snip]
> I send a (UDP) request to the address in the other network and the server
> decides to answer via the 'direct' route using an IP address in my network.
> I have to start reading docs, but i think TCP will not do this.


TCP obviously has to respond from the IP address that was the
destination of the connection request. This is handled by the kernel as
part of connection establishment. But the source IP used in reply
traffic is independent of what interface is used to transmit that
traffic. The interface to be used is determined by the routing table,
but ip_strict_dst_multihoming, when enabled, ought to tweak that.

With UDP, there is no connection establishment. It is thus up to the UDP
service to choose what IP address to transmit traffic from. Well-written
UDP services (e.g. BIND, ntpd), create a distinct socket for each
service IP so that they can easily tell which IP was the destination for
a given inbound request datagram, and send response traffic using the
same socket. Again, the actual interface chosen for the response traffic
is determined not by the source IP, but by the destination IP, but
ip_strict_dst_multihoming should control this if the strong ES model is
correctly implemented.

For NFS, there's a good chance you're better off using TCP anyway.

--
Jefferson Ogata <Jefferson.Ogata@noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt@noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:55 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0