|
OpenBSD Security Functionally paranoid! |
|
Thread Tools | Display Modes |
|
|||
relayd: disable adress ip in return error ?
Hi,
When you set the option block to block path, url or queries, you can add the protocol return error. If condition matches, HTTP send a message error before close the connection, as: Code:
Forbidden Forbidden Stop scanning! OpenBSD relayd at 192.168.***.3 port 80 Code:
<!DOCTYPE html> <html> <head> <title>403 Forbidden</title> <style type="text/css"><!-- body { background: silver; color: black; text-align:center } hr {border:0; background-color:silver; color:silver; height:1px; width:30%; margin-top:50px;} em { color: #900; } --></style> </head> <body> <h1>Forbidden</h1> <div id='m'>Forbidden</div> <div id='l'><em>Stop scanning</em>!</div> <hr><address>OpenBSD relayd at 192.168.***.3 port 80</address> </body> </html> --- - https://man.openbsd.org/relayd.conf#block - https://man.openbsd.org/relayd.conf#return
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|||
OK, after discussion with solene@, an OpenBSD developer, it seems not possible because it's hard-coding, and not expected!
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
Tags |
address, error, relayd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
relayd | gpatrick | OpenBSD General | 0 | 8th May 2012 10:10 PM |
relayd | gpatrick | OpenBSD General | 1 | 16th January 2010 12:19 AM |
return of the -stable ports tree | ocicat | OpenBSD Packages and Ports | 3 | 24th October 2009 04:11 AM |
relayd (and hoststated) give syntax error for 'check script' | gwl | OpenBSD Security | 2 | 2nd May 2008 04:53 PM |