Rechercher une page de manuel
nufw
Langue: en
Version: 29 octobre 2007 (ubuntu - 08/07/09)
Section: 8 (Commandes administrateur)
NAME
nufw - NUFW User filtering gateway serverSYNOPSIS
nufw [ -h ] [ -V ] [ -D ] [ -m ] [ -U ] [ -v[v...] ] [ -A debug_area ] [ -k keyfile ] [ -c certfile ] [ -a cafile ] [ -d address ] [ -p (remote) port ] [ -t timeout ] [ -T track_size ] [ -I ServerID ] [ -q NfQueue_num ] [ -C ] [ -M ]
DESCRIPTION
This manual page documents the nufw command.
nufw is the minimalist server, designed to run on the gateway(s) of the network. nufw is designed to run in conjunction with nuauth, the authenticating server. nufw receives network packets from the local firewall (on Linux 2.4 and 2.6, this is set up with the help of '-j NFQUEUE' or '-j QUEUE' netfilter target), and synchronizes with a nuauth server to check packet is authorized to travel through the gateway.
The design of the NUFW package lets administrator filter network traffic per user, not only per IP. This means you can now deal with different permissions for user A and user B, even if they work at the same moment, on the same multiuser machine. In other words, this extends firewalling criteria to userID, at the network scale.
Original packaging and informations and help can be found from http://www.nufw.org/
OPTIONS
- -h
- Issues usage details and exits.
- -V
- Issues version and exits.
- -D
- Run as a daemon.
- -U
- Use UDP, unencrypted protocol for communication with the nuauth server. This is NOT recommended.
- -m
- Mark packets with UserID. This requires the wvmark POM patch applied to netfilter, and is necessary for per user QoS or routing.
- -v
- Increases debug level. Multiple switches are accepted and each of them increases the debug level by one. Default debug level is 2, max is 10.
- -A debug_areas
- Chooses debug_area. Default debug area is ALL. To select a subset add value from the following list:
-
- •
- DEBUG_AREA_MAIN (1) main domain
- •
- DEBUG_AREA_PACKET (2) packet domain
- •
- DEBUG_AREA_USER (4) user domain
- •
- DEBUG_AREA_GW (8) Gateway domain, interaction with nufw servers.
- •
- DEBUG_AREA_AUTH (16) Authentication domain
-
- -k keyfile
- Use specified file as SSL (private) key file.
- -c certfile
- Use specified file as SSL (public) certificate file.
- -a cafile
- Use specified file as SSL certificate authority file. This parameter is optional.
- -d address
- Network address of the nuauth server.
- -p port
- Specifies TCP port to send data to when addressing the nuauth server. Nuauth server must be setup to listen on that port. Default value : 4128
- -t seconds
- Specifies timeout to forget packets not answered for by nuauth. Default value : 15 s.
- -T track_size
- Set maximum number of packets that can wait a decision in nufw. Default value : 1000.
- -q NfQueue number
- If Nufw was compiled with NfQueue support, Id of the NfQueue to use (default : 0).
- -C
- listen to conntrack events (needed for connection expiration).
- -M
- only report event on marked connections to nuauth (implies -C and -m)
This is the way to do an efficient selection of events to be sent to nuauth but this REQUIRES a kernel with transmit_mark applied (should be ok for 2.6.18+) and the use of CONNMARK to propagate the initial mark across all the packets of the connection.
SIGNALS
The nufw daemon is designed to deal with several signals : USR1, USR2, SYS, WINCH and POLL.
- USR1
- Increases verbosity. The daemon then acts as if it had been launched with one supplementary '-v'.A line is also added to the system log to mention the signal event.
- USR2
- Decreases verbosity. The daemon then acts as if it had been launched with one less '-v'. A line is also added to the system log to mention the signal event.
- SYS
- Removes the Conntrack events thread. This gets the daemon to work as if the "-C" switch had not been set. This is useful on HA configurations, when one firewall gets passive, for instance.
- WINCH
- Starts the Conntrack events thread. This gets the daemon to work as if the "-C" switch had been set at startup. This is useful on HA configurations, when one firewall gets active, for instance.
- POLL
- Logs an "audit" line, mentionning how many network datagrams were received and sent since daemon startup.
SEE ALSO
nuauth(8)
AUTHOR
Nufw was designed and coded by Eric Leblond, aka Regit (<eric@regit.org>) , and Vincent Deffontaines, aka gryzor (<vincent@gryzor.com>). Original idea in 2001, while working on NSM Ldap support.
This manual page was written by Vincent Deffontaines
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 2 as published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre