Network – Windows Firewall Inbound and Outbound Rules Do Not Work

I have a programmable Logitech mouse (G600), which requires the complete installation of Logitech software. With Process Explorer, I recently noticed that some "LCore.exe" files contain a lot of network submissions. For example, after letting the process explorer run for a few minutes, I see this (542 network submissions):

enter the description of the image here

All I use with the software, is to program the extra buttons on the mouse, so that it is totally useless to have access to the network. I have therefore created inbound and outbound rules in Windows Firewall (which is enabled), supposed to block LCore.exe on all types of networks (public and private) from sending or receiving information on the Internet.

More precisely, for this file:
C:Program FilesLogitech Gaming SoftwareLCore.exe
The action is to "block the connection" on domain profiles, public and private for incoming and outgoing transfers. However, after creating the firewall rule and restarting the computer, I checked the process explorer to find:

enter the description of the image here

So, it is clear that he is still accessing the network despite my firewall rules. Can someone explain why? I do not understand how the Windows Firewall works, is Process Explorer wrong, or does Logitech find a way around this problem? What should I do to completely prevent this program from accessing the Internet?

Defining Postfix IPTables rules safley

I am IP tables with these rules to allow sending and receiving postfixes with OpenDKIM encryption, but are they too permissive?

I would prefer not to be a relay bot or leave my server vulnerable.

  • I do not need POP3 (110) because I do not store mail or manage mailboxes.
  • No need to secure POP3 (995) either.
  • I do not need IMAP (143) because I do not try to access mail on a remote server.
  • No need for IMAP security (993) either.
  • I need SMTP (25) because I send an email,
  • and I need secure SMTP (465) —

Rules for OpenDKIM DNS lookups to check for txt signatures via port 53 are acceptable.

I'm currently using these rules for Postfix

$IPT -A INPUT -p tcp -m multiport --dports 25,465,587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT
$IPT -A OUTPUT -p tcp -m multiport --dports 25,465,587 -m conntrack --ctstate NEW,ESTABLISHED -j ACCEPT

INPUT 25 is intended to receive and initiate SMTP requests that can be promoted to 587.
NEW makes sense, IS IT NECESSARY?

INPUT / OUTPUT 465 was intended to receive SSL / SMTP but apparently it was reassigned by IANA to a new service. I will delete it.

INPUT 587 is for TLS / SMTP, the encrypted email that we want.
NEW makes sense, IS IT NECESSARY?

OUTPUT 25 is intended to send SMTP in the clear
The 587 output is intended to send TLS / SMTP
NEW makes sense, but is ESTABLISHED?

Any help appreciated …

Change the number of rules entry fail2ban for Iptbales

