Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/bookshandbookfirewalls_index/fr/units/?format=api&page=15
https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/units/?format=api&page=14", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "# blacklistctl dump -b\n address/ma:port id nfail last access\n213.0.123.128/25:22 OK 6/3 2019/06/08 14:30:19\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5900322526698716365, "content_hash": -5900322526698716365, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2644", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 701, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/359325/?format=api", "priority": 100, "id": 1739101, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=2e1dd7ec57e34333", "url": "https://translate-dev.freebsd.org/api/units/1739101/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.377923Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "This example shows that there were 6 out of three permitted attempts on port 22 coming from the address range `213.0.123.128/25`. There are more attempts listed than are allowed because SSH allows a client to try multiple logins on a single TCP connection. A connection that is currently going on is not stopped by blacklistd. The last connection attempt is listed in the `last access` column of the output." ], "previous_source": "", "target": [ "" ], "id_hash": 7497616997413559929, "content_hash": 7497616997413559929, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2650", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 702, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 69, "source_unit": "https://translate-dev.freebsd.org/api/units/1220144/?format=api", "priority": 100, "id": 1739102, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=e80ce2ef60c41e79", "url": "https://translate-dev.freebsd.org/api/units/1739102/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.378550Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "To see the remaining time that this host will be on the blocklist, add `-r` to the previous command." ], "previous_source": "", "target": [ "" ], "id_hash": 2306442838076114009, "content_hash": 2306442838076114009, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2652", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 703, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1249504/?format=api", "priority": 100, "id": 1739103, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=a002218a8a454459", "url": "https://translate-dev.freebsd.org/api/units/1739103/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.379214Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "# blacklistctl dump -br\n address/ma:port id nfail remaining time\n213.0.123.128/25:22 OK 6/3 36s\n" ], "previous_source": "", "target": [ "" ], "id_hash": -1483299312211225273, "content_hash": -1483299312211225273, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2658", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 704, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/359331/?format=api", "priority": 100, "id": 1739104, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=6b6a432268119547", "url": "https://translate-dev.freebsd.org/api/units/1739104/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.379913Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "In this example, there are 36s seconds left until this host will not be blocked any more." ], "previous_source": "", "target": [ "" ], "id_hash": -517174203030056780, "content_hash": -517174203030056780, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2661", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 705, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/359333/?format=api", "priority": 100, "id": 1739105, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=78d2a0cd6d65d0b4", "url": "https://translate-dev.freebsd.org/api/units/1739105/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.380527Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "Removing Hosts from the Block List" ], "previous_source": "", "target": [ "" ], "id_hash": 8273022566766618660, "content_hash": 8273022566766618660, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2662", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 706, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/359335/?format=api", "priority": 100, "id": 1739106, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=f2cfae312eea2824", "url": "https://translate-dev.freebsd.org/api/units/1739106/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.381157Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "Sometimes it is necessary to remove a host from the block list before the remaining time expires. Unfortunately, there is no functionality in blacklistd to do that. However, it is possible to remove the address from the PF table using pfctl. For each blocked port, there is a child anchor inside the blacklistd anchor defined in [.filename]#/etc/pf.conf#. For example, if there is a child anchor for blocking port 22 it is called `blacklistd/22`. There is a table inside that child anchor that contains the blocked addresses. This table is called port followed by the port number. In this example, it would be called `port22`. With that information at hand, it is now possible to use man:pfctl[8] to display all addresses listed like this:" ], "previous_source": "", "target": [ "" ], "id_hash": 1594391293058784859, "content_hash": 1594391293058784859, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2673", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 707, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 123, "source_unit": "https://translate-dev.freebsd.org/api/units/1220146/?format=api", "priority": 100, "id": 1739107, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=96206a6effbe9e5b", "url": "https://translate-dev.freebsd.org/api/units/1739107/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.381769Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "# pfctl -a blacklistd/22 -t port22 -T show\n...\n213.0.123.128/25\n...\n" ], "previous_source": "", "target": [ "" ], "id_hash": -5643158050663396026, "content_hash": -5643158050663396026, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2680", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 708, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/359339/?format=api", "priority": 100, "id": 1739108, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=31af79a6d2d28d46", "url": "https://translate-dev.freebsd.org/api/units/1739108/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.382487Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "After identifying the address to be unblocked from the list, the following command removes it from the list:" ], "previous_source": "", "target": [ "" ], "id_hash": -73732096516937365, "content_hash": -73732096516937365, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2683", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 709, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://translate-dev.freebsd.org/api/units/359341/?format=api", "priority": 100, "id": 1739109, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=7efa0d0c8290296b", "url": "https://translate-dev.freebsd.org/api/units/1739109/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.383117Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "# pfctl -a blacklistd/22 -t port22 -T delete 213.0.123.128/25\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4140387615717477514, "content_hash": 4140387615717477514, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2687", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 710, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/359343/?format=api", "priority": 100, "id": 1739110, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=b9759c998b444c8a", "url": "https://translate-dev.freebsd.org/api/units/1739110/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.383738Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/bookshandbookfirewalls_index/fr/?format=api", "source": [ "The address is now removed from PF, but will still show up in the blacklistctl list, since it does not know about any changes made in PF. The entry in blacklistd's database will eventually expire and be removed from its output. The entry will be added again if the host is matching one of the block rules in blacklistd again." ], "previous_source": "", "target": [ "" ], "id_hash": 5143829007533174664, "content_hash": 5143829007533174664, "location": "documentation/content/en/books/handbook/firewalls/_index.adoc:2691", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 711, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 60, "source_unit": "https://translate-dev.freebsd.org/api/units/1443492/?format=api", "priority": 100, "id": 1739111, "web_url": "https://translate-dev.freebsd.org/translate/documentation/bookshandbookfirewalls_index/fr/?checksum=c7628d3aab5d6f88", "url": "https://translate-dev.freebsd.org/api/units/1739111/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-01-22T17:57:43.384334Z" } ] }{ "count": 711, "next": null, "previous": "