+ |
@@ -386,6 +388,7 @@ print <
|
+ |
@@ -409,9 +412,15 @@ print <
$Lang::tr{'source ip and port'}
|
+
+ $Lang::tr{'country'}
+ |
$Lang::tr{'dest ip and port'}
|
+
+ $Lang::tr{'country'}
+ |
$Lang::tr{'download'} /
$Lang::tr{'upload'}
@@ -540,6 +549,12 @@ foreach my $line (@conntrack) {
my $bytes_in = format_bytes($bytes[0]);
my $bytes_out = format_bytes($bytes[1]);
+ # enumerate GeoIP information
+ my $srcccode = &GeoIP::lookup($sip_ret);
+ my $src_flag_icon = &GeoIP::get_flag_icon($srcccode);
+ my $dstccode = &GeoIP::lookup($dip_ret);
+ my $dst_flag_icon = &GeoIP::get_flag_icon($dstccode);
+
# Format TTL
$ttl = format_time($ttl);
@@ -601,6 +616,9 @@ foreach my $line (@conntrack) {
$sport_extra
+ |
+
+ |
$dip
@@ -613,6 +631,9 @@ foreach my $line (@conntrack) {
$dport_extra
|
+
+
+ |
$bytes_in / $bytes_out
|