✨ feat(traffic mirror): 添加traffic mirror 功能
This commit is contained in:
11
bin/HTTP200.html
Normal file
11
bin/HTTP200.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!-- Powerd by MESA Lab -->
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title> Successfull | 200 - OK </title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="cover"><h1> Successfull 200 <small>Successfully 200</small></h1><p class="lead">The requested resource accesss Successfully (TSG-{{cfg_id}}:{{msg}}).</p></div>
|
||||
</body>
|
||||
</html>
|
||||
11
bin/HTTP204.html
Normal file
11
bin/HTTP204.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!-- Powerd by MESA Lab -->
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>We've got some trouble | 204 - Not Content </title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="cover"><h1>Not Content <small>Error 204</small></h1><p class="lead">The requested resource requires an authentication (TSG-{{cfg_id}}:{{msg}}).</p></div>
|
||||
</body>
|
||||
</html>
|
||||
11
bin/HTTP303.html
Normal file
11
bin/HTTP303.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!-- Powerd by MESA Lab -->
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title> 303 See Other </title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="cover"><h1> 303 See Other <small>303 See Other</small></h1><p class="lead">The requested resource accesss Successfully (TSG-{{cfg_id}}:{{msg}}).</p></div>
|
||||
</body>
|
||||
</html>
|
||||
11
bin/HTTP403.html
Normal file
11
bin/HTTP403.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!-- Powerd by MESA Lab -->
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>We've got some trouble | 403 - Access Denied</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="cover"><h1>Access Denied <small>Error 403</small></h1><p class="lead">The requested resource requires an authentication (TSG-{{cfg_id}}:{{msg}}).</p></div>
|
||||
</body>
|
||||
</html>
|
||||
11
bin/HTTP404.html
Normal file
11
bin/HTTP404.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<!-- Powerd by MESA Lab -->
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>We've got some trouble | 404 - Resource not found</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="cover"><h1>Resource not found <small>Error 404 </small></h1><p class="lead">The requested resource could not be found but may be available again in the future (TSG-{{cfg_id}}:{{msg}}).</p></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -37,4 +37,10 @@ APP_BRIDGE_NAME="APP_BRIDGE"
|
||||
POLICY_PRIORITY_LABEL="POLICY_PRIORITY"
|
||||
L7_RPTOCOL_FILE="./tsgconf/tsg_l7_protocol.conf"
|
||||
DEVICE_SN_FILENAME="/opt/tsg/etc/tsg_sn.json"
|
||||
DEVICE_ID_COMMAND="hostname | awk -F'-' '{print $3}'| awk -F'ADC' '{print $2}'"
|
||||
DEVICE_ID_COMMAND="hostname | awk -F'-' '{print $3}'| awk -F'ADC' '{print $2}'"
|
||||
|
||||
[TRAFFIC_MIRROR]
|
||||
TRAFFIC_MIRROR_ENABLE=1
|
||||
NIC_NAME="eth_vf_mirr"
|
||||
APP_NAME="TSG_MIRROR"
|
||||
DEFAULT_VLAN_ID=1023
|
||||
Reference in New Issue
Block a user