Note the existence, in at least some Linux kernels, of capability bits
that could, in theory, let non-root users capture packets, if there were
userland support for giving particular accounts capability bits and
having them set on their login processes when they log in.

Note that Mac OS X is like the other BSDs, in that all you need in order
to capture is read access on the BPF devices.  Note also that on BSDs
with a devfs (which includes Mac OS X), giving a user that access isn't
as easy as running "chown" or "chmod" once.
1 file changed
tree: 6b84355ed4add9c2296280b2290c83e41070f0d2
  1. lbl/
  2. missing/
  3. tests/
  4. win32/
  5. .cvsignore
  6. acconfig.h
  7. aclocal.m4
  8. addrtoname.c
  9. addrtoname.h
  10. ah.h
  11. appletalk.h
  12. arcnet.h
  13. atime.awk
  14. atm.h
  15. atmuni31.h
  16. bootp.h
  17. bpf_dump.c
  18. CHANGES
  19. chdlc.h
  20. config.guess
  21. config.h.in
  22. config.sub
  23. configure
  24. configure.in
  25. CREDITS
  26. decnet.h
  27. enc.h
  28. esp.h
  29. ether.h
  30. ethertype.h
  31. extract.h
  32. fddi.h
  33. FILES
  34. gmpls.c
  35. gmpls.h
  36. gmt2local.c
  37. gmt2local.h
  38. icmp6.h
  39. ieee802_11.h
  40. igrp.h
  41. INSTALL
  42. install-sh
  43. interface.h
  44. ip.h
  45. ip6.h
  46. ipfc.h
  47. ipproto.h
  48. ipsec_doi.h
  49. ipx.h
  50. isakmp.h
  51. l2tp.h
  52. lane.h
  53. LICENSE
  54. llc.h
  55. machdep.c
  56. machdep.h
  57. Makefile-devel-adds
  58. Makefile.in
  59. makemib
  60. mib.h
  61. mkdep
  62. nameser.h
  63. netbios.h
  64. nfs.h
  65. nfsfh.h
  66. ntp.h
  67. oakley.h
  68. ospf.h
  69. ospf6.h
  70. packetdat.awk
  71. parsenfsfh.c
  72. pcap-missing.h
  73. PLATFORMS
  74. ppp.h
  75. print-802_11.c
  76. print-ah.c
  77. print-arcnet.c
  78. print-arp.c
  79. print-ascii.c
  80. print-atalk.c
  81. print-atm.c
  82. print-beep.c
  83. print-bgp.c
  84. print-bootp.c
  85. print-cdp.c
  86. print-chdlc.c
  87. print-cip.c
  88. print-cnfp.c
  89. print-decnet.c
  90. print-dhcp6.c
  91. print-domain.c
  92. print-dvmrp.c
  93. print-egp.c
  94. print-enc.c
  95. print-esp.c
  96. print-ether.c
  97. print-fddi.c
  98. print-fr.c
  99. print-frag6.c
  100. print-gre.c
  101. print-hsrp.c
  102. print-icmp.c
  103. print-icmp6.c
  104. print-igmp.c
  105. print-igrp.c
  106. print-ip.c
  107. print-ip6.c
  108. print-ip6opts.c
  109. print-ipcomp.c
  110. print-ipfc.c
  111. print-ipx.c
  112. print-isakmp.c
  113. print-isoclns.c
  114. print-krb.c
  115. print-l2tp.c
  116. print-lane.c
  117. print-ldp.c
  118. print-llc.c
  119. print-lwres.c
  120. print-mobile.c
  121. print-mobility.c
  122. print-mpls.c
  123. print-msdp.c
  124. print-netbios.c
  125. print-nfs.c
  126. print-ntp.c
  127. print-null.c
  128. print-ospf.c
  129. print-ospf6.c
  130. print-pflog.c
  131. print-pim.c
  132. print-ppp.c
  133. print-pppoe.c
  134. print-pptp.c
  135. print-radius.c
  136. print-raw.c
  137. print-rip.c
  138. print-ripng.c
  139. print-rsvp.c
  140. print-rt6.c
  141. print-rx.c
  142. print-sctp.c
  143. print-sl.c
  144. print-sll.c
  145. print-smb.c
  146. print-snmp.c
  147. print-stp.c
  148. print-sunatm.c
  149. print-sunrpc.c
  150. print-tcp.c
  151. print-telnet.c
  152. print-tftp.c
  153. print-timed.c
  154. print-token.c
  155. print-udp.c
  156. print-vjc.c
  157. print-vrrp.c
  158. print-wb.c
  159. print-zephyr.c
  160. README
  161. Readme.Win32
  162. route6d.h
  163. rx.h
  164. sctpConstants.h
  165. sctpHeader.h
  166. send-ack.awk
  167. setsignal.c
  168. setsignal.h
  169. slcompress.h
  170. slip.h
  171. sll.h
  172. smb.h
  173. smbutil.c
  174. stime.awk
  175. strcasecmp.c
  176. tcp.h
  177. tcpdump-stdinc.h
  178. tcpdump.1
  179. tcpdump.c
  180. telnet.h
  181. timed.h
  182. TODO
  183. token.h
  184. udp.h
  185. util.c
  186. VERSION
  187. vfprintf.c