Skip to content

Commit

Permalink
n: add annoying ports
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaela committed Jul 23, 2024
1 parent b795df4 commit 3682e37
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions n/annoying-ports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
title: Commonly open port ranges
excerpt:
Some applications such as MOSH or KDE Connect are just so practical, but they
open so many ports in firewall and who is to guarantee lazy sysadmin won't
abuse those for something else without even thinking about backdoors?
layout: mini
permalink: /n/annoying-ports.html
sitemap: true
lang: en
---

# {{ page.title }}

_{{ page.excerpt }}_

The following list is based on my other notes and `/usr/lib/firewalld/services/`

- mosh: UDP ports `60000-61000`
- KDE Connect: TCP & UDP ports `1714-1764`

## Services doing it right?

```xml
<?xml version="1.0" encoding="utf-8" ?>
<service>
<short>Multicast DNS (mDNS)</short>
<description>mDNS provides the ability to use DNS programming interfaces, packet formats and operating semantics in a small network without a conventional DNS server. If you plan to use Avahi, do not disable this option.</description>
<port
protocol="udp"
port="5353" />
<destination
ipv4="224.0.0.251"
ipv6="ff02::fb" />
</service>
```

Note the destinations! Maybe I should copy that for some of my services like
NTP.

0 comments on commit 3682e37

Please sign in to comment.