webHauser Blog

Icon

Welcome to webHauser weblog

New Linux RedHat 7.3 firewall script


#!/bin/sh
# JAVITASOK:
# 2002/07/10 xbt 
# 2002/07/27 webHauser - tul sokat loggolt, elesben csak DENY eseten kell!

# kimeno forgalom:
# Card eth0 192.168.0.1
# Card eth1 DHCP
# Card eth2 192.168.1.1
ipchains -F

# Minden olyan csomag amely nem felel meg egyetlen
# tovabbi szabalynak sem, ne legyen atengedve,
# se beengedve, se tovabbitva.

ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
# Filter only TCP packets with bits SYN=1,ACK=0,FIN=0
#ipchains -A input -s 0/0 -d 0/0 -p tcp -y -j DENY
# lehessen a localhostot pingetni
#ipchains -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
# Ne johessen be olyan csomag, amelynek
# forrascime a belso halozathoz tartozik!
#ipchains -A input -j DENY -l -s 127.0.0.0/8 -i ! lo
# DHCP beengedese
ipchains -A input -s 0/0 67:68 -d 0/0 67:68 -p udp -i eth1 -j ACCEPT

# Deny TCP and UDP packets to privileged ports
ipchains -A input -l -i eth1 -d 0.0.0.0/0 0:1023 -p udp -j DENY
ipchains -A input -l -i eth1 -d 0.0.0.0/0 0:1023 -p tcp -j DENY

# Deny TCP connection attempts on y packets
ipchains -A input -l -i eth1 -p tcp -y -j DENY

# Deny ICMP echo-requests from outside
ipchains -A input -l -i eth1 -s 0.0.0.0/0 echo-request -p icmp -j DENY

# A masik geprol erkezo csomagok elfogadasa
ipchains -A input -j ACCEPT -s 192.168.0.0/24 -i eth0

#ipchains -A input -j ACCEPT -l -s 192.168.0.0/24 -i eth0
#ipchains -A input -j ACCEPT -l -s 192.168.1.0/24 -i eth2

#
# A tobbi geprol is legyen elerheto az internet
#

ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0
echo 1 > /proc/sys/net/ipv4/ip_forward
echo "Firewall rules set."

ipchains masquerading firewall script


#!/bin/sh
# Bejovo forgalom letiltva
# (nem kell tavolrol elernunk a gepet)
#
# kimeno forgalom:
# Card eth0 192.168.0.1
# Card eth1 DHCP
#

# Minden olyan csomag amely nem felel meg egyetlen
# tovabbi szabalynak sem, ne legyen atengedve,
# se beengedve, se tovabbitva.

ipchains -P input ACCEPT
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
# Filter only TCP packets with bits SYN=1,ACK=0,FIN=0
#ipchains -A input -s 0/0 -d 0/0 -p tcp -y -j DENY
# lehessen a localhostot pingetni
#ipchains -A input -s 0/0 -d 0/0 -i lo -j ACCEPT
# Ne johessen be olyan csomag, amelynek
# forrascime a belso halozathoz tartozik!
#ipchains -A input -j DENY -l -s 127.0.0.0/8 -i ! lo
#
#
# Deny TCP and UDP packets to privileged ports
ipchains -A input -l -i eth1 -d 0.0.0.0/0 0:1023 -p udp -j DENY
ipchains -A input -l -i eth1 -d 0.0.0.0/0 0:1023 -p tcp -j DENY

# Deny TCP connection attempts
ipchains -A input -l -i eth1 -p tcp -y -j DENY

# Deny ICMP echo-requests
ipchains -A input -l -i eth1 -s 0.0.0.0/0 echo-request -p icmp -j DENY

# A masik geprol erkezo csomagok elfogadasa

ipchains -A input -j ACCEPT -l -s 192.168.0.0/24 -i eth0

#
# A tobbi geprol is legyen elerheto az internet
#

ipchains -A forward -j MASQ -l -s 192.168.0.0/24 -d 0.0.0.0/0
echo 1 > /proc/sys/net/ipv4/ip_forward
echo "Firewall rules are set."

Installing a new hard disk

#!/bin/sh

if [ ! -e /mnt/newhd ]; then
   mkdir /mnt/newhd
fi
mount -t vfat /dev/hdc1 /mnt/newhd
cd /mnt/newhd

echo Az uj hd rendben.

Guideline for building up a personal food supply

The following lists are one man’s rations for a one month period. The second list was added as an option to the first list, and was intended as an alternate for more variety.

Grubstake #1

20 lbs wheat flour & 10 lbs cornmeal OR 25 lbs wheat flour and 5 lbs cornmeal
1 1/2 lbs baking powder
3 lbs table salt (the extra for food preserving game)
10 lbs bacon or 5 lbs bacon AND 5 lbs salt pork
1 lb of lard or “Crisco” (Which is seldom needed if fat is saved from bacon drippings)
3 lbs creamery or canned butter
10 lbs beans
4 lbs split peas
5 lbs dried fruit (apple, apricots, or peaches)
4 lbs prunes
6 lbs sugar (7 lbs if used for tea or coffee)
3 lbs coffee
1 bottle (about 2 lbs) dill pickles
4 lbs evaporated milk in tins
2 lbs cheese
1 oz black pepper

Total–87 1/2 to 89 1/2 lbs total weight (Note: Add 1 bottle lime or lemon juice to list to prevent scurvy)

Grubstake #2

18 lbs wheat flour AND 5 lbs cornmeal
2 lbs crackers or soda bisquits
1 lb baking powder
3 lbs salt
6 lbs bacon AND 4 lbs salt pork
3 1/2 lbs creamery or canned butter
7 lbs beans
3 lbs split peas
5 lbs assorted dried fruits
4 lbs prunes
8 lbs sugar
2 lbs tea
3 lbs coffee
1 bottle dill pickles
5 lbs evaporated milk in tins
4 lbs rice
1 lb raisins
2 oz cinnimon
1 oz pepper
2 lbs cheese
5 lbs onions

(Note: Add 1 bottle lime or lemon juice to list to prevent scurvy)

Options: eliminate the crackers, add 2 lbs oatmeal and one brick of maple sugar

Totals–90 1/2 lbs to 92 1/2 lbs

You can try to live off the above lists for a month and see what the results would be. I’ve never tried to be so frugal, to be honest. I think I’d have withdrawals from the lack of meat in my diet, although he supplemented his food with game in the field and on his trapline.

4 month’s supply (Grubstake)

Flour 90 lbs.
Milk (condensed) 1 case
Butter 15 lbs.
Oatmeal 5 2 lb. boxes
Dried Eggs 3 lbs.
Tea 2 lbs.
Dried fruits 30 lbs.
Onions 10 lbs.
Ketchup 2 large bottles
Beans 15 lbs.
1 small bottle vanilla flavoring
Soda 2 lbs.
Salt 25 lbs cooking and jerking meat
Cornstarch 2 boxes
Sugar 20 lbs.
Macaroni 2 lbs.
Lard 10 lbs.
Soap 5 bars laundry, 5 bars toilet soap
Cheese 5 lbs
Coffee 5 lbs
prepared pancake flour (I suggest Krusteaz) 6 lbs.
Cocoa 6 lbs
Egg noodles 4 lbs
Cornmeal 10 lbs
Rice 6 lbs
Jams 5 lbs
Baking powder 4 lbs
Salt pork 40 lbs
Several boxes of “Strike Anywhere” matches
Yeast cakes 4 packages
Black pepper 2 lbs.

I rather like this list. I used this as a basis for my Y2k stash also.

Chilkoot Trail Supplies -

Photos of a human chain of stampeders trudging up the Chilkoot Pass have come to symbolize the Klondike Gold Rush.

