]> git.ipfire.org Git - thirdparty/suricata.git/log
thirdparty/suricata.git
13 years agoUpdate Changelog to reflect changes between 1.2 and 1.2.1 origin/master-1.2.x suricata-1.2.1
Victor Julien [Fri, 20 Jan 2012 15:12:58 +0000 (16:12 +0100)] 
Update Changelog to reflect changes between 1.2 and 1.2.1

13 years agoOnly force a pseudo packet inspection cycle for TCP streams in a state >= established.
Victor Julien [Fri, 20 Jan 2012 14:46:09 +0000 (15:46 +0100)] 
Only force a pseudo packet inspection cycle for TCP streams in a state >= established.

13 years agoFix unified2 records generated based on reassembled stream data.
Victor Julien [Fri, 20 Jan 2012 08:53:25 +0000 (09:53 +0100)] 
Fix unified2 records generated based on reassembled stream data.

13 years agoUpdate Changelog to reflect changes between 1.2rc1 and 1.2 suricata-1.2
Victor Julien [Thu, 19 Jan 2012 13:25:34 +0000 (14:25 +0100)] 
Update Changelog to reflect changes between 1.2rc1 and 1.2

13 years agoUpdate app layer events for HTTP now that libhtp has fixes for some response errors.
Victor Julien [Wed, 18 Jan 2012 19:04:07 +0000 (20:04 +0100)] 
Update app layer events for HTTP now that libhtp has fixes for some response errors.

13 years agoIssue warning if libhtp version used is not up to date.
Victor Julien [Wed, 18 Jan 2012 18:54:58 +0000 (19:54 +0100)] 
Issue warning if libhtp version used is not up to date.

13 years agoEnforce flow direction for http_raw_header sigs. Fix unittests that missed the flow...
Victor Julien [Wed, 18 Jan 2012 18:51:10 +0000 (19:51 +0100)] 
Enforce flow direction for http_raw_header sigs. Fix unittests that missed the flow direction.

13 years agoFix libhtp htp_tx_get_response_headers_raw 'detection' for bundled libhtp.
Victor Julien [Wed, 18 Jan 2012 17:17:52 +0000 (18:17 +0100)] 
Fix libhtp htp_tx_get_response_headers_raw 'detection' for bundled libhtp.

13 years agoUpdate bundled libhtp to 0.2.7.
Victor Julien [Wed, 18 Jan 2012 17:16:45 +0000 (18:16 +0100)] 
Update bundled libhtp to 0.2.7.

13 years agoAllow log-pcap to use both absolute and relative sguil-base-dir settings when in...
Victor Julien [Wed, 18 Jan 2012 15:25:25 +0000 (16:25 +0100)] 
Allow log-pcap to use both absolute and relative sguil-base-dir settings when in 'sguil' mode.

13 years agoUndo unintended changes to suricata.yaml.
Victor Julien [Wed, 18 Jan 2012 11:55:11 +0000 (12:55 +0100)] 
Undo unintended changes to suricata.yaml.

13 years agoFix PathIsAbsolute function not dealing with CYGWIN. Handle absolute paths in logfile...
Victor Julien [Wed, 18 Jan 2012 11:53:26 +0000 (12:53 +0100)] 
Fix PathIsAbsolute function not dealing with CYGWIN. Handle absolute paths in logfile api.

13 years agoRegister HTTP logger at registration, not thread init.
Victor Julien [Wed, 18 Jan 2012 11:47:30 +0000 (12:47 +0100)] 
Register HTTP logger at registration, not thread init.

13 years agoSuppress ac-gfbs debug message being printed at info level.
Victor Julien [Wed, 18 Jan 2012 09:35:07 +0000 (10:35 +0100)] 
Suppress ac-gfbs debug message being printed at info level.

13 years agoThreading: do not keep a slots post_pq locked while processing the packets.
Victor Julien [Wed, 18 Jan 2012 09:13:17 +0000 (10:13 +0100)] 
Threading: do not keep a slots post_pq locked while processing the packets.

13 years agoFix flowbits sigmatch structure added to the match and post-match list, causing corru...
Victor Julien [Tue, 17 Jan 2012 08:32:30 +0000 (09:32 +0100)] 
Fix flowbits sigmatch structure added to the match and post-match list, causing corruption of the prev ptr. This lead to an endless loop condition in the thresholding code. Thanks to Chris Wakelin for reporting the issue.

