Amanda-Users

Re: Amcheck and amdump port usage?

2004-09-13 16:59:18
Subject: Re: Amcheck and amdump port usage?
From: KEVIN ZEMBOWER <KZEMBOWE AT jhuccp DOT org>
To: amanda-users AT amanda DOT org
Date: Mon, 13 Sep 2004 16:54:33 -0400
Michael, thank you for taking the time to try to help me. Please see my further 
questions below.

>>>> Michael Loftis <mloftis AT wgops DOT com> 09/13/04 03:04PM >>>
>
>--On Monday, September 13, 2004 14:24 -0400 KEVIN ZEMBOWER 
><KZEMBOWE AT jhuccp DOT org> wrote:

> 1. The tapehost makes a 'start backup' request of the client, originating
> on port 850-854 to port 10080-10083 using UDP. The contents of the packet
> contain a port number in the range 850-854 which is open on the tapehost,
> listening for TCP connections.
>
>Your steps are pretty wrong so lets start over......
>
>1. tapehost makes 'start backup, estimate/etc' call to amandad over UDP on 
>remote (usually 10080) client sends back response(s) to udp port 
>(udpportrange).
>

The UDP packet is sent from the tapehost from which port? Is it correct that it 
always goes to port 10080 on the client, no matter what is defined in the 
compilation of amanda with --with-portrange --with-udpportrange or 
--with-tcpportrange? 

Which port on the client does the response come from?

>2. after response/receipt of estimates (Assuming backup run) at some point 
>later the server sends start backup, this packet contains a tcp port to 
>connect to on the server in the tcpportrange/portrange (these are the 
>same).  the client may also connect to amandaidx on the tape server as well 
>to transmit indices at this time (I can't remember, and it does depend on 
>the index option in the dumptype config).  Once connected the client begins 
>transmitting backup data to the server.
>

Is it correct that the packet of 'start backup' from the tapehost is sent UDP?  
From which port on tapehost? What port on the client is it addressed to? Is it 
the same ports on both tapehost and client as the ports in step 1? 

Is the amandaidx port on the tapehost always 10082/tcp, regardless of the 
--with-???portrange switches?

>
>That's it, two (ish) step process.  If it's a check request it just does a 
>test to see if it can get an estimate or backup by dispatching the 
>appropriate commands on the client side, then responding back to the 
>tapehost on the indicated UDP port (udpportrange).  If it's going to be a 
>backup then further TCP connections will be made to the ports indicated 
>when the backup starts.  For estimates they come back via UDP packets. 

And, again, the packet is UDP, from which port on the client to which port on 
the tapehost? Same as in step 1?

> No 
>TCP connections are made to udpportrange, and the server never connects to 
>the client.
>
>The server doesn't tell the client to start backup until it's ready for 
>data to flow to it.

Thanks, again, for your patience in answering these questions.

-Kevin




<Prev in Thread] Current Thread [Next in Thread>