Search Results

Search: Posts Made By: vgplayer54
2,011
Posted By vgplayer54
Sure, thank you for your help. 1.The port...
Sure, thank you for your help.

1.The port numbers are located within the /var/log/messages divided by how the port was used (ie. DPT=80 for incoming HTTP traffic or SPT=143 for outgoing mail...
2,011
Posted By vgplayer54
Sorry for not being overly clear - what I am...
Sorry for not being overly clear - what I am attempting to do is run traffic through my network on a variety of different ports (ie. HTTP traffic on port 80, SMTP on port 143, MySQL on port 1306,...
2,011
Posted By vgplayer54
Ah perfect! But what of the port number variable?...
Ah perfect! But what of the port number variable? Would it work if I used the command you provided and piped it with a grep statement stating the port number? ie. myscript '03 29 07:15:00' '03 29...
2,011
Posted By vgplayer54
Edit: Sorry I didn't see the text at the bottom...
Edit: Sorry I didn't see the text at the bottom of your code tags. Thank you so much for your help. So, as an example, assuming I wanted to find all IIS network traffic (port 80) I would type:...
2,011
Posted By vgplayer54
Okay so...do I add the red part to the top of the...
Okay so...do I add the red part to the top of the code I posted earlier? or is this a stand-alone script? Also, is it possible to allow me to input the ports/times/dates outside the script rather...
2,011
Posted By vgplayer54
Sure, here is the code I have so far that is not...
Sure, here is the code I have so far that is not working:


#!/bin/bash

read -p "Enter month (first 3 letters): " month

read -p "Enter day of month: " day

read -p "Enter starting time...
2,011
Posted By vgplayer54
Is there a BASH script allowing me to grep specifics from /var/log/messages?
I am wondering if there is a script (if one exists, not confident in my own scripting ability) that is able to bring up specified information from the /var/log/messages. I need to show logged...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 09:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy