Blocking requests before reaching the WebServer on Liferay PaaS

Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • We have encountered requests from unauthenticated sources on the webserver. Can these requests be blocked before reaching the webserver?

Environment

  • Liferay DXP 7.4

Resolution

  • We've two options present to deal with unwanted requests at the web server level, one is enabling the ModSecurity and the other is Blocking IPs that are unauthenticed.
  • However, in front of the web server, the component we have is the GKE Ingress (firewall/Load Balancer), which gives internet access to your environment’s services via proxied HTTP(S) connections using TLS (1.0 to 1.2) protocol and diffuse traffic along with reducing the risk of services being overloaded.
  • This Google Kubernetes Engine (GKE) ingress relies on GCloud HTTPS Load Balancer with WAF capabilities enabled and has some default firewall rules that are common for all the infrastructure, and it is not possible to customize them as per the requirements.
  • Hence, it would not be possible to block the unwanted requests on any other component before the web server.

Additional Information

¿Fue útil este artículo?
Usuarios a los que les pareció útil: 0 de 0