Websockets request getting 404 on my website - repeated tries on mediawiki pages - websocket

This started yesterday morning about 4pm GMT. So far three individual IP addresses. I have anonymized the ip addresses with NNN.
In all three cases, they searched and successfully hit one of my media wiki pages. Two of them got a pattern of 408 errors. Then they started repeat spamming of "websocket" requests - and as far as I know websocket is not implemented on my site. One also reflects Ajax Error CB. One shows "Plugin:ABN".
It would appear that some browser or browser add-in is misbehaving. In one case the initial search was Bing so it could be Windows 10. What is annoying is spamming 2000 websocket requests that get an error 404 on my website over a 6 hour period.
Any ideas on what would cause this? In the last 24 hours these three sites generating about 5000 error 404's on my website:
Apache log:`Case 1 from 76.30.86.NNN - Comcast IP Address in US.
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:10:20:22 -0700] "GET /support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016 HTTP/1.1" 200 10411 "https://www.bing.com/search?q=install+microsoft+outlook&FORM=QSRE4" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
76.30.86.NNN - - [18/Sep/2019:10:25:24 -0700] "-" 408 137 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:30:25 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:35:25 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:40:25 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:45:26 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:50:26 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:10:55:26 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:11:00:27 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:11:05:27 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:11:10:27 -0700] "-" 408 3284 "-" "-"
76.30.86.NNN - - [18/Sep/2019:11:15:28 -0700] "-" 408 3284 "-" "-"
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:11:15:28 -0700] "GET /82A2C3C3-09A7-A741-99A9-2EC607BE97FF/init?url=https%3A%2F%2Fwww.mywebsite.com%2Fsupport%2Fkb%2FRepair%2FRe-install_Outlook_2003%2C_2007%2C_2010%2C_2013%2C_2016&isTopLevel=true&nocache=14f0e HTTP/1.1" 301 4417 "https://www.mywebsite.com/support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:11:15:28 -0700] "GET /82A2C3C3-09A7-A741-99A9-2EC607BE97FF/websocket?url=https%3A%2F%2Fwww.mywebsite.com%2Fsupport%2Fkb%2FRepair%2FRe-install_Outlook_2003%2C_2007%2C_2010%2C_2013%2C_2016&nocache=1568830527710 HTTP/1.1" 301 4336 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
snip - repeats approx every second for 2040 times
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:17:15:57 -0700] "GET /82A2C3C3-09A7-A741-99A9-2EC607BE97FF/init/?url=https%3A%2F%2Fwww.mywebsite.com%2Fsupport%2Fkb%2FRepair%2FRe-install_Outlook_2003%2C_2007%2C_2010%2C_2013%2C_2016&isTopLevel=true&nocache=10fec HTTP/1.1" 404 55891 "https://www.mywebsite.com/support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:17:15:57 -0700] "GET /82A2C3C3-09A7-A741-99A9-2EC607BE97FF/init?url=https%3A%2F%2Fwww.mywebsite.com%2Fsupport%2Fkb%2FRepair%2FRe-install_Outlook_2003%2C_2007%2C_2010%2C_2013%2C_2016&isTopLevel=true&nocache=10fec HTTP/1.1" 301 4417 "https://www.mywebsite.com/support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:18:48:27 -0700] "GET /support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016 HTTP/1.1" 200 10412 "https://www.bing.com/search?q=install+microsoft+outlook&FORM=QSRE4" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
c-76-30-86-NNN.hsd1.tx.comcast.net - - [18/Sep/2019:19:44:52 -0700] "GET /support/kb/Repair/Re-install_Outlook_2003,_2007,_2010,_2013,_2016 HTTP/1.1" 200 10413 "https://www.bing.com/search?q=install+microsoft+outlook&FORM=QSRE4" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362"
`

Related

How to make ansible email body break in lines and large font

Hi I have ansible playbook which sends email with attachment. but email body does not come in format all sentences comes in single line and very small font size.
Here is playbook -
- name: Sending an e-mail using the remote machine
mail:
host: localhost
port: 25
from:
to:
subject: Reports
body: Hi,
Hope you are doing well.
Thanks,
Megha
attach:
- file.csv
- file.scv
This gives me output -
Hi,Hope you are doing well.Thanks,Megha
How can I have email body with line breaks and big font size?
You can use html using the parameter subtype: html and your body must have html
- name: Sending an e-mail using the remote machine
mail:
host: localhost
port: 25
from:
to:
subject: Reports
subtype: html
body:
<h1>Hi,</h1>
<p style="color:red">Hope you are doing well.</p>
<strong>Thanks,</strong>
<p style="color:green">Megha</p>
attach:
- file.csv
- file.scv

