patch-doc_socat_1 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. $OpenBSD: patch-doc_socat_1,v 1.7 2015/04/13 14:43:28 jasper Exp $
  2. --- doc/socat.1.orig Sat Jan 24 17:30:52 2015
  3. +++ doc/socat.1 Mon Apr 13 14:58:09 2015
  4. @@ -2904,10 +2904,6 @@ in this file\&.
  5. Specifies the directory with the trusted (root) certificates\&. The directory
  6. must contain certificates in PEM format and their hashes (see OpenSSL
  7. documentation)
  8. -.IP "\fB\f(CWegd=<filename>\fP\fP"
  9. -On some systems, openssl requires an explicit source of random data\&. Specify
  10. -the socket name where an entropy gathering daemon like egd provides random
  11. -data, e\&.g\&. /dev/egd\-pool\&.
  12. .IP "\fB\f(CWpseudo\fP\fP"
  13. On systems where openssl cannot find an entropy source and where no entropy
  14. gathering daemon can be utilized, this option activates a mechanism for
  15. @@ -3397,11 +3393,11 @@ connection, invokes a shell\&. This shell has its stdi
  16. connected to the TCP socket (nofork)\&. The shell starts filan and lets it print the socket addresses to
  17. stderr (your terminal window)\&.
  18. .IP
  19. -.IP "\fB\f(CWecho \-e \(dq\&\e0\e14\e0\e0\ec\(dq\& |socat \-u \- file:/usr/bin/squid\&.exe,seek=0x00074420\fP\fP"
  20. +.IP "\fB\f(CWecho \-e \(dq\&\e0\e14\e0\e0\ec\(dq\& |socat \-u \- file:${LOCALBASE}/bin/squid\&.exe,seek=0x00074420\fP\fP"
  21. .IP
  22. functions as primitive binary editor: it writes the 4 bytes 000 014 000 000 to
  23. -the executable /usr/bin/squid at offset 0x00074420 (this is a real world patch
  24. +the executable ${LOCALBASE}/bin/squid at offset 0x00074420 (this is a real world patch
  25. to make the squid executable from Cygwin run under Windows, actual per May 2004)\&.
  26. .IP
  27. .IP "\fB\f(CWsocat \- tcp:www\&.blackhat\&.org:31337,readbytes=1000\fP\fP"
  28. @@ -3524,11 +3520,11 @@ error\&.
  29. .SH "FILES"
  30. .PP
  31. -/usr/bin/socat
  32. +${LOCALBASE}/bin/socat
  33. .br
  34. -/usr/bin/filan
  35. +${LOCALBASE}/bin/filan
  36. .br
  37. -/usr/bin/procan
  38. +${LOCALBASE}/bin/procan
  39. .PP
  40. .SH "ENVIRONMENT VARIABLES"