In 1897-’98, the North West Mounted Police set up a border crossing into Canada at the summit of the Chilkoot. They ordered every stampeder to carry a year’s worth of supplies. After all, there was no turning back once they were into the Klondike, and commerce was limited, to say the least.

As a result, many stampeders struggling up the mountain rampart were bent double under the weight of their packs, which typically contained the following:

Chilkoot Trail 1898 Supplies:
McDougall and Secord Klondike Outfit List (clothing & food):

2 suits heavy knit underwear
6 pairs wool socks
1 pairs heavy moccasins
2 pairs german stockings
2 heavy flannel overshirts
1 heavy woollen sweater
1 pair overalls
2 pairs 12-lb. blankets
1 waterproof blanket
1 dozen bandana handkerchiefs
1 stiff brim cowboy hat
1 pair hip rubber boots
1 pair prospectors’ high land boots
1 mackinaw, coat, pants, shirt
1 pair heavy buck mitts, lined
1 pair unlined leather gloves
1 duck coat, pants, vest
6 towels
1 pocket matchbox, buttons, needles and thread comb, mirror, toothbrush etc. mosquito netting/1 dunnage bag
1 sleeping bag/medicine chest pack saddles, complete horses
flat sleighs

100 lbs. navy beans
150 lbs. bacon
400 lbs. flour
40 lbs. rolled oats
20 lbs. corn meal
10 lbs. rice
25 lbs. sugar
10 lbs. tea
20 lbs. coffee
10 lbs. baking powder
20 lbs. salt
1 lb. pepper
2 lbs. baking soda
1/2 lb. mustard
1/4 lb. vinegar
2 doz. condensed milk
20 lbs. evaporated potatoes
5 lbs. evaporated onions
6 tins/4 oz. extract beef
75 lbs. evaporated fruits
4 pkgs. yeast cakes
20 lbs. candles
1 pkg. tin matches
6 cakes borax
6 lbs. laundry soap
1/2 lb. ground ginger
25 lbs. hard tack
1 lb. citric acid
2 bottles jamaica ginger

Here’s an except from the webpage “Children of the Gold Rush” It contains the same list above, but without the clothing.

“In 1897-1898, the Canadian Mounties required that goldrushers buy and transport a ton of goods into Dawson so they had enough food to get them through the winter. The trading posts up there did not have nearly enough goods for the influx of people (see Ton of Goods list)”.

THREE SQUARES A DAY

*In a small group, plan three meals a day for a week from your ton of goods. Figure that each meal needs to feed a crew of four hungry miners and two children. Add fish, meat or berries if you think you would be able to hunt or gather them.

TON OF GOODS

100 lbs. navy beans
150 lbs. bacon
400 lbs. flour
40 lbs. rolled oats
20 lbs. corn meal
10 lbs. rice
25 lbs. sugar
10 lbs. tea
20 lbs. coffee
10 lbs. baking powder
20 lbs. salt
1 lb. pepper
2 lbs. baking soda
1/2 lb. mustard
1/4 lb. vinegar
2 doz. condensed milk
20 lbs. evaporated potatoes
5 lbs. evaporated onions
6 tins/4 oz. extract beef
75 lbs. evaporated fruits
4 pkgs. yeast cakes
20 lbs. candles
1 pkg. tin matches
6 cakes borax
6 lbs. laundry soap
1/2 lb. ground ginger
25 lbs. hard tack
1 lb. citric acid
2 bottles jamaica ginger

I’m not sure how this was to be split up…were four men to carry 250 lbs apiece? Doesn’t seem practical without a beast of burden to lighten the load.

ONE MONTH IN A BOX

