1 Bit Banger
ksherlock edited this page 2021-05-31 11:16:45 -04:00

When a serial port uses the null_modem device, the -bitbanger (-bitb) option is made available.

-bitbanger's argument may be:

  • file -- opens a file
  • socket.hostname.port -- Opens a tcp connection. This is raw connection; any protocol (telnet, ssh, etc) needs to be handled by the guest).
  • /dev/pty (Apple) or /dev/pts (Unix) -- Attaches it to a new pseudo terminal (pty). I don't believe you can easily determine which pty it is, so using pty device directly is a better option.
  • domain.pathname (Apple, Unix) -- Opens a UNIX domain socket.
  • \\.\pipe\pipename (Win32) -- Opens/Creates a named pipe.

See also: