Search Results

Search: Posts Made By: haggismn
Forum: IP Networking 07-23-2012
2,188
Posted By haggismn
Creating iptables filter rules applicable to both FORWARD and OUTPUT chains
Hi all,

I have a script which permits users to access to a large list of IP ranges. Before, access to these ranges was granted by using a shell script to perform the necessary FORWARD chain...
13,957
Posted By haggismn
Shell script to read multiple options from file, line by line
Hi all
I have spent half a day trying to create a shell script which reads a configuration file on a line by line basis.

The idea of the file is that each will contain server information, such as...
2,909
Posted By haggismn
Filter out IP addresses in domain resolve script
Hello everyone,

I have written a one liner which looks in a configuration file for remote hosts to connect to. It then resolves them by first ping, and nslookup if it fails, then places the info...
8,151
Posted By haggismn
Hi again I know that in most cases using ssh or...
Hi again
I know that in most cases using ssh or ssl would be fine. Indeed I have both stunnel (ssl) and ssh versions of this connection working fine, with ssl being slightly faster.

However the...
8,151
Posted By haggismn
Thanks for your response. Yes, ssh is a...
Thanks for your response.

Yes, ssh is a possible solution, however I can't use it in this case.

I should have added more detail. The problem is that I can't use protocols like ssh or even other...
8,151
Posted By haggismn
Adding gzip compression to a connection using nc
Hello everyone,
As the title suggests, I am attempting to test adding gzip compression to a connection to an application I am testing. Currently I have the application set up with httptunnel, which...
8,788
Posted By haggismn
It is part of a generic DD-WRT/openwrt script I...
It is part of a generic DD-WRT/openwrt script I am creating to allow users to more easily connect to an openvpn server.

The script is stored in the nvram of a DD-WRT router, and when extracted...
8,788
Posted By haggismn
Thanks Ahamed. Can you be a little more precise...
Thanks Ahamed. Can you be a little more precise with adding extra parts to the echo/awk command? The current commands are very similar as they are. I am just being introduced to awk and sed so please...
8,788
Posted By haggismn
Thanks Maya_style and verdepollo. ...
Thanks Maya_style and verdepollo.

Verdepollo's awk command nearly works. I have altered it slightly. I was not specific enough in that there are also commas throughout the file where they are not...
8,788
Posted By haggismn
I am scanning for IP addresses from a log file....
I am scanning for IP addresses from a log file. The logfile being scanned contains the sets of IPs and the correct delimiters on the same line, but that line is never in a set place.


line x...
8,788
Posted By haggismn
Using sed to find text between a "string " and character ","
Hello everyone
Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have...
Showing results 1 to 11 of 11

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