I deleted the firewall plist and I'm still having the same issue.
Firewall on, no internet connectivity:
sudo ipfw -a l
65535 0 0 allow ip from any to any
sudo sysctl -a | grep ip.fw.
net.inet.ip.fw.enable: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.one_pass: 0
net.inet.ip.fw.debug: 0
net.inet.ip.fw.verbose: 0
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.static_count: 1
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_keepalive: 1
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, ALF kGlobalStateKey does not return a CFNumber
Firewall is enabled. (State = 1)
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getblockall
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, ALF kGlobalStateKey does not return a CFNumber
Block all DISABLED!
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --listapps
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, kApplicationKey does not return a CFArray
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getallowsigned
Automatically allow signed software ENABLED
After the problem has been fixed by turning the Firewall off and on:
sudo ipfw -a l
65535 0 0 allow ip from any to any
sudo sysctl -a | grep ip.fw.
net.inet.ip.fw.enable: 1
net.inet.ip.fw.autoinc_step: 100
net.inet.ip.fw.one_pass: 0
net.inet.ip.fw.debug: 0
net.inet.ip.fw.verbose: 2
net.inet.ip.fw.verbose_limit: 0
net.inet.ip.fw.dyn_buckets: 256
net.inet.ip.fw.curr_dyn_buckets: 256
net.inet.ip.fw.dyn_count: 0
net.inet.ip.fw.dyn_max: 4096
net.inet.ip.fw.static_count: 1
net.inet.ip.fw.dyn_ack_lifetime: 300
net.inet.ip.fw.dyn_syn_lifetime: 20
net.inet.ip.fw.dyn_fin_lifetime: 1
net.inet.ip.fw.dyn_rst_lifetime: 1
net.inet.ip.fw.dyn_udp_lifetime: 10
net.inet.ip.fw.dyn_short_lifetime: 5
net.inet.ip.fw.dyn_keepalive: 1
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, ALF kGlobalStateKey does not return a CFNumber
Firewall is enabled. (State = 1)
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getblockall
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, ALF kGlobalStateKey does not return a CFNumber
Block all DISABLED!
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --listapps
ALF: Error, IsExpectedCFType(variableInQuestion) variable == NULL!
ALF: Error, kApplicationKey does not return a CFArray
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getallowsigned
Automatically allow signed software ENABLED