Run /usr/bin/nc -t {ip} 23 Garbage characters appear in output. Run /usr/bin/nc -t {ip 23 | hexdump -C This will show something like the following at the start: ff fd 25 ff fb 26 ff fd ... The ff fd xx are telnet options which should be stripped from the output. Telnet options can occur pretty much at any time during the session, so garbage chars will probably also appear in other places of the output. Fix: The telnet command opt processing in netcat.c is fairly crude. Strip the telnet options from the output buffer. Patch attached with submission follows: How-To-Repeat: Run nc command as above.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>