1. Dashboard
  2. Articles
  3. Forum
    1. Unresolved Threads
  4. Members
    1. Recent Activities
    2. Users Online
  5. Community vs. Enterprise
  • Login
  • Register
  • Search
Everywhere
  • Everywhere
  • Articles
  • Forum
  • Pages
  • More Options
  1. efw-forum - Endian Firewall Support Forum
  2. Members
  3. Preussal

Posts by Preussal

  • Zugriff auf Webserver (Orange Netzwerk)

    • Preussal
    • July 18, 2011 at 11:26 PM

    das mit dem efw-spamassassin ist einfach zu lösen
    zweite console aufmachen und mittels ps den prozess raussuchen und killen.

    leider versucht spamassain da bei der installation aktuelle daten zu bekommen. lm-spamassasin heist der prozess glaub ich.

    naja wurde halt nicht richtig getestet die efw

  • Zugriff auf Webserver (Orange Netzwerk)

    • Preussal
    • July 17, 2011 at 10:44 AM

    ahh hab noch was gefunden.

    also bei mir ist es so eingestellt
    NAT


    SNAT

    Images

    • snat.JPG
      • 91.04 kB
      • 964 × 731
    • nat.JPG
      • 81.57 kB
      • 954 × 698
  • Zugriff auf Webserver (Orange Netzwerk)

    • Preussal
    • July 17, 2011 at 10:38 AM

    ich glaub ich seh den fehler.

    bei mir ist auch alles so eingestellt bis auf Access From da hab ich alle.

    schaut bei dir auch die Systemzugriffe so aus ?

    Images

    • systemzugriffe.JPG
      • 89.77 kB
      • 971 × 721
  • Zugriff auf Webserver (Orange Netzwerk)

    • Preussal
    • July 16, 2011 at 11:39 PM

    Servus
    Das Problem existiert seit der 2.3
    hab es aber hier schon gelöst.

  • Mehrere Netzwerkkarten

    • Preussal
    • July 11, 2011 at 7:54 PM

    klar du kannst soviel NIC´s auf die bridge schalten wie du willst

  • Mehrere Netzwerkkarten

    • Preussal
    • July 10, 2011 at 6:41 PM

    also du kannst ohne Probleme mehrere Netzwerkkarten eth(X) einer bridge br(X) zuordnen.

    Ich hab selber bei mir daheim 2 Nic´s auf br0 (Grün) 2 Nic´s auf br1 (Orange) und 1 Nic auf Red.

    Allerdings ist der Interne Traffic über die bridge nicht so super schnell.
    Quasi eth0 und eth1 sind mittes br0 zusammen geschalten.
    Der gesamte Traffic muss also durch die CPU und wenn da der Flaschenhals ist wird das nix mit 1Gbit über die bridge.

    Wegen IPTV und vdsl50 musst du testen ich habs damals bei meiner alten Firma nicht zum laufen bekommen das man das T-Doof IPTV durch die Endian durch bekommt.

  • Meine Endian

    • Preussal
    • April 30, 2011 at 2:59 PM

    also Raum Temperatur zwischen 20-22°C
    Gehäuse Temperatur so um die 24°C
    Gemessen direkt am CPU Kühlkörper 26°C

    Hab So ein Digitales Voltmeter was auch Temperaturen messen kann.
    Mein Adaptec RAID Controller hat am Kühlkörper eine Temperatur von 46°C und Laut Controller selber 61°C auf der CPU.
    Der ist aber in einem anderen Rechner welcher gleich daneben eingebaut ist.
    Ich sehe da im Sommer kein Problem.

  • Die Endian zu Hause

    • Preussal
    • April 30, 2011 at 2:45 PM

    @minit
    so wie du das sagt hast entweder meine Endian gesehen oder wir sind Seelisch verwandt :)

    Also ich hab kein Problem mit der Kühlung und meine hängt an der Wand.
    Denn Warme Luft steigt nach oben. und so haben auch die Lüfter weniger zu tun :)

  • Welche Netzwerkkarten jetzt mit der 2.4?

    • Preussal
    • April 8, 2011 at 6:41 PM

    nee bei mir ist die aus.
    das einzige was blinkelt ist die HDD LED

  • letzter macht das Licht aus !

    • Preussal
    • April 8, 2011 at 6:40 PM

    wie jetzt?
    na dann alles gute

  • Meine Endian

    • Preussal
    • March 30, 2011 at 6:42 PM

    also ich kam mit Snort auch nur auf so 10-15 mbit und ohne Snort auf 25-30.

    Ich hab meine tests aber nicht über alle Variationen laufen lassen.
    hab nur so getestet. eth1 (intern1) eth2 (intern2) eth3 (dualport karte port1) eth4 (dualport karte port2)

    eth1 und eth2 als br0 (grün)
    eth3 und eth4 als br1 (orange)

    der Bridge Traffic muss leider auch komplett durch die CPU und das bremst natürlich den IO

  • Meine Endian

    • Preussal
    • March 25, 2011 at 7:19 PM

    ohh Sabine deine ist ja ganz Lüfter los :)
    naja bis auf den CPU und Netzteillüfter.

  • Meine Endian

    • Preussal
    • March 7, 2011 at 8:33 PM

    Also ich hab das Gehäuse am Start
    http://www.supermicro.com/products/chass…/SC510T-200.cfm
    Mit diesem Mainboard
    http://www.supermicro.com/products/mothe…X7SLA.cfm?typ=H

    Images

    • IMAG0034.jpg
      • 1.26 MB
      • 3,264 × 1,952
    • IMAG0033.jpg
      • 1.84 MB
      • 3,264 × 1,952
  • open vpn + cacti problem und lösung

    • Preussal
    • March 7, 2011 at 8:18 PM

    Hallo,

    wer seine Endian mit cacti "beobachtet" und ein openvpn betreibt, dem ist bestimmt schon aufgefallen das wenn das openvpn und oder die FW neustartet das cacti nicht mehr den Traffic auf dem tap / tun device loggen tut.

    Lösung des Problems snmpd neu starten.
    Beim Server
    /etc/openvpn/openvpn.conf.tmpl <- damit man es nicht wieder eintragen muss wenn man was an der config ändert
    /etc/openvpn/openvpn.conf <- die eigentlich Server config die aus dem Template erstellt wird
    am ende hinzufügen

    Code
    # snmpd neu starten
    up "/etc/init.d/snmpd restart"

    Beim Client
    /etc/openvpn/openvpnclient.conf.tmpl <- Client Template File
    /etc/openvpn/openvpnclient_DEIN-VPN-NAME.conf <- Client config

    die Zeile am ende

    Code
    up "/usr/local/bin/dir.d-exec /etc/openvpn/ifup.client.d/"


    umstellen auf

    Code
    # snmpd neu starten
    up "/etc/init.d/snmpd restart && /usr/local/bin/dir.d-exec /etc/openvpn/ifup.client.d/"

    und schon wird automatisch beim neu starten des VPN´s SNMP neu gestartet.

    Im Cacti muss noch die "Data Sources" umgestellt werden.
    bei mir schaut da so aus

    Quote

    firewall.xxxx.de - Traffic - tap0 368 Get SNMP Data (Indexed) 5 Minutes Yes Interface - Traffic


    und dann in dem Data Template / Source

    Quote


    Index Value tap0
    Index Type ifName

    und schon funktioniert

  • NAT und IP-Adresse im nachgelagerten Webserver

    • Preussal
    • February 24, 2011 at 9:10 PM

    Servus,
    also deine Einstellung ist schon korrekt.
    Hab ich genauso aber bei mir sind in den logfiles auf dem Webserver die IP des Besuchers und nicht die der Firewall.

  • Welche Netzwerkkarten jetzt mit der 2.4?

    • Preussal
    • February 18, 2011 at 7:37 PM

    also ich hab das Gehäuse am Start
    http://www.supermicro.com/products/chass…/SC510T-200.cfm
    mit diesem Mainboard
    http://www.supermicro.com/products/mothe…X7SLA.cfm?typ=H

    Im Bios einstellen das die Lüfter auf Silent sein sollen und dann hört man die Lüfter nur noch wenn die Maschinerie neu startet oder du direkt daneben stehst.

  • SSL an grün und orange

    • Preussal
    • February 16, 2011 at 9:31 PM

    Servus,

    hab so was ähnliches im Einsatz. Geht aber so wie du das willst nicht ganz.

    also ich hab das bei mir So gemacht da ich von den Aufruf einer Subdomain auf einen andern Rechner hinter der Firewall leite.

    Auf dem ersten Webserver_1 (192.168.1.2 DMZ) hast du dann http(s)://http://www.firma.de

    EXT IP port 80 und 443 weiterleiten auf Webserver_1 DMZ

    Auf dem zweiten Webserver_2 (192.168.2.2 Grün) willst du http(s)://subdomain.firma.de

    EXT-IP port 2080 und 20443 weiterleiten auf Webserver_2 DMZ Port 80 und 443

    So da die Firewall aber nicht raus finden kann das welche Domain und oder Subdomain du aufrufst, muss du ihm irgendwie den Port mitgeben.
    Dies machst du auf Webserver_1.
    zb. beim Apache.

    Quote


    <VirtualHost 192.168.1.2:80>
    ServerName subdomain.firma.de
    Redirect / http://subdomain.firma.de:2080
    </VirtualHost>
    <VirtualHost 192.168.1.2:443>
    ServerName subdomain.firma.de
    Redirect / https://subdomain.firma.de:20443
    </VirtualHost>

    Display More

    Somit leitest du die anfrage auf den andern Port um. Durch die normale DNS auflösung kommst man wieder auf die EXT-IP aber mit dem Port 2080 bzw 20443

  • Welche Netzwerkkarten jetzt mit der 2.4?

    • Preussal
    • February 16, 2011 at 9:10 PM

    Hallo Sabine,

    hab das gerät sein mehr als einem 3/4 Jahr im Einsatz und funktioniert einwandfrei.
    Zusätzlich hab ich noch ne PCI-E 2x 1Git Karte eingebaut.

    Quote

    root@fw01:~ # lspci
    00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 02)
    00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 02)
    00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
    00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
    00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 01)
    00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01)
    00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
    00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
    00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
    00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
    00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
    00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
    00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
    00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
    00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
    00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
    01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    01:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
    03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)

    Display More

    Allerdings ist der Datendurchsatz von Bridge zu Bridge auf ca. 20 -30 Mbit begrenzt da die CPU nicht mehr schafft.
    Getestet auf mit den zwei Onbord Ports und den zwei Ports auf der extra Netzwerkkarte.
    Auch getestet von einem Onbord Port auf einem Port auf der extra Netzwerkkarte.

    Hardware ist ganz in Ordnung und vor allem Leise. Stromverbrauch liegt bei mir so bei 20W.

    Kann ich nur empfehlen.

  • Netzwerkdiagramme - Berechnung Traffic

    • Preussal
    • February 1, 2011 at 11:00 PM

    also bei mir wird der Traffic via Cacti auch korrekt angezeigt,
    aber leider nicht mehr wenn das Interface zb. vom VPN neu startet. (Rechner reboot)
    Aber das ist ein Problem von Cacti bzw. snmp weil der das Interface mit der Mac Adresse koppelt.

  • iptstate problem / fehler / verbesserung

    • Preussal
    • January 24, 2011 at 9:45 PM

    also ich bin jetzt kein Perl Gott oder so aber ich hab da jetzt mal ne Sortierung eingebaut

    Inhalt meiner /home/httpd/cgi-bin/connections.cgi

    Perl
    #!/usr/bin/perl
    #
    # (c) 2001 Jack Beglinger <jackb_guppy@yahoo.com>
    #
    # (c) 2003 Dave Roberts <countzerouk@hotmail.com> - colour coded netfilter/iptables rewrite for 1.3
    #
    # $Id: connections.cgi,v 1.6.2.4 2004/10/07 07:24:07 eoberlander Exp $
    #
    
    
    # Setup GREEN, ORANGE, IPCOP, VPN CIDR networks, masklengths and colours only once
    
    
    my @network;
    my @masklen;
    my @colour;
    
    
    use Net::IPv4Addr qw( :all );
    
    
    require '/var/efw/header.pl';
    
    
    &getcgihash(\%par);
    
    
    # Read various files
    
    
    my %netsettings;
    &readhash("${swroot}/ethernet/settings", \%netsettings);
    
    
    # Add Green Firewall Interface
    push(@network, $netsettings{'GREEN_ADDRESS'});
    push(@masklen, "255.255.255.255" );
    push(@colour, $colourfw );
    
    
    # Add Green Network to Array
    push(@network, $netsettings{'GREEN_NETADDRESS'});
    push(@masklen, $netsettings{'GREEN_NETMASK'} );
    push(@colour, $colourgreen );
    
    
    # Add Green Routes to Array
    my @routes = `/sbin/route -n | /bin/grep $netsettings{'GREEN_DEV'}`;
    foreach my $route (@routes) {
            chomp($route);
            my @temp = split(/[\t ]+/, $route);
            push(@network, $temp[0]);
            push(@masklen, $temp[2]);
            push(@colour, $colourgreen );
    }
    
    
    # Add Firewall Localhost 127.0.0.1
    push(@network, '127.0.0.1');
    push(@masklen, '255.255.255.255' );
    push(@colour, $colourfw );
    
    
    push(@network, '127.0.0.2');
    push(@masklen, '255.255.255.255' );
    push(@colour, $colourfw );
    
    
    # Add Orange Network
    if (orange_used()) {
            push(@network, $netsettings{'ORANGE_NETADDRESS'});
            push(@masklen, $netsettings{'ORANGE_NETMASK'} );
            push(@colour, $colourorange );
            # Add Orange Routes to Array
            @routes = `/sbin/route -n | /bin/grep $netsettings{'ORANGE_DEV'}`;
            foreach my $route (@routes) {
                    chomp($route);
                    my @temp = split(/[\t ]+/, $route);
                    push(@network, $temp[0]);
                    push(@masklen, $temp[2]);
                    push(@colour, $colourorange );
            }
    }
    
    
    # Add Blue Network
    if (blue_used()) {
            push(@network, $netsettings{'BLUE_NETADDRESS'});
            push(@masklen, $netsettings{'BLUE_NETMASK'} );
            push(@colour, $colourblue );
            # Add Blue Routes to Array
            @routes = `/sbin/route -n | /bin/grep $netsettings{'BLUE_DEV'}`;
            foreach my $route (@routes) {
                    chomp($route);
                    my @temp = split(/[\t ]+/, $route);
                    push(@network, $temp[0]);
                    push(@masklen, $temp[2]);
                    push(@colour, $colourblue );
            }
    }
    
    
    # add openvpn tunnels
    my $tunnels = get_taps();
    foreach my $taps (@$tunnels) {
        my $tun = $taps->{'tap'};
        my @routes = `/sbin/route -n | /bin/grep $tun`;
        foreach my $route (@routes) {
            chomp($route);
            my @temp = split(/[\t ]+/, $route);
            push(@network, $temp[0]);
            push(@masklen, $temp[2]);
            push(@colour, $colourvpn);
        }
    }
    
    
    # add remote openvpn networks
    if (-f "${swroot}/openvpn/enable") {
        my %openvpnsettings=();
        &readhash("${swroot}/openvpn/settings", \%openvpnsettings);
        my @routes = `/sbin/route -n | /bin/grep $openvpnsettings{'PURPLE_DEVICE'}`;
        foreach my $route (@routes) {
            chomp($route);
            my @temp = split(/[\t ]+/, $route);
            push(@network, $temp[0]);
            push(@masklen, $temp[2]);
            push(@colour, $colourvpn);
        }
    }
    
    
    my $uplinksref = get_uplinks();
    foreach my $uplink (@$uplinksref) {
        next if (! -f "${swroot}/uplinks/$uplink/active");
        next if (! -f "${swroot}/uplinks/$uplink/data");
        my %hash;
        readhash("${swroot}/uplinks/$uplink/data", \%hash);
        my $ip = $hash{'ip_address'};
        next if ($ip =~ /^$/);
    
    
        push(@network, $ip);
        push(@masklen, '255.255.255.255' );
        push(@colour, $colourfw );
    }
    
    
    &showhttpheaders();
    if($par{'action'} ne 'reload') {
        &openpage(_('Connections'), 1, '');
        &openbigbox($errormessage, $warnmessage, $notemessage);
        &openbox('100%', 'left', _('IPTables connection tracking'));
    }
    
    
    # Edit Start
    $buffer = $ENV{'QUERY_STRING'};
    @pairs = split(/&/, $buffer);
    foreach $pair (@pairs){
            ($name, $value) = split(/=/, $pair);
            $value =~ tr/+/ /;
            $value =~ s/%(..)/pack("C", hex($1))/eg;
            $FORM{$name} = $value;
    }
    
    
    $sortby  = $FORM{sortby};
    $asc  = $FORM{asc};
    
    
    if($par{'action'} ne 'reload') {
    
    
            if (!defined ($buffer)){
                printf <<END
                    <script type="text/javascript">
                        function loadConnections() {
                            \$('#connections').load('/cgi-bin/connections.cgi', {action: 'reload'});
                        }
    
    
                        \$(document).ready(function() {
                            var itvl = setInterval("loadConnections()", 1000*5);
                        });
                    </script>
    END
    ;
            }else{
                printf <<END
                    <script type="text/javascript">
                        function loadConnections() {
                            \$('#connections').load('/cgi-bin/connections.cgi?sortby=$sortby&asc=$asc', {action: 'reload'});
                        }
    
    
                        \$(document).ready(function() {
                            var itvl = setInterval("loadConnections()", 1000*5);
                        });
                    </script>
    END
    ;
            }
    }
    # Edit Ende
    
    
    if($par{'action'} ne 'reload') {
        print '<div id="connections">'
    }
    
    
    printf <<END
    <table width='100%'>
    <tr><td align='center'><b>%s: </b></td>
         <td align='center' bgcolor='$colourgreen'><b><font color='#FFFFFF'>%s</font></b></td>
         <td align='center' bgcolor='$colourred'><b><font color='#FFFFFF'>%s</font></b></td>
         <td align='center' bgcolor='$colourorange'><b><font color='#FFFFFF'>%s</font></b></td>
         <td align='center' bgcolor='$colourblue'><b><font color='#FFFFFF'>%s</font></b></td>
         <td align='center' bgcolor='$colourfw'><b><font color='#FFFFFF'>%s</font></b></td>
         <td align='center' bgcolor='$colourvpn'><b><font color='#FFFFFF'>%s</font></b></td>
    </tr>
    </table>
    
    
    
    
    <table cellpadding='2' width="100%">
      <tr>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
        <td align='center'><b>%s</b></td>
      </tr>
    END
    ,
    _('Legend'),
    _('LAN'),
    _('INTERNET'),
    _('DMZ'),
    _('Wireless'),
    $brand.' '.$product,
    _('VPN (IPsec)'),
    _('Source IP'." <a href='/cgi-bin/connections.cgi?sortby=souce&asc=1'><b>ASC</b></a> <a href='/cgi-bin/connections.cgi?sortby=sourc&asc=0'><b>DESC</b></a>"),
    _('Source port'),
    _('Destination IP'." <a href='/cgi-bin/connections.cgi?sortby=desti&asc=1'><b>ASC</b></a> <a href='/cgi-bin/connections.cgi?sortby=desti&asc=0'><b>DESC</b></a>"),
    _('Destination port'),
    _('Protocol'),
    _('Status'." <a href='/cgi-bin/connections.cgi?sortby=state&asc=1'><b>ASC</b></a> <a href='/cgi-bin/connections.cgi?sortby=state&asc=0'><b>DESC</b></a>"),
    _('Expires'." <a href='/cgi-bin/connections.cgi?sortby=ttl&asc=1'><b>ASC</b></a> <a href='/cgi-bin/connections.cgi?sortby=ttl&asc=0'><b>DESC</b></a>")
    
    
    ;
    # Edit Start
    if ($sortby eq 'desti'){
            $sort_by = "d";
    }elsif ($sortby eq 'sourc'){
            $sort_by = "";
    }elsif ($sortby eq 'state'){
            $sort_by = "s";
    }elsif ($sortby eq 'ttl'){
            $sort_by = "t";
    }else{
            $sort_by = "t";
    }
    
    
    if ($asc eq '1'){
            $ausfueren = 'sudo iptstate -s -b'.$sort_by;
    }else{
            $ausfueren = 'sudo iptstate -s -R -b'.$sort_by;
    }
    #print $ausfueren;
    
    
    my @active = `$ausfueren`;
    #my @active = `sudo iptstate -s -R -bt`;
    #Edit Ende
    
    
    #open (ACTIVE, "/proc/net/ipsec_eroute");
    #my @vpn = <ACTIVE>;
    #close (ACTIVE);
    
    
    
    
    my $i=0;
    foreach my $line (@active) {
        $i++;
        if ($i < 3) {
            next;
        }
        chomp($line);
        my @temp = split(' ',$line);
    
    
        my ($sip, $sport) = split(':', $temp[0]);
        my ($dip, $dport) = split(':', $temp[1]);
        my $proto = $temp[2];
        my $state = $temp[3];
        my $ttl = $temp[4];
    
    
        if (($proto eq 'udp') && ($ttl eq '')) {
            $ttl = $state;
            $state = '&nbsp;';
        }
    
    
        my $sipcol = ipcolour($sip);
        my $dipcol = ipcolour($dip);
    
    
        my $sserv = '';
        if ($sport < 1024) {
            $sserv = uc(getservbyport($sport, lc($proto)));
            if ($sserv ne '') {
                $sserv = "&nbsp($sserv)";
            }
        }
    
    
        my $dserv = '';
        if ($dport < 1024) {
            $dserv = uc(getservbyport($dport, lc($proto)));
            if ($dserv ne '') {
                $dserv = "&nbsp($dserv)";
            }
        }
    
    
        printf <<END
        <tr class='odd'>
          <td align='center' bgcolor='$sipcol'>
            <a href='/cgi-bin/ipinfo.cgi?ip=$sip'>
              <font color='#FFFFFF'>$sip</font>
            </a>
          </td>
          <td align='center' bgcolor='$sipcol'>
            <a href='http://isc.sans.org/port_details.php?port=$sport' target='top'>
              <font color='#FFFFFF'>$sport$sserv</font>
            </a>
          </td>
          <td align='center' bgcolor='$dipcol'>
            <a href='/cgi-bin/ipinfo.cgi?ip=$dip'>
              <font color='#FFFFFF'>$dip</font>
            </a>
          </td>
          <td align='center' bgcolor='$dipcol'>
            <a href='http://isc.sans.org/port_details.php?port=$dport' target='top'>
              <font color='#FFFFFF'>$dport$dserv</font>
            </a>
          </td>
          <td align='center'>$proto</td>
          <td align='center'>$state</td>
          <td align='center'>$ttl</td>
        </tr>
    END
    ;
    }
    
    
    print '</table>';
    
    
    if($par{'action'} ne 'reload') {
        print '</div>';
    }
    
    
    if($par{'action'} ne 'reload') {
        &closebox();
        &closebigbox();
        &closepage();
    }
    
    
    sub ipcolour($) {
            my $id = 0;
            my $line;
            my $colour = $colourred;
            my ($ip) = $_[0];
            my $found = 0;
            foreach my $line (@network)
            {
                    if (!$found && ipv4_in_network( $network[$id] , $masklen[$id], $ip) ) {
                            $found = 1;
                            $colour = $colour[$id];
                    }
                    $id++;
            }
            return $colour
    }
    Display More

    Übernehme keine Garantie


    Schaut dann so aus

    Images

    • Unbenannt.JPG
      • 71.16 kB
      • 780 × 362

Unterstützt von

  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™