pingcheck
9 years agomade nicer static variables of packet dump mode and location
Christian Herdtweck [Mon, 4 May 2015 16:27:31 +0000]
made nicer static variables of packet dump mode and location

9 years agoincreased version to 0.4 revision 0: new DNS, merged Scheduler with Rotate and made...
Christian Herdtweck [Mon, 4 May 2015 15:23:56 +0000]
increased version to 0.4 revision 0: new DNS, merged Scheduler with Rotate and made it use async DNS

9 years agoremove the footer saying that vim is the best editor -- anyone knows anyway
Christian Herdtweck [Mon, 4 May 2015 15:09:04 +0000]
remove the footer saying that vim is the best editor -- anyone knows anyway

9 years agocreated arg recursion_count to async_resolve and many other to avoid infinite loops
Christian Herdtweck [Mon, 4 May 2015 14:09:10 +0000]
created arg recursion_count to async_resolve and many other to avoid infinite loops

* arg recursion_count replaces cname_count which up to now identified problems in post-processing
* created simple loop test
* added option to configure recursion depth limit to DnsMaster

minor other changes:
* corrected docu for resolved-ip-ttl-threshold option: is not milliseconds but seconds
* add test to ResolverBase: check number of callbacks and warn if suspiciously many

9 years agoadded option min-time-between-resolves-option and tests for it
Christian Herdtweck [Mon, 4 May 2015 08:47:53 +0000]
added option min-time-between-resolves-option and tests for it

9 years agodefine this as revision 3 of version 0.3 and add to intranator source master
Christian Herdtweck [Mon, 4 May 2015 07:12:09 +0000]
define this as revision 3 of version 0.3 and add to intranator source master

9 years agohad forgotten to unset debug option (max number of acceptable errors was 1)
Christian Herdtweck [Mon, 4 May 2015 07:08:44 +0000]
had forgotten to unset debug option (max number of acceptable errors was 1)

9 years agodid minor changes; used this version for testing over week-end
Christian Herdtweck [Thu, 30 Apr 2015 16:34:55 +0000]
did minor changes; used this version for testing over week-end

9 years agofixed bug that caused outdated IPsto be returned from cache; added test for that
Christian Herdtweck [Thu, 30 Apr 2015 16:10:46 +0000]
fixed bug that caused outdated IPsto be returned from cache; added test for that

9 years agofound reason for 0.0.0.0 IPs in logs: IcmpPingers are created without IP but register...
Christian Herdtweck [Thu, 30 Apr 2015 16:09:07 +0000]
found reason for 0.0.0.0 IPs in logs: IcmpPingers are created without IP but register immediately with PacketDistributor

adjust log message, should probably remove debug output some time

9 years agoadded option log-file and option FILE to log-output; use in main and adjusted unit...
Christian Herdtweck [Thu, 30 Apr 2015 14:13:08 +0000]
added option log-file and option FILE to log-output; use in main and adjusted unit tests

9 years agotested new DNS with internal server, make more robust against caching; works nicely now
Christian Herdtweck [Thu, 30 Apr 2015 13:28:51 +0000]
tested new DNS with internal server, make more robust against caching; works nicely now

9 years agoadded test to DNS: load cache from file
Christian Herdtweck [Thu, 30 Apr 2015 07:39:11 +0000]
added test to DNS: load cache from file

9 years agofixed bug in TimeToLive: get huge TTLs from cast to uint32_t of negative values
Christian Herdtweck [Thu, 30 Apr 2015 07:38:23 +0000]
fixed bug in TimeToLive: get huge TTLs from cast to uint32_t of negative values

9 years agofixed 2 bugs and made clearer that Long-term timer in DnsResolver is not affected...
Christian Herdtweck [Wed, 29 Apr 2015 15:45:16 +0000]
fixed 2 bugs and made clearer that Long-term timer in DnsResolver is not affected by finalize_resolve

