---
name: queso
version: 980922_2
origin: net/queso
comment: Determine the remote OS using simple TCP packets
arch: freebsd:9:x86:64
www: UNKNOWN
maintainer: ports@FreeBSD.org
prefix: /usr/local
licenselogic: single
licenses: [GPLv2]
flatsize: 54602
desc: "former QueSO home page <URL:http://www.apostols.org/projectz/queso/>:\n\nHow
  we can determine the remote OS using simple tcp packets?  Well,\nit's easy, they're
  packets that don't make any sense, so the RFCs\ndon't clearly state what to answer
  in these kind of situations.\nFacing this ambiguous, each TCP/IP stack takes a different
  approach\nto the problem, and this way, we get a different response.  In some\ncases
  (like Linux, to name one) some programming mistakes make the OS\ndetectable.\n\nQueSO
  sends:\n\n        0 SYN           * THIS IS VALID, used to verify LISTEN\n        1
  SYN+ACK       \n        2 FIN\n        3 FIN+ACK\n        4 SYN+FIN\n        5 PSH\n
  \       6 SYN+XXX+YYY   * XXX & YYY are unused TCP flags\n\nAll packets have a random
  seq_num and a 0x0 ack_num.\n"
categories: [security, net]
options: {DOCS: on}
files:
  /usr/local/etc/queso.conf.sample: 34e7175526988cabeca3fecf3621058e1a0229f94a4b902097b53ce1ee0d1748
  /usr/local/sbin/queso: a124dcf637c29a7b73f29e64d8431c829b6a74631b35ebe671588a2fae55ad3c
  /usr/local/share/doc/queso/Documentation.txt: 7046c0c242b6040d6966541a4296b485511a9ceaf2c4f401abcf179e47213400
  /usr/local/share/licenses/queso-980922_2/GPLv2: 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643
  /usr/local/share/licenses/queso-980922_2/LICENSE: 7e1394d03c5f275a402fe721ff1d1349449ea8602b52af954c76463afcdb6ef7
  /usr/local/share/licenses/queso-980922_2/catalog.mk: 9c062d43e74f128229b5ab2e042f64576033a35f4db0764801195e6722777962
directories:
  /usr/local/share/licenses/queso-980922_2/: n
  /usr/local/share/licenses/: y
  /usr/local/share/doc/queso/: n
scripts:
  post-install: |
    [ -f /usr/local/etc/queso.conf.sample ] || cp /usr/local/etc/queso.conf.sample /usr/local/etc/queso.conf.sample
    cd /usr/local
  pre-deinstall: |
    if cmp -s /usr/local/etc/etc/queso.conf /usr/local/etc/etc/queso.conf.sample; then rm -f /usr/local/etc/queso.conf.sample; fi
    cd /usr/local
  post-deinstall: |
    cd /usr/local