Disable terminal logs for firebase serve command

Whenever I run firebase serve and loads the firebase site locally, my VSCode terminal fills with lengthy and unnecessary logs like this.
127.0.0.1 - - [29/Nov/2019:21:10:23 +0000] "GET /security HTTP/1.1" 200 10208 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:24 +0000] "GET /assets/css/Features-Boxed.css HTTP/1.1" 200 1075 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:24 +0000] "GET /assets/css/style.css HTTP/1.1" 200 12392 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:24 +0000] "GET /__/firebase/init.js HTTP/1.1" 200 - "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:24 +0000] "GET /assets/img/svg/home_white.svg HTTP/1.1" 200 1305 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:24 +0000] "GET /__/firebase/7.5.0/firebase-app.js HTTP/1.1" 200 12066 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /__/firebase/7.5.0/firebase-analytics.js HTTP/1.1" 200 21623 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /__/firebase/7.5.0/firebase-auth.js HTTP/1.1" 200 163643 "http://localhost:5000/security" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /assets/js/main.js HTTP/1.1" 200 5794 "http://localhost:5000/security" "Mozilla/5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /__/firebase/7.5.0/firebase-app.js.map HTTP/1.1" 200 70975 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /__/firebase/7.5.0/firebase-analytics.js.map HTTP/1.1" 200 113064 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
127.0.0.1 - - [29/Nov/2019:21:10:25 +0000] "GET /assets/css/style.css.map HTTP/1.1" 200 32580 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
I usually put some console.log statements here and that get lost in all this mess. How to disable it?
Terminal: VSCode built-in Terminal
Project: Firebase web app
Platform: Windows

Can't access internet from Vagrant libvirt VM

So, I setup a Vagrant libvirt VM, but I can't access internet using it. I can reach google.com from the host but not from the guest.
/home/vagrant# ping www.google.com
PING www.google.com (64.233.177.105) 56(84) bytes of data.
^C
--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3075ms
nslookup shows this:
/home/vagrant# nslookup www.google.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: www.google.com
Address: 64.233.177.104
Name: www.google.com
Address: 64.233.177.106
Name: www.google.com
Address: 64.233.177.103
Name: www.google.com
Address: 64.233.177.147
Name: www.google.com
Address: 64.233.177.99
Name: www.google.com
Address: 64.233.177.105
Name: www.google.com
Address: 2607:f8b0:4002:805::2004
I tried with nslookup www.google.com 8.8.8.8 as well, but it didn't do anything. Any idea how to resolve this? TIA.

No input file specified. in Laravel 5 homestead installation

I'm learning Laravel and seem to be running into a problem with my paths in my homestead.yaml file but can't seem to figure it out. The error I'm receiving is 'No input file selected.'. I have my hosts file setup, and have tried halting and provisioning, yet I still keep getting this error. If anyone could point me in the right direction I would really appreciate it. Thanks!
yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Code
to: /home/vagrant/Code
type: "nsf"
sites:
- map: homestead.app
to: /home/vagrant/Code/homestead.app/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
Hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
192.168.10.10 homestead.app
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/hosts" 11L, 269C
Ping output
ping -c 5 192.168.10.10
PING 192.168.10.10 (192.168.10.10): 56 data bytes
64 bytes from 192.168.10.10: icmp_seq=0 ttl=64 time=0.372 ms
64 bytes from 192.168.10.10: icmp_seq=1 ttl=64 time=0.252 ms
64 bytes from 192.168.10.10: icmp_seq=2 ttl=64 time=0.307 ms
64 bytes from 192.168.10.10: icmp_seq=3 ttl=64 time=0.337 ms
64 bytes from 192.168.10.10: icmp_seq=4 ttl=64 time=0.328 ms
--- 192.168.10.10 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.252/0.319/0.372/0.040 ms
.homestead :>
This error is almost always caused by either an incorrect web root,
check that /home/vagrant/Code/homestead.app/public is the correct path on the homestead box.
or permissions on the storage folder, laravel needs write permissions on several of the subfolders in storage.
Check that the webserver user has permission to write to that folder.

bash curl get request raw headers

Hello i'm trying to make the following GET request thru CURL
GET http://localhost:80/ HTTP/1.1
Host: localhost
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
so i try curl -h "Host:localhost" localhost
but it dont work, any ideea where i go wrong here?
It is -H not -h:
curl -H "Host:localhost" localhost

Resources