Questions tagged [firewall]

Typically software that runs to prevent network traffic from reaching a computer. Also a hardware device that works on a network level rather than running on a single computer.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Is it possible to define groups of programs for which some rules apply in LittleSnitch?

While rules can be applied to Any process it does not seem to be possible to apply a rule to some programs. This would be nice functionality, since I would love for my browser rules to be applied to ...
user avatar
  • 449
0 votes
0 answers
13 views

Any way to use Handoff with "Block all incoming connections" enabled in Firewall?

My firm recently started requiring "Block all incoming connections" to be enabled in Mac Firewall: But with this turned on, I can no longer place phone calls from Mac via iPhone. I get a ...
user avatar
  • 3,642
1 vote
1 answer
44 views

How can I allow ONLY iMessage (and not web browsing) through a firewall?

I've looked up what TCP ports iMessage uses to communicate with and Apple says: 80 (TCP) 443 (TCP) 5223 (TCP) In my particular use-case, web browsing (80, 443) is not allowed. But we would like to ...
user avatar
0 votes
0 answers
19 views

Firewall bug; socket programming

I am seeking a work-around for a bug in MacOS 12.4. I write C++ programs that create TCP/IP listening sockets. When I launch one of them, I see an error dialog containing language Do you want the ...
user avatar
0 votes
0 answers
15 views

What ports and protocols does the Apple "Protect Mail Activity" indirect asset loading feature require?

What are the ports used by the indirect asset loading feature of the Apple Mail app?
user avatar
  • 231
1 vote
0 answers
20 views

Incoming Network Connection alert does not dismiss

I develop web applications and often get the Firewall alert on a new version of my code: This is OK (although I would prefer to just answer one and be done with it). The problem is that selecting ...
user avatar
1 vote
1 answer
100 views

Port forwarding

I would like to intercept the tcp traffic from a device on my network. I cannot change the destination but I set the router IP to the IP of my M1 Mac Mini. I used to do this with ipfw on a virtual ...
user avatar
0 votes
1 answer
25 views

I accidentally clicked deny on port open prompt

I'm developing an app that binds to a local address, on a random port when it runs. I used to get a prompt to allow connections but I accidentally pressed Enter key and I think I denied the terminal ...
user avatar
2 votes
0 answers
251 views

Getting asked if I want to allow or deny incoming connections on the google chrome helper app every time I launch chrome

I have clicked deny everytime, and I have checked that the firewall rule states block. Yet it keeps appearing. I realize at this point that I am actually unsure what this dialog window is asking. ie ...
user avatar
1 vote
1 answer
162 views

Apply outgoing firewall rules per app selectively (MacOS Big Sur)

Question: Which firewall can selectively apply multiple named domain resolving rules per app? E.g. like the One Periodic's Hands Off firewall Details: I'm looking for an app or combination of apps ...
user avatar
0 votes
0 answers
37 views

CardDAV: HTTP discovery requested, but port x is not allowed

I am currently programming a CardDAV/CalDAV server and would now like to test it on my Mac. The server runs on http://localhost:56510/ (or http://localhost:80/, but that makes no difference). But when ...
user avatar
1 vote
1 answer
99 views

pf.conf configuration?

I've been a Windows user for 35+ years and I'm new to Macintosh. I would like to configure PF firewall to block the ports below, incoming and outgoing on all interfaces. What commands do I need to use ...
user avatar
0 votes
0 answers
276 views

Did monterey 12.3 add a block incoming connections firewall rule for remotepairingdeviced for anyone else?

From what I can tell, remotepairingdeviced is a new daemon added in 12.3. However, I can't remember firewall rules that block everything by defaul being added before, and I never received the prompt ...
user avatar
0 votes
0 answers
124 views

Testing Application Firewall macOS Monterey: how do I completely reset it?

I am currently trying to hunt down a problem where it seems socketfilterfw (the application firewall) breaks the kernel's connection mechanism (the kernel stops passing on traffic to legitimate ...
user avatar
  • 584
0 votes
0 answers
425 views

How to open a port on MacOS Big Sur?

I am trying to open a specific port (8000) on my Mac (macOS 11.6) for local web development testing. Let’s say my computer’s NAT IP is 192.168.1.10. If I go to 192.168.1.10:8000, I get nothing. nmap ...
user avatar
  • 1,076
0 votes
1 answer
934 views

What are "netbiosd" and "rapportd"? Why are they asking for incoming network connections? [duplicate]

I was asked to allow/block netbiosd & rapportd, but I do not know what they are, so I block both of them. What are they, and blocking them is okay?
user avatar
  • 113
0 votes
0 answers
17 views

Suggestions for an macOS/OSX app or browser extension (free or non-free but not subscription-based) that can block specific URLs

as above. I've looked at 3 apps blocksite chrome extension and focus are both subscription-base cisdem appcrypt: it seems it blocks whole websites. As an exameple, I blocked a clip from Finding Nemo ...
user avatar
1 vote
0 answers
46 views

Remote sharing doesn't work even after allowing config in Firewall

I've allowed remote sharing in the Firewall And enabled remote sharing and remote login. I have Observe and Control enabled from the options dialog in Remote sharing. But remote sharing works only ...
user avatar
1 vote
1 answer
100 views

Can I compile and locally run SimpleFirewall example app without enrolling with apple developer program?

I was curious about writing my own simple application firewall. After going through several tutorials I've downloaded SimpleFirewall example app available at: https://developer.apple.com/documentation/...
user avatar
1 vote
1 answer
570 views

MacOS Firewall: Program grayed out, can't be added to Firewall Options

In MacOS Monterey (12.0.1), I am running Python 2.7 from an Anaconda virtual environment. Each time I run the Python script, I am asked if I want to accept incoming network connections: I have tried ...
user avatar
  • 8,256
0 votes
0 answers
12 views

Stealth mode being reported as both on and off

MacBook Pro 16 (2019), Big Sur 11.6.1 System Information is reporting that Firewall Stealth Mode is off, yet System Preferences is reporting that it is on. $ system_profiler SPFirewallDataType ...
user avatar
  • 204
1 vote
0 answers
59 views

Modifying tcp packets going out on a specific port

I am newbie with pf. I want to modify all outgoing TCP traffic having destination port 8001. For that, firstly, I wanted to use pf to redirect all the TCP traffic at en0 with destination port 8001 to ...
user avatar
0 votes
0 answers
187 views

MacBook blocks all incoming connections, even when firewall is turned off

I moved to a new MacBook (High Sierra initially and BigSur now) and all incoming network connections are blocked on the new MacBook (restored from the backup couple of weeks ago). On an old one ...
user avatar
  • 113
1 vote
0 answers
74 views

Monitor VM network with Little Snitch

I've upgraded to Big Sur (yep, late to the party), VM Ware Fusion 12 and Little Snitch 5. I get that kernel extension are no longer valid and VM Ware now uses the Apple network API. Previously I could ...
user avatar
  • 967
-1 votes
1 answer
116 views

Hybrid-Analysis.com indicates macOS built-in file is contacting a malicious website

I'm wondering if anyone knows why this /System/Library/StagedFrameworks/Safari/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.Networking.xpc is connecting to adriver.ru ? This is according ...
user avatar
1 vote
2 answers
301 views

How to dynamically add anchors on startup for apple pfctl without editing system pf.conf

There are a few answers on using pfctl on os x, but none really give a nice clean way to make an anchor and have it loaded on startup, or to allow programs to hook in and dynamically update / replace ...
user avatar
  • 11
0 votes
0 answers
96 views

How to make XQuartz listen to port 6000?

I have installed XQuartz 2.8.1 onto macOS Catalina 10.15.4. Now I can use ssh -X myremotehost and do xcalc & there. But the -X option appears to work too slow. I am using a LAN and would like to ...
user avatar
  • 239
2 votes
2 answers
4k views

MacOS Firewall: Best practice to Allow or Block "Incoming connections" for applications?

A relatively large number of my Mac applications causes the MacOS Firewall to ask whether to allow or block "Incoming connections" (System Preferences > Firewall > Firewall Options). ...
user avatar
  • 8,256
1 vote
0 answers
175 views

How can I stop the macOS firewall from blocking Django server (Python)?

For several years I have been regularly using Python's Django framework and running its web server for development purposes on my local machine. I took a break over the past year and am now returning ...
user avatar
0 votes
2 answers
821 views

Macbook Pro doesn't accept any incoming connections - Firewall disabled!

My MacBook Pro running macOS Big Sur 11.3.1 doesn't respond to Ping, SSH, and Remote Access. What I tried so far: Made sure "stealth mode" was disabled on Firewall Disabled the Firewall ...
user avatar
0 votes
2 answers
575 views

Traffic of different Apps in Little Snitch with enabled VPN? What is the meaning?

So, I am trying to understand my VPN connection observing the traffic in Little Snitch. My VPN is connected and I can see its connection to the server and the amount of data that is transfered. ...
user avatar
  • 9
1 vote
1 answer
41 views

How to get rid of firewall asking when developing a program?

When you develop a program you compile a web server as an executable server. When you run it the firewall would ask "Do you want the application 'server' to accept incoming network connections?&...
user avatar
1 vote
1 answer
462 views

macOS Catalina does not allow incoming connections from local network. Firewall is down

I starting facing this issue some days ago. Even when the firewall is down, I can't reach my mac from my local network. Ping is not responding neither. Some test I've done: From my console nrossi@~$ ...
user avatar
1 vote
1 answer
65 views

Determining/associating the log subsystem for apps installed via package managers

I've watched this highly informative talk on the unified logs and been reading whatever documentation or blog posts I can find on the subject, but I haven't found or don't understand how to link an ...
user avatar
  • 469
1 vote
1 answer
327 views

How to open firewall from terminal

I am developing a go app on a server(mac-mini) where I connect via ssh. I restart the app many times: go run main.go Problem is, that I dont have access to the graphical ui - "Firewall Options......
user avatar
  • 181
2 votes
1 answer
181 views

Can the transparencyd daemon traffic be dropped without adverse effects?

Based on what the transparencyd daemon is for (explained here) I have the impression so far there is no harm in blocking that traffic. Until now, every time my firewall drew my attention onto that ...
user avatar
  • 155
3 votes
0 answers
4k views

Pop-up Appears then dissapears at MacOS Boot: Do you want the application "mediasharingd" to accept incoming network connections?

I'm running MacOS Catalina 10.15.7 (19H114) on a Macbook Pro 11,3 15" mid 2014. Every time I log into my Mac, after about 5 seconds, I get a popup that says... Do you want the application "...
user avatar
  • 559
2 votes
2 answers
4k views

macOS Big Sur Macbook does not respond to ping on neither ethernet or WiFi

I cannot ping my mac that is running macOS Big Sur 11.0.1 It seems to receive the ping packages but does not respond to them, and yes: Firewall is off I have tried turning stealth mode on and off I ...
user avatar
  • 131
2 votes
0 answers
54 views

What port does Handoff use?

It seems that my firewall blocks some Handoff features. When I turn off my firewall it all works as expected. What port does Handoff use?
user avatar
  • 231
0 votes
1 answer
839 views

spctl "command not found" on Recovery start (mac OS Big Sierra)

I've just updated to macOS Big Sur. The firewall I use, Little Snitch doesn't work with Big Sur natively, and you have to do some stuff (they explain the thing here https://obdev.at/support/...
user avatar
  • 1
0 votes
1 answer
664 views

How do I close a port on a Mac?

I was wondering if someone could tell me how to close a TCP/UDP port on a Mac completely. I don't want to kill a process or anything behind it. I want the port to be closed off completely. Thanks, PN
user avatar
2 votes
3 answers
334 views

Starting `pf` Firewall at System Startup

I have a particular machine that I keep buttoned down very tight. Only a few specific ports/protocols are allowed. I have a pretty basic set of rules that work very well. While working on a different ...
user avatar
  • 1,638
0 votes
1 answer
55 views

Has Catalina broken the logging into external machines?

So I've been trying to login to servers and MySQL databases recently and it seems that they all come back with either no error or no connection available errors, and I'm wondering how exactly one ...
user avatar
0 votes
1 answer
680 views

How do I delete xpcproxy executable from /usr/libexec folder on my Mac?

How do I delete xpcproxy executable from /usr/libexec folder on my Mac? When I dragged it to Trash, it did not delete, neither was Command+Shift+Del helpful
user avatar
1 vote
0 answers
93 views

Open port in firewall on Catalina

I'm trying to run a Kibana (from Elastic) server on an old Mac Mini on my local network. The Kibana instance is running successfully and I can access the UI locally and also from another machine on ...
user avatar
1 vote
0 answers
62 views

How to maintain a Mac protected on the Internet when any sharing is on?

Mac with Internet door closed When a Mac is connected to the Internet but no sharing is activated it is correctly protected on the Internet side. A protection situation one can check with a tool like ...
user avatar
  • 11.3k
0 votes
1 answer
319 views

Running some processes and not others over VPN

I'm looking to secure some apps on macOS using an OpenVPN connection. I want the apps not to work when the VPN isn't active. I can't necessarily track which servers the apps are trying to access, so ...
user avatar
  • 6,355
0 votes
0 answers
678 views

HOSTS file & Little Snitch

LS 3.8.2, MacOS 10.13.6 (I'm in 'music', slowly updating). It's great having the option to modify the HOSTS file, but with Little Snitch installed it is not read. (I know the hosts file is not read ...
user avatar
2 votes
2 answers
332 views

Should I buy a Hardware Firewall for my Time Capsule 4th Gen Router?

For my home network, I am still using the Time Capsule 4th Generation Router, from 2011. I realized that I may have overestimated the security of this device, as it apparently does not have a Firewall ...
user avatar
  • 8,256
4 votes
1 answer
5k views

MacOS Firewall: 'Do you want the application "Google Chrome.app" to accept incoming network connections?'

Earlier today, I decided to review my MacOS Catalina Firewall settings by deleting my previous application-specific settings, and handle future prompts one at a time. Then when visiting chrome://flags#...
user avatar
  • 8,256

1
2 3 4 5
7