Diferencia entre revisiones de «Cuestións resoltas sobre pfSense»
| Línea 307: | Línea 307: | ||
# HAProxy. | # HAProxy. | ||
# Packet sniffing mode, packet logging mode, and network intrusion prevention mode. Fonte: [https://en.wikipedia.org/wiki/Snort_(software)#Uses Modos de Snort] | # Packet sniffing mode, packet logging mode, and network intrusion prevention mode. Fonte: [https://en.wikipedia.org/wiki/Snort_(software)#Uses Modos de Snort] | ||
| + | # TCP, UDP e ICMP. Fonte: [https://paginas.fe.up.pt/~mgi98020/pgr/writing_snort_rules.htm#protocols Protocolos nas regras Snort] | ||
# Ntopng, nmap, Zabbix, Suricata,.... | # Ntopng, nmap, Zabbix, Suricata,.... | ||
# Un axente Zabbix recolle información do host local e pásalla o servidor Zabbix; un proxy Zabbix recolle information de hosts e é capaz de interactuar co servidor Zabbix server de xeito que a carga é distribuída. | # Un axente Zabbix recolle información do host local e pásalla o servidor Zabbix; un proxy Zabbix recolle information de hosts e é capaz de interactuar co servidor Zabbix server de xeito que a carga é distribuída. | ||
Revisión del 12:10 8 abr 2021
Sumario
- 1 Pregunta 1 – Introducción á ferramenta
- 2 Pregunta 2 – Instalación
- 3 Pregunta 3 – Usuarios y grupos
- 4 Pregunta 4 – Actualizacións do sistema e copias de seguridade
- 5 Pregunta 5 – Configuración de Squid Proxy
- 6 Pregunta 6 – Configuración pfBlocker-NG
- 7 Pregunta 7 – Configuración de Port Forwarding
- 8 Pregunta 8 – Creación dunha entidade certificadora (Certificate Authority) e certificados para o servidor e os nosos clientes
- 9 Pregunta 9 – Configuración OpenVPN para la conexión vpn a nuestra red interna
- 10 Pregunta 10 – Creación e comprobación de reglas de filtrado
- 11 Pregunta 11 – Limitación do ancho de banda nas nosas redes
- 12 Pregunta 12 – Configuración del acceso a la consola de administración usando SSH
- 13 Pregunta 14 – Uso de Regular Expressions
- 14 Pregunta 15 – Bloqueo de páxinas web por DNS
- 15 Pregunta 16 – Configura DNS dinámicos como OpenDNS
- 16 Pregunta 17 – Bloqueo de descarga de ficheiros polo tipo de extensión
- 17 Pregunta 18 – Configuración de SafeSearch
- 18 Pregunta 19 – Configuración do DHCP Server
- 19 Pregunta 20 – Configuración DNS
- 20 Pregunta 21 – Configuración de notificacións
- 21 Pregunta 22 – Portal cautivo
- 22 Pregunta 23 - Cuestións básicas de pfSense
- 23 Pregunta 24 - Cuestións avanzadas de pfSense
- 24 Pregunta 25 - Configuración de VLANs
- 25 Pregunta 26 - Filtrado de tráfico con reglas
- 26 Pregunta 27 - NAT
- 27 Pregunta 28 - Traffic Shaping
- 28 Pregunta 29 - VPN
- 29 Pregunta 30 - Redundancia e alta disponibilidade
- 30 Pregunta 31 - Múltiples WANs
- 31 Pregunta 32 - Routing e bridging
- 32 Pregunta 33 - Paquetes para extender pfSense
- 33 Pregunta 34 - Diagnóstico e troubleshooting
Pregunta 1 – Introducción á ferramenta
Cuestións
- Qué é PfSense?
- Qué funcionalidades ten?
- Cales de ellas coñeces?
- Por qué xurdíu OpnSense e en qué se diferencian?
- Qué outras ferramentas con funcionalidade de firewall coñeces?
Solucións
Pregunta 2 – Instalación
Pregunta 3 – Usuarios y grupos
Pregunta 4 – Actualizacións do sistema e copias de seguridade
Pregunta 5 – Configuración de Squid Proxy
Pregunta 6 – Configuración pfBlocker-NG
Pregunta 7 – Configuración de Port Forwarding
Pregunta 8 – Creación dunha entidade certificadora (Certificate Authority) e certificados para o servidor e os nosos clientes
Pregunta 9 – Configuración OpenVPN para la conexión vpn a nuestra red interna
Pregunta 10 – Creación e comprobación de reglas de filtrado
Pregunta 11 – Limitación do ancho de banda nas nosas redes
Pregunta 12 – Configuración del acceso a la consola de administración usando SSH
Pregunta 14 – Uso de Regular Expressions
Pregunta 15 – Bloqueo de páxinas web por DNS
Pregunta 16 – Configura DNS dinámicos como OpenDNS
Pregunta 17 – Bloqueo de descarga de ficheiros polo tipo de extensión
Pregunta 18 – Configuración de SafeSearch
Pregunta 19 – Configuración do DHCP Server
Pregunta 20 – Configuración DNS
Pregunta 21 – Configuración de notificacións
Pregunta 22 – Portal cautivo
Pregunta 23 - Cuestións básicas de pfSense
Cuestións
- Cal é o termo que se utiliza para referirse a rede que está separada do resto da rede local e que provee servizos ós usuarios fora da rede local?
- Cales son os requisitos mínimos de pfSense 2.4 no tocante a CPU, RAM e espazo en disco?
- Canta memoria require unha entrada da táboa de estados?
- Por qué e unha boa idea (tanto para pfSense como para a descarga doutro software) facer uso dos checksums?
- Cal é a mellor elección de sistema de ficheiros para unha organización que (a) require sorporte para encriptación a nivel de sistema de ficheiros e data deduplication? (b) require a maior compatibilidade hacia atrás posible?
- Identifica os dous lugares onde se pode facer a asignación de interfaces en pfSense
- Identifica cando menos catro tipos de configuracións válidas para unha interface pfSense
- Cal é a configuración por defecto para as Block Private Networks e os enderezos de loopback ... (a) na interface WAN ? (b) na interface LAN? (c) por qué?
- Identifica dous lugares na interfaz gráfica onde se pode configurar a zona horaria
- Identifica cando menos tres parámetros que poden ser configurados no Setup Wizard
Solucións
- Zona desmilitarizada.
- Mínimos --> CPU: 500 MHz; RAM: 512 MB; espazo en disco: 1 GB. Recomendados --> CPU: 500 MHz; RAM: 512 MB; espazo en disco: 1 GB. Fonte: Documentación oficial de pfSense
- Aproximadamente 1 KB. Fonte: Documentación de pfSense
- Os checksums son importantes para asegurar a integridade dunha descarga; así verificando o checksum dun binario pódese confirmar que a descarga finalizou correctamente e que non foi alterada por un terceiro
- (a) ZFS. (b) UFS Comentarios: Consulta que é a data deduplication
- A través da consola / shell e a través da interface gráfica web
- Posibles respostas válidas: Static; DHCP; PPTP; PPPoE; PPP; L2TP.
- (a) Enabled. (b) Disabled. (c) As Block Private Networks están bloquedas na interface WAN porque os enderezos privados por definición non son enrutables e nunca deberían pasar a través da interface WAN interface. Na interface LAN e outras interfaces locais, o habitual e que queramos que funcionen os enderezos privados
- A través do Setup Wizard e a través de System | General Setup.
- Posibles respostas válidas: Hostname, Domain, DNS Servers, Timezone, NTP Server, WAN Interface, LAN Interface,Password.
Pregunta 24 - Cuestións avanzadas de pfSense
Cuestións
- (a) Qué capa de transporte utiliza DHCP BOOTP? (b) Qué portos utiliza DHCP?
- (a) Qué capa de transporte utiliza BOOTP? (b) Qué portos utiliza BOOTP?
- Cales son os Router Advertisement (RA) flag settings que corresponden a habilitar Stateless DHCP (coñecido coma SLAAC)?
- Cales son os dous servizos que pfSense ten para DNS?
- (a) Qué capa de transporte utiliza DNS? (b) Qué portos utiliza DNS?
- Que ventaxa ten DDNS sobre os o servizo tradicional DNS?
- Qué tres tipos de autenticación soporta o servico de portal cautivo de pfSense?
- Qué campo debe existir na páxina de login do portal cautivo cando está habilitada a autenticación por voucher?
- Qué son as management information bases (MIBs)?
- Qué e SNMP? CAl é o seu porto por defecto?
Solucións
- (a) Transport Control Protocol (TCP). (b) 67 e 68.
- (a) User Datagram Protocol (UDP). (b) 67 e 68.
- M flag: 0; O flag: 1; L flag: 1; A flag: 1.
- DNS Resolver (por defecto) e DNS Forwarder.
- (a) UDP. (b) 53.
- Pode ser actualizado moito máis rápido que o DNS tradicional facendoo axeitado para escenarios nos que o enderezo IP asociado cun dominio cambia frecuentemente
- User Manager, Voucher, and RADIUS.
- <input name=”auth_voucher” type=”text”>.
- A estrutura na que os datos de xestión son organizados xerárquicamente nun dispositivo xestionada con SNMP. Fonte: Base de información xestionada
- O Protocolo simple de administración de rede ou SNMP (do inglés Simple Network Management Protocol) é un protocolo da capa de aplicación que facilita o intercambio de información de administración entre dispositivos de rede. Os dispositivos que normalmente soportan SNMP incluyen routers, switches, servidores, estacións de traballo, impresoras, bastidores de módem e moitos outros. Permitelles ós administradores supervisar o funcionamiento da rede, buscar e resolver os seus problemas, e planifiar o seu crecemento. Os seus portos por defecto son 161/UDP e 162/UDP (Trap)
Pregunta 25 - Configuración de VLANs
Cuestións
- Cal é o estandar do IEEE para VLAN tagging?
- Calesson os ID numbers míimos e máximos para VLAN tags?
- Nomea dous métodos utilizados para VLAN hopping.
- Cal debe ser o valor do campo priority code point (PCP) para asegurar o tratamento coñecido coma best effort?
- Cal é a principal vantaxe do QinQ VLAN tagging?
- Identifica dúas ventadas do uso de link aggregation.
- Qué regra crea automáticamente o firewall pfSense para unha interface opcional (coma OPT1)?
- Identifica dous tipos de portos que deben ser configurados no switch para que a configuración VLAN quede completada.
- Como se chama o VLAN ID por defecto?
- Identifica métodos para configurar VLANs en switches Cisco.
Solucións
- 802.1Q.
- 1, 4094.
- Switch spoofing, double tagging.
- 7.
- Incrementa o número posible de VLANs (16,752,649 con un único nivel de anidamento, sendo posible un número maior con tamén maior nivel de anidamento).
- Increased throughput (aumento de rendemento) e redundancia.
- Ningunha (temos que crear nos as regras que permiten accesos dende as VLANs a outras redes).
- Trunk ports and VLAN ports.
- PVID.
- Static, Dynamic Trunking Protocol (DTP), VLAN Trunking Protocol (VTP).
Pregunta 26 - Filtrado de tráfico con reglas
Cuestións
- Cndo creamos regras no filtrado, qué principio deberíamos aplicar?
- Cal é a diferenza entre Block e Reject no filtrado de tráfico?
- Our network has two interfaces: WAN and LAN. The only two rules created so far are the IPv4 and IPv6 "Allow LAN to any" rules that pfSense creates when the LAN interface is initially assigned. We create a rule to block Recode with the following settings: Action = Reject; Interface = LAN; Address Family = IPv4 + IPv6; Protocol = TCP; Source = LAN net; Destination = 151.101.21.52 (Recode's IP address). We place the rule at the bottom of the LAN rules table. What happens when we try to access Recode?
Assume we have created the same rule as the one in Question 2, but we place it at the top of the LAN rules table. Now what happens when we try to access Recode?
- Assume we have the same ruleset as Question 2, but we also create a floating rule with the following settings; Action = Pass; Quick = Disabled; Interface = LAN; Direction = in; Address Family = IPv4+IPv6; Protocol = Any; Source = Any; Destination = Any. The Block Recode rule is at the top of the LAN rules table. (a) After we enable the new floating rule, what happens when we try to access Recode? (b) If we change the Quick setting on this rule to Enabled and reload the firewall rules, what happens when we try to access Recode? (c) After we change the Quick setting to Enabled, what effect do the "Allow LAN to any" rules have on traffic?
- Nomea catro tipos de alias.
- Describe tres métodos para crear alias con múltiples enderezos IP.
- Cal é un tipo de Virtual IP introducido con pfSense 2.0?
Solucións
- Principio de mínimo privilegio
- Block descarta o tráfico silenciosamente mentras que Reject devolve un paquete (RST para TCP ou ICMP Port Unreachable para UDP).
- We will be able to connect to Recode; the block rule will have no effect because it was placed after the "Allow LAN to any" rule.
- We will not be able to connect to Recode; the block rule will match the traffic to Recode before the “Allow LAN to any” rule.
- (a) We will not be able to connect to Recode; the new “default allow” rule will be invoked after the block rule. (b) We will be
able to connect to Recode; the new "default allow" rule will be invoked before the block rule. (c) The default "Allow LAN to any" rules have no effect on traffic flow anymore because they are never reached; the floating "default allow" rule is invoked first.
- IP, Network, Port, URL. Fonte: Documentación oficial sobre alias
- (a) Navigate to Firewall | Aliases, click on the IP tab, click on Add, and enter each IP address manually; (b) navigate to Diagnostics | DNS Lookup, perform a DNS lookup, and create an alias from it; (c) navigate to Firewall | Aliases, click on the Import button, do a bulk import.
- IP Alias
Pregunta 27 - NAT
Cuestións
- Name any two technologies other than NAT developed to deal with the issue of IPv4 address exhaustion.
- If we initially install pfSense and configure the interfaces with IPv4 addresses only, do we need to alter the Outbound NAT settings? Why or why not?
- If Automatic Outbound NAT is selected, how many rules are created for each non-WAN interface?
- We have an FTP server that must be made accessible to the internet and also must be accessible within our private network. We want to assign this server its own public IP address. What type of NAT should we use?
- What will happen if we create a Port Forwarding entry and set Filter rule association to None, assuming we do not make any
changes to the firewall rules?
- Why do we normally leave Source set to any on a Port Forwarding entry?
- Assume we want to create a Port Forwarding entry for Remote Desktop Protocol (which normally runs on port 3389), but want to make RDP accessible from the internet on port 7000. (a) What should the Destination port range be set to? (b) What should the Redirect port range be set to?
- (a) Name at least one reason to implement NPt on an IPv6 network. (b) What alternative to NPt does the IETF recommend?
Solucións
- Classless networks (CIDR), private networks (RFC 1918
networks), and IPv6. Any two would be acceptable.
- No; we do not need to alter the Outbound NAT settings because outbound NAT rules were generated for each of the non-WAN interfaces.
- Two rules (one for IPsec and the other for all other traffic).
- 1:1 NAT.
- The port forwarding traffic will be blocked by the firewall.
- We normally don’t care what the source of the incoming traffic is.
- (a) 7000; (b) 3389.
- (a) Multihoming and route aggregation are both valid answers. (b) DHCPv6.
Pregunta 28 - Traffic Shaping
Cuestións
- What is the purpose of traffic shaping?
- (a) Identify the three types of queuing supported by the pfSense traffic shaper. (b) Identify a queuing discipline that tends to
ensure that low-priority traffic is not starved of bandwidth. (c) Identify a queuing discipline that uses a two-part nonlinear curve and decouples bandwidth from latency.
- Can we implement Layer 7 traffic shaping with the built-in pfSense traffic shaper? Assume we are using the current version of pfSense.
- Identify the two wizards with which we can implement traffic shaping in pfSense using the built-in traffic shaper.
- Identify a type of queue which provides for end-to-end notification of network congestion without dropping packets.
- Under which tab can you find the firewall rules generated by the built-in pfSense traffic shaping wizard? (Hint: It is the only rules category that has a Match option for Action.)
- What interfaces are enabled by default when we install Snort?
- How can we determine the length of a pfSense queue?
Solucións
- To ensure that network traffic conforms to certain predefined constraints.
- (a) Priority queuing (PRIQ), class-based queuing (CBQ), and Hierarchical Fair-Service Curve (HFSC). (b) Class-based queuing. (c) Hierarchical Fair-Service Curve.
- No; we can only implement it with third-party packages such as Snort.
- (a) The Multiple Lan/Wan configuration wizard; (b) the Dedicated Links wizard.
- Explicit Congestion Notification.
- The Floating Rules tab.
- None; we have to manually enable each interface.
- By navigating to Status | Queues and looking under the Length column.
Pregunta 29 - VPN
Cuestións
- Name the two most common types of VPN deployments.
- (a) Identify the three VPN protocols supported by the current version of pfSense. (b) Which protocol does not natively support encryption?
- Identify the three protocols encompassed by IPsec.
- If we are setting up an IPsec connection and Key Exchange version is set to Auto, what will happen if we try to initiate a site-to-site connection to (a) a firewall where the Key Exchange version is set to IKEv1? (b) a firewall where the Key Exchange version is set to IKEv2? (Assume that the rest of the configuration is correct.)
- (a) Which port must always be unblocked for IPsec to function? (b) What is the default OpenVPN port?
- What are the three authentication options for L2TP?
- What option was added to the Diffie-Hellman key configurationin pfSense 2.4?
- With OpenVPN, what alternatives are there to authentication through certificates managed through the pfSense Certificate Authority Manager?
Solucións
- Peer-to-peer and client-server.
- (a) IPsec, L2TP, and OpenVPN. (b) L2TP.
- Authentication Headers (AH), Encapsulating Security Protocol (ESP), and Security Association (SA).
- (a) The connection will fail because when the Key Exchange version is set to Auto and pfSense is the initiator, it will use IKEv2 (since the other firewall is using IKEv1, there will be a mismatch). (b) The connection will succeed because pfSense as the initiator will again use IKEv2, and the protocols will match.
- (a) 500; (b) 1194.
- Challenge-Handshake Authentication Protocol (CHAP)], MSCHAPv2, e Password Authentication Protocol (PAP).
- Elliptic-curve Diffie-Hellman (ECDH).
- Lightweight Directory Access Protocol (LDAP) e Remote Authentication Dial-In User Protocol (RADIUS).
Pregunta 30 - Redundancia e alta disponibilidade
Cuestións
- Identify any three types of load balancing algorithms.
- (a) What are the advantages of client-side load balancing? (b) What are the advantages of server-side load balancing?
- What are the two modes of load balancing supported by the built-in pfSense load balancer?
- If I am using pfSense's load balancer and I add a server to a server pool but no traffic from outside the network is reaching the new server (and traffic from outside the network is reaching other servers within the pool), what is the likely cause? Assume that my server pool setup was functioning correctly before I added the server.
- Identify which of the following can be synchronized using pfSense's High Availability Sync. (a) firewall rules; (b) packages; (c) virtual IPs; (d) system logs.
- In a normal CARP configuration, do we need to create a virtual IP for the PFSYNC interface? Why or why not?
- Assume we have a functioning CARP failover group in which all options are selected in Select options to sync on the System | High Availability Sync page. On the backup firewall, we create a new firewall rule. What happens to this rule when we navigate to Status | Filter Reload and on the master firewall and click on the Force Config Sync button?
- Why is it important to set the Advertising frequency in a CARP setup with multiple backup firewalls?
- Assume you are required to implement load balancing on a pfSense firewall using the Least Connections algorithm. What is the easiest way of achieving this?
- Assume that we need to keep CARP disabled through a reboot. How do we do this?
Solucións
- Any three of these: random, round robin, weighed round robin, least connection, least traffic, least latency, IP hash, URL hash, SDN adaptive.
- Client-side load balancing: easy to implement and effective. Server-side load balancing: better able to guarantee load balancing; transparent to client; more secure; we can provide a message to client when all servers are down.
- Load balancing and Failover.
- The most likely cause is that I forgot to update the alias for the server pool to include the new server. Since the firewall rule to allow traffic to pass to the server pool uses this alias, it allows traffic to pass to every server except the new one.
- (a) Yes; (b) no; (c) yes; (d) no.
- No; we do not have to create a virtual IP for the PFSYNC interface because use it to pass synchronization data between firewalls; we don’t want any redundancy on this interface.
- The firewall rule will get overwritten when data is synchronized with the master firewall.
- Because, if the Advertising frequency is the same on two or more backup firewalls, if the master goes down, two or more backup firewalls will try to become master at the same time.
- Use HAProxy and select Least Connections as the load balancing for Balance when configuring the backend.
- Navigate to Status | CARP (failover) and click on the Enter Persistent CARP Maintenance Mode button
Pregunta 31 - Múltiples WANs
Cuestións
- What document is provided by many ISPs that defines the aspects of service to be provided to the client?
- What is policy-based routing?
- (a) If we have two separate internet connections and we want to combine them for bandwidth aggregation, what form of redundancy and high availability should we use in our gateway group? (b) If we have two separate internet connections and we only want to use the secondary connection if the first one is down, what form of redundancy and high availability should we use?
- What will happen if we configure a gateway group and do not add or change the firewall rules? Assume our setup is otherwise correct.
- In a multi-WAN setup, under what circumstances must you add a static route for an external DNS server?
- If we add multi-WAN capabilities to a CARP failover group, how many virtual IPs do we need to add?
- What option can be used to ensure that all traffic to a certain website is routed through the same WAN interface as long as there are states that refer to the connection?
- If you have set up a gateway group with load balancing and an external "what is my IP" website keeps reporting no change in your IP address, what could be the cause? Identify any three causes.
Solucións
- Service-Level Agreement (SLA).
- Routing in which routing decisions are dictated by administrative policy.
- (a) Load balancing. (b) Failover.
- Traffic between local interfaces will be routed through the original WAN interface and will never reach the gateway group; pfSense’s default behavior is to route external traffic to the primary WAN interface.
- You are configuring an OPT_WAN interface and the OPT_WAN’s DNS server is not the same as the Monitor IP. We do not have to configure a static route for the primary WAN interface because external traffic is routed to it by default, and we do not have to configure a static route if the OPT_WAN’s DNS server is the same as the Monitor IP because pfSense will add a static route for the Monitor IP.
- One for each OPT_WAN interface (and one for each 1:1 NAT mapping, if we have any).
- Use Sticky Connections.
- Acceptable answers: The load balancing gateway group isn’t working properly; the web page is cached and therefore isn’t refreshing when we reload it; the connections are weighted such that the secondary connection handles very little traffic; Use Sticky Connections or some other persistent connection option is enabled; other users are on the network and generating a share of the connections going to the nonprimary connections.
Pregunta 32 - Routing e bridging
Cuestións
- What is the key difference between routing and bridging?
- (a) What class of routing protocols involves a router only informing its neighbors of topology changes? (b) What class of routing protocols involves each router constructing a map of its connectivity to the network?
- Identify two methods we can use to deal with the problem of return traffic not following the same route as the traffic originally sent when configuring static routes.
- (a) We want to utilize RIP v2 as our routing protocol. What pfSense package should we install? (b) We want to utilize OSPF as our routing protocol. What pfSense package can we use?(Identify either one.) (c) What is the best choice if we want to redistribute OSPF routes to BGP neighbors?
- What is the first step in implementing policy-based routing?
- Identify the two spanning tree protocols supported by pfSense bridging.
- We have a CARP failover group and we want to bridge two interfaces on the failover group. What issue will this cause?
- (a) What diagnostic tool found in the pfSense web GUI can we use to diagnose routing problems? (b) How are static routes denoted in this tool?
Solucións
- Routing involves moving traffic between networks (internetwork traffic), whereas bridging involves connecting segments on the same network (intranetwork traffic).
- (a) Distance vector protocols. (b) Link-state protocols.
- Enable Static route filtering in System | Advanced (Firewall and NAT tab) or create firewall rules to deal with the static routes.
- (a) routed. (b) Quagga OSPF or FRR (FRRouting). (c) FRR.
- Adding one or more gateways.
- Spanning Tree Protocol (STP) and Rapid Spanning Tree Protocol (RSTP).
- Looping.
- The routing table found at Diagnostics | Routes.
Pregunta 33 - Paquetes para extender pfSense
Cuestións
- Qué dous métodos poden ser usados para instalar paquetes no pfSense?
- Cal é o porto por defecto no que vai escoitar o proxy Squid?
- Engadimos unha regra no firewall para bloquear o acceso a unha determinada páxina web desde todas as nosas redes locales e confirmamos que funciona correctamente como esperamos. Asumindo para os seguintes escenarios que non fixemos ningunha configuración adicional no Squid, qué acontece... (a) Despois de instalar o servidor proxy Squid... poderemos acceder a ese sitio web? (b) Despois de habilitar o servidor proxy Squid poderemos acceder a ese sitio web? .
- Qué paquete sería o máis axeitado para de xeito sinxelo bloquear o acceso dende un país a nosa rede?
- Identifica os diferentes estados de portos interesantes nunha proba Nmap.
- Qué paquete debemos instalar se queremos engadir un grupo de balanceo de carga e tamén noficacións se un dos serividores do grupo cae?
- Identifica os tres modos nos que Snort pode correr.
- Identifica os tres protocolos que poden ser especificados nunha regra de Snort.
- Identifica paquetes que poden ser utilizados para a monitorización de redes.
- Cál é a diferenza entre un axente Zabbix e un proxy Zabbix?
- Queremos monitorizar traps SNMP. Qué paquete de Zabbix debemos instalar?
Solucións
- A través da interfaz de pfSense e por liña de comandos.
- 3128.
- (a) O acceso á páxina web seguirá bloqueado porque a instalación de Squid non arranca o mesmo como habilitado por defecto (b) O acceso á páxina web será posible porque Squid ten precedencia sobre as regras do firewall e non temos engadido o sitoo á blacklist de Squid.
- pfBlockerNG.
- Pendente
- HAProxy.
- Packet sniffing mode, packet logging mode, and network intrusion prevention mode. Fonte: Modos de Snort
- TCP, UDP e ICMP. Fonte: Protocolos nas regras Snort
- Ntopng, nmap, Zabbix, Suricata,....
- Un axente Zabbix recolle información do host local e pásalla o servidor Zabbix; un proxy Zabbix recolle information de hosts e é capaz de interactuar co servidor Zabbix server de xeito que a carga é distribuída.
- Zabbix por defecto xa pode monitorizar traps SNMP. Con todo, pode requirir da instalación dos paquetes net-snmp-utils, net-snmp-perl, e net-snmp para o uso do trap receiver snmptrapd coma demonio. Máis información na documentación de Zabbix e no seu blogue.
Pregunta 34 - Diagnóstico e troubleshooting
Cuestións
- Cal debe ser o paso final no troubleshooting dun problema de rede?
- Un sitio pode ser alcanzado facendo ping o enderezo pero facendo ping o nome do host falla. Cal é a causa mais probable para isto?
- Nomea estándares wifi que funcionan no rango de 2.4 GHz range.
- Que estándar de encriptación wireless envía os challenges en claro e é considerado inseguro?
- Identifica dous métodos para determinar se unha interfaz está levantada desde a interface gráfica de pfSense.
- Qué ferramenta pode ser utilizada para monitorear a táboa de estados de pfSense e é posible o seu uso desde liña de comandos e desde a interface gráfica de pfSense?
- Qué ferramente pode ser utilizada para facer ping a un sitio que bloquea o tráfico ICMP pero non o TCP?
- Cales son os dous propósitos principais de traceroute?
Solucións
- Documentar o problema e a solución.
- Un fallo na configuración ou funcionamento do DNS.
- 802.11b, 802.11g e 802.11n.
- Wireless Encryption Privacy (WEP).
- Status | Interfaces ou usando ou Dashboard.
- pfTop.
- tcpping.
- Amosar a ruta seguida polos paquetes e o tempo empregado en cada paso (delay)