diff options
author | Peter Palfrader <peter@palfrader.org> | 2003-02-16 10:07:27 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2003-02-16 10:07:27 +0000 |
commit | f1f08852ceddea6f66627b8473f9b0177ddd8fef (patch) | |
tree | 70c079112017bf8bb97b2de505d3685383934473 /Echolot/Pinger.pm | |
parent | 18c647bc293990fd8471d7d6fdb902315359dcfd (diff) |
Append random garbage to pings so they have different lengths
Diffstat (limited to 'Echolot/Pinger.pm')
-rw-r--r-- | Echolot/Pinger.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Echolot/Pinger.pm b/Echolot/Pinger.pm index dcb03cc..792cb1d 100644 --- a/Echolot/Pinger.pm +++ b/Echolot/Pinger.pm @@ -1,7 +1,7 @@ package Echolot::Pinger; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Pinger.pm,v 1.24 2003/02/14 04:57:45 weasel Exp $ +# $Id: Pinger.pm,v 1.25 2003/02/16 10:07:27 weasel Exp $ # =pod @@ -71,7 +71,8 @@ sub do_ping($$$) { "type: $type\n". "key: $key\n". "sent: $now\n". - "mac: $mac\n"; + "mac: $mac\n". + Echolot::Tools::make_garbage(); $body = Echolot::Tools::crypt_symmetrically($body, 'encrypt'); my $to = Echolot::Tools::make_address('ping'); |