]> git.pld-linux.org Git - packages/chkrootkit.git/commitdiff
- outdated
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 23 Feb 2005 21:35:31 +0000 (21:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    chkrootkit-0.42-ip.patch -> 1.2

chkrootkit-0.42-ip.patch [deleted file]

diff --git a/chkrootkit-0.42-ip.patch b/chkrootkit-0.42-ip.patch
deleted file mode 100644 (file)
index 8582f2e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
---- chkrootkit Fri Sep 12 14:47:14 2003
-+++ chkrootkit Mon Sep 15 18:29:16 2003
-@@ -25,7 +25,7 @@
- tcpdump top telnetd timed traceroute vdir w write"
- # Tools
--TOOLS="aliens asp bindshell lkm rexedcs sniffer w55808 wted scalper slapper z2"
-+TOOLS="aliens asp bindshell lkm rexedcs sniffer promisctest w55808 wted scalper slapper z2"
- # Return Codes
- INFECTED=0
-@@ -172,6 +172,39 @@
-        fi
-     fi
- }
-+
-+promisctest () { 
-+      # Add gratutuous printf for "regular" mode output ("./chkrootkit promisctest")
-+      printf "%s\n"; ip="/sbin/ip"
-+      ${egrep} /proc/version -qe "2\.(4|5|6)"; KERNVER="$?"
-+      case "${KERNVER:0:1}" in
-+      0)
-+              if [ ! -x ${ip} ]; then
-+                      printf "%snot tested: can't exec ${ip}\n"
-+                      return ${NOT_TESTED}
-+              fi
-+              ${ip} link show | ${egrep} "^[0-9]" | while read DEVF; do
-+              DEVF=( ${DEVF} )
-+              printf "%s${DEVF[@]}" | ${egrep} -qe "PROMISC"; STATUS="$?"
-+              case "${STATUS:0:1}" in
-+              1)
-+                      if [ "${EXPERT}" = "t" ]; then
-+                              printf "%s${DEVF[1]} has device flags:\t${DEVF[2]}\n"
-+                              else printf "%s${DEVF[1]}\tis not promisc\n"
-+                      fi;;
-+              0)
-+                      if [ "${EXPERT}" = "t" ]; then
-+                              printf "%s${DEVF[1]} has device flags:\t${DEVF[2]}\n"
-+                              else printf "%s${DEVF[1]}\tIS PROMISC\n"
-+                      fi;;
-+              esac
-+              done;;
-+      *)
-+              echo "not tested."
-+              return ${NOT_TESTED};;
-+      esac
-+ }
-+
- z2 () {
-     if [ ! -x ./chklastlog ]; then
This page took 0.082256 seconds and 4 git commands to generate.