Re: [srvx-devel] things to fix for 1.2..
Brought to you by:
entrope
|
From: Entrope <en...@us...> - 2002-05-12 02:59:22
|
Oh, almost forgot:
- Proxy checking rules should be moved into srvx.conf. While we're
doing this, a new syntax for variables and matching could be added.
(This actually doesn't need that many changes to do.)
Bonus points for the long-desired variable-length-match pattern.
Current syntax:
"1080:050100" {
"0500" "reject:Unsecured socks5";
};
"3128:=C=O=N=N=E=C=T= $c=:=3=1=2=8= =H=T=T=P=/=1=.=00d0a0d0a" {
"=H=T=T=P=/=1=.=0= =2=0=0" "reject:Unsecured proxy";
};
Possible new syntax:
"1080:\x05\x01\x00" {
"\.\x5b\." "reject:Unsecured socks";
};
"3128:CONNECT \c:3128 HTTP/1.0\x0d\x0a\x0d\x0a" {
"HTTP/1.0 200" "reject:Unsecured proxy";
};
(With this new syntax, the variable length matcher might be \*.)
-- Entrope
|