[–] 4 points 14 hours ago

And this can presumably hopefully finally fucking condemn hamachi to the grave, maybe?


Forward local ports to a tailcat server

To make ports served by a tailcat server available as ordinary local TCP ports (for browsers, database clients, or other tools that do not support SOCKS or stdio), run forward with the server's tailcat address:

$ tailcat serve 8080,3306
# 🐈 Server listening with new address: tcXXXXXXXXX

$ tailcat forward tcXXXXXXXXX 18080:8080 3306

A local port of 0 asks the operating system for a free port; each listener prints its address once it's listening.

To forward local ports to assets on the network reachable by an exit-node server, run the server in exit-node mode and specify each remote IP address and port in the mapping:

$ tailcat serve exit-node
# 🐈 Server listening with new address: tcXXXXXXXXX

$ tailcat forward tcXXXXXXXXX \
    3001:172.23.52.30:3001 \
    17170:172.23.52.31:17170

This forwards 127.0.0.1:3001 to 172.23.52.30:3001 and 127.0.0.1:17170 to 172.23.52.31:17170 through the exit-node server.

By default, listeners bind to 127.0.0.1 and diagnostic logs are suppressed. Pass --verbose before the subcommand to enable verbose networking logs. Use --bind=0.0.0.0 only when clients on other machines should be able to connect:

$ tailcat forward --bind=0.0.0.0 tcXXXXXXXXX 18080:8080

Press Ctrl-C to stop forwarding.

  • source
  • parent
  • context
  • [–] 8 points 14 hours ago* (1 child)

    Okay so i think this section is one of the most useful ones for a normal user:


    Send and receive files

    To receive files, run a drop box and share the printed tailcat address:

    $ tailcat recv ~/inbox
    # 🐈 Server listening with new address: tcXXXXXXXXX
    

    The sender then runs:

    $ tailcat cp report.pdf tcXXXXXXXXX:
    

    tailcat cp runs the system scp with the connection routed through tailcat, so you get its usual progress display, and -r for directory trees. The drop box is write-only: senders can't list the directory, read anything back, or touch existing files.

    To offer files instead, serve a directory read-only (the default) or read-write:

    $ tailcat serve files                  # current directory, read-only
    $ tailcat serve --files=/pub:rw files  # a given directory, read-write
    
    $ tailcat ls -l tcXXXXXXXXX
    $ tailcat cp tcXXXXXXXXX:report.pdf .
    
  • source
  • [–] 4 points 14 hours ago

    "like netcat" huh, i wonder what netcat is..

    "netcat (often abbreviated to nc) is a computer networking utility for reading from and writing to network connections using TCP or UDP. The command is designed to be a dependable back-end that can be used directly or easily driven by other programs and scripts. At the same time, it is a feature-rich network debugging and investigation tool, since it can produce almost any kind of connection its user could need and has a number of built-in capabilities."

  • source
  • [–] 3 points 2 days ago

    it's impossible to test until we find another sapient species (and not something like highly evolved crows in the future, because they would be affected by us), but i think it's likely that any sapient creature would group "sapients" and "non-sapients" separately.

    Like we intuitively group other human species as "not animals" with that line getting blurrier the further back you go and they're less obviously sapient, and at least personally i find it a little bit difficult to call parrots animals when they can literally learn to vocally describe a random object they've never seen before.

  • source
  • parent
  • context
  • [–] 3 points 2 days ago*

    You are indeed not correct, paws are distinctly different from hands and the muzzle is a specific part of an animal's face.

    Paws are different from hands in that they're made up ONLY of fingers, the equivalent to our wrist is way above the paw as part of the leg.

    And the muzzle (also called snout) is the jaws+nose, the bit on e.g. a dog that sticks out in front of the face. It doesn't include things like the eyes.

  • source
  • parent
  • context
  • view more: next β€Ί