ST1000LM024 HN-M101MBB 1000,2 GB (2BA30001)
тип: ATA8-ACS | ATA8-ACS version 6
$_SERVER['HTTP_REFERER']
dev tun
persist-tun
persist-key
ncp-disable
cipher none
auth none
tls-client
client
resolv-retry infinite
remote VPN.vitko-core.ru 1199 udp4
nobind
verify-x509-name "vpn.vitko-core.ru" name
remote-cert-tls server
explicit-exit-notify
<ca>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
-----END PRIVATE KEY-----
</key>
Wed Jul 13 11:40:25 2022 WARNING: cipher 'none' specified for --data-ciphers. This allows negotiation of NO encryption and tunnelled data WILL then be transmitted in clear text over the network! PLEASE DO RECONSIDER THIS SETTING!
Wed Jul 13 11:40:25 2022 OpenVPN 2.5.7 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on May 27 2022
Wed Jul 13 11:40:25 2022 Windows version 10.0 (Windows 10 or greater) 64bit
Wed Jul 13 11:40:25 2022 library versions: OpenSSL 1.1.1o 3 May 2022, LZO 2.10
Wed Jul 13 11:40:26 2022 ******* WARNING *******: '--cipher none' was specified. This means NO encryption will be performed and tunnelled data WILL be transmitted in clear text over the network! PLEASE DO RECONSIDER THIS SETTING!
Wed Jul 13 11:40:26 2022 ******* WARNING *******: '--auth none' was specified. This means no authentication will be performed on received packets, meaning you CANNOT trust that the data received by the remote side have NOT been manipulated. PLEASE DO RECONSIDER THIS SETTING!
Wed Jul 13 11:40:26 2022 TCP/UDP: Preserving recently used remote address: [AF_INET]62.221.80.33:1199
Wed Jul 13 11:40:26 2022 UDPv4 link local (bound): [AF_INET][undef]:1194
Wed Jul 13 11:40:26 2022 UDPv4 link remote: [AF_INET]62.221.80.33:1199
Wed Jul 13 11:40:27 2022 [vpn.vitko-core.ru] Peer Connection Initiated with [AF_INET]62.221.80.33:1199
Wed Jul 13 11:40:27 2022 open_tun
Wed Jul 13 11:40:27 2022 tap-windows6 device [OpenVPN TAP-Windows6] opened
Wed Jul 13 11:40:27 2022 Set TAP-Windows TUN subnet mode network/local/netmask = 100.64.15.0/100.64.15.2/255.255.255.0 [SUCCEEDED]
Wed Jul 13 11:40:27 2022 Notified TAP-Windows driver to set a DHCP IP/netmask of 100.64.15.2/255.255.255.0 on interface {71102C25-61CA-464A-876F-EF2B06161508} [DHCP-serv: 100.64.15.0, lease-time: 31536000]
Wed Jul 13 11:40:27 2022 Successful ARP Flush on interface [37] {71102C25-61CA-464A-876F-EF2B06161508}
Wed Jul 13 11:40:27 2022 IPv4 MTU set to 1500 on interface 37 using service
Wed Jul 13 11:40:32 2022 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Wed Jul 13 11:40:32 2022 Initialization Sequence Completed
var_dump ( html_entity_decode ($input , ENT_QUOTES | ENT_HTML5) );
<?PHP
// Create cache busting version
$cacheVer = filemtime(__FILE__);
?>
<script src="jquery.min.js?v=<?=$cacheVer?>"></script>
<input type="checkbox" checked id="chk1">
<input type="checkbox" checked id="chk2">
<pre id="output" style="width: 100%; height: 100%; max-height:650px; overflow-y:scroll;"></pre>
<script src="taillog.js?v=<?=$cacheVer?>"></script>
/* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
var offset,
timer,
pre,
scrolling = true;
// Check every 200msec for fresh data
var interval = 200;
// Function that asks the API for new data
function reloadData() {
clearTimeout(timer);
$.getJSON("tailLog.php?offset=" + offset, function (data) {
pre.append(data.lines);
if (scrolling && offset !== data.offset) {
pre.scrollTop(pre[0].scrollHeight);
}
offset = data.offset;
});
timer = setTimeout(reloadData, interval);
}
$(function () {
// Get offset at first loading of page
$.getJSON("tailLog.php", function (data) {
offset = data.offset;
});
pre = $("#output");
// Trigger function that looks for new data
reloadData();
});
$("#chk1").click(function () {
$("#chk2").prop("checked", this.checked);
scrolling = this.checked;
});
$("#chk2").click(function () {
$("#chk1").prop("checked", this.checked);
scrolling = this.checked;
});
<?php
/* Pi-hole: A black hole for Internet advertisements
* (c) 2017 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
// Not using SplFileObject here, since direct
// usage of f-streams will be much faster for
// files as large as the pihole.log
if(isset($_GET["FTL"]))
{
$file = fopen('A:\php\batch\log.txt',"r");
}
else
{
$file = fopen('A:\php\batch\log.txt',"r");
}
if(!$file)
{
die(json_encode(array("offset" => 0, "lines" => array("Failed to open log file. Check permissions!\n"))));
}
if(isset($_GET["offset"]))
{
$offset = intval($_GET['offset']);
if($offset > 0)
{
// Seeks on the file pointer where we want to continue reading is known
fseek($file, $offset);
$lines = [];
while (!feof($file))
array_push($lines, htmlspecialchars(fgets($file)));
die(json_encode(array("offset" => ftell($file), "lines" => $lines)));
}
}
// Locate the current position of the file read/write pointer
fseek($file, -1, SEEK_END);
// Add one to skip the very last "\n" in the log file
die(json_encode(array("offset" => ftell($file)+1)));
?>
root@voip:~# systemctl status network-manager
Unit network-manager.service could not be found.
root@voip:~#