bugs:
* HostAddress::is_valid returned opposite
* use the returned IP to ping and do not request another in PingScheduler::ping
* move reset of ContinueOnOutdatedIp within PingScheduler to after ping

long-term timer:
* added a variable DnsResolver: LongtermTimerIsActive
* added a function to ResolverBase: is_waiting_to_resolve
* added a function cancel_resolve to PingScheduler that decides whether to cancel or not
* added an arg to DnsResolver::stop_trying

9 years agoremoved the HostStatus::report_dns_resolution_failure (not used any more)
Christian Herdtweck [Wed, 29 Apr 2015 13:38:45 +0000]
removed the HostStatus::report_dns_resolution_failure (not used any more)

9 years agoensured LogPrefix is used in DNS and PingScheduler; shortened lines; remove vim end...
Christian Herdtweck [Wed, 29 Apr 2015 13:36:04 +0000]
ensured LogPrefix is used in DNS and PingScheduler; shortened lines; remove vim end note

9 years agomore cname-skip unit-tests and simplification of skip-finder function
Christian Herdtweck [Wed, 29 Apr 2015 13:18:34 +0000]
more cname-skip unit-tests and simplification of skip-finder function

9 years agocreated and passed first unit tests for DNS; finished recovery from PingScheduler...
Christian Herdtweck [Wed, 29 Apr 2015 12:38:50 +0000]
created and passed first unit tests for DNS; finished recovery from PingScheduler::ContinueOnOutdatedIPs

Also:
* renamed PingScheduler::try_to_ping to PingScheduler::ping_when_ready
* fixed string constant DnsCache::DoNotUseCacheFile
* moved Cname to own header file
* created constructor of DnsMaster with DnsCacheItem so can test cache offline
* fixed retrieval of outdated CName

9 years agoremote PingRotate
Christian Herdtweck [Fri, 24 Apr 2015 16:42:05 +0000]
remote PingRotate

9 years agomerged PingRotate into PingScheduler; fixed save/load of cache to/from file; started...
Christian Herdtweck [Fri, 24 Apr 2015 16:41:29 +0000]
merged PingRotate into PingScheduler; fixed save/load of cache to/from file; started creating DNS unittest

code now compiles and links and pings again!

merged because through Asynchronicity it is more difficult to give feedback from Rotate to Scheduler
further changes
* in cache ensure that there is not cname and ip for same hostname
* in cache remove trailing dots from hostnames
* by default ask only for [number of] updatd IPs in retrieval from resolver
* remove some left-overs from recursive resolving (e.g. Recursor creation in master)

9 years agosimplified dns (no self-made recursion); merge PingScheduler and PingRotate; make...
Christian Herdtweck [Thu, 23 Apr 2015 16:06:45 +0000]
simplified dns (no self-made recursion); merge PingScheduler and PingRotate; make them use Async DNS

does not compile yet, work in progress!

9 years agofinished self-implementation of DNS resolver recursion; will now remove all that!
Christian Herdtweck [Thu, 23 Apr 2015 08:38:20 +0000]
finished self-implementation of DNS resolver recursion; will now remove all that!

implemented resolving that avoids caching by creating non-recursive queries
that are directly talking to different name servers; will remove this now
because firewalls might prevent direct communication and do not want to
self-implement dnssec some time.
--> now remove own implementation of recursion in resolving and try to deal
    with cached results

9 years agocontinue implementation; first tests with recursion returned IPs but then added cance...
Christian Herdtweck [Fri, 17 Apr 2015 16:52:35 +0000]
continue implementation; first tests with recursion returned IPs but then added cancel code

added option to cancel Recursor if timeout is reached
sometimes re-try resolving more quickly instead of calling handle_unavailable
changed saving of ttls: save original value and creation time by adding friend class HostAddress
cache can do the recursive ip retrieval, better place than ResolverBase

9 years agochanged how dns deals with cnames and recursion: remember cnames and implement recurs...
Christian Herdtweck [Thu, 16 Apr 2015 16:08:32 +0000]
changed how dns deals with cnames and recursion: remember cnames and implement recursive lookup here using DnsResolvers that are not saved in DnsMaster.

