?

Log in

No account? Create an account

September 8th, 2004


Previous Entry Share Next Entry
09:21 am - e-mail posting. funky.
So the new job.
It's ok.
Right now it's boring as shit. As I mentioned last week, I'm on the phones
all week, 6 hours a day. Which, at the moment, means that I'm just killing
time and surfing on thar intarweb. Unfortunately I can't even SSH out of
here, so I can't do anything to get my server up and running. It's pissing
me off, because I have so much free time right now, and the one thing that
I've been trying to make the time to do is the one thing I just can't do.
I spent most of yesterday trying to figure out a way to bust around this
firewall so I can actually get something done, to no avail. It's pissing
me off.
In the first week of this job, I lost about 5 pounds because I was
actually moving around, doing stuff. If yesterday was any indication, this
week's going to give me those 5lbs right back, cause I'm sitting on my ass
on the phones yet again.
argh.
whatever.
Changing the backup tapes went smoothly this morning for the second time
since I started here. Was a refreshing change.

Had a great weekend with the badgers, but it was far too short as weekends
are wont to be.

Damnit, meant to call my momma yesterday.
Oh, our TV went kablooie last night. Totally toast. So since our new bank
accounts had finally opened and we had money available to us again, we
went out and picked up a cheap replacement. Picture quality beats the heck
out of that 15 year old one it replaced. heh. As a result I had to redo
most of the electronic wiring in the house. Took me most of the evening,
but hey, I enjoy that kinda stuff. Anyway, that's why I didnt' get around
to calling the momma-bear. I'll call her this afternoon when it's slow
around here.

Anyway, work's picking up for the morning rush.
back to the *gag* phones.
mood: bored

(20 bits of drivel | babble incoherently)

Comments:


(Deleted comment)
[User Picture]
From:inahandbasket
Date:September 8th, 2004 06:30 am (UTC)
(Link)
I've thought about that, but the server is kinda a web server.
You happen to know if there's a way to bind SSH to a specific IP address? I've got like 100 to use. If I could bind it to listen on x.x.x.199:443, that'd be awesome.

The firewall allows FTP 21, http 80, SSL 443, and probably one or two others.

Let me know if you're bored and want to help me hack this out. ;o)
[User Picture]
From:komos
Date:September 8th, 2004 07:13 am (UTC)
(Link)
My kung fu is not strong.
[User Picture]
From:inahandbasket
Date:September 8th, 2004 07:14 am (UTC)
(Link)
lol
maybe not, but your brew is.
;o)

whatcha up to? you've been quiet lately...
[User Picture]
From:komos
Date:September 8th, 2004 01:50 pm (UTC)
(Link)
I've got an Oktoberfest going that may make it to finish provided I actually managed to take care of the infection problem, and aside from that, I've mostly been down with my end of summer cold. I've had the time, but not the frame of mind to write.

...and then I got sucked into A Tale In The Desert II. Why I'm so thrilled to find mushrooms in a virtual Sahara, I don't know.
[User Picture]
From:inahandbasket
Date:September 8th, 2004 07:13 am (UTC)
(Link)
hmm, found something useful.
On machines with two or more NICs, typically routers and firewalls, the default is to listen on all network interfaces. Often on machines with more than one network card there will be good reasons for restricting ssh access to a specific card or cards. The ListenAddress can be used to restict sshd to listening only on the specified NICs. Assuming the Port has already been set, all that is needed is to place the IP address of the NIC to be allowed after the ListenAddress option. If the machine has three or more network cards, more than one ListenAddress option may be used. If a ListenAddress option is provided, any NIC that has not been specified will not accept ssh connections.

Looks like I can just bind the SSH server to a specific IP and Port.
yay!
[User Picture]
From:inahandbasket
Date:September 8th, 2004 07:13 am (UTC)
(Link)
but oh dear, apache is listening to port 80 on all IPs. Now I have to figure out if I can exclude one IP from it's listening.
[User Picture]
From:d_m
Date:September 8th, 2004 02:14 pm (UTC)
(Link)
// telling apache to listen only on specific ips is easy.

// how do you have 100 public IPs? do you need apache
// listening on all of them? probably best to just listen on
// the ones you need. here is the relevant code from
// httpd.conf:

Listen a.b.c.1:80
Listen a.b.c.2:80
[etc, etc, etc]
Listen a.b.c.254:80

// find the section in your httpd.conf, which right now
// probably says 'Listen 0.0.0.0:80' and change it.

// or, you could always run mindterm on your http server.

echo hola | tr h c | sed -e 's#o# u #' -e 's#a#8r#'

