• Re: Yes, You Need A Firewall On Linux - =?UTF-8?Q?Here=E2=80=99s?= Why

    From Charlie Gibbs@21:1/5 to The Natural Philosopher on Tue Aug 12 18:47:16 2025
    On 2025-08-12, The Natural Philosopher <tnp@invalid.invalid> wrote:

    I am absolutely with you that one one needs is 'here is an example of
    how to do X'

    +1

    One of the first things I do is look for examples, then
    start experimenting with them to do the things I want.
    In the process I start getting an idea of how things
    really work.

    One of the things I really miss from the '70s is the
    section of a manual (or sometimes an entire manual)
    titled "Theory of Operation". But then, I'm one of
    those fossils who actually wants to know how something
    works, rather than just "press button X to do Y".

    Life is too short to read the whole manual cover to cover.

    Still, there are times where you do have the time: sitting
    in a doctor's office, a nice leisurely toilet session...

    --
    /~\ Charlie Gibbs | Growth for the sake of
    \ / <cgibbs@kltpzyxm.invalid> | growth is the ideology
    X I'm really at ac.dekanfrus | of the cancer cell.
    / \ if you read it the right way. | -- Edward Abbey

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Rich@21:1/5 to Richard Kettlewell on Mon Aug 18 16:49:40 2025
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Marc Haber <mh+usenetspam1118@zugschl.us> writes:
    Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
    Marc Haber wrote:
    Second, blocking incoming echo requests makes debugging harder and
    doesn't give you increased security.

    When a certain server I had responsibility for was undergoing a
    security audit for PCI compliance many years ago, I was told, not
    to turn off ICMP replies, but to turn off timestamps on them.

    Apparently, knowing the server’s idea of the correct time was seen
    as a potential security vulnerability.

    The justification is more likely to have been attack surface
    minimization.

    Another possibility is attempting to cover up for an insecure
    initialization of a random number generator from "the current time".

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Wed Aug 20 19:25:28 2025
    Le 19-08-2025, Carlos E.R. <robin_listas@es.invalid> a écrit :
    On 2025-08-12 09:39, Mike Scott wrote:
    On 11/08/2025 23:02, Lawrence D'Oliveiro wrote:
    I don’t know. I’m just able to read documentation. I thought that was a >>> skill that was so commonplace among folks who work with computers for a
    living that you could take it for granted, but apparently not.

    The horror is manuals written by the code-writer. They describe in
    intimate detail each and every function; but not how it all hooks up. In
    this case, I'd not even seen the nft man page, because I'd been
    searching for the wrong terms, hadn't got there because I'd got drowned
    in a morass of ipfilter and similar stuff, now apparently out-of-date;
    and gave it up as a bad job.

    What's wrong with a couple of clear examples, plus the detail to expand
    on them?


    +1

    Just "man tldr". In fact no. Install tldr with your distro package
    manager. Then "tldr tldr".

    Enjoy.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Thu Aug 21 12:04:15 2025
    On 2025-08-20 21:25, Stéphane CARPENTIER wrote:
    Le 19-08-2025, Carlos E.R. <robin_listas@es.invalid> a écrit :
    On 2025-08-12 09:39, Mike Scott wrote:
    On 11/08/2025 23:02, Lawrence D'Oliveiro wrote:
    I don’t know. I’m just able to read documentation. I thought that was a
    skill that was so commonplace among folks who work with computers for a >>>> living that you could take it for granted, but apparently not.

    The horror is manuals written by the code-writer. They describe in
    intimate detail each and every function; but not how it all hooks up. In >>> this case, I'd not even seen the nft man page, because I'd been
    searching for the wrong terms, hadn't got there because I'd got drowned
    in a morass of ipfilter and similar stuff, now apparently out-of-date;
    and gave it up as a bad job.

    What's wrong with a couple of clear examples, plus the detail to expand
    on them?


    +1

    Just "man tldr". In fact no. Install tldr with your distro package
    manager. Then "tldr tldr".

    Enjoy.

    I was curious, so I installed it.

    cer@Telcontar:~> man tldr
    No manual entry for tldr
    cer@Telcontar:~>

    cer@Telcontar:~> tldr tldr
    Error: Page cache not found. Please run `tldr --update` to download the
    cache.

    Note: You can optionally enable automatic cache updates by adding the
    following config to your config file:

    [updates]
    auto_update = true

    The path to your config file can be looked up with `tldr --show-paths`.
    To create an initial config file, use `tldr --seed-config`.

    You can find more tips and tricks in our docs:

    https://dbrgn.github.io/tealdeer/config_updates.html
    cer@Telcontar:~>




    It said that yesterday for root, I run "update", and now it says the
    same for my user. So each user has its own cache?

    What config file, where is it?

    cer@Telcontar:~> l .tldr
    ls: cannot access '.tldr': No such file or directory
    cer@Telcontar:~>

    cer@Telcontar:~> ls /etc/tldr
    ls: cannot access '/etc/tldr': No such file or directory
    cer@Telcontar:~>

    cer@Telcontar:~> rpm -ql tealdeer
    /usr/bin/tldr
    /usr/share/doc/packages/tealdeer
    /usr/share/doc/packages/tealdeer/README.md
    /usr/share/licenses/tealdeer
    /usr/share/licenses/tealdeer/LICENSE-APACHE /usr/share/licenses/tealdeer/LICENSE-MIT
    cer@Telcontar:~>


    Where is that configuration file?


    «The path to your config file can be looked up with `tldr --show-paths`.»


    cer@Telcontar:~> tldr --show-paths
    Config dir: /home/cer/.config/tealdeer/ (OS convention)
    Config path: /home/cer/.config/tealdeer/config.toml
    Cache dir: /home/cer/.cache/tealdeer (OS convention)
    Pages dir: /home/cer/.cache/tealdeer/tldr-pages/
    Custom pages dir: /home/cer/.local/share/tealdeer/pages/ (OS convention) cer@Telcontar:~>


    So each user has its own cache? Is not that a waste?


    «To create an initial config file, use `tldr --seed-config`.»


    cer@Telcontar:~> tldr --seed-config
    Successfully created seed config file here: /home/cer/.config/tealdeer/config.toml
    cer@Telcontar:~>


    So now I have:

    [updates]
    auto_update = true
    auto_update_interval_hours = 720


    Now "tldr tldr" works.

    Directory "/home/cer/.cache/tealdeer" contains 17 MB.

    And another one for root.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Fri Aug 22 12:26:42 2025
    On 2025-08-22 03:06, Lawrence D’Oliveiro wrote:
    On Thu, 21 Aug 2025 11:44:47 +0200, Carlos E.R. wrote:

    I do not want reference documentation.

    Then you can’t work in this field.

    Haw, haw! :-D

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to Nuno Silva on Fri Aug 22 12:39:25 2025
    On 2025-08-22 11:33, Nuno Silva wrote:
    On 2025-08-21, Carlos E.R. wrote:
    On 2025-08-21 15:27, Nuno Silva wrote:
    On 2025-08-21, Carlos E.R. wrote:
    On 2025-08-21 12:34, The Natural Philosopher wrote:
    On 21/08/2025 10:44, Carlos E.R. wrote:
    I do not want reference documentation.

    I primarily want documentation that allows me to start using a new >>>>>> program, fast, and to achieve my goals.

    Once I have that, I want the reference documentation.

    +1001
    [...]
    To that I added "bird.avi" as output file, but WhatsApp rejected
    it. So I told ChatGpt all that. It replied giving me the missing data: >>>>
    ffmpeg -i IMAG0009.avi -vf "scale=640:-2" -c:v libx264 -profile:v \
    baseline -level 3.0 -preset fast -c:a aac -b:a 128k \
    -movflags +faststart bird_whatsapp.mp4

    and that worked. Having that command line, I modified it easily for
    more resolution (scale=1024:-2). I was already familiar with all the
    options, I just needed to find which would produce the wanted result,
    and not spend a day on it.


    But if I want to find in the manual what "-b" stands for, I fail. Ask
    chatgpt, instant reply, it is bitrate. Oh, yes, I remember now.

    :-)


    Oh, searching the man for "movflags" or "faststart" fails. So ask the
    AI. They are in the man page for the MP3 muxer, it says. Oh, right, I
    forgot that.


    So, even a reference manual is hard to use when you want to find a
    particular reference, basically using "grep".

    (ffmpeg's online manual is spread over more than one page, isn't it?)

    Yes.

    I don't know right now if there is a command that would search all
    manuals and find a word.

    cer@Telcontar:~> apropos movflags
    movflags: nothing appropriate.
    cer@Telcontar:~>

    At least here, perhaps "man -w -K movflags". Turns up ffmpeg-all and ffmpeg-formats.

    cer@Telcontar:~> time man -w -K movflags
    /usr/share/man/man1/ffserver-all.1.gz
    /usr/share/man/man1/ffmpeg-all.1.gz
    /usr/share/man/man1/ffmpeg-formats.1.gz

    real 0m52,869s
    user 0m31,563s
    sys 0m29,066s
    cer@Telcontar:~>

    Hum. New command. Long version:
    man --where --path --location --global-apropos movflags



    -w, --where, --path, --location
    Don't actually display the manual pages,
    but do print the location(s) of the
    source nroff files that would be format-
    ted.

    -k, --apropos
    Equivalent to apropos. Search the short
    manual page descriptions for keywords
    and display any matches. See apropos(1)
    for details.

    -K, --global-apropos
    Search for text in all manual pages.
    This is a brute-force search, and is
    likely to take some time; if you can,
    you should specify a section to reduce
    the number of pages that need to be
    searched. Search terms may be simple
    strings (the default), or regular ex-
    pressions if the --regex option is used.

    Note that this searches the sources of
    the manual pages, not the rendered text,
    and so may include false positives due
    to things like comments in source files.
    Searching the rendered text would be
    much slower.



    I don't see how I could replicate this with the apropos command :-?

    apropos - search the manual page names and descriptions

    so, not the bodies.


    (But no, I wasn't aware of this, had to check "man man", so maybe
    there's some better man flag, or separate utility that I'm not aware of (besides plain grep on the man pages where possible, I guess).)


    Maybe. I seem to recall having done this before, but perhaps not.

    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sat Aug 23 12:40:13 2025
    Le 21-08-2025, Carlos E.R. <robin_listas@es.invalid> a écrit :
    On 2025-08-20 21:25, Stéphane CARPENTIER wrote:

    Just "man tldr". In fact no. Install tldr with your distro package
    manager. Then "tldr tldr".

    Enjoy.

    I was curious, so I installed it.

    cer@Telcontar:~> man tldr
    No manual entry for tldr
    cer@Telcontar:~>

    cer@Telcontar:~> tldr tldr
    Error: Page cache not found. Please run `tldr --update` to download the cache.


    I'm really surprised. I installed it on archlinux, ubuntu and guix and
    it worked out of the box on those three systems.

    Note: You can optionally enable automatic cache updates by adding the following config to your config file:

    I ran "tldr --update" and I see no difference. I have no config file on
    my computer. I'm really surprised about that requirement.

    Where is that configuration file?

    I have no clue. I have none and everything's OK.

    «The path to your config file can be looked up with `tldr --show-paths`.»

    That option doesn't exist on my computer.

    So each user has its own cache? Is not that a waste?

    Agreed. It's a waste of space and a waste of work because you need to
    launch the update for each user.

    Directory "/home/cer/.cache/tealdeer" contains 17 MB.

    It looks like you are running tealdeer instead of tldr. When I'm running
    tldr. From what I see, tealdeer is a rewrite of tldr in rust. Maybe that explain the differences.

    But anyway, once it works, it grants you what you are looking for:
    simple examples to use unknown commands without the need to read the full documentation.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E.R.@21:1/5 to All on Sun Aug 24 00:40:40 2025
    On 2025-08-23 14:40, Stéphane CARPENTIER wrote:
    Le 21-08-2025, Carlos E.R. <robin_listas@es.invalid> a écrit :
    On 2025-08-20 21:25, Stéphane CARPENTIER wrote:

    Just "man tldr". In fact no. Install tldr with your distro package
    manager. Then "tldr tldr".

    Enjoy.

    I was curious, so I installed it.

    cer@Telcontar:~> man tldr
    No manual entry for tldr
    cer@Telcontar:~>

    cer@Telcontar:~> tldr tldr
    Error: Page cache not found. Please run `tldr --update` to download the
    cache.


    I'm really surprised. I installed it on archlinux, ubuntu and guix and
    it worked out of the box on those three systems.

    Note: You can optionally enable automatic cache updates by adding the
    following config to your config file:

    I ran "tldr --update" and I see no difference. I have no config file on
    my computer. I'm really surprised about that requirement.

    Where is that configuration file?

    I have no clue. I have none and everything's OK.

    «The path to your config file can be looked up with `tldr --show-paths`.»

    That option doesn't exist on my computer.

    So each user has its own cache? Is not that a waste?

    Agreed. It's a waste of space and a waste of work because you need to
    launch the update for each user.

    Directory "/home/cer/.cache/tealdeer" contains 17 MB.

    It looks like you are running tealdeer instead of tldr. When I'm running tldr. From what I see, tealdeer is a rewrite of tldr in rust. Maybe that explain the differences.

    Likely.


    But anyway, once it works, it grants you what you are looking for:
    simple examples to use unknown commands without the need to read the full documentation.

    Yes, that it does.


    --
    Cheers, Carlos.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to Carlos E.R. on Sat Aug 23 23:13:34 2025
    On Fri, 22 Aug 2025 12:26:42 +0200, Carlos E.R. wrote:

    On 2025-08-22 03:06, Lawrence D’Oliveiro wrote:

    On Thu, 21 Aug 2025 11:44:47 +0200, Carlos E.R. wrote:

    I do not want reference documentation.

    Then you can’t work in this field.

    Haw, haw! :-D

    Says one who didn’t even know the relevant information existed until I pointed it out.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sat Aug 23 23:15:00 2025
    On 23 Aug 2025 12:40:13 GMT, Stéphane CARPENTIER wrote:

    But anyway, once it works, it grants you what you are looking for:
    simple examples to use unknown commands without the need to read the
    full documentation.

    If only there were a simple example for how to get this command set up
    without the need to read the full documentation ...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?St=C3=A9phane?= CARPENTIE@21:1/5 to All on Sun Aug 24 11:22:59 2025
    Le 23-08-2025, Lawrence D’Oliveiro <ldo@nz.invalid> a écrit :
    On 23 Aug 2025 12:40:13 GMT, Stéphane CARPENTIER wrote:

    But anyway, once it works, it grants you what you are looking for:
    simple examples to use unknown commands without the need to read the
    full documentation.

    If only there were a simple example for how to get this command set up without the need to read the full documentation ...

    For archlinux, guix and Ubuntu, tldr run without further steps. I don't
    know why it was different for him. Maybe is distro is configured
    differently. Or, probably, tealdeer, unlike tldr, is not configured by
    default.

    --
    Si vous avez du temps à perdre :
    https://scarpet42.gitlab.io

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence =?iso-8859-13?q?D=FFOlivei@21:1/5 to All on Sun Aug 24 22:18:10 2025
    On 24 Aug 2025 11:22:59 GMT, Stéphane CARPENTIER wrote:

    Le 23-08-2025, Lawrence D’Oliveiro <ldo@nz.invalid> a écrit :

    On 23 Aug 2025 12:40:13 GMT, Stéphane CARPENTIER wrote:

    But anyway, once it works, it grants you what you are looking for:
    simple examples to use unknown commands without the need to read the
    full documentation.

    If only there were a simple example for how to get this command set up
    without the need to read the full documentation ...

    [Missed the irony]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harold Stevens@21:1/5 to All on Sat Aug 30 05:37:26 2025
    In <108u9r9$2fqqv$1@dont-email.me> Nuno Silva:

    If there's no network connectivity, your web search skills won't do much?

    Classic Catch-22: To access the net, you need to ... access the net.

    Mr Ivory Tower here clearly never dirtied his hands with a workplace
    reality. It reads like Milo Minderbinder in the novel.

    --
    Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
    Pardon any bogus email addresses (wookie) in place for spambots.
    Really, it's (wyrd) at att, dotted with net. * DO NOT SPAM IT. *
    I toss (404) GoogleGroup (404 http://twovoyagers.com/improve-usenet.org/).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Harold Stevens@21:1/5 to All on Tue Sep 2 12:59:29 2025
    In <20250902095956.000001c5@gmail.com> John Ames:

    [Snip...]

    It is truly boggling that this requires explaining,
    let alone hand-holding through every step of reasoning it out o_O

    It's the beauty of being able to ignore workplace reality:

    Catch-22 (2/10) Movie CLIP - It's an Egg (1970) HD https://www.youtube.com/watch?v=g0UV6ug96c0

    --
    Regards, Weird (Harold Stevens) * IMPORTANT EMAIL INFO FOLLOWS *
    Pardon any bogus email addresses (wookie) in place for spambots.
    Really, it's (wyrd) at att, dotted with net. * DO NOT SPAM IT. *
    I toss (404) GoogleGroup (404 http://twovoyagers.com/improve-usenet.org/).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)