I set up squid proxy in vm player on Linux, when I apply the proxy start command, the following data appears on the screen as status;
enter image description here
Although I use mobile data, the system gives a port closed warning when I check the port, probably due to this error.How can I fix the error?
Thank you.
Related
I'm trying to get my head around SNMP for a project I'm working on. After I failed miserably getting it to work in my company's network, I set up a simple 3-device network to test things on, consisting of two Windows 10 PCs and a manageable switch between them.
I installed the optional feature "SNMP" on both PCs, made sure the service is running correctly and configured both services to accept SNMP queries from each other. I made sure to open up UDP port 161 in both PCs firewalls. Then I got the Net-SNMP binaries in order to use SNMPGET and SNMPWALK. As an alternative, I set up the SNMP extension for PHP through xampp (since I want to use PHP in my project once I get SNMP to work). Finally, I installed wireshark to monitor what exactly is going on and this is what I found:
When I try SNMPGET or SNMPWALK either through cmd or as a PHP command, I always get a timeout message. Wireshark is showing the get-next-request leaving one PC and arriving correctly on the other, so the network connection itself is working fine. But the receiving PC never sends a response. As I said, I'm pretty new to SNMP and I'm at a loss as to why this is happening. As I understand it, the optional feature for Windows 10 comes with its own SNMP agent, correct? If so, what could cause it to simply ignore an incoming request from a valid source IP?
The funny thing is that this even happens when I try to send an SNMP query to 127.0.0.1. I have no idea what I'm doing wrong...
Thanks to the comment of Lex Li, I was able to finally figure out which step I made a mistake with:
When setting up the SNMP service, under the security tab, I had to add 'public' as an accepted community name (with READ-ONLY rights). I figured since 'public' is sort of the standard read-only community, it would be accepted by default, which apparently it is not.
Alternatively, I guess I could have added my own communtiy name, but I didn't try that since I only want to read some values through SNMP anyways and read-only access is all I need for that.
Thank you very much Lex Li, I'm off to continue my project now!
I have set an Arduino code (on an esp8266). The code is only doing the following :
Set wifi
Connect to a webserver
Retrieve the html from this webserver and store it
instantiate a server:port
handle GET "/" request on local IP address and send back the html from the previous webserver.
Code is working fine (on 99%). I just need some support on the remaining 1%. :-)
When the webserver is having a "normal" IP address+domain name, the esp8266 can resolve it without any issue.
When the webserver is having only a "normal" IP address on the LAN, the esp8266 can get html from it without any issue.
But when this webserver is behind a CDN/Proxy activated (FYI this is Cloudflare), then the IP resolution is the IP from the CDN (seems OK) ; but the esp get an empty html or maybe a "0"... I'm not able to debug deeply on esp.
Is there anything I missed in my setting ?
Any idea what should I try.
Thanks
I switched to BearSSL Arduino library to and some final point after getting SSL handshake Error 40.
So in the end, I managed to use BearSSL and that solve the issue.
I am trying to configure some hardware using the ip address: 192.168.1.251. For some insane reason Firefox keeps forcing it to https://192.168.1.251.
The fact is (a) the address is never on the internet; (b) in this case it is the only other machine; and (c) I have no control over how the hardware does its job any way. So what genius decided that they know better and I can’t connect using plain old http?
The question is how can I tell Firefox to just shut up and do as it’s told? I have already tried browser.urlbar.autoFill and network.stricttransportsecurity.preloadlist and neither of them works.
This might be because at some point a server at this address responded with an HSTS header.
Click on the icon to the left of the URL in the address bar, then in the dialog click clear cookies and site data. Then confirm in the dialog that appears.
Are there any more configurations needed to be set for Charles Proxy to work on Ubuntu with mobile devices to capture the traffic? I have installed Charles Proxy on Ubuntu and launched it with sudo bash ./charles. It does launched it but there are warnings and errors .
INFO [com.xk72.charles.CharlesContext] - LOAD CONFIG: /root/.charles.config
INFO [com.xk72.charles.gui.transaction.viewers.gen.ImageBodyViewer] - Error initialising WebP image reader: no webp-imageio in java.library.path
WARNING [com.xk72.charles.gui.transaction.viewers.gen.ImageBodyViewer] - No WebP image reader initialised, WebP image viewing will not be available
INFO [com.xk72.charles.gui.transaction.viewers.gen.ImageBodyViewer] - Error initialising WebP image reader: Could not initialize class com.luciad.imageio.webp.WebP
Moreover, when the mobile devices are set with manually proxy in the Http Proxy tab with the ip of Ubuntu (in the same network) and the port number. IF the same steps are done on a mac, Charles proxy will prompt me to accept the incoming connections. BUT it never happen to me on Ubuntu and there is not traffic going through the proxy. any pointer? I am thinking. Do we need to open the proxy in Ubuntu ? Thank you
Now the devices are able to go through the proxy and connect to internet, However, while there are two instances for Charles proxy running, only one configuration file. How would that work, trying to two Charles proxy with different throttling setting on different ports within one os
Perhaps check the firewall configuration on the Ubuntu machine. Maybe it is blocking incoming requests to port 8888?
I'm trying to use Putty 0.60 to log in to an OpenSSH 5.3 server. Connections with openssh from another Linux server are possible, but Putty fails. Putty's event log tells me "software caused connection abort" right after the DH key exchange, the server log doesn't report anything (set to INFO). I analyzed the traffic with Wireshark and got a whole bunch of "TCP retransmission" and "TCP DUP ACK" after said key exchange.
Sometimes I was able to log in, but at some point (usually < 2 min.) the connection froze without any logged messages. Sadly, I didn't capture a trace.
The server is my own (Funtoo with genkernel and gentoo-sources 2.6.34), so I may tweak it, but I'd still like to know what causes the error. Any suggestions? Thank you!
Ok, that was weird.
The problems cause was a network BIOS setting: a specified static IP and NIC = shared (Broadcom Extreme II) - system in question is a Dell Blade. By these settings, I somehow ended up with multiple MAC addresses for the IP - which killed my SSH connections. I honestly hope this helps somebody else...