| Sined's WEB Page | / news translations patches projects presentations links exploits | |
|
bringing the knowledge in security to those who are looking for it
| ||
|
support the most interesting opensource projects in security
| ||
| By Denis Ducamp <Denis.Ducamp(at)groar.org> | Pour les francophones... |
|
Collection of patches I wrote for various reasons... |
|
(01/06/23) My older patch to compile dsniff 2.4b1 on "broken" Linux systems such as RedHat 7.1 and Mandrake 8.0 (./record.c:133: `R_NOOVERWRITE' undeclared... ./record.c:146: `R_NEXT' undeclared...).
Note: GNU's tail has the option --follow=name which is equivalent to FreeBSD's -F. These new versions only permited me to learn some things with autoconf/automake.
-F The -F option implies the -f option, but tail will also check to
see if the file being followed has been renamed or rotated. The
file is closed and reopened when tail detects that the filename
being read from has a new inode number. The -F option is ignored
if reading from standard input rather than a file.
The goal is to be able to type tail -F /var/log/full-log | statistical_script without having to manage them during the log rotation. Slightly modified to compile successfully under Linux (libc5 and glibc 2.1.2) and always under FreeBSD (3.4).
That code doesn't compile under solaris because following BSD functions are missing: err, warn, warnx et errx.
Possible correct operation test:
(00/09/28)Running without interruption since more than a month (under a libc5 system) with log rotation every night (by logrotate) without any apparent problem :-)
--- linux_old/arch/i386/kernel/traps.c Sat Jun 24 19:01:20 2000 +++ linux/arch/i386/kernel/traps.c Sat Jun 24 19:02:11 2000 @@ -50,6 +50,9 @@ #include <linux/irq.h> +#undef cpu_has_xmm +#define cpu_has_xmm 0 + asmlinkage int system_call(void); asmlinkage void lcall7(void); asmlinkage void lcall27(void);
Hits since 2001/07/01: [an error occurred while processing this directive]