RE: logging a range of ips

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Gebauer!


Cheers,

fritz <www.mesedilla>
---
+ Basta Ikaw Lord




-----Original Message-----
From: Gebauer Ulrich [mailto:Ulrich.Gebauer@xxxxxxxxx]
Sent: Monday, November 03, 2003 2:33 PM
To: Fritz Mesedilla
Cc: netfilter@xxxxxxxxxxxxxxxxxxx
Subject: AW: logging a range of ips


Hi Fritz,

Describe a network, not a single ip:

$IPTABLES -A INPUT -p tcp -s 190.201.0.0/16 -j LOG --log-level DEBUG --log-prefix "***LOGTCP: " 
$IPTABLES -A INPUT -p udp -s 190.201.0.0/16 -j LOG --log-level DEBUG --log-prefix "***LOGUDP: "

Or

$IPTABLES -A INPUT -p tcp -s 190.201.0.0/255.255.0.0 -j LOG --log-level DEBUG --log-prefix "***LOGTCP: " 
$IPTABLES -A INPUT -p udp -s 190.201.0.0/255.255.0.0 -j LOG --log-level DEBUG --log-prefix "***LOGUDP: "

Mit freundlichen Grüßen
        Ulrich Gebauer

Hans Soldan GmbH, Dienste für Anwälte
Organisation / IT
Bocholder Straße 259, 45356 Essen
Telefon:0201 / 8612-228, Telefax: 0201 / 8612-377
Email: gebauer@xxxxxxxxx
Internet: http://www.marktplatz-recht.de




-----Ursprüngliche Nachricht-----
Von: Fritz Mesedilla [mailto:fritz.mesedilla@xxxxxxxxxxxxxxxxx] 
Gesendet: Montag, 3. November 2003 07:09
An: Netfilter Mailing List (E-mail)
Betreff: FW: logging a range of ips



Sorry for sending that too quickly.

Here is what I want to achieve...
$IPTABLES -A INPUT -p tcp -s 190.201.0.0 -j LOG --log-level DEBUG --log-prefix "***LOGTCP: " 
$IPTABLES -A INPUT -p udp -s 190.201.0.0 -j LOG --log-level DEBUG --log-prefix "***LOGUDP: "

It doesn't seem to work. I want to log all transactions of the network of 190.201.x.x.

Thanks.

Cheers,

fritz <www.mesedilla.com>
---
+ Basta Ikaw Lord



> -----Original Message-----
> From: Fritz Mesedilla
> Sent: Monday, November 03, 2003 2:07 PM
> To: Netfilter Mailing List (E-mail)
> Subject: logging a range of ips
> 
> 
> 
> Greetings!
> How do I log a range of ips?
> 
> 
> Cheers,
> 
> fritz <www.mesedilla.com>
> ---
> + Basta Ikaw Lord
> 
> 

----------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately by e-mail and delete this e-mail from your system. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

Overture Media, Inc.
Direct Line: (632) 635-4785
Trunkline:   (632) 631-8971 Local 146
Fax: (632) 637-2206
Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City 1100




----------------------------------------------------------------------
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the sender immediately by e-mail and delete this e-mail from your
system. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent
those of the company. Finally, the recipient should check this email
and any attachments for the presence of viruses. The company accepts
no liability for any damage caused by any virus transmitted by this
email. 

Overture Media, Inc.
Direct Line: (632) 635-4785
Trunkline:   (632) 631-8971 Local 146
Fax: (632) 637-2206
Level 1 Summit Media Offices, Robinsons Galleria EDSA Cor. Ortigas Ave., Quezon City 1100




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux