First time posting.
I have a PowerBook G4 running OS X 10.5 (Leopard).
I am trying to develop an application using SSL (JSSE to be exact). I want to open port 443. Of course, the latest OS X (10.5) has some obscure Firewall GUI which won't allow you to specify a particular port to open. So, I'm trying to use ipfw directly.
Here's what I entered:
% ipfw add allow tcp from any to any 443
Which supposedly did add the rule because this was returned from ipfw list:
% ipfw list
00200 allow tcp from any to any dst-port 443
65535 allow ip from any to any
My application however still gives me a permission denied, and when I nmap my machine (localhost), it shows:
% nmap localhost
Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-29 21:05 EST
Interesting ports on localhost (127.0.0.1):
Not shown: 1694 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
3689/tcp open rendezvous
Alas, no port 443. Does anyone know what I'm doing wrong? Am I misunderstanding something about firewalls? Thanks!
I have a PowerBook G4 running OS X 10.5 (Leopard).
I am trying to develop an application using SSL (JSSE to be exact). I want to open port 443. Of course, the latest OS X (10.5) has some obscure Firewall GUI which won't allow you to specify a particular port to open. So, I'm trying to use ipfw directly.
Here's what I entered:
% ipfw add allow tcp from any to any 443
Which supposedly did add the rule because this was returned from ipfw list:
% ipfw list
00200 allow tcp from any to any dst-port 443
65535 allow ip from any to any
My application however still gives me a permission denied, and when I nmap my machine (localhost), it shows:
% nmap localhost
Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-29 21:05 EST
Interesting ports on localhost (127.0.0.1):
Not shown: 1694 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
3689/tcp open rendezvous
Alas, no port 443. Does anyone know what I'm doing wrong? Am I misunderstanding something about firewalls? Thanks!