Hello!
I want to bring smth. about 'diald' to your attn.
First of all it's about 'diald 0.16 -1997.01.28'; if you think this is too
old to discuss about it then forget it... ;-(
I'm using it on a Linux box (2.0.x, i386) to bring up my PPP dial-up
link to an local ISP. I've got a regular PPP account (__dynamic__ IP address).
I've noticed that every time I try to access some remote sites AND the PPP
link is NOT yet UP I cannot connect to those sites EVEN if diald does it
job bringin' up the PPP link.
Here is my /etc/diald/diald.options :
____________________________
device /dev/ttyS0
include /etc/diald/standard.filter
mode ppp
accounting-log /var/log/diald.log
local 192.168.0.10
remote 192.168.0.15
netmask 255.255.255.0
dynamic
defaultroute
strict-forwarding
ip-up /etc/diald/ip-up
#ip-down /etc/diald/ip-down
connect "/usr/sbin/chat -f /etc/ppp/ppp-connect-with-diald"
#disconnect "/etc/ppp/chat -f /etc/ppp/chat.hangup"
device /dev/ttyS0
lock
modem
crtscts
keepalive 255
debug VERBOSE
include /etc/diald/standard.filter
_____________________________
As you can see I'm using some private IP addr. for the local and Point to
Point addr. associated with the 'sl0' if. maintained by diald.
Since I'm very curious by nature and I wanted to see what happens I've used
'tcpdump' to watch the 'sl0' if. BEFORE diald brings up the PPP link and the
'ppp0' if. AFTER diald brings up the PPP link.
The fact is that IP datagrams which diald sends from its internal buffers
(i.e. the ones it buffered while the PPP link was DOWN)
over the PPP link AFTER this is UP have as Source IP address the private
address known to diald as 'local' (i.e. the one on 'my side' of the
Point to Point link set up by diald and associated with the if. 'sl0') !!!!
I think this is WRONG and now I know why I cannot connect to remote sites
BEFORE the PPP link is UP...
The fact is that the PPP server I'm connecting to either drops them
(since they're coming from an EXTERNAL net and have as source IP a
NON-ROUTABLE address) or takes them in consideration but who knows where
the response to my datagrams will go since there are maybe thousands of
hosts with the IP address '192.168.0.10' (of course in different private
nets...)
AFTER the PPP link is UP everything works O.K. ! (I think this is due to
the way routes are set up when the PPP comes up...)
So, my question is:
Shouldn't diald perform some kind of 'Address Translation' (i.e. from the
'local', private one to the PPP-dynamically assigned one which happens to be
routable) when is passing packets it stored in its internal buffers to
the PPP interface ?? (It should not be as difficult as IPMasq since it will
transfer ONLY ONE IP addr. to ANOTHER ONE).
But then again I might be wrong; please correct me if so...
Waiting for yor response,
Cristian
PS.
If any one from the linux-net list cares to respond to this message
please send it directly to my adrr. and with a CC: to the list (or the other
way around) since I'm NOT a subscriber of this list... Thanx in advance...
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]