13 years agoFix pcap -i mode.
Victor Julien [Mon, 16 Jan 2012 18:41:22 +0000 (19:41 +0100)] 
Fix pcap -i mode.

13 years agoMake live worker runmode threads adhere to the 'detect' cpu affinity settings.
Victor Julien [Fri, 13 Jan 2012 15:23:53 +0000 (16:23 +0100)] 
Make live worker runmode threads adhere to the 'detect' cpu affinity settings.

13 years agoFix pcap -i <ip>.
Victor Julien [Fri, 13 Jan 2012 12:06:31 +0000 (13:06 +0100)] 
Fix pcap -i <ip>.

13 years agoIndicate that the Suricata version used is a release or a git checkout.
Victor Julien [Fri, 13 Jan 2012 11:46:03 +0000 (12:46 +0100)] 
Indicate that the Suricata version used is a release or a git checkout.

13 years agoClean up default output. Use simpler output format for releases.
Victor Julien [Fri, 13 Jan 2012 11:22:27 +0000 (12:22 +0100)] 
Clean up default output. Use simpler output format for releases.

13 years agoAssume offloading in use if 1/10th of the packets has a bad checksum.
Victor Julien [Thu, 12 Jan 2012 14:50:54 +0000 (15:50 +0100)] 
Assume offloading in use if 1/10th of the packets has a bad checksum.

13 years agoAdd missing Makefile.am files for rules/ and doc/ dir.
Victor Julien [Thu, 12 Jan 2012 18:07:07 +0000 (19:07 +0100)] 
Add missing Makefile.am files for rules/ and doc/ dir.

13 years agoFix checksum offloading auto detection typo: it should be 1/5th instead of 1/10th.
Victor Julien [Thu, 12 Jan 2012 11:12:58 +0000 (12:12 +0100)] 
Fix checksum offloading auto detection typo: it should be 1/5th instead of 1/10th.

13 years agoMake sure new rule and doc files are part of the dist.
Victor Julien [Thu, 12 Jan 2012 07:48:14 +0000 (08:48 +0100)] 
Make sure new rule and doc files are part of the dist.

13 years agoDon't print error about missing git repo if building from tarball. Don't define REVIS... suricata-1.2rc1
Victor Julien [Wed, 11 Jan 2012 17:06:01 +0000 (18:06 +0100)] 
Don't print error about missing git repo if building from tarball. Don't define REVISION in that case.

13 years agoUpdate ChangeLog to reflect changes between 1.2beta1 and 1.2rc1.
Victor Julien [Wed, 11 Jan 2012 16:51:11 +0000 (17:51 +0100)] 
Update ChangeLog to reflect changes between 1.2beta1 and 1.2rc1.

13 years agoFix various minor clang/scan-build warnings.
Victor Julien [Wed, 11 Jan 2012 14:35:09 +0000 (15:35 +0100)] 
Fix various minor clang/scan-build warnings.

13 years agoAdapt signature ordering to new flowbits post-match handling.
Victor Julien [Wed, 11 Jan 2012 14:31:14 +0000 (15:31 +0100)] 
Adapt signature ordering to new flowbits post-match handling.

13 years agoImplement post match support for ip-only.
Victor Julien [Wed, 11 Jan 2012 14:28:45 +0000 (15:28 +0100)] 
Implement post match support for ip-only.

13 years agoLet timing out flow use pseudo packets also if state is not fully closed.
Victor Julien [Wed, 11 Jan 2012 14:05:29 +0000 (15:05 +0100)] 
Let timing out flow use pseudo packets also if state is not fully closed.

13 years agoAdd post-match list, move flowbits set, etc functions to it. Move flowint set, etc...
Victor Julien [Wed, 11 Jan 2012 13:24:09 +0000 (14:24 +0100)] 
Add post-match list, move flowbits set, etc functions to it. Move flowint set, etc functions to it as well.

13 years agoAdd export of wiki install docs to our doc/ dir.
Victor Julien [Wed, 11 Jan 2012 10:33:13 +0000 (11:33 +0100)] 
Add export of wiki install docs to our doc/ dir.

13 years agoAdd reject support to live single, autofp and workers runmodes.
Victor Julien [Wed, 11 Jan 2012 10:23:36 +0000 (11:23 +0100)] 
Add reject support to live single, autofp and workers runmodes.

