PDA

View Full Version : lich ports for iptables+ssh forwarding



jafo
05-17-2013, 03:01 AM
So I was playing with using ssh+/etc/hosts to bypass a firewall for stormfront traffic. Success!

So then I tried doing the same with lich, not quite the same. Lich has hard coded IPs in it.

So, I set an iptables rules to send all traffic for the IP to localhost. Then I merely had to open more ssh tunnels for the various lich ports.

Could I get an authoritative list for them? I got some functions like lnet and repo working but was still having a few kinks. I must be missing one.

SpiffyJr
05-17-2013, 11:43 AM
LNet and Repo are the only things I know that use the server. Infomon has something for herb information but I assume that's the same port as LNet.

jafo
05-17-2013, 01:22 PM
I think I've got ports figured out. Now I'm running into other things.

For instance, swapbounty:
I had to change calls like
start_script("go2", [ "advguild", '_disable_confirm_' ])
to
start_script 'go2', [ "advguild", '_disable_confirm_' ]

Is this because of my version of ruby or something?

Also, I dos2unix'd my script directory.

SpiffyJr
05-17-2013, 01:38 PM
That's odd, those are syntactically identical for each version of Ruby I've used. I've only used since version 1.8, though.

jafo
05-17-2013, 02:32 PM
That's odd, those are syntactically identical for each version of Ruby I've used. I've only used since version 1.8, though.

I'm on 1.9.1. I'm just tried another script that uses the former call vs the latter and it worked fine. There may just be something syntax wise tripping in swapbounty before the call and causing the error later when the parens are used mayb.e

Tillmen
05-17-2013, 06:55 PM
Ruby 1.9 doesn't like it when you put a space between the method name and the parentheses.

jafo
05-17-2013, 11:38 PM
Mental note, I should sed -i -e my scripts dir and just fix them all.

Rozy
05-30-2013, 09:28 AM
216.224.171.85 for the IP address as far as I can tell. (hardcoded IP addresses make me skert)

Port 7155 for lnet, Port 7153 for GS related scripts, and Port 7156 for DR. I think. I need caffeine.