Forum

Customizing 403 mes...
 
Notifications
Clear all

Customizing 403 message

5 Posts
3 Users
0 Reactions
62 Views
(@hetsen)
New Member
Joined: 2 weeks ago
Posts: 1
Topic starter  

Hi!

I'm wondering if there is some way to change the 403 with a custom html page? Right now it just returns "SKUDONET WAF replied forbidden". 

I at least don't want people to be aware of what type of WAF I am using. 

Thank you,

Mikael Isaksson


   
Quote
emiliocm
(@emiliocm)
SKUDONET Engineer Moderator
Joined: 3 months ago
Posts: 25
 

Hi  @hetsen, in the current HTTPS profile the 403 Error WAF is saved in the source code, we can do a patch to make this configurable as the other Error messages (501,503..) after talking with the dev team, they decided to make this possible doing the configuration in the configuration file directly. I think this fits your needs.

Keep you updated with instructions as soon as the patch is released.

Thanks for contacting us and using SKUDONET WAF.

Regards!


   
ReplyQuote
Rendone
(@rendone)
SKUDONET Engineer Moderator
Joined: 3 months ago
Posts: 1
 

Hi @hetsen,

we already published a new version of pound package ( 3.1.2-7.2.1 ) that includes the property for WAF response customization.

This feature only can be managed by editing the farm config file ( a restart of the farm is needed to apply the modified farm config )

A new ErrWAF directive in Listener is added, working as the other error handlers Err414, Err500, Err501, and Err503.

ErrWAF "filename"

When the WAF denies a request, it will show the file content.

If the ErrWAF directive is not present in the farm configuration file, it will show the same response as before.

 

Example including the directive:

....

ListenHTTP
    ErrWAF "/usr/local/skudonet/config/farm01_ErrWAF.html"
    Err414 "/usr/local/skudonet/config/farm01_Err414.html"
    Err500 "/usr/local/skudonet/config/farm01_Err500.html"
    Err501 "/usr/local/skudonet/config/farm01_Err501.html"
...

 

We recommend using the same config path as the other Error directives in order to include it when a backup is performed.

 

Could you confirm the new property is working as expected?

 

Thank you in advance.

Regards.

 


   
ReplyQuote
emiliocm
(@emiliocm)
SKUDONET Engineer Moderator
Joined: 3 months ago
Posts: 25
 

Topic was moved to "Feature Requests" as this property has been accepted and developed after receiving a request from the community.

 

Regards


   
ReplyQuote
emiliocm
(@emiliocm)
SKUDONET Engineer Moderator
Joined: 3 months ago
Posts: 25
 

Hi @hetsen did you have the chance to check the requested feature about 403 message customization?

 

Any feedback is appreciated

 

Regards!


   
ReplyQuote
Share:

Download Skudonet ADC Load Balancer
Community Edition

Source Code

A versatile and installable ADC system designed for diverse vendor hardware.

DOWNLOAD SOURCE

Installable ISO 

Load Balancing as a Service alongside an ADC orchestration toolkit.

DOWNLOAD ISO
Download Community Edition

Download Community Edition

“We manage the information you provide with the sole aim of assisting with your requests or queries in regards to our products or services; applying the computer and security procedures to ensure its protection. Your data can be rectified or removed upon request but won’t be offered to any third parties, unless we are legally required to do so.” Responsible: SKUDONET SL - info@skudonet.com