13 years agorunmode: Add Reject to IPS worker mode.
Eric Leblond [Wed, 11 Jan 2012 07:55:15 +0000 (08:55 +0100)] 
runmode: Add Reject to IPS worker mode.

13 years agoPrint elapsed time with millisecond precision.
Victor Julien [Tue, 10 Jan 2012 16:21:03 +0000 (17:21 +0100)] 
Print elapsed time with millisecond precision.

13 years agoSet DROP flag for reject action so in addition to sending the rst, in IPS mode also...
Victor Julien [Tue, 10 Jan 2012 15:23:32 +0000 (16:23 +0100)] 
Set DROP flag for reject action so in addition to sending the rst, in IPS mode also drop the offending packet.

13 years agoFix HTTP state and raw stream not being inspected at the same time. Adds an exception...
Victor Julien [Tue, 10 Jan 2012 13:15:59 +0000 (14:15 +0100)] 
Fix HTTP state and raw stream not being inspected at the same time. Adds an exception to transaction id handling for HTTP.

13 years agoTrigger raw stream reassembly on receiving a full HTTP request or response.
Victor Julien [Fri, 6 Jan 2012 10:08:10 +0000 (11:08 +0100)] 
Trigger raw stream reassembly on receiving a full HTTP request or response.

13 years agoDisable printing dreaded app layer error messages to the screen: app layer events...
Victor Julien [Mon, 9 Jan 2012 14:16:37 +0000 (15:16 +0100)] 
Disable printing dreaded app layer error messages to the screen: app layer events are here to safe us.

13 years agoAdd http-events.rules with an example rule for each HTTP event.
Victor Julien [Mon, 9 Jan 2012 14:10:16 +0000 (15:10 +0100)] 
Add http-events.rules with an example rule for each HTTP event.

13 years agoConvert error logging for HTTP to use new app layer event API. Expose libhtp warnings...
Victor Julien [Mon, 9 Jan 2012 14:09:48 +0000 (15:09 +0100)] 
Convert error logging for HTTP to use new app layer event API. Expose libhtp warnings to this as well.

13 years agoAdd check to invalidate signatures that inspect raw http headers in the to_client...
Victor Julien [Mon, 9 Jan 2012 07:58:02 +0000 (08:58 +0100)] 
Add check to invalidate signatures that inspect raw http headers in the to_client direction (response headers) if libhtp hasn't been patched yet. Also add hack to disable the test for unittests, many tests fail and we'll fix those ASAP.

13 years agoClean up configure check for htp_tx_get_response_headers_raw. Misc changes.
Victor Julien [Mon, 9 Jan 2012 07:44:53 +0000 (08:44 +0100)] 
Clean up configure check for htp_tx_get_response_headers_raw. Misc changes.

13 years agoEnable http raw response header inspection only if libhtp supports raw response heade...
Anoop Saldanha [Mon, 9 Jan 2012 07:14:09 +0000 (12:44 +0530)] 
Enable http raw response header inspection only if libhtp supports raw response header buffering which should be available post 0.2.6

13 years agosupport http response raw header inspection + carry out hrhd mpm on both request...
Anoop Saldanha [Mon, 9 Jan 2012 06:29:52 +0000 (11:59 +0530)] 
support http response raw header inspection + carry out hrhd mpm on both request/response headers + add unittests for the same

13 years agohhd unittests for response headers
Anoop Saldanha [Sat, 7 Jan 2012 17:39:51 +0000 (23:09 +0530)] 
hhd unittests for response headers

13 years agocarry out hhd mpm on both request/response headers
Anoop Saldanha [Sat, 31 Dec 2011 08:01:17 +0000 (13:31 +0530)] 
carry out hhd mpm on both request/response headers

13 years agobug 389 - support http response header inspection + fix bug with stateful inspection...
Anoop Saldanha [Fri, 30 Dec 2011 12:14:47 +0000 (17:44 +0530)] 
bug 389 - support http response header inspection + fix bug with stateful inspection for sigs that would have both request/response inpection

13 years agoAdd simple socket to gzip file PoC.
William [Thu, 5 Jan 2012 17:28:57 +0000 (11:28 -0600)] 
Add simple socket to gzip file PoC.