One 20 quart size powdered milk (4 pounds)
One 10 lb bag rice
Two 4 lb bags beans
Two 3 lb bags of macaroni
Three 13 ounce quick oats
Two 5 lb bags flour
One 8 ounce baking cocoa
One 4 lb bag of sugar
One 10 oz baking powder
One 8 oz baking soda
One 4 lb jar of peanut butter
One 1 qt bottle of syrup
30 miscellaneous cans (soups, vegetables, chili, etc.)
One bottle hot sauce
One bottle soy sauce
9 miscellaneous spice bottles
2 vitamin bottles
One 4 ounce bottle of vanilla extract
One 4 ounce bottle of yeast
One 16 oz bottle of jalapeno peppers
One copy Better Times Cookbook and Almanac of Useful Information for
Poor
People

I found a 23 inches by 21 inches by 10 inches computer box, and all of above food fit into the box, with the lid folding flat and would fit underneath a bed or table. The above would provide the following daily servings: (for one person)

2-1/2 cups milk
1-1/2 cups cooked rice
1-1/2 cups cooked beans
1-1/2 cups cooked macaroni
1 cup cooked oats
1 cup flour
4 Tbs. peanut butter
1 miscellaneous can of food
Plus daily sugar and spice

I am not in the business of giving nutritional advice, but it seems that if a half gallon or so of cooking oil, another can per day and a serving of fruit juice (equivalent of another can) are added, which wouldn’t fit in this space, you’d be all right for a month. Depending on the assortment of cans, a variety of stuff can be made from these ingredients, including cinnamon rolls, oatmeal cookies, peanut butter cookies, tuna casserole, etc.

This box would fit under my bed.

Here’s an interesting contemporary commercial 3 month food supply Packed in no. 10 cans by the case:

SMALL CAN UNIT Approximately 3 Months Supply For One Person 1 Adult / 3 Months NetWt: 80 lbs. Approx. Space: 4 cu. ft. Unit: $358