Experiments with own name server and recursive cnames showed that TTLs are not always the minimum.
This way we have better control about resulting TTLs
and debugging is easier since DNS caching is avoided.

Also create unique id for each dns message and check reply
and in main warn if using debug option max_exceptions.

9 years agostarted experimenting with DnsResolver; does send stuff but has not received anything yet
Christian Herdtweck [Fri, 10 Apr 2015 16:34:30 +0000]
started experimenting with DnsResolver; does send stuff but has not received anything yet

9 years agomoved new dns code from temp dir to dns subdir; changed serialization; added destruct...
Christian Herdtweck [Fri, 10 Apr 2015 15:30:21 +0000]
moved new dns code from temp dir to dns subdir; changed serialization; added destructors; added boost libs --> can link now!

9 years agomoved new dns code from temp dir into proper dns dir
Christian Herdtweck [Fri, 10 Apr 2015 12:27:03 +0000]
moved new dns code from temp dir into proper dns dir

9 years agodeleted old DNS resolver and its factory
Christian Herdtweck [Fri, 10 Apr 2015 12:23:45 +0000]
deleted old DNS resolver and its factory

9 years agoadjusted rest of pingchecker to use new dns in very trivial fasion; compiles but...
Christian Herdtweck [Fri, 10 Apr 2015 12:22:03 +0000]
adjusted rest of pingchecker to use new dns in very trivial fasion; compiles but need to re-design async calls in scheduler

9 years agoadded dns cache file option
Christian Herdtweck [Fri, 10 Apr 2015 10:35:50 +0000]
added dns cache file option

9 years agoadded missing functions and config vars used by pingscheduler/pingrotate
Christian Herdtweck [Fri, 10 Apr 2015 10:26:41 +0000]
added missing functions and config vars used by pingscheduler/pingrotate

* functions have_up_to_date_ips and get_resolved_ip_count to resolvers
* limitation to only IPv4/v6 to DnsResolver
* --> DnsMaster remembers resolvers by pair(host name, ip version)
* DnsMaster holds global config vars NameServer, ResolvedIpTtlThreshold and MaxAddressResolutionAttempts
  and provides public getters for them

9 years agoimplemented serialization, is compiling
Christian Herdtweck [Thu, 9 Apr 2015 13:16:59 +0000]
implemented serialization, is compiling

