Commit graph

43 commits

Author SHA1 Message Date
Matthieu Herrb
0153b223c0 white space police 2018-07-18 19:04:42 +02:00
Ludovic Pouzenc
4a15bdac0a Add timestamped "aborting" message 2018-07-18 19:03:22 +02:00
Ludovic Pouzenc
16d5383fb8 Add timestamped "starting" message 2018-07-18 18:51:57 +02:00
Ludovic Pouzenc
0f96d32d4c Set SIGALRM handler before setting timer 2018-07-18 18:48:08 +02:00
Ludovic Pouzenc
d791054cfe Set sockets parameters before activating up send_packet timer 2018-07-18 18:47:42 +02:00
Matthieu Herrb
2d3d859d9b Release 0.5 2018-07-18 10:55:27 +02:00
Matthieu Herrb
c66fae7c45 Make autogen.sh executable 2018-07-18 10:54:23 +02:00
Matthieu Herrb
22d0ef7697 Add build instructions 2018-07-17 18:36:57 +02:00
Matthieu Herrb
97315cd612 Add a standard autogen.sh script 2018-07-17 18:33:28 +02:00
Matthieu Herrb
a0bf5ae594 Release 0.4 2015-09-30 11:53:41 +02:00
Matthieu Herrb
9de72b0a31 Convert README to markdown 2015-09-30 11:51:57 +02:00
Matthieu Herrb
52a3aee91d update copyright notices 2015-09-30 11:48:59 +02:00
Matthieu Herrb
558bea9993 automake build system 2015-09-30 11:36:20 +02:00
Matthieu Herrb
703bab20ca Quiet gcc warnings 2015-09-30 11:29:41 +02:00
Matthieu Herrb
ae13384faa Fix decoding of replies after addition of the -l option 2015-09-30 11:10:16 +02:00
Matthieu Herrb
50fe2999f8 tweaks 2015-09-30 10:49:06 +02:00
Matthieu Herrb
56da278151 Add man page 2015-09-29 19:52:17 +02:00
77734c3cb7 Not all systems have the IP_MTU_DISCOVER sockopt 2015-09-29 19:18:07 +02:00
Matthieu Herrb
d625d804c6 Add -d to set the IP 'DF' flag on outgoing packets.
Without -d it won't be set, regardless of the ip_no_pmtu_disc sysctl
setting on Linux.
2015-09-29 18:53:51 +02:00
Matthieu Herrb
d84b68a63a Add length & port control options 2015-09-29 15:28:22 +02:00
Matthieu Herrb
9614711996 Fix infinite loop mode. 2014-04-29 18:59:46 +02:00
Matthieu Herrb
32900c1c94 White space fixes 2014-04-17 11:34:33 +02:00
Matthieu Herrb
3e9361d58a White space fix 2013-04-06 16:25:30 +02:00
Tonton Th
709c2f01a1 Add an option to limit the number of packet sent. 2013-01-06 17:55:38 +01:00
Matthieu Herrb
6fd2a5e47b Store timeout value in a struct timeval and use timercmp to check it
This fixes timeouts > 1s.
2012-08-03 11:13:16 +02:00
Matthieu Herrb
59abe4422e save one gettimeofday() syscall. 2012-07-31 14:39:15 +02:00
Matthieu Herrb
3345103cf3 Oops, typo. 2012-07-31 14:38:58 +02:00
Matthieu Herrb
c7221334a7 always display the number of lost paquets on re-connection.
suggested by Laurent Guerby.
2012-07-31 14:17:35 +02:00
Matthieu Herrb
a8f74130a6 On connexion loss, log the stamp of the last received packet.
This will provide a better starting point to look for events
explaining the issue in other logs.
2012-07-31 14:15:27 +02:00
Matthieu Herrb
b1bb8de8e2 Better error message when failing to resolve server name. 2012-07-31 11:27:03 +02:00
Matthieu Herrb
e651005e16 Clean up variable declarations. 2012-07-31 11:26:45 +02:00
Matthieu Herrb
1bc5c2ff5d Allow interval and timeout to be set on command line. 2012-07-31 11:24:50 +02:00
Matthieu Herrb
421fdadd13 fix uninitialized variable 2012-07-31 09:10:55 +02:00
Matthieu Herrb
bbc8be8551 verbose mode cleanup. 2012-07-31 08:44:18 +02:00
Matthieu Herrb
c00525adaa Remove the use of Posix real-time functions.
The only reason to use clock_gettime() was to take a timestamp
in the signal handler. This is not needed anymoire, so improve
portability by sticking to gettimeofday() and setitimer().
2012-07-31 08:26:05 +02:00
Matthieu Herrb
1882a84527 Only use timesstamps from received packets.
keeping track of the sent packets would require a list of paquets
we're waiting for. This is overkill.
2012-07-31 08:24:04 +02:00
Matthieu Herrb
e85c367e45 Makefile: add a clean target 2012-07-31 08:19:54 +02:00
Matthieu Herrb
ca410bd75a Rewrite the main loop to use a timer.
XXX not finished yet, lots of debug information and bugs left.
2012-07-30 20:49:29 +02:00
Matthieu Herrb
13437c1076 Typo in usec precision 2012-07-21 11:57:58 +02:00
Matthieu Herrb
0ad4d0dc03 add README 2012-07-18 08:22:41 +02:00
Matthieu Herrb
778203596d add .gitignore 2012-07-15 13:04:44 +02:00
Matthieu Herrb
dd047dee09 fix spurious 'connection is back' messages. 2012-07-15 11:29:43 +02:00
Matthieu Herrb
1cf6c3b02b Echoc: a simple udb based link monitoriing application.
Uses the echo service on the other end to send back paquets.
2012-07-15 09:54:00 +02:00