I would like to change the input number of the fail2ban rule in iptables to not be at the top (# 1) just to be added after all the other rules. (after removing the rule, it comes back every time)

infopath – Sharepoint: Can I manage rules for 2 fields at the same time?

I have a list and I have 7 fields: Country, subregion, product, category, email address, concatenate, concatenate2

Rule 1
Concatenation in the field:
If concatenation = (country), (product) (eg IndiaPantry)
then enter in the Email field
then send an email to the SharePoint designer help

What if not all countries have to take into account the region?

Rule 2

Concatenation of field2:

If concatenate2 = (country), (subregion) (eg IndiaNorth)
then enter in the e-mail address field
then send an email to the SharePoint designer help

I tried to put both rules, but only rule 1 worked.
Can I put 2 different rules in 2 different fields at the same time?
I used Infopath to manage the rules

google sheets – How to apply two conditional formatting rules to a single cell

I have two groups of rules … a color code filling cells based on a condition of visual grouping of data (7 rules for 7 groups); the other color codes the text of the cells according to another condition for an alert status.

I set the text color to "none" in the fill rule and the fill color to "none" in the text ruler, but it appears that the default colors are applied by the priority rule. higher and the lowest is ignored.

Is it possible to superimpose rules on multiple conditions to achieve this effect without having to enumerate an absurd amount (x * y) of rule combinations?

5th dnd – Are there rules about damage while holding your breath in combat?

Or simply in basic rules such as on D & DBeyond. Reproduced below:

A creature can hold its breath for a number of minutes equal to 1 + its Constitution modifier (minimum 30 seconds).

When a creature runs out of breath or suffocates, it can survive for a number of turns equal to its Constitution modifier (minimum of one turn). At the start of his next turn, he drops to 0 life and is dying. He can not regain life or stabilize before he can breathe again.

For example, a creature with a build of 14 can hold its breath for 3 minutes. If he starts to suffocate, he needs 2 rounds to reach the air before he falls to 0 life.

However, the above does not cover your specific situation. If you take damage while holding your breath, the rules are silent as to whether the damaged creature should be penalized for holding your breath.

One of the 5th D & D mantras is "rules, not rules," and that's a case of this type. As DM (I guess you are the DM in this scenario?), You can propose a decision in this case; I would suggest something like a control stop with a penalty for failure, such as losing 30 seconds of restrained breathing, or even just "you do not hold your breath anymore". But such a decision at that time would be something that the SM would propose on the fly (though, once such a decision has been made, it is better to be consistent with it from now on in the interest of equity).

Python – Appropriate Design Template for Rules and Results Development

In the exercise I develop below, I apply the chain of responsibility model. The model works fine but I do not think it's the best approach. I think the rule design pattern should be a better fit, but there are not many good examples about it using python.

My questions for you are:

  1. Do you think that could be done with another motive?
  2. Is the chain of responsibility acceptable reason for this?
  3. Should I study the design of the rule (in other languages ​​if necessary) to apply it in python?

The exercise is as follows:

You have patients with health problems such as:

  1. F: fever
  2. H: healthy
  3. D: diabetes
  4. T: Tuberculosis

In this exercise, medications are provided to all patients. It is not possible to target a specific patient. Here is the list of available medications:

  1. Like: aspirin
  2. An antibiotic
  3. Insulin
  4. Paracetamol

Medications can change the states of patients. They can heal, cause side effects or even kill a patient if they are not properly prescribed. The effects of drugs are described by the following rules:

  1. Aspirin cures fever;
  2. An antibiotic cures tuberculosis;
  3. A sick patient who does not receive the right medication remains ill unless explicitly stated otherwise;
  4. Insulin prevents the diabetic subject from dying, does not cure diabetes;
  5. If insulin is mixed with an antibiotic, healthy people catch fever;
  6. Paracetamol cures fever;
  7. Paracetamol kills the subject if it is mixed with aspirin;


Parameter 1

List of patient health status codes, separated by a comma. for example. "D, F, F" means we have 3 patients, one with diabetes and two with fever.

Parameter 2

List of drug codes, separated by a comma, e.g. "As, I" means that patients will be treated with aspirin and insulin.


The result should be sent to stdout. It must be a comma-separated string with the number of patients in a given state, respecting the following format: F: NP, H: NP, D: NP, T: NP, X: NP (NP: number of people ).

Transfer by the customs rules of the Spanish airport

I will arrive in Barcelona on a flight for us. In 22 hours, I will have to take my flight to Barcelona from Russia. I have a question regarding my imported goods then. Since I'm in transit and I live in Russia (I also have a Swedish passport, so no need for a visa). If I bring goods of a total value of 1000 € for subsequent transport in Russia. I will have to pass the customs in Barcelona again to be able to record my next flight. Are there any solutions in my case: I might be able to leave my expensive goods at the airport customs office to store them until the next day when I take the plane for the Russia, or can I just show them back to the customs staff when I take the plane to prove that I export the goods out of the EU?
Thank you

What is the Cloudflare equivalent of these two .htaccess redirect rules?

I usually set up my sites to rewrite URLs in the following cases:

  1. All http traffic is redirected to https (and www), with a 301
  2. All non-www traffic is redirected to www (and https), with a 301

In .htaccess, the rewrite rules are as follows:

RewriteEngine on
RewriteCond %{http_host} ^ (NC)
RewriteRule ^(.*)$$1 (L,R=301)

RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} (R=301,L)

Note that all redirects are made with a single hop. Non-www traffic goes to www and https, and non-https traffic goes to https and www. How do you get the same results in Cloudflare?

PS I do not know if the option "Always use HTTPS" from Cloudflare is worth being activated because it does not use 301 code and I have to write a separate rule for a rule of https redirection with code 301 anyway.

What are the rules of the Instagram site ..?