9 years agodone except for saving/loading cache; not being used yet but does compile (except...
Christian Herdtweck [Thu, 9 Apr 2015 12:01:33 +0000]
done except for saving/loading cache; not being used yet but does compile (except for linker error caused by old dns system still in CMakeLists.txt)

9 years agocontinuing with dns rewrite; today realized that cache is better as own class and...
Christian Herdtweck [Wed, 8 Apr 2015 16:54:25 +0000]
continuing with dns rewrite; today realized that cache is better as own class and ResolverBase gets more powerfull

9 years agoadded first half-ready versions of new DNS files in temp directory dns_neww to avoid...
Christian Herdtweck [Wed, 1 Apr 2015 16:33:36 +0000]
added first half-ready versions of new DNS files in temp directory dns_neww to avoid overwriting of old reference code

9 years agorenamed expired_resolved_ip to have_up_to_date_ip because that makes clearer what...
Christian Herdtweck [Wed, 1 Apr 2015 08:31:22 +0000]
renamed expired_resolved_ip to have_up_to_date_ip because that makes clearer what it is used for

9 years agore-designed DNS plan because with first approach all class variables would be maps...
Christian Herdtweck [Wed, 1 Apr 2015 07:58:33 +0000]
re-designed DNS plan because with first approach all class variables would be maps: hostname --> actual_var

9 years agodo actually rotate protocols in PingRotate
Christian Herdtweck [Wed, 1 Apr 2015 08:32:05 +0000]
do actually rotate protocols in PingRotate

9 years agomoved try-catch around icmp packet parsing from IcmpPacketDistributor to IcmpPacketFa...
Christian Herdtweck [Wed, 1 Apr 2015 07:47:50 +0000]
moved try-catch around icmp packet parsing from IcmpPacketDistributor to IcmpPacketFactory so can dump when exception is thrown

9 years agochanged start of pings to time when io_service.run() is called (and not earlier)
Christian Herdtweck [Wed, 25 Mar 2015 13:11:32 +0000]
changed start of pings to time when io_service.run() is called (and not earlier)

9 years agomade PingRotate actually rotate through protocols, and not just stick with last protocol
Christian Herdtweck [Wed, 25 Mar 2015 13:09:24 +0000]
made PingRotate actually rotate through protocols, and not just stick with last protocol

9 years agoupdated revision (version now 0.3.2) and fixed creation of version string
Christian Herdtweck [Fri, 20 Mar 2015 11:07:16 +0000]
updated revision (version now 0.3.2) and fixed creation of version string

9 years agoupdate Readme, TODO and example pingcheck.conf
Christian Herdtweck [Fri, 20 Mar 2015 11:02:01 +0000]
update Readme, TODO and example pingcheck.conf

9 years agofixed trouble in unittests: when I changed/added options I forgot to adjust correspon...
Christian Herdtweck [Fri, 20 Mar 2015 10:12:15 +0000]
fixed trouble in unittests: when I changed/added options I forgot to adjust corresponding unittests

9 years agofixed same bug as for DestinationUnreachable in TimeExceeded messages: accept reply...
Christian Herdtweck [Fri, 20 Mar 2015 08:38:19 +0000]
fixed same bug as for DestinationUnreachable in TimeExceeded messages: accept reply from mid-way

altered unit test accordingly
removed unnecessary implementations of match_xy functions that also just return false

9 years agofixed bug in match_destination_unreachable: message does not have to come from origin...
Christian Herdtweck [Thu, 19 Mar 2015 17:30:00 +0000]
fixed bug in match_destination_unreachable: message does not have to come from original destination

that means we have to interpret the ip header within the icmp data, which is done by converting
IcmpData::raw_data to a stream which is fed to IpvXHeader.read
Also means that address to test for has to be forwarded to IcmpDestinationUnreachableData
and cannot be simply tested in IcmpData already --> change function prototype in all IcmpData classes

9 years agoadded more tests, fixed trouble with position of test data relative to build dir
Christian Herdtweck [Thu, 19 Mar 2015 17:26:17 +0000]
added more tests, fixed trouble with position of test data relative to build dir

9 years agocan now interpret pcaps from tcpdump; created own pcap.h and pcap.cpp because is...
Christian Herdtweck [Thu, 19 Mar 2015 17:25:18 +0000]
can now interpret pcaps from tcpdump; created own pcap.h and pcap.cpp because is needed in 3 places now:

* icmp/icmppacketfactory
* tools/feed_packet_data
* tests/test_icmppacket

pcaps from tcpdump have network_type = 1, so include a interface struct in packet data before actual data.
Our own dumps were network_type=101 and did not include that interface info

9 years agoadded more testing pcap data
Christian Herdtweck [Thu, 19 Mar 2015 17:16:05 +0000]
added more testing pcap data

9 years agocreated data directory in test directory for pcap files for IcmpPacket tests
Christian Herdtweck [Thu, 19 Mar 2015 09:13:11 +0000]
created data directory in test directory for pcap files for IcmpPacket tests

9 years agoadded revision to version string (0.3 --> 0.3.1) to more easily see if testing the...
Christian Herdtweck [Thu, 19 Mar 2015 09:06:36 +0000]
added revision to version string (0.3 --> 0.3.1) to more easily see if testing the correct version (e.g. if patching tarballs)

also added build date to output of pingcheck --version

9 years agoadded more getter to IcmpPacket so can test more
Christian Herdtweck [Wed, 18 Mar 2015 18:06:32 +0000]
added more getter to IcmpPacket so can test more

9 years agoadded new unittest for IcmpPacket
Christian Herdtweck [Wed, 18 Mar 2015 18:05:48 +0000]
added new unittest for IcmpPacket

9 years agofixed bugs that caused DestinationUnreachable / TimeExceeded messages to NEVER match...
Christian Herdtweck [Wed, 18 Mar 2015 15:01:32 +0000]
fixed bugs that caused DestinationUnreachable / TimeExceeded messages to NEVER match anything

also added function to get ttl of original request IP packet but unfortunately that always returns 1 if time exceeded :-(
Also improved error reporting in ICMP packet parsing process

9 years agoadded option to print raw message data in text form for debugging
Christian Herdtweck [Wed, 18 Mar 2015 14:57:22 +0000]
added option to print raw message data in text form for debugging

9 years agoadded code to parse ICMP type TimeExceeded
Christian Herdtweck [Wed, 18 Mar 2015 10:46:13 +0000]
added code to parse ICMP type TimeExceeded

* format is identical to DestinationUnreachable and other ICMP replies
  --> created a common half-abstract base class IcmpData_PingFailReply
* added a match_time_exceeded to IcmpPacket which is called by IcmpPinger

9 years agoin case of unknown ICMP reply type, consume data instead of returning failure in...
Christian Herdtweck [Wed, 18 Mar 2015 10:45:07 +0000]
in case of unknown ICMP reply type, consume data instead of returning failure in IcmpPacket::read

9 years agoadded ip source and destination address to IpHeader::to_string
Christian Herdtweck [Wed, 18 Mar 2015 10:38:22 +0000]
added ip source and destination address to IpHeader::to_string

9 years agoincreased version to 0.3 since have now new ICMP packet structure and
Christian Herdtweck [Fri, 13 Mar 2015 14:18:52 +0000]
increased version to 0.3 since have now new ICMP packet structure and
packet feeder tool and will create new tar from this

9 years agoadded a simple text output (to_string) for DestinationUnreachable ICMP data
Christian Herdtweck [Fri, 13 Mar 2015 14:15:17 +0000]
added a simple text output (to_string) for DestinationUnreachable ICMP data

9 years agoadded a count of good/bad packets to feed_packet_data tool
Christian Herdtweck [Fri, 13 Mar 2015 14:13:03 +0000]
added a count of good/bad packets to feed_packet_data tool

9 years agoadded rule to create feed_packet tool to CMakeLists.txt
Christian Herdtweck [Fri, 13 Mar 2015 13:32:15 +0000]
added rule to create feed_packet tool to CMakeLists.txt

9 years agocheck if file is really open after opening; changed return codes and log levels
Christian Herdtweck [Thu, 5 Mar 2015 10:15:38 +0000]
check if file is really open after opening; changed return codes and log levels

9 years agogot the tool feed_packet_data to compile and run and do reasonable stuff
Christian Herdtweck [Wed, 4 Mar 2015 16:29:07 +0000]
got the tool feed_packet_data to compile and run and do reasonable stuff

9 years agoadded a dump_option to IcmpPacketFactory creation function; better error message...
Christian Herdtweck [Wed, 4 Mar 2015 16:28:20 +0000]
added a dump_option to IcmpPacketFactory creation function; better error message if temp file creation fails

9 years agostarted creating a utility program in new folder tools that feeds packet data directl...
Christian Herdtweck [Fri, 27 Feb 2015 17:06:37 +0000]
started creating a utility program in new folder tools that feeds packet data directly into ICMP/TCP factories

9 years agomoved remaining implementations in ipv6header.h to cpp; avoid conversion warnings
Christian Herdtweck [Fri, 13 Mar 2015 10:49:26 +0000]
moved remaining implementations in ipv6header.h to cpp; avoid conversion warnings

9 years agogive credit to Christopher Kohlhoff (boost asio) and Guilherme Ferreira
Christian Herdtweck [Fri, 13 Mar 2015 09:09:36 +0000]
give credit to Christopher Kohlhoff (boost asio) and Guilherme Ferreira

9 years agoconsequently moved all implementation from h to cpp files
Christian Herdtweck [Fri, 13 Mar 2015 09:02:19 +0000]
consequently moved all implementation from h to cpp files

9 years agofixed bug in reading of checksum (which was found using the unittests -- great thing!)
Christian Herdtweck [Thu, 12 Mar 2015 17:02:30 +0000]
fixed bug in reading of checksum (which was found using the unittests -- great thing!)

9 years agoupdated icmp unittests
Christian Herdtweck [Thu, 12 Mar 2015 16:44:45 +0000]
updated icmp unittests

9 years agomoved some implementations from h to cpp files because of linker trouble
Christian Herdtweck [Thu, 12 Mar 2015 16:44:08 +0000]
moved some implementations from h to cpp files because of linker trouble

9 years agonow working again: creating echo requests and parsing replies
Christian Herdtweck [Thu, 12 Mar 2015 14:51:58 +0000]
now working again: creating echo requests and parsing replies

also:
* created a to_string method for easier output
* in constructors of IP headers set version right away
* compare that version to the one received in IcmpPacket::read

9 years agore-ordered class for IcmpPacket
Christian Herdtweck [Thu, 12 Mar 2015 10:04:43 +0000]
re-ordered class for IcmpPacket

old: IcmpPacket has and IpvXHeader, an IcmpvXHeader which varies according to ICMP message type and also contains part of Icmp message data, and an IcmpData which is a string;
new: IcmpPacket has an IpHeader, an IcmpHeader which represents only the common first 4 byte of ICMP v4/v6, and IcmpData which is either a IcmpEchoData for echo request/reply or a IcmpDestinationUnreachableData

tried to abstract away as much as possible (for a lay programmer like me) the difference between v4 and v6

This code now compiles, need to see whether it does anything usefull

Tests not compiled/run yet

9 years agoadded encode_string to MessagePayload; removed checksum and icmpchecksum since functi...
Christian Herdtweck [Thu, 12 Mar 2015 09:55:24 +0000]
added encode_string to MessagePayload; removed checksum and icmpchecksum since functionality moved into MessagePayload, IcmpHeader and IcmpData

9 years agocreated abstract base class IpHeader of Ipv4Header and Ipv6Header
Christian Herdtweck [Thu, 12 Mar 2015 09:53:22 +0000]
created abstract base class IpHeader of Ipv4Header and Ipv6Header

9 years agoadded debug option enforcing dump of ICMP packets even if not broken
Christian Herdtweck [Thu, 26 Feb 2015 15:48:08 +0000]
added debug option enforcing dump of ICMP packets even if not broken

9 years agofixed bug: dumping packets leaked char array (dump file name) on heap
Christian Herdtweck [Wed, 25 Feb 2015 15:00:21 +0000]
fixed bug: dumping packets leaked char array (dump file name) on heap

9 years agodumping now into a .pcap file with nicer filename, so can analyze with wireshark
Christian Herdtweck [Wed, 25 Feb 2015 14:34:16 +0000]
dumping now into a .pcap file with nicer filename, so can analyze with wireshark

9 years agodumping package data works
Christian Herdtweck [Wed, 25 Feb 2015 12:54:08 +0000]
dumping package data works

9 years agostarted copying icmp data before parsing it and dumping it into temp files if parsing...
Christian Herdtweck [Fri, 20 Feb 2015 17:36:50 +0000]
started copying icmp data before parsing it and dumping it into temp files if parsing fails

does compile but causes problems in data parsing

9 years agomake check for end of loop in icmppacketdistributor more understandable (|= --> =)
Christian Herdtweck [Thu, 19 Feb 2015 08:32:44 +0000]
make check for end of loop in icmppacketdistributor more understandable (|= --> =)

9 years agoCheck weak_ptr before using it
Thomas Jarosch [Wed, 11 Feb 2015 16:55:28 +0000]
Check weak_ptr before using it

9 years agoNo need for intermediate weak_ptr
Thomas Jarosch [Wed, 11 Feb 2015 16:48:16 +0000]
No need for intermediate weak_ptr

9 years agoUse const reference for smart_ptr in BOOST_FOREACH
Thomas Jarosch [Wed, 11 Feb 2015 16:47:08 +0000]
Use const reference for smart_ptr in BOOST_FOREACH

9 years agoMove graph documentation to doc/
Thomas Jarosch [Wed, 11 Feb 2015 16:23:45 +0000]
Move graph documentation to doc/

9 years agofix bug that caused crash for broken packets; change order of vars to avoid compiler...
Christian Herdtweck [Wed, 11 Feb 2015 15:59:22 +0000]
fix bug that caused crash for broken packets; change order of vars to avoid compiler warnings; minor change in debug output

9 years agoupdated TODO
Christian Herdtweck [Wed, 11 Feb 2015 14:13:08 +0000]
updated TODO

9 years agoremoved another debugging test and corrected one debuggin output
Christian Herdtweck [Wed, 11 Feb 2015 13:58:37 +0000]
removed another debugging test and corrected one debuggin output

9 years agocreated a graph to show how IcmpPinger, IcmpPacketDistributor and other important...
Christian Herdtweck [Thu, 5 Feb 2015 16:28:21 +0000]
created a graph to show how IcmpPinger, IcmpPacketDistributor and other important classes interact

created using yEd 3.12.2

9 years agogive up trying to define IcmpPacketDistributor in own files, just use icmppinger...
Christian Herdtweck [Thu, 5 Feb 2015 16:17:54 +0000]
give up trying to define IcmpPacketDistributor in own files, just use icmppinger.h / .cpp for it

The two classes depend on each other, so none compiles without the other
  if they are defined in separate files. In the same file, the compiler
  manages.

9 years agogot packetdistributor to work, but compiles/links only with packetdistributor inside...
Christian Herdtweck [Thu, 5 Feb 2015 15:22:14 +0000]
got packetdistributor to work, but compiles/links only with packetdistributor inside icmppinger.h/cpp

9 years agolimit line length of new files to 80 characters
Christian Herdtweck [Wed, 4 Feb 2015 11:02:11 +0000]
limit line length of new files to 80 characters

9 years agouse new file name (icmppaKetdistributor --> icmppacCKetdistributor) in includes and...
Christian Herdtweck [Wed, 4 Feb 2015 11:01:43 +0000]
use new file name (icmppaKetdistributor --> icmppacCKetdistributor) in includes and macros

9 years agoalso rename file in CMakeLists.txt
Christian Herdtweck [Mon, 26 Jan 2015 16:37:38 +0000]
also rename file in CMakeLists.txt

9 years agorename IcmpPaketDistributor files to IcmpPacketDistributor (k --> ck)
Christian Herdtweck [Mon, 26 Jan 2015 16:34:11 +0000]
rename IcmpPaketDistributor files to IcmpPacketDistributor (k --> ck)

9 years agostart removing socket use from IcmpPinger to only have IcmpPacketDistributor deal...
Christian Herdtweck [Mon, 26 Jan 2015 16:32:01 +0000]
start removing socket use from IcmpPinger to only have IcmpPacketDistributor deal with raw data

9 years agoclean up IcmpPaketDistributors after stopping pingers
Christian Herdtweck [Mon, 26 Jan 2015 14:20:26 +0000]
clean up IcmpPaketDistributors after stopping pingers

9 years agoPinger holds weak_ptr to self, Pingers created through static create functions; IcmpP...
Christian Herdtweck [Mon, 26 Jan 2015 14:17:32 +0000]
Pinger holds weak_ptr to self, Pingers created through static create functions; IcmpPinger::create registers with IcmpPaketDistributor