[User Picture]
From:inahandbasket
Date:September 8th, 2004 02:19 pm (UTC)
(Link)
figured that much out...
and mindterm might be a really good idea, except that from what I've played with it's really just a java client that runs locally, thus not fixing the firewall issue.
Now I'm having trouble setting up the virtual IPs on the ifconfig level.
I really just want about 5 IPs set up for now, but I'm still pulling my hair out.
I should just bite the bullet and ditch windows completely. I rarely game anymore anyway. As it is, I dabble in *nix and thus forget everything useful and have to relearn it.
blargh.
back to trying to figure out why the eff this isn't working. I think it's my subnet mask.
[User Picture]
From:d_m
Date:September 8th, 2004 02:34 pm (UTC)
(Link)
// if you're using freebsd i remember that getting the
// virtual ips to stay between reboots was really annoying.
// in particular, i'm pretty sure you want the subnet
// mask to be 0xffffffff (255.255.255.255) on all the
// aliases, otherwise you get into weird issues with your
// cards talking to each other. i think the kernel does
// the right thing.
//
// for freebsd, in /etc/rc.conf you want:

network_interfaces="ed0_alias0 ed0_alias1 ... ed0_alias5"

ifconfig_ed0_alias0="inet a.b.c.1 netmask 0xffffffff"
ifconfig_ed0_alias1="inet a.b.c.2 netmask 0xffffffff"
    [etc,etc,etc]
ifconfig_ed0_alias5="inet a.b.c.6 netmask 0xffffffff"


// windows makes you weak. unix makes you strong.

[User Picture]
From:d_m
Date:September 8th, 2004 02:36 pm (UTC)
(Link)
// oh, and obviously you have to use ifconfig
// commands to set it up without a reboot. i'm
// pretty sure you know the syntax on that, it's
// using the 'alias' directive i think.

[User Picture]
From:inahandbasket
Date:September 8th, 2004 02:38 pm (UTC)
(Link)
actually I'm running fedora at the moment. Had some weird hardware issues with the latest freebsd, so I ditched it. Couldn't get it to install.
[User Picture]
From:d_m
Date:September 8th, 2004 02:49 pm (UTC)
(Link)
// well... my experiences with redhat-related products
// are almost uniformly bad (i have to work with enterprise
// AS 3.0 on amd64 boxes here at work sometimes).

// anyway, the following commands should just work:

# ifconfig eth0:1 a.b.c.2 up
# ifconfig eth0:2 a.b.c.3 up
  [etc,etc,etc]
# ifconfig eth0:5 a.b.c.6 up

// between reboots, i think this info is stored in
// /etc/network/interfaces, but as i said i hate redhat
// and am not sure what they're doing.

// in linux i'm pretty sure you don't ever specify the
// netmask for ip aliases... but i could be wrong.
[User Picture]
From:inahandbasket
Date:September 8th, 2004 02:51 pm (UTC)
(Link)
that's what I tried, and I can't ping the IP once it's supposedly up.
You on AIM by any chance? I'm 'inthehandbasket'
[User Picture]
From:inahandbasket
Date:September 8th, 2004 02:53 pm (UTC)
(Link)
OOOOOOO!
I take it back, I can ping it from the same box via ssh, but I can't hit it from my machine.
Now what would do that... netmask? broadcast address?
[User Picture]
From:d_m
Date:September 8th, 2004 02:56 pm (UTC)
(Link)
// your own firewall rules?? you probably need to add allows
// for the new IPs??
[User Picture]
From:oceanic
Date:September 8th, 2004 08:54 am (UTC)
(Link)
Urgh. Many sympathies. :( Hope you find a way to bash the firewall's brains in.
[User Picture]
From:inahandbasket
Date:September 8th, 2004 08:57 am (UTC)
(Link)
meee too.
or just skip around it whistleing a happy tune.
either way.
[User Picture]
From:oceanic
Date:September 8th, 2004 09:26 am (UTC)
(Link)
or you could do both. poor leetle firewall'd never see it coming...
[User Picture]
From:smalleen
Date:September 8th, 2004 03:16 pm (UTC)
(Link)
off the subject...i am going to be living with my bf soon and i am wondering how u and meg get ur finances straight. do u have a joint account? do u pay a percent of your incomes or is it fifty/fifty? just curious how budgeting works.
[User Picture]
From:inahandbasket
Date:September 8th, 2004 03:24 pm (UTC)
(Link)
joint acct that we toss equal money into once a month.
works well for us.
e-mail posting. funky. - another LJ. or: how i learned to stop worrying and love this life-thingy

> Recent Entries
> Archive
> Friends
> Profile
> Lord Google

Links
sluggy
userfriendly
sinfest
schlock
reallife
Cyanide&Happiness
goats
somethingpositive
pvp
xkcd
lil gamers
fruitfucker
ctrl-alt-del
Genius!
digger
LFG
applegeeks
threepanelsoul
drive!
vgcats
Erfworld
Freakangels
DresdenCodak
Angst!
.
EatYourBeer
rain?
POSTULATE!

> Go to Top
LiveJournal.com