Commit Graph

18 Commits

Author SHA1 Message Date
Preston Baxter df2b88a28a Update readme 2024-02-06 23:23:37 -06:00
Axel Sommerfeldt a4a2357355 CMake build support revised
- Compiler options '-Wall -pedantic' added
- Definition of _XOPEN_SOURCE_EXTENDED added
- Template configuration header file src/config.h.cmake added
- README updated

See also: https://github.com/irontec/sngrep/pull/462
2023-11-29 16:27:00 +01:00
Axel Sommerfeldt 4b96af3389 Support for building sngrep using CMake added 2023-11-29 16:27:00 +01:00
Gerd v. Egidy 58b7601d17 Implement reading & writing of gzip compressed pcap files
libpcap doesn't directly support this, so this is implemented using the
Linux call fopencookie which rereoutes the read,write,seek,close functions.
*BSD seems to have something similar (funopen) which is not implemented in
this patch because I'm not familiar enough with BSD.

gzip detection for read is done by first directly opening the given file
like before. If this fails, we retry with gzip.

gzip detection for write is done by looking at the filename to write to.
If it ends in ".gz" we activate gzip compression.

This currently just works for the commandline option --output because only
there you get to set the filename suffix freely. To make this usable in
the curses gui, the save dialog would have to be extended to allow setting
a .pcap.gz filename extension.

gzip compression must be compiled in to be active. This is done with the
--with-zlib configure option.
2022-07-18 11:11:36 +02:00
Kaian 5df4038318 doc: update documentation with Libera.chat IRC channel 2021-05-24 17:06:45 +02:00
Kaian ab970b12b8 doc: update all copyright headers to 2018 2018-01-19 11:52:13 +01:00
Kaian cf5e1da49d doc: update header files years 2017-09-17 10:56:15 +02:00
Kaian 3e3c276dd4 doc: update README.md broken links 2017-06-20 16:19:53 +02:00
Kaian c39e33c0c6 doc: Fix readme distribution links for install instructions 2017-04-21 15:15:14 +02:00
Kaian 21ecead9c3 doc: Include install instructions for OpenWRT/LEDE. Fixes #151 2016-11-07 14:50:18 +01:00
Kaian eb2bfd2b57 Welcome to 2016! Fixes #90 2016-02-02 11:34:15 +01:00
Kaian efd2a1c9f7 Update REAMD file 📝 2016-01-27 12:30:31 +01:00
Kaian 7eefddf790 Automake needs a README file 2015-02-25 14:05:04 +01:00
Kaian 126567d9d3 Make OpenSSL features disabled by default 2015-02-25 14:01:25 +01:00
Kaian 8a40644f71 Initial TLS1.0 support
* No compression
* AES Cipher
2014-10-23 16:54:59 +02:00
Kaian e7eaf27c46 Code cleanup for 0.1.0 release 2014-10-21 17:53:25 +02:00
Kaian 669c03cd86 Updating documentation 2013-06-24 17:36:22 +02:00
Kaian d304ecbfe0 Initial commit 2013-06-20 19:11:33 +02:00