Our Small Can Unit (#21/2 size cans) will supply one person for three months. It can be easily stored on your cupboard shelf. The special atmosphere process guarantees less than a 2% residual oxygen content in the can. This assures you of the maximum shelf-life possible greater long-term
nutritional food value than any other type ot tood process. It is composed of 10 cases of food, packaged in #21/2 size cans, 6 cans per case.

Unit:$358. 1 Adult / 3 Months NetWt: 80 lbs. Approx. Space: 4 cu. ft.

No. of Cans Product

CASE 1: FRUIT
2 Apple Sauce
2 Banana
2 Dates

CASE 2: FRUIT
1 Fruit Cocktail
3 Apple Slices
2 Prunes

CASE 3: GRAIN
6 Cornmeal

CASE 4: GRAIN
6 Grainola. Fruit & Nut
No. ofCans Product

CASE 5: PROTEIN
2 Egg Mix
2 Cheddar Cheese
2 Peanut Butter

CASE 6: PROTEIN
6 Milk, Non-Fat

CASE 7: PROTEIN T.V.P. (Soy)
2 Beet Flavored Chunks
2 Chicken Flavored Chunks
2 Ham Flavored Chunks

CASE 8 VEGETABLE
3 Potatoes, Mashed
3 Potatoes, Diced

CASE 9: VEGETABLE
1 Carrot Dices
1 Vegetable Stew
1 Sweet Corn
1 Green Beans
1 Peas, Green Garden
1 Tomato Powder

CASE 10: ADJUNCTS
1 Bouillon. Beet
1 Bouillon Chicken
1 Sweet Cream Powder
1 Butter Powder
Plastic Lids
“Just Add Water” Cookbook

This gives you some Idea of what’s currently available on the market. The state of the art has definitely changed since the turn of the century.

Here’s a Mormon Year’s supply list:

MORMON FOOD GUIDES

girls boys

Ages -6 7-11 12+ 0-6 7-11 12+

Wheat 107 lbs. 139 lbs. 151 lbs. 107 lbs. 176 lbs. 189 lbs.
Flour, white enriched 10 lbs. 12 lbs. 14 lbs. 10 lbs. 16 lbs. 17lbs.
Corn Meal 24 lbs. 31 lbs. 34 lbs. 24 lbs. 39 lbs. 42 lbs.
Oats, rolled 24 lbs. 31 lbs. 34 lbs. 24 lbs. 39 lbs. 42 lbs.
Rice, white enriched 48 lbs. 62 lbs. 67 lbs. 48 lbs. 78 lbs.84 lbs.
Pearled Barley 2 lbs. 3 lbs. 3 lbs. 2 lbs. 4 lbs. 4 lbs.
Spaghetti & Macaroni 24 lbs. 31 lbs. 34 lbs. 24 lbs. 39 lbs. 42lbs.
TOTAL FOR GRAINS GROUP 239 lbs. 309 lbs. 337 lbs. 239 lbs. 391 lbs.420 lbs.
Beans (dry) 25 lbs. 25 lbs. 25 lbs. 25 lbs. 25 lbs. 25 lbs.
Beans, Lima (dry) 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Beans, soy (dry) 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Peas, split (dry) 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Lentils (dry) 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Dry Soup Mix 5 lb. 5 lb. 5 lb. 5 lb. 5 lb. 5 lb.
TOTAL FOR LEGUMES GROUP 34 lbs. 34 lbs. 34 lbs. 34 lbs. 34 lbs. 34lbs.
Vegetable Oil 2 gal. 2 gal. 2 gal. 2 gal. 2 gal. 2 gal.
Shortening 4 lbs. 4 lbs. 4 lbs. 4 lbs. 4 lbs. 4 lbs.
Mayonnaise 2 quarts 2 quarts 2 quarts 2 quarts 2 quarts 2quarts
Salad Dressing-Mayo type 1 quart 1 quart 1 quart 1 quart 1quart 1 quart
Peanut Butter 4 lbs. 4 lbs. 4 lbs. 4 lbs. 4 lbs. 4 lbs.
TOTAL FORFATS/OILS GROUP 26 lbs. 26 lbs. 26 lbs. 26 lbs. 26 lbs. 26lbs.
Milk, nonfat dry 14 lbs. 14 lbs. 14 lbs. 14 lbs. 14 lbs. 14 lbs.
Evaporated milk 12 cans 12 cans 12 cans 12 cans 12 cans 12 cans
TOTAL FOR MILK GROUP 16 lbs. 16 lbs. 16 lbs. 16 lbs. 16 lbs. 16 lbs.
Sugar, white granulated 40 lbs. 40 lbs. 40 lbs. 40 lbs. 40 lbs. 40lbs.
Sugar, brown 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs.
Molasses 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Honey 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs.
Corn Syrup 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs.
Jams and Preserves 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs. 3 lbs.
Fruit Drink, powdered 6 lbs. 6 lbs. 6 lbs. 6 lbs. 6 lbs. 6lbs.
Flavored gelatin 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
TOTAL FOR SUGARS GROUP 60 lbs. 60 lbs. 60 lbs. 60 lbs. 60 lbs. 60 lbs.
Dry Yeast 1/2 lb. 1/2 lb. 1/2 lb. 1/2 lb. 1/2 lb. 1/2 lb.
Soda 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Baking Powder 1 lb. 1 lb. 1 lb. 1 lb. 1 lb. 1 lb.
Vinegar 1/2 gal. 1/2 gal. 1/2 gal. 1/2 gal. 1/2 gal. 1/2 gal.
Salt (iodized) 8 lbs. 8 lbs. 8 lbs. 8 lbs. 8 lbs. 8 lbs.
Chlorine Bleach-1 gallon per family
WATER-14 gallons per person for 2 week supply

NOTE: The quantities for food listed are for one year. However, we feel the amount of Chlorine Bleach needed is greatly underestimated. Especially during disasters, sanitary conditions will be at much greater risk. For this reason, we suggest you plan for a MINIMUM of at least 1 gallon of bleach per month, possibly more depending on your family’s useage.

The amount of suggested water only covers 2 weeks. Since water is THE MOST IMPORTANT SURVIVAL ITEM, we encourage you to store at least 6 months or longer supply of water. Also bear in mind, this does not include water for personal hygiene, washing or cooking.

Here is what the Mormon Church advises storing per year, for one adult. These are the bare necessities. Add canned fruits and vegetables if you can.

300 pounds grains
60 pounds beans
60 pounds sugar or honey
20 pounds oil/shortening
5 pounds salt
365 multi-vitamins
16 pounds powdered milk

Be hard to live off that for a year.

DAVID SYLVIAN discography

01. Brilliant trees (1984)
02. Alchemy (1985)
03. Gone to earth (1986)
04. Gone to earth (instrumental) (1986)
05. Secrets of the beehive (1987)
06. Plight and premonition (1988)
07. Flux and mutability (1989)
08. Weatherbox (1989) (boxed set including 1.2.3.4.5.)
09. Rain tree crow (1991)
10. Ember glance(1991)
11. The first day (1993)
12. Brilliant trees (US) (1994)
13. Damage (1994)
14. Dead bees on a cake (1999)
15. Approaching silence (1999)
14. Everything and nothing (2000)
15. Damage (re-issue) (2001)
16. Camphor (2002)
17. Blemish (2003)

David Sylvian - Transit

Transit
(David Sylvian)

I have listened repeatedly
I have listened very well
No one interrupts the harmful
When they’re speaking

To wonder why of Europe
Say your goodbyes to Europe
Swallow the lie of Europe
Our shared history dies with Europe

(follow me, won’t you follow me?)

A future’s hinting at itself
Do you fear what I fear?
All those names of ancestry
Too gentle for the stones they bear

Someone somewhere wants to see you
Someone’s traveling towards us all

To wonder why of Europe
To live, love, and cry in Europe
Say your goodbyes to Europe
Our history dies with Europe

(follow me, won’t you follow me?)

The lights are dimming
The lounge is dark
The best cigarette is saved for last
We drink alone
We drink alone

© 2003 by David Sylvian/Opium (Arts) Ltd

All by Myself

All by Myself
(Celine Dion)

When I was young
I never needed anyone
And making love was just for fun
Those days are gone
Livin’ alone
I think of all the friends I’ve known
When I dial the telephone
Nobody’s home

All by myself
Don’t wanna be
All by myself
Anymore

Hard to be sure
Sometimes I feel so insecure
And loves so distant and obscure
Remains the cure

All by myself
Don’t wanna be
All by myself
Anymore
All by myself
Don’t wanna live
All by myself
Anymore

When I was young
I never needed anyone
Making love was just for fun
Those days are gone

All by myself
Don’t wanna be
All by myself
Anymore
All by myself
Don’t wanna live
Oh
Don’t wanna live
By myself, by myself
Anymore
By myself
Anymore
Oh
All by myself
Don’t wanna live
I never, never, never
Needed anyone

Let the Happiness In

Let the Happiness In

(David Sylvian)


I’m waiting on the empty docks
Watching the ships come in
I’m waiting for the agony to stop
Oh, let the happiness in

I’m watching as the gulls all settle down
Upon the empty vessels
The faded whites of their wedding gowns
The songs of hopeless selflessness

The cold december sun
A cold that blisters
The hands of a working man
Wasted

I’m waiting on the empty docks
Watching the ships roll in
I’m longing for the agony to stop
Oh, let the happiness in

Oh, let the happiness in

Listen to the waves against the rocks
I don’t know where they’ve been
I’m waiting for the skies to open up
And let the happiness in

Oh, let the happiness in

‘Cause it’s coming
Coming on
Let the happiness in

Oh, let the happiness in

‘Cause it’s coming
Coming on

Archives

Advertising