mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Hinzugefügt:
* AdvancedProxy Fähigkeiten Geändert: * Kleiner Fehler im OpenVPN GUI verblieben und daher behoben. git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@153 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
20
config/cfgroot/useragents
Normal file
20
config/cfgroot/useragents
Normal file
@@ -0,0 +1,20 @@
|
||||
APTGET,apt-get,(APT\-HTTP)
|
||||
AOL,AOL,(AOL)
|
||||
AVANT,AvantBrowser,(avantbrowser)
|
||||
FIREFOX,Firefox,(Firefox)
|
||||
FRONTPAGE,FrontPage,(FrontPage)
|
||||
GEARTH,Google Earth,(kh_lt\/LT)
|
||||
GECKO,Gecko compatible,(Gecko)
|
||||
GETRIGHT,GetRight,(GetRight)
|
||||
GOZILLA,Go!Zilla,(Go!Zilla)
|
||||
GOOGLE,Google Toolbar,(Google\sToolbar)
|
||||
JAVA,Java,(Java)
|
||||
KONQUEROR,Konqueror,(Konqueror)
|
||||
LYNX,Lynx,(Lynx)
|
||||
MSIE,Internet Explorer,(MSIE.*[)]$)
|
||||
NETSCAPE,Netscape,(^Mozilla\/4.[7|8])|(Netscape)
|
||||
OPERA,Opera,(Opera)
|
||||
WGA,WGA,(LegitCheck)
|
||||
WGET,Wget,(Wget)
|
||||
WINUPD,Windows Update,(Industry\sUpdate\sControl)|(Windows\sUpdate)|(Service\sPack\sSetup)|(Progressive\sDownload)|(Windows\-Update\-Agent)|(Microsoft\sBITS)
|
||||
WMP,Media Player,(Windows\-Media\-Player)|(NSPlayer)
|
||||
@@ -55,10 +55,14 @@ ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
|
||||
AuthType Basic
|
||||
AuthUserFile /var/ipfire/auth/users
|
||||
Require user admin
|
||||
# <Files index.cgi>
|
||||
# Satisfy Any
|
||||
# Allow from All
|
||||
# </Files>
|
||||
<Files chpasswd.cgi>
|
||||
Satisfy Any
|
||||
Allow from All
|
||||
</Files>
|
||||
<Files webaccess.cgi>
|
||||
Satisfy Any
|
||||
Allow from All
|
||||
</Files>
|
||||
<Files credits.cgi>
|
||||
Satisfy Any
|
||||
Allow from All
|
||||
|
||||
@@ -3,7 +3,7 @@ if [ $1 -eq 0 ]; then
|
||||
name2=`echo $2`
|
||||
name3=${name2##*/}
|
||||
name4=${name3##*CN=}
|
||||
clientdisabled=`/bin/grep -iwc off,.*,$name4 /var/ipcop/ovpn/ovpnconfig`
|
||||
clientdisabled=`/bin/grep -iwc off,.*,$name4 /var/ipfire/ovpn/ovpnconfig`
|
||||
if [ "$clientdisabled" = "1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user