Your message dated Tue, 16 May 2023 22:49:54 +0200
with message-id <[email protected]>
and subject line Re: tinyhoneypot don't work on grsec patched kernel
has caused the Debian Bug report #329615,
regarding tinyhoneypot don't work on grsec patched kernel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
329615: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329615
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: tinyhoneypot
Version: 0.4.6-6
Severity: minor
Tags: patch

- tinyhoneypot run as "nobody", but "capture" file don't report source
  IP&port due GRSEC block "netstat -tnp" to user with UID!=0

- right on /var/log/thp is 700(thpod:root) and thpod perl script isn't
  allowed to write inside, the righe should grant to "nobody" (default
  user) to wirte inside logdir



to solve point1:
change in /usr/sbin/thpod:
[cut]
@nsdata = split(" ",`sudo netstat -tnp 2>/dev/null | grep $procid/perl`);
[cut]

add in sudoers (postinst script?) /etc/sudoers:
[cut]
nobody  ALL=NOPASSWD: /bin/netstat
[cut]


To solve point2:
change right to /var/log/thpot




-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.31-GRSEC
Locale: LANG=it_IT, LC_CTYPE=it_IT (charmap=ISO-8859-1)

Versions of packages tinyhoneypot depends on:
ii  perl                          5.8.4-8    Larry Wall's Practical Extraction 

-- no debconf information


--- End Message ---
--- Begin Message ---
grsec is not supported by Debian.

--- End Message ---

Reply via email to