02-22-2007
Eleminating output to console
I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message:
Shorewall:bogons
rop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673 PROTO=ICMP TYPE=8 CODE=0 ID=512 SEQ=59628
on any tty connection that is onscreen.
Apparantly this is the log from an internet ip that has been hijacked/stolen. I prefer to keep the server as tight as possible, however this is gettting annoying. A friend informed me of commenting out the console portion of /etc/syslog.conf, but this didn't work (I commmented out the whole file).
Anyone have any ideas on how to eliminate log entry from appearing on my console all the time??
Thanks in advance,
Peter
PS the smiley is a colon followed by a D
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
could someone please tell me how to stop error messages being displayed to the console port.
Currently, error messages are streaming to the console and I ant do anything.
many thanks..... (2 Replies)
Discussion started by: boristhespider
2 Replies
2. Programming
I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies
3. Shell Programming and Scripting
Hey Guys
I need to eleminate duplicate IP's from a text file using bash.Any suggestions.Appreciate your help guys.
--CoolKid (4 Replies)
Discussion started by: coolkid
4 Replies
4. Shell Programming and Scripting
kill -s KILL 0
-----------------------
-----------------------
i have used this command in a script...it is showing "killed" in output console.
i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null
it is still showing "killed" in the output console...what to do? (1 Reply)
Discussion started by: arghya_owen
1 Replies
5. UNIX for Advanced & Expert Users
I want to change the appearance of a message I got in UNIX console.
Eg: In console: "no server running"
I need it as "****no server running*****".
Thanks in advance. (3 Replies)
Discussion started by: thomaa80
3 Replies
6. UNIX for Dummies Questions & Answers
Hi folks,
Please advise which command/command line shall I run;
1) to display the command and its output on console
2) simultaneous to save the command and its output on a file
I tried tee command as follows;
$ ps aux | grep mysql | tee /path/to/output.txt
It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies
7. AIX
I have several backup scripts I am improving which involves mksysb, savevg and tar.
Is there a way to have the output of any command sent to the standard output as usual (terminal) and at the same time, send a copy of it all into a file ? Normal outputs and error outputs.
Even if I am... (1 Reply)
Discussion started by: Browser_ice
1 Replies
8. Solaris
Hey everyone
I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies
9. Shell Programming and Scripting
Hellos!
I want to have a unix script that will run grep on the console output. Here is what my script does:
1. Telnet into a remote server (I have done this part successfully)
2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies
10. Shell Programming and Scripting
I have a menu based script where user will select different action via displayed menu.
I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script.
i tried named pipe as below..
logfile=mylogfile
mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies
LEARN ABOUT DEBIAN
ramond.conf
ramond.conf(5) File Formats Manual ramond.conf(5)
NAME
ramond.conf - Configuration file for ramond(8)
DESCRIPTION
This manual page documents briefly the ramond.conf configuration file.
ramond.conf is an XML file containing the rules for Router Advertisement processing by ramond(8).
The rules are processed in the order they are defined in the file.
SYNTAX
One may refer to the DTD given in /usr/share/doc/ramond/examples/ramond.conf.dtd.
The root element, <ramond>, contains one optional attribute, logfile, giving the path to the logfile for the daemon.
This element may contain one or more <mac-list>s, and one or more <rule>s.
The <mac-list> must have a name attribute, and contains one or more <entry>elements.
The <rule> may contain a few attributes :
prefix An IPv6 prefix used for matching RA packets
mac A <mac-list> name used for matching source MAC addresses of the RA packets
lifetime
This attribute, when having a "0" value, is used for matching routes that are being cleared
interface
The interface which the RA packet came from
The <rule> may contain :
o one or more <execute> elements containing the path of the scripts to run when a packet is matched
o a <clear/> element, so that the matched route will be cleared by ramond(8)
o or no element, indicating an "ignore" rule.
ENVIRONMENT
The environment variables the configured scripts are run with are listed in the ramond(8) manpage.
EXAMPLE CONFIGURATION FILE
Set the logfile to be /var/log/ramond.log.
<ramond logfile="/var/log/ramond.log">
Define a router mac-list.
<mac-list name="router">
<entry>00:11:22:33:44:55</entry>
<entry>00:22:44:66:88:00</entry>
</mac-list>
Define a rule checking if the router routes are being cleared.
<rule mac="router" lifetime="0">
<execute>/usr/local/sbin/routenotify route-cleared</execute>
</rule>
Define a rule ignoring our router announcing routes for prefix 2001:dead:cafe:babe::/52.
<rule mac="router" prefix="2001:dead:cafe:babe::/52">
<!-- do nothing -->
</rule>
Clear the 6to4 routes coming on interface eth0.
<rule prefix="2002::/16" interface="eth0">
<execute>/usr/local/sbin/routenotify 6to4-advertised</execute>
<clear/>
</rule>
Match on all advertised prefixes
<rule prefix="::/0">
<execute>/usr/local/sbin/routenotify route-advertised</execute>
</rule>
Match on all RA packets (even those not advertising a prefix)
<rule>
<execute>/usr/local/sbin/routenotify route-advertised</execute>
</rule>
</ramond>
SEE ALSO
ramond(8), /usr/share/doc/ramond/examples for a sample ramond.conf and a sample processing script
AUTHORS
James Morse <morse_@users.sourceforge.net>
Wrote the ramond software.
Nicolas Dandrimont <nicolas.dandrimont@crans.org>
Wrote this manpage for the Debian system.
COPYRIGHT
Copyright (C) 2010 Nicolas Dandrimont
This manual page was written for the Debian system (and may be used by others).
Permission is granted to copy, distribute and/or modify this document under the terms of the usual 3-clause BSD license.
On Debian systems, the complete text of the 3-clause BSD license License can be found in /usr/share/doc/ramond/copyright.
ramond.conf(5)