Commit graph

8 commits

Author SHA1 Message Date
sevan
cf2c455d86 Symbols for inline functions are not exported when built with clang.
Patch obtained from FreeBSD ports
https://svnweb.freebsd.org/ports/head/net/libnids/files/patch-src__checksum.c?revision=342448&view=co&pathrev=373063
2015-01-26 15:52:18 +00:00
obache
ece3fb3523 Update libnids to 1.24.
Based on PR pkg/48217 by Leonardo Taccari.

Changes:
v1.24 Mar 14 2010
- fixed another remotely triggerable NULL dereference in ip_fragment.c
- unofficial patch that enables tracking of already established TCP connections
- missing reset of some tcp_* variables upon nids_exit
- correct calculation of radiotap header
- compilation warning fixes with newer gcc
- use pcap_get_selectable_fd() instead of pcap_fileno()
2013-10-06 08:25:37 +00:00
joerg
cf9b387d1b Fix inline usage. 2012-04-17 17:45:35 +00:00
joerg
aff4361234 #elif requires an argument, so use plain #else here. 2011-11-26 17:17:53 +00:00
wiz
a2dd9d18b9 Update to 1.20:
v1.20 Feb 4 2005
- added wscale option parsing; surprisingly, it seems to be in some use
- added nids_dispatch(), for systems which do not ignore pcap timeout
- ability to specify hosts/networks for which we do not check checksums

v1.19 Aug 08 2004
- fixed signed/unsigned comparisons; 1.18 could be possibly crashed in tcp
  options parsing (though an unlikely to happen memory layout is required);
  now the source is compiled with -W -Wall
- export pcap header of the last received packet (to get timestamp etc)
- export the timeout parameter to pcap_open_live in params
- support DLT_PRISM_HEADER
- support DLT_PPP_SERIAL
- let through dataless acks
- fixed raw_init() prototype
- switched to use %edi instead of %ebx in csum_partial to make gcc-3.5 happy
  when compiling with -fPIC; cleaned inline asm
- fixed a bug when a queued FIN segment was not processed properly, which
  resulted in not closing a stream
2005-03-23 17:06:33 +00:00
cube
2d05dd1b20 Add a patch to support NetBSD-specific DLT_PPP_SERIAL type. It will be in
the next version of libnids.
Patch from Jean-Edouard BABIN in private mail.
2004-05-29 22:14:23 +00:00
cube
3f8ce783de Update to version 1.18. This release fixes a buffer overflow in TCP
fragment reassembly code. CVE reference for that vulnerability is
CAN-2003-0850.

Note homepage relocation, and take over maintainership since that's
apparently what I've become.

v1.18 Oct 15 2003
- reject tcp packets with old timestamp; needed to pass fragroute test;
  well, linux 2.0.36 did not support this ;)
- fixed memory corruption which could be caused by overlarge TCP packets
- adjusted checksum.c to not use multiline literals (for gcc 3.3)
- in configure.in, even if found libnet files, try compilation; there is
  another library with the same name
- fix a bug in "collect" field handling; if you did collect-- and then
  collect++ (which is rare), you would get a single junk packet
- correct handling of exec_prefix in configure.in
- unlink config.status in "make distclean"
- use pcap_hdr->caplen instead pcap_hdr->len; the only gain seems to be to
  gracefully handle pcap files with too short snaplen
- changed soname to libnids.so.1.x, as binary compatibility is not
  guaranteed
- switched to sourceforge as homepage
2003-10-28 16:57:00 +00:00
rtr
b6676d269c Close continued lines.
From Quentin Garnier <cube@cubidou.net> resolves pr pkg/23080
2003-10-08 04:21:38 +00:00