Slashdot Mirror


User: benploni

benploni's activity in the archive.

Stories
0
Comments
137
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 137

  1. Re:My experiences on GNOME, Security, Linux, and Cable Modems? · · Score: 1

    Yes, ssh, if used *correctly* can secure X. What I meant was that you shouldn't be running an X server on the machine. Takes up too much resources.

    Ben Ploni

  2. Re:very good question on GNOME, Security, Linux, and Cable Modems? · · Score: 3

    Those are some pretty bad habits you're espousing. Don't turn on ftp *ever* - use scp.

    Enumerate whatever services you are sporadicaly turning on and off, and either decide that they are vulnerable, and never use them, or leave them on and tighten what you can.

    For example, you already decided to leave ssh on. That's an example of the second option. To continue on that line, tighten ssh by making sure rhosts is off, root cannot log in directly, and blank passowrds are disallowed.

    An example of the first option would be disabling ftp for good, and learing how to use scp.

    Ben Ploni

  3. Re:Just use ipchains on GNOME, Security, Linux, and Cable Modems? · · Score: 1

    That's nice, but what if you *want* some services to be available to the outside world? Being able to ssh from anywhere into your home network is *handy*!

    Ben Ploni

  4. Re:Firewall on GNOME, Security, Linux, and Cable Modems? · · Score: 1

    How fast do you think the CPU is in those SOHO Cable/DSL routers anyway?!?!? :-)

    Ben Ploni

  5. Re:Get or build a firewall on GNOME, Security, Linux, and Cable Modems? · · Score: 1

    Go w/ the linux/bsd route. The SOHO hardware routers don't give you enough flexibility. They're getting better, but for a bit more, a cheapie linux box can do things like letting you ssh in.

    Ben Ploni

  6. Re:The general solution is .. on GNOME, Security, Linux, and Cable Modems? · · Score: 1

    Unofrtunately, a lot of apps are hardcoded to bind to the "any" address. If that's case you have two options:

    1) Fix the code
    2) Use ipchains to prevent a syn packet from coming in on the "wrong" inteface to that port. It'll still show up as listening on that port in a "netstat -a", but noone can get to it.

    Ben Ploni

  7. My experiences on GNOME, Security, Linux, and Cable Modems? · · Score: 4

    I have a dsl line in my apartment. I have it connected to a dual NIC pentium 90 that is my ip-masq/firewall/dhcp server/samba/ssh/httpd server. That's right, a Pentium 90. Not as bad as a 486, but no great shakes. I VERY carefully bind vulnerable services to the inside NIC, and only have http and ssh available to the outside nic. ipchains rules do the masqing and firewalling.

    Te box has flawless uptimes, and speed is NOT an issue. It's very easy to saturate a cable or DSL line. CPU won't be your bottleneck.

    Things to watch out for:
    1) listening ports. do a "netstat -a" and check for "*:anything ... LISTEN". If you dont want it to be available to the outside world FIX it!
    2) NO X. Duh.
    3) understand ipchains. It's not hard, but not obvious either
    4) dont forget about UDP.

    Good luck,
    Ben Ploni

  8. Re:Take a trip down memory lane ... on Maxtor's 80GB Drive · · Score: 1

    Try the new Abit Athlon board. It has an onboard Highpoint 370 chip that does ATA100 and Hardware RAID.

    Put two of these 80GB ATA100 drives on this mainboard and you'll clear 50-60 MB/s.

    Can you say FAST????

  9. Re:Championship bout on Perl vs. Python: A Culture Comparison · · Score: 1

    You forgot to mention how Guido indented Larry's skull! :-)

  10. Re:JPython? on Perl vs. Python: A Culture Comparison · · Score: 1

    Python is *sort* of a scripting language. The guy wrote wrote TCL tried once in a paper to define what is a scripting language, but it's still rather fuzzy.

    Python can be used in place of shell scripting. It can also be used to write full blown GUI-based products. It has the scripting like attribute of not requiring compilation, but that's counterbalanced by the fact that it *does* compile scripts into bytecode.

    Also, Python is a flexible beast. For example there are currentyl two completely seperate implementations ofg the Python language. One is written in C, and one is written in Java. the Java one compile Python code into Java bytecodes for execution in a Java VM. that's right, you can right applets that run in a browser in Python. You can use Java classes in JPython and even subclass them.

  11. Re:How does Python deal with all types of whitespa on Perl vs. Python: A Culture Comparison · · Score: 2

    Python does treat them differently. A tab is arbitrarily set equal to 8 spaces. However, it is hard to screw this up since compilation to bytecode will fail if it is inconsistent. Also, there are tools like tabnanny to watch out for things like this.

  12. Re:Python parses indentation! on Perl vs. Python: A Culture Comparison · · Score: 1

    But it's a good idea for languages meant to be READ by humans!