Recent Questions - Server Fault |
- Is it possible to only generate mail notifications for some reject/defer codes in Postfix?
- Postfix relayhost. Connection refused
- How do you create a dynamic device group in Intune with membership based on the existence of a file?
- Why do I always go to the error page if there is no error in error.log
- Wondering why first 2 hops of MTR look like this
- Wireguard server: allow clients to communicate with devices local to the server through Wireguard (effectively using wireguard as a tunnel)
- how to analyse intrusion on my debian server
- How to check either of variable exist in the gitlab rules?
- PAM module configuration, ssh failure in Debian
- How Is Executable Found Without Leading Path Despite Its Location Not in Search Path?
- How can I pull Minimum Password Length policy from Windows 10 registry?
- Routed IPv6 on internal bridge with virtualized OPNsense router
- Monitoring processes/services Error by Zabbix over HPe Server
- ip-rule not use prioretized fwmark rule to choose expected route when wireguard tunnel around
- What is difference between host checks and service checks in Nagios and why both are needed?
- Mapping Linux users/groups to Windows 2019 NFS Share
- Issues installing Rootless Docker
- Netplan (re)moving route from main routing table into different routing-policy
- pip not working on ubuntu 18, how to fix that?
- How to have conditional redirect for nginx?
- How to run jenkins build, in multiple servers with ssh-key
- Docker: Trying to install PHP libraries
- Unable to locate package Nginx-module-GeoIP
- How to serve custom DNS server to DHCPv6 clients in OpenWRT?
- What is wrong with my SASL?
- Replace SAN SSL cert on IIS 8.5 swiftly
- Cannot generate SSPI context SQL Server 2016
- CentOS 7 Unable to Resolve Any Host Names
- QS_SrvMaxConnPerIP whitelist
- vsftpd can not jail users using chroot
Is it possible to only generate mail notifications for some reject/defer codes in Postfix? Posted: 20 Jun 2022 12:09 PM PDT I run an SMTP server for important email. I'm relatively confident with my configuration at this point, but I still want to minimize any accidental mail loss; in case of any errors, all of my rejection replies are actually deferrals (unless otherwise specified) and I get a copy of the session (via Like many mail servers, I also get a lot of attempts to use me as an open relay. Most of them are repeat offenders that always try the same I don't want to be notified of delivery failures (rejections) as a result of my manual blacklists, but I still want to receive copies of all other delivery failures (deferrals and remote rejections). Unfortunately, it seems that Postfix doesn't have such an option. To be clear, these are not "bounces"; they couldn't be filtered by separating that delivery mechanism. If I could generate notifications for deferrals (
|
Postfix relayhost. Connection refused Posted: 20 Jun 2022 10:46 AM PDT Postfix is refusing to send email as relayhost. It keeps saying:
However the port 25 is open: I have no idea where this problem comes from. |
How do you create a dynamic device group in Intune with membership based on the existence of a file? Posted: 20 Jun 2022 12:13 PM PDT How do you create a dynamic device group in Intune with membership based on the existence of a file? Within the add new group feature, I don't see a way to specify a file name, nor a way to utilize a script upon which to base the membership. Is it even possible? Thanks in advance. |
Why do I always go to the error page if there is no error in error.log Posted: 20 Jun 2022 10:23 AM PDT I am trying to serve a Vue app which is basically serving static files. I have the simple configuration, which also includes the backend PHP API server. When I go to When going to |
Wondering why first 2 hops of MTR look like this Posted: 20 Jun 2022 09:29 AM PDT Can anyone help me to understand why some MTR results would look like this? I am fairly new to network and trying to figure this out. MTR tool Results |
Posted: 20 Jun 2022 08:30 AM PDT I've got a bit of a weird problem, and I'm not sure if I'm trying to fit a square peg through a round hole or if I'm just not sure how to ask the question I really want to ask. At home, I have a headless server operating as a pihole and wireguard server. On my laptop, I wish to connect to this server and be able to communicate with devices on my home network (such as my desktop PC) as if I were there on the LAN. The home network is a typical household network: off-the-shelf router provides DHCP service, issuing out IPs at So far I'm able to communicate with devices connected via wireguard, including the wireguard server itself. What I cannot do is communicate with anything on the I fear that in order to do what I want to do, I'm going to need to disable the DHCP server in my router and setup my own one on the pihole server which will be able to manage both subnets at once, alternatively I could try simply not doing this seperate subnet stuff and just throw clients onto the DHCP server's subnet and see what happens... I really don't know what to do here and like I said, I'm not sure if I even know what my question is at this point. |
how to analyse intrusion on my debian server Posted: 20 Jun 2022 08:43 AM PDT I ve run a server since a few days and I have now 3 docker containers appearing in my docker ps -a that i ve never run or created : The unwanted containers are dreamy_visvesvaraya,wonderful_cannon and strange_jepsen. How can i check if my server was hacked and check the ssh or network access to my server. I have tried to check the logs with journalctl but nothing appear in the logs at the creation times of the containers (found with docker inspect). I have tried docker logs container_name on these 3 but had the error: Thank you When i run docker ps -a --no-trunc, i have : It's very strange as the command that seem to have been run correspond to my script used for my frontend container. However on my frontend the logs is not disabled. Also the names of these containers is weird, i dont know where it comes from and the time they were launched correspond to when i was away from the computer. And when i run docker history : Do you have any suggestions on how to check who accessed the server at the time the containers were launched? New containers appeared less than an hour ago and i was in front of my computer, so it's not someone who used my computer and my deploy script with other container names...i guess someone was able to take control of the server. I have checked the logs in /var/log in particular auth.log but i see many connection attemps but mainly failed ones. in particular around the time the containers were launched. When i run sudo cat /var/log/auth.log | grep Accepted, i only have lines Where user i my user defined with a ssh key access only. I have ufw configured for firewall I didnt deactivate root login with ssh key and i didnt deactivate root login with password. However i would like to be able to find traces of these logins if they happened... How can i investigate to see where is my security fault? |
How to check either of variable exist in the gitlab rules? Posted: 20 Jun 2022 08:17 AM PDT I have a gitlab rule condition like below. Want to modify it a bit so that, it should check either the existence of PACKAGEURL or BUILDRPMREQUIRED above. Tried keeping as below. but logic is not correct, because it is working if none of the two variables($PACKAGEURL , $BUILDRPMREQUIRED) passed also. |
PAM module configuration, ssh failure in Debian Posted: 20 Jun 2022 08:01 AM PDT I want to set passwort policies for users on a Debian VM, like minlen and special char required for the password. In my Debian VM I get an error and can´t log in again via SSH to that machine. OS Version: Debian Bullseye 11 Kernel Version: Linux 5.10.0-9-amd64 x86_64 Modifying the config file /etc/pam.d/common-password starting at the line: and inserting something like shown in (https://www.networkworld.com/article/2726217/how-to-enforce-password-complexity-on-linux.html): Without any changes at that file I can enter the machine without any problems e.g. Public Key is uploaded correctly, SSH Port is open, SSH and SSHD services are active. Again when I try to remote connect via SSH: I get in the last lines this error: |
How Is Executable Found Without Leading Path Despite Its Location Not in Search Path? Posted: 20 Jun 2022 09:27 AM PDT This is a question to help me understand the reason for a perceived inconsistency between documented and actual behaviors when calling an executable through sudo. When the secure_path option is enabled (default on my system), the search path behave as expected. But when it is disabled, something strange happens: an executable in System InformationThe following software is currently installed on my system: PAM does not set or update the value of the PATH variable on my system: My Replication ProcedureTo replicate, I first create a dummy script and install it in I verify that the search path works as expected when not using sudo: And using sudo, no surprise here either: Then, I disable secure_path (careful here! use of visudo is advised), either by commenting the line out in This should prevent sudo, when called with the However, when not using the So, how is it that Relevant DocumentationFollowing are references to various bits of information that I found relevant while researching this question. Sudo documentation says this about the secure_path option:
This page of Bash documentation on gnu.org (https://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html) explains when the various startup files are sourced. In my demonstration above, none of these files should be sourced since I'm neither spawning new shells nor calling sudo with the As per pam_env documentation in man pages, only the This ServerFault answer (Where does the bash PATH on CentOS 7 get /usr/local/bin from?) explains Bash's default values for the PATH variable. Even though it was answered for Bash on CentOS 7, the answer is still relevant to the Bash version packaged with CentOS 8. As per the accepted answer, the bash source
Subscribe to:
Post Comments (Atom)
|
No comments:
Post a Comment