13 years agoSet 'livedev' in pcap acquisition module for older libpcap version as well. Fixes...
Victor Julien [Fri, 6 Jan 2012 19:46:47 +0000 (20:46 +0100)] 
Set 'livedev' in pcap acquisition module for older libpcap version as well. Fixes a segv.

13 years agoAdd example smtp decoding events rules file.
Victor Julien [Fri, 6 Jan 2012 18:04:55 +0000 (19:04 +0100)] 
Add example smtp decoding events rules file.

13 years agoMake sure that continued stateful detection only inspects sigs in the proper direction.
Victor Julien [Fri, 6 Jan 2012 18:02:02 +0000 (19:02 +0100)] 
Make sure that continued stateful detection only inspects sigs in the proper direction.

13 years agoAdd signature direction (flow:toserver/flow:toclient) as a signature flag.
Victor Julien [Fri, 6 Jan 2012 17:51:55 +0000 (18:51 +0100)] 
Add signature direction (flow:toserver/flow:toclient) as a signature flag.

13 years agoSimplify detection loop. Inspect packet keywords before the state.
Victor Julien [Fri, 6 Jan 2012 17:20:35 +0000 (18:20 +0100)] 
Simplify detection loop. Inspect packet keywords before the state.

13 years agoRename app_layer_events to app-layer-events. Misc fixes/changes.
Victor Julien [Fri, 6 Jan 2012 17:00:51 +0000 (18:00 +0100)] 
Rename app_layer_events to app-layer-events. Misc fixes/changes.

13 years agoAllow flowint names to have dots in them.
Victor Julien [Fri, 6 Jan 2012 16:56:52 +0000 (17:56 +0100)] 
Allow flowint names to have dots in them.

13 years agoSupport for smtp decoder events
Anoop Saldanha [Fri, 6 Jan 2012 09:03:23 +0000 (14:33 +0530)] 
Support for smtp decoder events

13 years agoSupport for app layer decoder events added + app_layer_event keyword added
Anoop Saldanha [Fri, 6 Jan 2012 05:58:33 +0000 (11:28 +0530)] 
Support for app layer decoder events added + app_layer_event keyword added

13 years agoAllow non-existing flowints to be incremented. A 'set' to 0 is implied in this case.
Victor Julien [Thu, 5 Jan 2012 17:24:32 +0000 (18:24 +0100)] 
Allow non-existing flowints to be incremented. A 'set' to 0 is implied in this case.

13 years agoClean up csum detection output, misc fixes.
Victor Julien [Thu, 5 Jan 2012 16:24:14 +0000 (17:24 +0100)] 
Clean up csum detection output, misc fixes.

13 years agoconfig: Add explanation for checksum-checks options
Eric Leblond [Wed, 4 Jan 2012 14:02:19 +0000 (15:02 +0100)] 
config: Add explanation for checksum-checks options

13 years agopf-ring: add support for checksum verif mode
Eric Leblond [Mon, 2 Jan 2012 16:51:21 +0000 (17:51 +0100)] 
pf-ring: add support for checksum verif mode

This patch adds support for checksum verification mode.
Supported mode are yes, no, auto and rx-only.

13 years agopcap: fix typo
Eric Leblond [Wed, 4 Jan 2012 18:15:56 +0000 (19:15 +0100)] 
pcap: fix typo

13 years agopcap: add auto mode support
Eric Leblond [Tue, 3 Jan 2012 15:42:38 +0000 (16:42 +0100)] 
pcap: add auto mode support

13 years agoaf-packet: fallback if 'kernel' mode is not supported
Eric Leblond [Wed, 4 Jan 2012 18:24:53 +0000 (19:24 +0100)] 
af-packet: fallback if 'kernel' mode is not supported

This patch adds a fallback to full checksum validation if 'kernel'
mode is not supported by the running kernel.

13 years agoaf-packet: auto mode support
Eric Leblond [Tue, 3 Jan 2012 15:42:03 +0000 (16:42 +0100)] 
af-packet: auto mode support

13 years agoAdd per-interface counter for invalid checksum.
Eric Leblond [Tue, 3 Jan 2012 15:38:53 +0000 (16:38 +0100)] 
Add per-interface counter for invalid checksum.

This patch adds a per-device counter for invalid checksum as
well as a simple packet counter.

