Merge pull request #108 from naturallaw777/copilot/fix-hub-detection-bug
[WIP] Fix hub detection bug in port status check
This commit is contained in:
@@ -685,7 +685,10 @@ def _check_port_status(
|
|||||||
for pt in ports_set
|
for pt in ports_set
|
||||||
)
|
)
|
||||||
|
|
||||||
if is_listening and is_allowed:
|
# A process bound to the port is the authoritative signal; firewall
|
||||||
|
# detection (nft/iptables) is only used as a secondary hint when nothing
|
||||||
|
# is listening yet.
|
||||||
|
if is_listening:
|
||||||
return "listening"
|
return "listening"
|
||||||
if is_allowed:
|
if is_allowed:
|
||||||
return "firewall_open"
|
return "firewall_open"
|
||||||
|
|||||||
@@ -97,6 +97,7 @@
|
|||||||
nixpkgs.config.permittedInsecurePackages = [ "jitsi-meet-1.0.8043" ];
|
nixpkgs.config.permittedInsecurePackages = [ "jitsi-meet-1.0.8043" ];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
nftables
|
||||||
git wget fish htop btop
|
git wget fish htop btop
|
||||||
gnomeExtensions.transparent-top-bar-adjustable-transparency
|
gnomeExtensions.transparent-top-bar-adjustable-transparency
|
||||||
gnomeExtensions.dash-to-dock
|
gnomeExtensions.dash-to-dock
|
||||||
|
|||||||
Reference in New Issue
Block a user