vault backup: 2024-12-05 15:45:24
72
.obsidian/workspace.json
vendored
@@ -38,33 +38,43 @@
|
||||
{
|
||||
"id": "9c276221889aa33a",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "image",
|
||||
"state": {
|
||||
"file": "TERCERO/ATR1/images/Pasted image 20241127110759.png"
|
||||
},
|
||||
"icon": "lucide-image",
|
||||
"title": "Pasted image 20241127110759"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "fdf44efc147788ae",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "image",
|
||||
"state": {
|
||||
"file": "TERCERO/ATR1/images/Pasted image 20241127111215.png"
|
||||
},
|
||||
"icon": "lucide-image",
|
||||
"title": "Pasted image 20241127111215"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "1ca3e3801d0cdb51",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "TERCERO/IA/Teoría_2425.md",
|
||||
"file": "TERCERO/ATR1/Teoría_2425.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "Teoría_2425"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ac6226a7980625a3",
|
||||
"type": "leaf",
|
||||
"state": {
|
||||
"type": "markdown",
|
||||
"state": {
|
||||
"file": "conflict-files-obsidian-git.md",
|
||||
"mode": "source",
|
||||
"source": false
|
||||
},
|
||||
"icon": "lucide-file",
|
||||
"title": "conflict-files-obsidian-git"
|
||||
}
|
||||
}
|
||||
],
|
||||
"currentTab": 3
|
||||
"currentTab": 4
|
||||
}
|
||||
],
|
||||
"direction": "vertical"
|
||||
@@ -217,25 +227,25 @@
|
||||
"obsidian-git:Open Git source control": false
|
||||
}
|
||||
},
|
||||
"active": "ac6226a7980625a3",
|
||||
"active": "1ca3e3801d0cdb51",
|
||||
"lastOpenFiles": [
|
||||
"TERCERO/IA/Teoría_2425.md",
|
||||
"conflict-files-obsidian-git.md",
|
||||
"Pasted image 20241127111215.png",
|
||||
"Pasted image 20241127110759.png",
|
||||
"Pasted image 20241202205510.png",
|
||||
"TERCERO/SPD/Teoría_2425.md",
|
||||
"Pasted image 20241202214411.png",
|
||||
"Pasted image 20241202214354.png",
|
||||
"Pasted image 20241202214247.png",
|
||||
"Pasted image 20241202214242.png",
|
||||
"Pasted image 20241202214114.png",
|
||||
"Pasted image 20241202214112.png",
|
||||
"Pasted image 20241202213603.png",
|
||||
"TERCERO/SS/SS Lab.md",
|
||||
"SEGUNDO/IISSI1/Teoría_2324.md",
|
||||
"TERCERO/ATR1/images/Pasted image 20241204111952.png",
|
||||
"TERCERO/ATR1/images/Pasted image 20241204111556.png",
|
||||
"TERCERO/ATR1/images/Pasted image 20241204110546.png",
|
||||
"TERCERO/ATR1/images/Pasted image 20241204105723.png",
|
||||
"TERCERO/ATR1/images/Pasted image 20241204105459.png",
|
||||
"TERCERO/ATR1/Teoría_2425.md",
|
||||
"TERCERO/SPD/Teoría_2425.md",
|
||||
"TERCERO/SPD/images/Pasted image 20241202205510.png",
|
||||
"TERCERO/SPD/images/Pasted image 20241202214411.png",
|
||||
"TERCERO/SPD/images/Pasted image 20241202214354.png",
|
||||
"TERCERO/SPD/images/Pasted image 20241202214247.png",
|
||||
"TERCERO/SPD/images/Pasted image 20241202214242.png",
|
||||
"TERCERO/SS/SS 24-25.md",
|
||||
"TERCERO/SS/SS Lab.md",
|
||||
"conflict-files-obsidian-git.md",
|
||||
"SEGUNDO/IISSI1/Teoría_2324.md",
|
||||
"Untitled.md",
|
||||
"TERCERO/ATR1/Resolución 1 Parcial ATR1.md",
|
||||
"TERCERO/ATR1/Ejercicios.md",
|
||||
|
||||
@@ -489,3 +489,57 @@ Se guardan en cada mensaje y permiten señalar si se ha marcado para borrar, si
|
||||
![[Pasted image 20241127111215.png]]
|
||||
**UID fetch:** permite obtener determinados datos sobre determinados mensajes.
|
||||
**IDLE:** permite al cliente permanecer a la espera de actualizaciones del buzón.
|
||||
# <mark style="background: #FFF3A3A6;">TEMA 5: Servicio de transferencia de ficheros</mark>
|
||||
## <mark style="background: #ADCCFFA6;">1. TFTP</mark>
|
||||
Es un protocolo muy simple y **NO** fiable (usa UDP, puerto 69). Sin carpetas ni encriptación.
|
||||
### <mark style="background: #FFB86CA6;">Mensajes TFTP</mark>
|
||||
Códigos de operación:
|
||||
- 01: RRQ (Read Request): petición de lectura
|
||||
- 02: WRQ (Write Request): petición de escritura
|
||||
- 03: DATA
|
||||
- 04: ACK
|
||||
- 05: Mensaje de error
|
||||
Son de longitud variable según el opcode.
|
||||
![[Pasted image 20241204105459.png]]
|
||||
#### <mark style="background: #D2B3FFA6;">RRQ - WRQ</mark>
|
||||
![[Pasted image 20241204105723.png]]
|
||||
- Primer mensaje que se envía al puerto del cliente para descargar un archivo.
|
||||
- Después de RRQ aparece un DATA o error.
|
||||
- Modo de transmisión: "netascii" u "octet".
|
||||
- N opciones con N valores
|
||||
- El formato de WRQ es el mismo que RRQ pero con opcode = 02
|
||||
- Después de WRQ aparece un ACK o error
|
||||
#### <mark style="background: #D2B3FFA6;">DATA - ACK</mark>
|
||||
![[Pasted image 20241204110546.png]]
|
||||
- Número de bloque: 1-65535 (garantiza el orden de los datos)
|
||||
- El formato de ACK es el mismo que el de DATA pero con opcode = 04 y sin bloques de datos.
|
||||
- El último bloque (del fichero) se reconoce porque mide menos de 512B.
|
||||
- **Problema:** con archivos largos, la pérdida de un mensaje significa la necesidad de retransmitir TODO el fichero, si antes se solicita.
|
||||
#### <mark style="background: #D2B3FFA6;">Error</mark>
|
||||
![[Pasted image 20241204111556.png]]
|
||||
- Código de error: causa del error
|
||||
- 0 - No definido (ver cadena explicativa)
|
||||
- 1 - File not found
|
||||
- 2 - Access violation (no hay permiso r/w para acceder al fichero)
|
||||
- 3 - Disk full
|
||||
- 6 - File already exists
|
||||
## <mark style="background: #ADCCFFA6;">2. FTP</mark>
|
||||
![[Pasted image 20241204111952.png]]
|
||||
- Transferencia de ficheros entre hosts remotos.
|
||||
- Paradigma Cliente-Servidor, Comando-Respuesta.
|
||||
- Transferencia fiable (TCP; puertos 20 y 21).
|
||||
- Usa dos conexiones:
|
||||
- **Datos:** transferir los datos
|
||||
- **Control:** permite al usuario moverse por el sistema de ficheros, descargar y subir archivos.
|
||||
- Los parámetros de conexión se negocian en el establecimiento:
|
||||
- Puerto de datos
|
||||
- Modo de conexión: activo/pasivo
|
||||
- **Activo:** el servidor crea la conexión de datos.
|
||||
- **Pasivo:** el servidor espera a que el cliente cree la conexión de datos.
|
||||
- Modo de transferencia: ASCII/bin
|
||||
## <mark style="background: #ADCCFFA6;">3. Comandos</mark>
|
||||
- **USER:** username
|
||||
- **PASS:** password
|
||||
- **LIST** lista de archivos de un directorio
|
||||
- **RETR _filename_:** transfiere el archivo indicado
|
||||
- **STOR _filename_:** almacena en el servidor el archivo indicado
|
||||
|
||||
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
BIN
TERCERO/ATR1/images/Pasted image 20241204105459.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
TERCERO/ATR1/images/Pasted image 20241204105723.png
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
TERCERO/ATR1/images/Pasted image 20241204110546.png
Normal file
|
After Width: | Height: | Size: 9.2 KiB |
BIN
TERCERO/ATR1/images/Pasted image 20241204111556.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
TERCERO/ATR1/images/Pasted image 20241204111952.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
@@ -1,18 +0,0 @@
|
||||
# Conflicts
|
||||
Please resolve them and commit them using the commands `Git: Commit all changes` followed by `Git: Push`
|
||||
(This file will automatically be deleted before commit)
|
||||
[[#Additional Instructions]] available below file list
|
||||
|
||||
- Not a file: .obsidian/workspace.json
|
||||
- [[conflict-files-obsidian-git]]
|
||||
|
||||
# Additional Instructions
|
||||
I strongly recommend to use "Source mode" for viewing the conflicted files. For simple conflicts, in each file listed above replace every occurrence of the following text blocks with the desired text.
|
||||
|
||||
```diff
|
||||
<<<<<<< HEAD
|
||||
File changes in local repository
|
||||
=======
|
||||
File changes in remote repository
|
||||
>>>>>>> origin/main
|
||||
```
|
||||