Recent Questions - Server Fault |
- Is there a (forensic) way to list network or internet addresses acessed in the past by a Windows 10 system?
- AWS Cloudfront is returning different responses for identical queries
- Recommended way to ping from within container
- How to benchmark and analyze a network protocol prototype?
- Can not connect to a Google Cloud TPU using ssh (putty) in Windows
- Force all traffic through vpn
- Redirect url to the CDN storage
- No Internet connection on a VPS
- High availability VM Windows server
- Update MySQL replication server position
- How to install roundcube on debian 10?
- Piping SSH to wireshark on windows
- Juniper EX4200 Stack with PFSense DHCP (Discover/Offer Loop)
- AWS App Runner deploy failing
- Different drivers/support for 10GbE SFP+ copper versus fiber?
- This Apple ID can't be used to make purchases - InTune/Apple Business Manager
- Bad Gateway The proxy server received an invalid response from an upstream server
- Make `systemd-run` fail gracefully if the unit name already exists?
- Email sending issue with “localhost.localdomain”
- How to get SCCM client to evaluate policy immediately after OS deployment?
- Google-authenticator with openvpn - AUTH: Received control message: AUTH_FAILED
- Integrating squid with active directory
- Amazon EC2 - Installed atop / htop but they don't show disk I/O stats
- Apache server-status: allow access only from one subdomain on same IP
- nginx hidden file deny configuration?
- How do I deploy files to Apache Tomcat in a similar fashion to Apache Webserver, ftp
- SVN Lock - Unable to lock file from svn client - Tortoise client
- How can I make my custom "name@example.com" e-mail address if I'm the owner of "example.com"
- Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6
- Deciding on SSLRandomSeed values in Apache 2.2
Posted: 19 Jun 2021 05:32 AM PDT There is this allegedly trojan-infected Windows 10 PC described in more detail here. Below is a scan result of the PC (disk image) in question using Autopsy/The Sleuth Kit. Is there any way to check for online activity (other than browser history) of any process on this PC during a specific time period in the past? |
AWS Cloudfront is returning different responses for identical queries Posted: 19 Jun 2021 04:47 AM PDT I have an API that is supposed to use accept a I have whitelisted this header in AWS Cloudfront. To my understanding this should mean that Cloudfront includes it in the cache key. When I repeat identical curl calls to my endpoint I get different results back from Cloudfront. The response headers always indicate a cache hit from Cloudfront, but the response body is sometimes for the wrong website. In other words, Cloudfront does not appear to be including the website header in the cache key and is returning the response body for a different request key. Here is a sample output from the script below: Notice that the "total" is different (this is a JSON key in the response I get back) I'm using a script to repeat the calls so I expect the request to be identical. Why is Cloudfront sometimes returning the wrong response? I am certain that the origin is always returning the correct response for the website header. I've verified this by running my script against the origin without Cloudfront in front of it, and I've also verified that my origin is not being hit when I run this script against Cloudfront. How can I debug this further? I thought that perhaps I could use "via" to see if one particular edge node was always returning the wrong response, but that didn't work. |
Recommended way to ping from within container Posted: 19 Jun 2021 04:11 AM PDT Recently I was configuring some containers with non typical networking settings (at least non typical for me) and so I was having some problems (finalny I was able to make it working so no worries). One thing that was making "debbuging" harder was that many public images doesn't contain "ping" util, and this is normal for building docker images (policy "less" is better). In case when container have connection to internet but have some networking problems (like with local network) you can just install ping temporarily, if there is no internet then what would be the easiest way to debug networking from inside container, maybe some docker build in functions or maybe use build script (dockefile + compose) to add ping utils during creation? |
How to benchmark and analyze a network protocol prototype? Posted: 19 Jun 2021 03:16 AM PDT We are currently working with an academic network protocol that modifies and partly encrypts IPv6 packets and establishes circuits to allow sourceless routing. We got the prototype running, and it works with IPv6 messages if we put the message payload directly in to IP packet payload (e.g. send a hello world). We can, however, not use well-established tools as ping or iperf3, as the messages receive the destination, but no replies are sent. We are wondering whether we can benchmark some features of the prototype. As far as I see it, it does not make any sense to benchmark packet loss, as the protocol itself does not introduce reasons from packet loss other than a node on the route being taken offline. Also, it does not really seem to make sense to measure data throughput, as this is subject to the link between the two parties. The protocol itself also does not introduce reasons for jitter, because all messages are handled the same, thus again this would be a network-related attribute. The latency is also mostly due to network-related issues, but what we could measure is the time the prototype needs to modify a message. Currently, we are running it on VMs. It uses iptables rules to intercept packets and pass them on to nfqueue, which modifies the packets using python. I proposed to do a theoretical analysis instead were we calculate the additional bytes that are added on top of regular IPv6-packets, try to calculate the additional performance costs (how?), and try to narrow done, which attacks are feasible and which not, in respect to regular IPv6.
P.S.: I hope it fits into this caytegory, since it does not seem to fit into network engineering |
Can not connect to a Google Cloud TPU using ssh (putty) in Windows Posted: 19 Jun 2021 02:43 AM PDT I have a google v3-8 TPU, i can't figure out how to connect to it using ssh in windows. I did every guide there is, but the connection just times out. What i tried (among others): 1. Dos command line: gcloud config set compute/zone europe-west4-a gcloud config set account myusername@gmail.com gcloud config set project myprojectname gcloud services enable tpu.googleapis.com gcloud alpha compute tpus tpu-vm ssh --zone europe-west4-a vm_name This just opens Putty which then timeouts.
I did more to connect, but to no avail. What is the right way to connect to a TPU VM ? Note, it's not a Compute VM, it's a TPU. not the same settings as a VM in GCP console, so no nice add ssh key in the edit settings, because there ARE NO edit settings in GCPC. I'm at a loss. PS threw away the TPU instance and recreated it after each step, to make sure i wasnt messing things up too badly. |
Posted: 19 Jun 2021 02:49 AM PDT Goal: force all traffic through VPN only. Client: Windows in VM VPN: OPENVPN I delete the 0.0.0.0 route in the client. I make a route for the destination of my VPN server with my LAN default gateway as the gateway (192.168.1.1). So, in practice when I turn on openvpn, it attempts to connect to the server IP which has a route through my local LAN gateway, which would result in a connection and a new VPN connection established. And when the VPN connection drops, all traffic stops. However, I am unable to connect to the VPN server. I can ping it though. I was able to replicate the same scenario in a windows VM with softether client and a third party VPN and can connect successfully. What am I doing wrong? |
Redirect url to the CDN storage Posted: 19 Jun 2021 02:34 AM PDT I have structure folders on my nginx server: Image URL
I want it redirect to my CDN and get the picture on that CDN all time..
I try to use with this setting but it doesn't work. |
No Internet connection on a VPS Posted: 19 Jun 2021 05:25 AM PDT I've a VPS hosted at cba.pl. I have the problem that I can't connect to the internet with it and i'm just able to use the Terminal over their homepage, but commands like wget and curl are giving connection errors as well. Now my question is, how can I get the internet again? (P.S. This answer doesn't work for me cause i haven't installed ifupdown yet.) |
High availability VM Windows server Posted: 19 Jun 2021 02:55 AM PDT How can I create a highly available VM running the Active directory role and DNS role. If one server goes down I would like it to fail over to the other node where clients within the domain will still be able to resolve their ip address |
Update MySQL replication server position Posted: 19 Jun 2021 03:50 AM PDT I have been trying to setup a replication of a large DB (90GB) I have created a backup using So if my understanding is correct, its trying to rebuild the DB on the replication server from the beginning. Because it kept erroring out on duplicates that already existed in the db (because I restored the backup first), I have temporality added to the my.ini file to skip the duplicated. But even after this, its about 4 months behind the master (9983704 seconds). Is there a way I can move the position on the slave up so it only rebuild from the last few days? |
How to install roundcube on debian 10? Posted: 19 Jun 2021 04:45 AM PDT I need to install roundcube on my web server, and im a bit newbie in this type of things, since im bad when it comes to servers things, so i need some help. Was reading some guides that i found, but no one matched with the things i need, or, at least, i couldnt see any help in that guides, in some of them doesnt even use apache, but ngix, i already have the apache server and need to ise it, or they even use everything (webserver and mailserver) in the same server, in my situation i dont need that, and my situation is as follows. I need to install roundcube on my apache web server (web.server.al1), while i use the mail of other server (mail.server.al1) with one postfix and dovecot so i need to install mariadb again on my webserver, right?(i already had the a db for the webserver, but its better to have the roundcube db on the same web server, right? i dont know what is best) Last of all i need ofc to be able to use the mails i have o mail.server.al1, (user@domain1.al1, and user2@final.fi1) Thats all, i bet that my question is too vague, bot if anyone can help me i would be really gratefull Thanks for reading and sorry for my bad english, im a bit rough when writting long texts in another language EDIT: i already installed roundcube and works, but has a fail, even when i can receibe amails and log with any user, when i try to send one i get the message "enter at least one recipient" |
Piping SSH to wireshark on windows Posted: 19 Jun 2021 03:51 AM PDT In my day-to-day operations, I frequently need to execute tcpdump's on remote servers, and it's a pain to save the output to a file and then have to move the file to my laptop to analyze it on wireshark. I was exploring the command below, and it works fine in linux But, unfortunately, my work laptop that is provided by my company has windows on it, and they don't allow me to change to another OS. Given this restriction, I was trying to achieve the same result, but in windows... If i execute the following command in windows in a powershell I get this error If I execute the wireshark command without the ssh part I get the same error, but if I execute it like this It opens wireshark and waits for data input. With this in mind I tried to change the command to This way the ssh command gets executed and the tcpdump starts in the remote host, the wireshark never starts. What am I doing wrong? Why is the piped command that is most similar to the one in linux doesnt work in windows, is piping different? |
Juniper EX4200 Stack with PFSense DHCP (Discover/Offer Loop) Posted: 19 Jun 2021 12:36 AM PDT I'm currently struggling with my Juniper Switch Stack. Topology is like this Topology The Client Ports on the Stack are configured as tagged-access with dot1x (multiple supplicant) and they switch according to the Radius authentication. This works without a problem and VLANs get correctly assigned. The 2 PFSense firewalls do provide one DHCP instance for every VLAN in failover configuration with an CARP IP on the same subnet as the VLAN. So no DHCP Relay is needed. Windows clients can obtain an IP and work correctly but Linux clients and PXE boot do not. From tcpdump and Wireshark we see a DHCP Discover/Offer loop on the Linux clients. The offer reaches the client but the client does not send a DHCP Request. We tried multiple Linux derivatives and PXE implementations but without any luck. We also compared the Wireshark captures from Windows and Linux and there is absolutely no difference. Any suggestions on how to track down the problem? Thanks in advance. Update: Just to add more information. The IP assignment flow is like this:
So obviously 1-6 is working. The Client gets assigned to VLAN 940 through the Radius Server, sends out a DHCP discover, both PFSense have a DHCP instance configured for the VLAN 940 (IP Range 10.94.0.1-200/24) and they send an offer. This is a tcpdump on one of the PFsense firewalls in case it helps. The Client sees the exact same but simply ignores it. Does it look wrong? It just works if i do the same with a Linux VM on the Server side Switches (where the Radius Server is connected). So i'm pretty sure the problem is somewhere within the Juniper Switch Stack. Update 2: My assumption about a problem in the Switch Stack was right. It seems that "tagged-access" port mode does not behave as it should. Switching to "access" port mode did solve the problem. But it doesn't make much sense to me as "access" mode shouldn't be able to handle multiple supplicants in different VLANs, but it obviously does. |
Posted: 19 Jun 2021 04:55 AM PDT I'm playing with AWS App Runner and I'm having issues with deployments/service updates. Half of the deployments fail with no apparent reason. A few minutes after the deployment is initiated, the app is actually deployed, but then, after 20-30 minutes, it rolls back to the previous version. I've been trying to find something useful in cloudwatch, but no luck, it doesn't log anything (hey, Amazon, it would be reeealy useful to log the reason why the deployment failed) except for I feel like I'm out of options. Nothing useful in the logs, the app inside the container is healthy. |
Different drivers/support for 10GbE SFP+ copper versus fiber? Posted: 19 Jun 2021 05:33 AM PDT I'm looking at purchasing a storage array that uses 10/25 GbE SFP+ connections for the user-facing frontend network. I already have a 10 Gb switch with 24 RJ45 ports and 4 SFP+ ports. I assumed that the SFP+ ports wouldn't care whether the cable coming out of them was copper or fiber, so I thought we could just get SFP+ RJ45 transceivers for the storage array nodes. The vendor is saying that it won't work, because their storage nodes don't support SFP+ to copper connections. Does that sound right? Would they really have/need a different SFP+ driver if the connection is copper instead of fiber? |
This Apple ID can't be used to make purchases - InTune/Apple Business Manager Posted: 19 Jun 2021 12:03 AM PDT We have just integrated InTune with Apple Business Manager and turned on the domain Federation which now allows our Azure AD users to log into Apple Devices with their work email address. We have hit an issue with this in that the users can no longer download apps from the App Store, or through the InTune Company portal. The users are presented with a message 'This Apple ID can't be used to make purchases'. Hoping to get some assistance on this one. The main annoyance here is that the Company Portal cannot be downloaded from the app store without using a personal Apple ID. The secondary annoyance is that once the company portal is installed and the device is enrolled the apps configured through InTune also fail. |
Bad Gateway The proxy server received an invalid response from an upstream server Posted: 19 Jun 2021 05:04 AM PDT I am trying to set the webapp using Apache (Server version: Apache/2.4.38 (Unix)) with SSL and Tomcat (Apache Tomcat/8.5.41) 3 tomcat instances are set as str1, str2, str3 with below settings with jvmroute respectively. Server.xml as: In Httpd.conf with SSL module enabled and pointing httpd-ssl.conf In httpd-ssl.conf In Proxy-balancer.conf: |
Make `systemd-run` fail gracefully if the unit name already exists? Posted: 19 Jun 2021 04:37 AM PDT I have found Currently I'm doing: Is there a better way? This is on Ubuntu 18.04, with the current systemd for that (version 237?) |
Email sending issue with “localhost.localdomain” Posted: 19 Jun 2021 03:04 AM PDT I have a DigitalOcean server which runs Ubuntu 14.04. I am having problems with sending emails from the PHP I think the issue may be related to my
And in
(In the above two, I replaced the IP address digits with Now I have a domain pointing to this server, let's call this So when my website I have tried adding Here are the Received headers: Can someone please advise what the issue may be and how to fix? |
How to get SCCM client to evaluate policy immediately after OS deployment? Posted: 19 Jun 2021 05:04 AM PDT I have an SCCM OS deployment task sequence that works just fine -- with one caveat that I can't seem to figure out... Once the task sequence completes, it takes anywhere from 4-16 hours to process its client settings. This means that freshly-imaged computers do not get any of their deployments or AV settings during that time. The SCCM client will eventually sync up with the server and when it does, everything works normally after that. But because of this issue, we basically have to let computers sit overnight before we can deliver them to users. Reimaging a wonky computer out in the field isn't an option unless we do it right before the user goes home for the day, so that it will be ready for them when they get in to work the next morning. One particular issue is the Endpoint Protection client. On Windows 10 there is no way (that I know of) to put Windows Defender into managed mode since it's a built-in component of the operating system. We absolutely have to wait for the SCCM client to do its thing in order for that to process exclusions correctly (which are required for a particular application we use). Here are the relevant details:
Is there any way to force the client to download and apply policy during the imaging process? UPDATE:I have traced this issue down to the discovery process on the server side. When looking at an affected machine in the SCCM console, it shows that the client is installed, active, and healthy BUT Resource Explorer shows no data for it. SCCM does not know anything about the device -- what OS is installed, what hardware it has, what software is installed, what OU it's in... nothing. All our collections are based on queries, so until data becomes available to query on, SCCM has no idea what collection it should be in, and therefore nothing gets advertised to it. The client should be populating this data to the server during its discovery cycle, but for some reason it isn't. IF I go forcing AD system rediscovery, forcing collection member reevaluation, and manually triggering site actions on the client, THEN I can get SCCM to behave within an hour or so. But I'm really just mashing buttons randomly at this point. I don't know what combination of timing and ordering of actions is the magic sauce here.
But none of that makes sense because it doesn't take a full 24 hours to populate. If I image a machine up first thing in the morning, it will usually be ready by late afternoon, but discovery doesn't run until the middle of the night. Also:
So does that updated information help anyone? |
Google-authenticator with openvpn - AUTH: Received control message: AUTH_FAILED Posted: 19 Jun 2021 02:00 AM PDT I'm trying to set up MFA with Google authenticator for my OpenVPN setup on Ubuntu 16.04. Now OpenVPN works fine until I bring Google Authenticator into the mix. My server.conf file reads as follows: My client.conf reads as follows: Also, in /etc/pam.d I have cloned common-accounts to create an openvpn file with the following lines: Now I have created the necessary user profiles for each client connecting to the VPN server, say client1, client2 and client3 on Ubuntu. Now, consider client1 is trying to connect to the VPN server. I am logged in as client1 on the client side system, and try to connect to the VPN Server. I get the following , After this point, I get Now I wasn't sure why I was getting the AUTH failed error. I had seen many different ways in which the username/password combination could be input during the process of connecting to the VPN server. I was never prompted with a separate Google Authenticator prompt asking me for OTP separately. So I tried method 1 and tried method 2 expecting for a Google authenticator prompt which never showed up. Question 1: What is the correct way to use Google Authenticator login credentials. Am I missing something here which might be why I do not get prompted for the OTP separately? Another thing that I observed is that , gives different results for the two login methods above. I got these status messages while trying different combination of password + OTP combinations. Question 2: Can someone explain to me what these status messages mean in terms of my login inputs. Question 3: How can I get the MFA up and running. FYI I used libpam-google-authenticator. I did not follow the method which warranted using makefile and adding configuration parameters for pam. Thanks! |
Integrating squid with active directory Posted: 19 Jun 2021 06:01 AM PDT I am trying to integrate squid as a web proxy for my users in active directory. I have followed the tutorial in the squid site in here. When i run the command : i got the error : SASL/GSSAPI authentication started Error: ldap_sasl_interactive_bind_s failed (Local error) additional info: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (Server not found in Kerberos database) Error: ldap_connect failed. The file Here are my config files : /etc/krb5.conf Here is the error output: |
Amazon EC2 - Installed atop / htop but they don't show disk I/O stats Posted: 19 Jun 2021 01:00 AM PDT I configured an AWS EC2 with Amazon AMI Linux and installed via yum atop and htop and they work correctly but they don't show any stats for the disk I/O as usual. I tried some startup options with no luck and also running them with 'sudo'... Is there any way to make them show it? Edit: htop 1.0.1 and atop 1.27-3, same versions I have on another "real" server and these work out of the box... By "usual" I mean the % of the I/O of the disk in use, something like this from atop: |
Apache server-status: allow access only from one subdomain on same IP Posted: 19 Jun 2021 03:04 AM PDT I'm configuring server-status and get 404 error. I need allow access to If I put |
nginx hidden file deny configuration? Posted: 19 Jun 2021 02:00 AM PDT I am using the below standard config to block download of hidden files from nginx : But this config is also blocking genuine requests like : |
How do I deploy files to Apache Tomcat in a similar fashion to Apache Webserver, ftp Posted: 19 Jun 2021 04:03 AM PDT I need to deploy some files to a Tomcat App Server, is it possible to access the root directory of an application, and upload files to a folder? I have only used Apache WebServer thus far, and I can add files using something like filezilla to upload my website. In this case I just need to upload some files for download. How can I setup a downloads folder, in tomcat? |
SVN Lock - Unable to lock file from svn client - Tortoise client Posted: 19 Jun 2021 01:00 AM PDT We have a debian based SVN server with version 1.1.4-2(Pretty Old), When I try to lock a file it shows as below image, Nobody is able to lock any file. Can you please guide me how to solve this issue.I also followed the below client configuration but did not worked. I have attached the error image below. To configure locking on TortoiseSVN, right-click on any folder and select Tortoise SVN > Settings.... Click the Edit button next to "Subversion configuration file" (tbd: add screenshot). In the Miscellany section, uncomment the following line: by removing the '#' character at the beginning.In the auto-props section further down, add the line *=svn:needs-lock This will specify that locking be applied to all files. See other examples in the auto-props section of the configuration file if you want to apply locking to only a subset of files. [edit] Applying properties If the above client configuration is performed before any files are added, all files will be under the locking policy. However, if there are already existing files in a repository that require locking, they must have the svn:needs-lock property applied. To add the property to all existing files using TortoiseSVN, right-click on the root folder of a repository's local working directory. Select TortoiseSVN > properties. Add the svn:needs-lock property, and apply it recursively. Click OK. Is there anything that we need to add or change. Please help us. |
How can I make my custom "name@example.com" e-mail address if I'm the owner of "example.com" Posted: 19 Jun 2021 05:06 AM PDT I have a ".com" domain for 2 years. The only thing that I can modify is the nameservers, ns1, ns2, and ns3. How can I make my own e-mail address for this domain? Do I really need to buy hosting? I don't have a host right now, but I intend to make an application on a Django host, probably a Debian server, or maybe on Google app engine. |
Switch 302 redirect to 301 with Apache 2 ProxyPass in front of Tomcat 6 Posted: 19 Jun 2021 04:03 AM PDT I'm trying to optimise my site for SEO and it seems as though their is a 302 direct in action for the http requests. I'm hosting my app on a Tomcat 6 server which lies behind an Apache 2 server. I use the ProxyPass method (http://tomcat.apache.org/tomcat-6.0-doc/proxy-howto.html) to forward all requests to port 8080 (the port my app is hosted on). I've seen a lot of advice on how to set the redirect type when using the VirtualHost method but none to do with ProxyPass. The app is a Struts app that forwards users on to index.jsp when they hit the base url. Could this also be the issue? I'm grateful for any help on this one! Cheers! |
Deciding on SSLRandomSeed values in Apache 2.2 Posted: 19 Jun 2021 06:01 AM PDT What rules of thumb should you follow when choosing SSLRandomSeed startup and connect values in Apache? |
You are subscribed to email updates from Recent Questions - Server Fault. To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States |
No comments:
Post a Comment