13 years agoIntroduce LiveGetDevice function
Eric Leblond [Tue, 3 Jan 2012 09:48:44 +0000 (10:48 +0100)] 
Introduce LiveGetDevice function

13 years agoRename LiveGetDevice to LiveGetDeviceName
Eric Leblond [Tue, 3 Jan 2012 09:23:01 +0000 (10:23 +0100)] 
Rename LiveGetDevice to LiveGetDeviceName

The function LiveGetDevice is returning a point to
the name of the interface. This patch renames it to
LiveGetDeviceName which is more appropriate.

13 years agopcap: add support for checksum verif mode
Eric Leblond [Mon, 2 Jan 2012 17:17:08 +0000 (18:17 +0100)] 
pcap: add support for checksum verif mode

This patch adds support for checksum verification mode.
Auto mode is not yet supported.

13 years agoaf-packet: add support for checksum verif mode
Eric Leblond [Mon, 2 Jan 2012 16:34:33 +0000 (17:34 +0100)] 
af-packet: add support for checksum verif mode

This patch adds support for checksum verification mode.
Auto mode is not yet supported.

13 years agodecode: introduce checksum mode enum.
Eric Leblond [Mon, 2 Jan 2012 16:33:49 +0000 (17:33 +0100)] 
decode: introduce checksum mode enum.

13 years agoaf-packet: Fix typo in error message.
Eric Leblond [Mon, 2 Jan 2012 16:07:37 +0000 (17:07 +0100)] 
af-packet: Fix typo in error message.

13 years agodetect-csum: incomplete checksum is a valid checksum
Eric Leblond [Wed, 21 Dec 2011 11:18:57 +0000 (12:18 +0100)] 
detect-csum: incomplete checksum is a valid checksum

This patch modify checksum match to not alert on packet with
incomplete checksum. They will be checksummed later and thus
can be considered as valid one.

13 years agoaf-packet: add variable to disable offloading detection
Eric Leblond [Tue, 20 Dec 2011 16:46:07 +0000 (17:46 +0100)] 
af-packet: add variable to disable offloading detection

This flag adds variable to disable offloading detection. The effect
of the flag is to avoid to transmit auxiliary data at each packet.
This could result in a potential performance gain.

13 years agoaf-packet: parse message to find lack of checksum
Eric Leblond [Tue, 20 Dec 2011 15:52:07 +0000 (16:52 +0100)] 
af-packet: parse message to find lack of checksum

Emitted packet can have checksum offloading. This patch reads
af-packet message parameter to see if the kernel has sent a non
checksummed packet.

13 years agopf-ring: Mark emitted traffic as non checksummed
Eric Leblond [Tue, 20 Dec 2011 14:10:57 +0000 (15:10 +0100)] 
pf-ring: Mark emitted traffic as non checksummed

The traffic sent by an interface is potentially offloaded. This
patch adds detection of TX packets and set the corresponding flag.

13 years agoTreat incomplete checksum.
Eric Leblond [Tue, 20 Dec 2011 14:08:40 +0000 (15:08 +0100)] 
Treat incomplete checksum.

Checksum of local traffic is often offloaded to the network device.
This causes some problems on parsing of this traffic. This patch
introduces a PKT_INCOMPLETE_CHECKSUM flag which can be used to
indicate that the checksum is not computed/correct for good reason.

13 years agoFix icmpv6 ip-only rule not firing. #363.
Victor Julien [Thu, 5 Jan 2012 15:48:48 +0000 (16:48 +0100)] 
Fix icmpv6 ip-only rule not firing. #363.

13 years agoindentation fix
Anoop Saldanha [Wed, 28 Dec 2011 20:44:19 +0000 (02:14 +0530)] 
indentation fix

13 years agofix detection engine for alert stability. Fix cases where we have multiple rules...
Anoop Saldanha [Wed, 28 Dec 2011 20:41:37 +0000 (02:11 +0530)] 
fix detection engine for alert stability. Fix cases where we have multiple rules having same pattern. We should see good perf increase(~5%) with this change, now that we avoid unnecessary inspection"

13 years agoindendation fix
Anoop Saldanha [Mon, 26 Dec 2011 16:34:48 +0000 (22:04 +0530)] 
indendation fix

13 years agoreclaim mpm contexts if no patterns are added to it, even in non-full mode
Anoop Saldanha [Mon, 26 Dec 2011 16:34:00 +0000 (22:04 +0530)] 
reclaim mpm contexts if no patterns are added to it, even in non-full mode

