Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

Application vs Services

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Application vs Services

L1 Bithead

Hi Team,

I have a couple of questions in application vs services.

1. I have to permit a list of services for a particular traffic. In those list some of them are already in the applications like DNS, IMAP, Pop3 and I need to create some services with custom port. Now do I add these applications and the custom services in the same rule or does it have to be in two different rules ?

2. I need to permit bitdefender/kaspersky antivirus traffic. As per the application it uses only tcp 80/443 as standard port. But I do have a list of services which has custom ports like tcp 7075. Do i need to add as a service or add as an application and give any (instead of application-default) ?

Please advise.

Regards,
Krishnan
11 REPLIES 11

L4 Transporter

Hi,

1- You can add the application and all ports to same rule, as the application wont be identified based on the port it uses but here you will have to allow all services like also 53, 143...

2- you can choose the application and set service to any, that should work but not best practice.

 

 

Hi Abdul,

Thanks for your reply.

Now If I add applications for eg DNS, then do i need to allow 53 as well ? Then If I permit 53 in service and I need to permit some customer service like 7010, then I will be adding 7010 as well. WIll the application DNS be looking for service 7010 as well ? or how is the behavior ?

Regards,
Krishnan

Hi @KrishnanR,

 

you will need to add all ports that the applications will use because in the services tab  "Selected" will be set.

each application will use the ports it needed, DNS works on normally on Port 53, so it will use this port.

Thanks for your message.

If I have a list of applications like dns, https along with some services like TCP-7010(not related to dns or https), these applications have no relation with the services I am going to mention. So should it be in a single policy ?

Regards,
Krishnan

well that depends how you will organize your security policies, so when you search for a policy your created before it will make sense to the admin.

 

Dear Abdul,

Thanks for your reply. I mean can I add them both in a single policy itself rather than creating two different policies one for App-ID and another for Services related. Will that be fine or that may cause any issue ?

Regards,
Krishnan

Application and services are handled seperatly, that means you will need to list all applications that you need, and all services that you need. an example if the traffic has been identified as Facebook:Port 80,443, then application tab should list facebook and services set to selected then services will need to list all ports that facebook will need. another exmple if the firewall identified the traffic as Unknown TCP:Port 7010, and application tab lists Unkown-tcp, but services selected and port 7010 not listed, the traffic wont match the rule.

hope now it is more clear.

Dear Abdul,

Thanks for your quick response. So in the same rule, I can add these. This will work ?

 

KrishnanR_0-1602665645064.png

I saw the following rule in the demo system. It means in a single rule it should be fine I guess

KrishnanR_1-1602665699920.png

 

Regards,
Krishnan

no that will not work, because services is selected and only 4001 is allowed, when selected you will need to enter all port that you want to allow or deny that means the dns port.....

 

But if you look at the rule which I saw in demo appliance it had ping and other applications with a custom service.

Regards,
Krishnan

ping doesnt need a port, and for ms-rdp probably they are using NAT or even 3389 defined in same TCP4001. as i already mentinied that is how security policy in PA works.

good luck.

 

  • 6551 Views
  • 11 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!