Recent Questions - Server Fault |
- How to setup a proxy radius server (FreeRadius 3)
- How do I find my server?
- Cron Job to move files not running
- Minimum and maximum number of packets to figure out all routes for a network with distance-vector routing
- postfix/sasl/pam (mysql) auth error
- License cost of the AWS windows community machine images
- Change an active slave of Linux network bonding interface without ifenslave command
- Ubuntu server won't boot after reboot on google cloud console
- DHCPDISCOVER requests from off-by-one MAC addresses
- Port unavailable in Kubernetes pod
- Nginx with only TLS1.3 cipher suites
- Is authentication mandatory when setting up a reverse proxy?
- UEFI Enabled; unable to get IP address from DHCP, WDS
- Add multiple header field matches to Exchange rule
- How to enable email relay in Zimbra in same domain, sent from O365
- Best way to run python 3.7 on Ubuntu 16.04 which comes with python 3.5
- How do you add an existing "microsoft account" to a azure subscription
- Failed to fully start up daemon: Connection timed out
- FreeRadius, login not working when using mschap
- Does anyone know better way to scan for IPMI devices?
- Enabling ChrootDirectory breaks my SFTP on AWS, gives error for wrong dir
- How do I configure apache2 to serve static assets from server root subdirectory?
- Powershell - how can i list both username and group membership for users of a named group?
- Cpu overuse replicating a Gluster Volume
- OpenSSL connection Error called stream_socket_enable_crypto()
- Xen USB pass through
- How do i set a open_basedir with php using fastcgi/apache2 on linux?
- Ubuntu 12.04 open port 80 inside VLAN
- 'ALTER table' for all tables in a database
- Directory in /var/run gets deleted after hard reboot
How to setup a proxy radius server (FreeRadius 3) Posted: 22 May 2021 04:27 PM PDT I am trying to setup a proxy Freeradius server that forwards all requests to another Freeradius server. For reference see the following picture: The reason for this setup is I want users to be to onnect to the local LAN via VPN, but the local site is not accessible due to NAT implementet at the ISP. I am however able to make a site2site VPN connection from local LAN to the VPN server, so I want users to be able to make a VPN connection to the local network via the public VPN server, provided they are a valid user on the local net. I have a Freeradius server running on local LAN that validates users against a database - and that part is working fine. Configuration VPN server side As far as I understand the only thing I need to modify on the server is the file Assuming usernames logging onto the VPN is on the form The I would also need to add the following to Configuration local radius server side On the local radius server I need to update Running the following command on VPN server works as expected:
I get the following response back: However running the following command on the VPN server fails:
The output from the command is: Running the command Monitoring freeradius on local net indicates that the server was never called, from the vpn server, so what am I missing? |
Posted: 22 May 2021 06:31 PM PDT I have a private NuGet server that I've been using for several years. I need to debug an issue on the server, the trouble is can't find any record of it, I don't know where this site is hosted. I thought it would be on Azure but it's not listed there. How can I find the host? |
Cron Job to move files not running Posted: 22 May 2021 10:22 PM PDT I added this command in my crontab, but it's not working. I saved in both my user and root crontab but neither is working. shows it is being executed, but no files are being copied. |
Posted: 22 May 2021 01:56 PM PDT What is the minimum and maximum number of packets needed to figure out all routes in a network with 8 nodes and distance-vector routing such that every two nodes are not separated from each other by more than 4 nodes? Which toplogies do these numbers suggest? Please explain the process using which the answer is given. |
postfix/sasl/pam (mysql) auth error Posted: 22 May 2021 05:01 PM PDT I've followed tutorial on http://flurdy.com/docs/postfix/ to set up an email server, and most of it works (after switching from Courier to Dovecot). Just not sending email through SMTP. Sending with This is what I see in (I'm logged in as And I can see something query mysql for user A summary:
The The configured table and columns in
And then there's the password hash. I've set up Dovecot to only accept SSL and use the plaintext password ( Thunderbird tells me it can't send the message, and then shows a kind of error message: ... "unexpected error 80004005" ... "could not be sent for an unknown reason". That doesn't seem like a wrong password error, but an internal server error somewhere. But no horrible error messages in the logs... After adding some debug level somewhere (sorry I can't remember, so many config files!!) the syslog contains more on the smtp connection: The I can't find any more debugging than this. syslog, mail log, auth log, mysql log. All the config files are huge, so I didn't add most. I followed http://flurdy.com/docs/postfix/ pretty exactly, and verified every step several times, so that's what I got. EXCEPT clear vs crypt, I've changed that around a few times. Any brilliant ideas? |
License cost of the AWS windows community machine images Posted: 22 May 2021 10:25 PM PDT When we use windows server 2012 r2 community machine images in AWS EC2 instances, are we being charged for the license cost by AWS? In a legal aspect, are we allowed to use community machine images for commercial purpose? When I check AWS documentation I could not find a place which they explicitly discuss about community-based machine images (AMI). In contrast to community AMI, when we are getting AMI from the AWS marketplace we are asked to pay separately or bring license separately. can someone please explain? |
Change an active slave of Linux network bonding interface without ifenslave command Posted: 22 May 2021 01:40 PM PDT Linux supports bonding of multiple Ethernet network interfaces for extra reliability or load balancing. Bonding driver used to be configured via One particular feature of deprecated command which I can't find a modern equivalent for is changing an active slave of the bonding interface (assuming that bonding interface is operating in the For example, the following commands set
Is there a way to change an active slave of Linux bonding interface using |
Ubuntu server won't boot after reboot on google cloud console Posted: 22 May 2021 01:25 PM PDT Ubuntu server won't boot after reboot on google cloud console. After rebooting, I noticed that there is 0 disk space, but I can not expand it since the server is starting (((Error in the screenshot. Please help screenshot I created a new snapshot of the disk of this VM, and created a VM from this snapshot, but the errors are the same |
DHCPDISCOVER requests from off-by-one MAC addresses Posted: 22 May 2021 07:11 PM PDT Recently I was doing some wireshark capture and tcpdump in an isolated local network. I noticed unusual dhcp traffic from mac addresses that are 1 off from existing mac address of network interfaces wireshark capture of dhcp traffic from machine 1 wireshark capture of dhcp traffic from machine 2 I searched for solutions such as how to stop dhcp and dhcpdiscover off by 1 and verified
It is strongly discouraged to install any third-party software on the two machines for security reasons, so I have to make use of only what's available. What is the cause of such DHCP traffic and how should I go about disabling them? |
Port unavailable in Kubernetes pod Posted: 22 May 2021 10:13 PM PDT I have a three node Kubernetes cluster and a deployment with 5 replicas. Each pod of the deployment exposes port :3401 and :4000 (one for debugging, and one for the application). I have two services (one for each port the pods expose). I have an ingress controller, and a single ingress for the application that is exposed by the application service. Three of my pods are able to start while the other two log the following error: Is it possible to have more pods than nodes listening on a single port using Kubernetes? If so, where would I go about debugging this issue? |
Nginx with only TLS1.3 cipher suites Posted: 22 May 2021 07:02 PM PDT I am trying to configure Nginx to use only TLS1.3 with 2 ciphers: TLS-AES-256-GCM-SHA384:TLS-AES-128-GCM-SHA256. So, I tried this configuration: But nginx -s reload errors out with Looks like I need to append at least one non-TLS1.3 cipher to make the config work. I tried various such combinations and they worked. One of them is: Why is it so? I think it's happening because OpenSSL itself doesn't accept the original ciphersuite string. I am using OpenSSL-1.1.1g. There are some useful links I came across but couldn't figure out how to achieve what I want - using only TLS1.3 ciphersuites. https://forum.nginx.org/read.php?2,284909,284914#msg-284914 |
Is authentication mandatory when setting up a reverse proxy? Posted: 22 May 2021 06:51 PM PDT I have never deployed a reverse proxy before and i was wondering if it is mandatory from a security perspective, to ensure only authenticated requests reach my web application server past the DMZ? My web application server which runs linux tomcat stack, has all the mandatory security and firewall infrastructure and can authenticate its own requests. We just dont want to host it in the DMZ since it does not always run the latest OS or tomcat instance. Googling "reverse proxy best practices" or "reverse proxy security best practices", did not turn up any recommendations to mandatorily enable authentication at the proxy. What are the guidelines on this and what is generally practiced in the field ? I would appreciate all answers and especially so from folks who have actually deployed reverse proxies in a security conscious environment like banks etc ... Thanks in advance. |
UEFI Enabled; unable to get IP address from DHCP, WDS Posted: 22 May 2021 04:07 PM PDT I'm trying to boot PCs from a Windows 2012R2 WDS server in UEFI mode. it works fine BIOS mode, but I want to boot from UEFI mode. I have change the boot setting to UEFI mode; secure boot in BIOS. I am using Dell laptops and when I try to boot from NIC IPv4 under UEFI boot shows as below. ======================================================================== then it hold for a while to get IP address from DHCP server then fails and prompts to reboot laptop. |
Add multiple header field matches to Exchange rule Posted: 22 May 2021 04:07 PM PDT I can't seem to find it so perhaps there isn't a way but does anyone know how (or if) to add multiple header field matches to an Exchange Online rule? I'm talking about when you create a rule and select "A message header matches these text patterns". Is there any way to add the predicate multiple times? What if I wanted to match an email based on two or three different header fields. Once you've selected that option you cannot add it again and it only seems to support one value for the header field name. |
How to enable email relay in Zimbra in same domain, sent from O365 Posted: 22 May 2021 10:01 PM PDT So i have to use a shared domain during migration from MX points to The plan is, that during migration, the incoming mail comes to zimbra and is redirected to O365 to onmicrosoft domain, for migrated users. When i send email from O365 to anywhere (except my domain) it works correctly. When I send to anyone within company, that is still on zimbra, I get either of the errors:
|
Best way to run python 3.7 on Ubuntu 16.04 which comes with python 3.5 Posted: 22 May 2021 08:57 PM PDT I would like to avoid backports, they always seem to mess up my packages. So I was thinking tools like conda / virtualenv / maybe even docker can help. What's the most simple / cleanest way to work with python 3.7 on my system? |
How do you add an existing "microsoft account" to a azure subscription Posted: 22 May 2021 08:07 PM PDT We have an existing subscription that we'd like to give a user access to with their existing Microsoft Account. When we go into Azure subscription's access control and add the user, the only option we see "Azure AD user, group, or application" which creates a Azure AD user. We're wanting to add a Microsoft Account. We have an existing user that is added like this already, and they can switch between subscriptions easily in the top right Azure menu. We just can't figure out how to do it again. Here is what it looks like with a MS Account added... VS a AD user. |
Failed to fully start up daemon: Connection timed out Posted: 22 May 2021 07:02 PM PDT After a few Ubuntu updates this started happening. Whenever logging into this server, either by using the LDAP client or a local user, it takes a long time to get authenticated and log in. /var/log/auth.log: The server is using Ubuntu 16.04 LTS and: I have already restarted the server with no effect. Here's the journal log: |
FreeRadius, login not working when using mschap Posted: 22 May 2021 08:07 PM PDT I've been trying to make RADIUS work with Zentyal without success, I've tried logging in with an Android phone and a Windows 10 PC but none of them worked. Joining the domain using LAN works fine, using radtest without mschap works fine too, the problem here seems to be mschap, I've searched the web for hours but nothing worked for me. When I tried to log in using my phone or PC I used an Ubiquiti Access Point that seems to be configured correctly, requests are handled by FreeRADIUS. The AP is not the problem since radtest doesn't work either but anyways here is how I'm connecting using my phone. Radtest works fine when not using mschap freeradius -X output of previous command This doesn't, note that I'm using mschap here Output of freeradius -X when executing previous command /var/log/freeradius/radius.log NTLM seems to be working Searched online I found out that a common problem resulting in the same error winbindd_privileged is owned by group winbindd_priv which freerad is part of. Some users online suggest adding users manually in /etc/freeradius/users which does work but the next one doesn't Now I cannot afford adding each users manually, I need FreeRADIUS to gather users from the domain but I thought pointing out that disabling NTLM works, even though I don't know how to disable it for every user. Is there a way to make FreeRADIUS work with Zentyal without having to add users manually? |
Does anyone know better way to scan for IPMI devices? Posted: 22 May 2021 06:01 PM PDT Iam using a simple nmap scan on IPMI/BMC port 623/tcp. Is this enough or Is there anything more I need to be aware using nmap? |
Enabling ChrootDirectory breaks my SFTP on AWS, gives error for wrong dir Posted: 22 May 2021 05:02 PM PDT I'm trying to set up an SFTP server on AWS that multiple customers can use to upload data securely. It is important that they are not able to see the data of any other customer, and to do that I need to jail the directories with ChrootDirectory in My sshd_config has the following: If I comment out the ChrootDirectory line everything works fine, except that you can see all the files on the system. I configured everything based off of the instructions here using vsftpd. I and am using ssh keys to control access to each of the customer accounts, as per Amazon's instructions. I am using the Amazon AMI. Edit: I changed the chroot directory to /home/chroot/ftptest/ and created directories with the following permissions: It's still not working. In /var/log/secure I see even though /home/ftptest isn't the directory I am trying to chroot to. Why would it be throwing an error for that directory? Could this be an issue with the ~/.ssh directory? |
How do I configure apache2 to serve static assets from server root subdirectory? Posted: 22 May 2021 05:02 PM PDT Front end developer here - I just inherited a server (Mac Pro) to host my prototypes within our network. There's already an apache server set up on it, but I don't know much about it's config. This is a shared server, so while the server root is set up at
I build my site with webpack and it places static assets in a The problem is that index.html references I'm referencing scripts in index.html like this: Likewise, I need to reference some fonts located in I've read a little about using vhosts but the module is not already loaded in httpd.conf (commented out) and I don't want to cause a conflict with existing configuration, which I don't yet fully have my head around. I've also read about .htaccess files but AllowOverride is set to None in httpd.conf - I could change it and then start learning about .htaccess but I wonder if there's another way as I am inexperienced setting up this sort of thing. Are there any other (easyish) ways to get apache to look for my static assets in my directory? |
Powershell - how can i list both username and group membership for users of a named group? Posted: 22 May 2021 02:08 PM PDT I am relatively new to powershell and I have two statements on the cmd line:
To produce a nicely formatted table with two columns of a persons real name and their username.
To produce list of groups that each user in a named group belongs to. I would like to combine these so that I have a users real name + username and then the groups they belong to for each user e.g. or maybe Is there any simple way to create this? I am not overly concerned about it being beautiful. If there is no simple way can anyone give me any pointers to how I can create this a difficult way? If there is only a difficult way then whilst a working answer would be nice I would sooner have pointers to start with to see if I can produce something myself. I am still learning after all. My original Google search found https://gallery.technet.microsoft.com/scriptcenter/Powershell-Get-users-who-b0420fe1 but could not get it to work on the cmd line by replacing variables with hard coded strings. This is what I ultimately want to achieve but with just 2 groups however in the first instance I want to start with something like the output above. I also found How can I generate a list of the security groups a set of users belong to? in the process of writing this question but this just appears to produce similar list to that which I created in the 2nd cmd line, the one that uses get-adprincipalgroupmembership. |
Cpu overuse replicating a Gluster Volume Posted: 22 May 2021 06:01 PM PDT I've this scenario: srv01 srv02 srv03 there is a gluster volume "vol1" running on srv03, and all the servers can use for i/o. vol1 contains a lot of mixed side images, ranging from few kbs to 3-4Mb, The total amount is about 1.5TB. Gluster version is 3.6.2 It's not a silver bullet, need some tuning, but works pretty well. Now I've to replicate srv03's brick to the other servers. The problem is that srv03's cpu skyrockets to 100% and cannot serve normal requests. Net traffic is low. Options are: cluster.data-self-heal-algorithm: full cluster.self-heal-daemon: off performance.cache-size: 1gb I've to keep the service running while the replication is running, Your suggestions are welcome |
OpenSSL connection Error called stream_socket_enable_crypto() Posted: 22 May 2021 09:06 PM PDT in my php coding i have following line which uses by SWIFT MAILER Class however rarely (not always) i get following php error i am not sure where the problem is or should i ignore this as this happens only once in a while |
Posted: 22 May 2021 02:08 PM PDT Running the Xen (Debian). I want to access the iKey USB dongle from Windows DomU. I have 2 PCI: lspci: 00:14.0 USB controller: Intel Corporation Lynx Point USB xHCI Host Controller (rev 04) 00:1a.0 USB controller: Intel Corporation Lynx Point USB Enhanced Host Controller #2 (rev 04) After using Pciback, I am able to Pass the USB to Guest. DomU.log: register_real_device: Real physical device 00:14.0 registered successfuly! register_real_device: Real physical device 00:1a.0 registered successfuly! In the machine, USB and USB-SS Ports are available. But even after installing Xen drivers, in the DomU, I can see only 1a.0 and Not 14.0. When I start DomU, getting the following error for 14.a: The kernel doesn't support reset from sysfs for PCI device.. Any tips?? |
How do i set a open_basedir with php using fastcgi/apache2 on linux? Posted: 22 May 2021 10:01 PM PDT I tried to add this line to my virtual hosts in Apache, but failed: My installation: Any ideas? Something I noticed in php manual that worried me enough (http://www.php.net/manual/en/ini.list.php): (*: confirmed, user can NOT change it at run-time) |
Ubuntu 12.04 open port 80 inside VLAN Posted: 22 May 2021 09:06 PM PDT I have an nginx server running on ubuntu 12.04 that serves http through port 80 and https through port 443. Everything works fine if I access it from the same computer via localhost, 127.0.0.1 or the local IP 192.168.0.11. If I try to access the server from another computer in the same VLAN it does not work for http; it works for https. I have changed my nginx configuration to also listen to port 8000 for http; I can then access http from the other computer in the same VLAN via " I also have a web server running on port 80 on a windows machine and can access it from another device in the same VLAN, therefore the router is not blocking incoming http traffic. The nginx process is run by root. I have used tcpdump and I see that packets are arriving to Ubuntu: 192.168.0.16.49735 > 192.168.0.11.80 and that some response is being given 192.168.0.11.80 > 192.168.0.16.49735 (I do not know what the response is though). There is no request arriving at the nginx web server (I have checked the access log). I have iptables empty. I have unsuccessfully tried to find a solution for a long time to this, it has now become a matter of happiness or bitterness :). |
'ALTER table' for all tables in a database Posted: 22 May 2021 07:47 PM PDT How can I run the following for every table in a database: I don't want to have to manually run it for each table, but rather run it for all tables in a database. As an aside: If your curious as to why I am running this: http://bugs.mysql.com/bug.php?id=1341 & http://bugs.mysql.com/bug.php?id=1287 |
Directory in /var/run gets deleted after hard reboot Posted: 22 May 2021 07:18 PM PDT I keep my sphinx pid in /var/run/sphinx/searchd.pid but every time I hard reboot the directory /var/run/sphinx disappears and sphinx fails to start. Is there a way to make that directory stick or have it automatically created? How do people usually handle this situation? I use Ubuntu Hardy |
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