13 years agoupdate cuda mpm to support per proto mpm contexts. Fix faulty stream mpm usage of...
Anoop Saldanha [Mon, 26 Dec 2011 15:08:18 +0000 (20:38 +0530)] 
update cuda mpm to support per proto mpm contexts. Fix faulty stream mpm usage of cuda

13 years agointroduce separate mpm ctxs for tcp/udp/other_protos
Anoop Saldanha [Sun, 25 Dec 2011 19:33:54 +0000 (01:03 +0530)] 
introduce separate mpm ctxs for tcp/udp/other_protos

13 years agorefactor all http mpm engine code
Anoop Saldanha [Sun, 25 Dec 2011 07:36:08 +0000 (13:06 +0530)] 
refactor all http mpm engine code

13 years agofix indentation
Anoop Saldanha [Sat, 24 Dec 2011 09:12:02 +0000 (14:42 +0530)] 
fix indentation

13 years agoremove unnecessary if/else checks
Anoop Saldanha [Sat, 24 Dec 2011 09:10:25 +0000 (14:40 +0530)] 
remove unnecessary if/else checks

13 years agoAdd counters for SYN, SYN/ACK and RST TCP packets. Issue #251.
Victor Julien [Thu, 5 Jan 2012 14:22:30 +0000 (15:22 +0100)] 
Add counters for SYN, SYN/ACK and RST TCP packets. Issue #251.

13 years agoLet flow:only_stream and flow:no_stream set the require packet and require stream...
Victor Julien [Thu, 5 Jan 2012 10:37:25 +0000 (11:37 +0100)] 
Let flow:only_stream and flow:no_stream set the require packet and require stream flags. Toss out sigs with conflicting settings. Rename flow:stream_only to flow:only_stream. Fixes #261.

13 years agoAdd tcp-pkt and tcp-stream 'protocols' to force a signature to inspect only packet...
Victor Julien [Thu, 5 Jan 2012 09:27:11 +0000 (10:27 +0100)] 
Add tcp-pkt and tcp-stream 'protocols' to force a signature to inspect only packet or stream data.

13 years agoFix 2 compiler warnings.
Victor Julien [Thu, 5 Jan 2012 07:49:14 +0000 (08:49 +0100)] 
Fix 2 compiler warnings.

13 years agoUse strlcpy
Mike Pomraning [Wed, 7 Dec 2011 15:57:35 +0000 (09:57 -0600)] 
Use strlcpy

13 years agoDocument new "filetype" argument for 'fast', 'http-log', etc.
Mike Pomraning [Tue, 6 Dec 2011 17:52:54 +0000 (11:52 -0600)] 
Document new "filetype" argument for 'fast', 'http-log', etc.

13 years agoTouch up Makefile for SCConfLogOpenGeneric.
Mike Pomraning [Tue, 6 Dec 2011 17:52:30 +0000 (11:52 -0600)] 
Touch up Makefile for SCConfLogOpenGeneric.

13 years agoSwitch 'fast', 'http-log', 'drop' and 'alert-debug' to SCConfLogOpenGeneric.
Mike Pomraning [Tue, 6 Dec 2011 17:51:09 +0000 (11:51 -0600)] 
Switch 'fast', 'http-log', 'drop' and 'alert-debug' to SCConfLogOpenGeneric.

13 years agoSCConfLogOpenGeneric() abstraction for regular and AF_UNIX logs.
Mike Pomraning [Tue, 6 Dec 2011 17:48:28 +0000 (11:48 -0600)] 
SCConfLogOpenGeneric() abstraction for regular and AF_UNIX logs.

util-logopenfile.[ch] implements the abstraction; util-error.[ch]
modified to include a socket-specific error code; output.h adds a
default filetype for logs ("regular").

13 years agoSwitch log-file module to use new absolute path detection code.
Victor Julien [Wed, 4 Jan 2012 16:07:33 +0000 (17:07 +0100)] 
Switch log-file module to use new absolute path detection code.

13 years agoAdd functions to determine whether a path is absolute or relative.
Victor Julien [Wed, 4 Jan 2012 15:53:55 +0000 (16:53 +0100)] 
Add functions to determine whether a path is absolute or relative.