Skip to main content

Posts

iis - FTP directory restrictions via IIS6

itemprop="text"> We are trying to setup the FTP on our stand-alone dedicate Windows Server 2003 (Standard, 32bit, SP2) IIS6. We are NOT using AD. It is NOT setup for user isolation, as I need the "administrator" account to be able to access any part of the D: drive (which the FTP has setup as it's root). I want to be able to restrict a single user account (created on the local box) to only be able to access a particular sub-sub-directory structure on the drive. I do not want to allow this user to read/write/navigate to any other part of the D: drive. If necessary I can accept directory listings, but certainly nothing more than that. In IIS6 I have created a virtual directory using the username (as the user mentioned above) as the alias - logging into FTP using the credentials puts them straight into the directory, whi...

iis - FTP directory restrictions via IIS6

We are trying to setup the FTP on our stand-alone dedicate Windows Server 2003 (Standard, 32bit, SP2) IIS6. We are NOT using AD. It is NOT setup for user isolation, as I need the "administrator" account to be able to access any part of the D: drive (which the FTP has setup as it's root). I want to be able to restrict a single user account (created on the local box) to only be able to access a particular sub-sub-directory structure on the drive. I do not want to allow this user to read/write/navigate to any other part of the D: drive. If necessary I can accept directory listings, but certainly nothing more than that. In IIS6 I have created a virtual directory using the username (as the user mentioned above) as the alias - logging into FTP using the credentials puts them straight into the directory, which is correct and what I'm after. But I cannot find any way of blocking them from navigating outside of "their" structure. I have tried Denying them permiss...

Configuring postfix to fight spam, 2012 edition

EDIT: This question was poorly asked, later I found another question which answers what i wanted to know: href="https://serverfault.com/questions/17221/spam-prevention-tips-for-postfix">Spam prevention tips for Postfix I'm running a small (20 users, 30 mailman-lists) server with postfix. I think it's configured fine, more or less. I spent 2 days reading up on all kinds of material on postfix configuration, but I couldn't find any list of measures that are actually safe to enable/disable. For about every configuration option i found there were some people pro and some against it. This is my postfix configuration, can you give me simple measures on what to improve? alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/alia...

Configuring postfix to fight spam, 2012 edition

EDIT: This question was poorly asked, later I found another question which answers what i wanted to know: Spam prevention tips for Postfix I'm running a small (20 users, 30 mailman-lists) server with postfix. I think it's configured fine, more or less. I spent 2 days reading up on all kinds of material on postfix configuration, but I couldn't find any list of measures that are actually safe to enable/disable. For about every configuration option i found there were some people pro and some against it. This is my postfix configuration, can you give me simple measures on what to improve? alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases append_dot_mydomain = no biff = no config_directory = /etc/postfix disable_vrfy_command = yes home_mailbox = Mail/ inet_interfaces = all mailbox_command = /usr/bin/spamc -e /usr/lib/dovecot/deliver mailbox_size_limit = 0 mydestination = localhost, ....

virtualization - How to block outgoing traffic (HTTP) from VMs?

itemprop="text"> I am playing with vmware ESXi v5 and installed a Win XP 32bit as one of the VMs inside. I wish to block outgoing access (especially http) from the VM (maybe some form of firewall?), yet still allow: Entry to the VM via RDC Sharing of files or other features with other VMs (perhaps meaning within LAN) in the host kind of like via Workgroup. (this might need a seperate question) Any ideas on how can I do the above? Still very new in VM-ing! But willing to learn! :) Answer I'd suggest one of the VMWare href="http://www.vmware.com/products/vshield/overview.html" rel="nofollow noreferrer">vShield products, perhaps 'App' or 'Edge' - take a look, there's lots of options.

virtualization - How to block outgoing traffic (HTTP) from VMs?

I am playing with vmware ESXi v5 and installed a Win XP 32bit as one of the VMs inside. I wish to block outgoing access (especially http) from the VM (maybe some form of firewall?), yet still allow: Entry to the VM via RDC Sharing of files or other features with other VMs (perhaps meaning within LAN) in the host kind of like via Workgroup. (this might need a seperate question) Any ideas on how can I do the above? Still very new in VM-ing! But willing to learn! :) Answer I'd suggest one of the VMWare vShield products, perhaps 'App' or 'Edge' - take a look, there's lots of options.

Can you run Fiber between two different types of switches?

We are looking into adding a 10g fiber link between two of our locations however we arent sure if its possible. We have an HP Procurve 2910al on one side and an AdTran 1638 on the other and we are looking to go between with single mode fiber. If we get the appropriate SFP adapters for either side does it matter if one SFP adapter is Adtran and the other is HP?

Can you run Fiber between two different types of switches?

We are looking into adding a 10g fiber link between two of our locations however we arent sure if its possible. We have an HP Procurve 2910al on one side and an AdTran 1638 on the other and we are looking to go between with single mode fiber. If we get the appropriate SFP adapters for either side does it matter if one SFP adapter is Adtran and the other is HP?

linux - How to recover data from a corrupted ext3 partition?

A server of mine had a drive failure of some sort which caused the OS (CentOS 5) to crash and stop working (it refuses to boot). So we put another drive with a working OS and from there we try to mount the partitions in the old drive. Most partitions mount fine except for one: the /var partition, where my MySQL tables reside. />When I try to mount that one, I see these errors with dmesg : sd 0:0:1:0: Unhandled sense code sd 0:0:1:0: SCSI error: return code = 0x08100002 Result: hostbyte=invalid driverbyte=DRIVER_SENSE,SUGGEST_OK sdb: Current: sense key: Medium Error Add. Sense: Unrecovered read error Info fld=0x4a47e JBD: Failed to read block at offset 9863 />JBD: recovery failed EXT3-fs: error loading journal. Is there a way I can recover the data in that partition? /> EDIT: ...

linux - How to recover data from a corrupted ext3 partition?

A server of mine had a drive failure of some sort which caused the OS (CentOS 5) to crash and stop working (it refuses to boot). So we put another drive with a working OS and from there we try to mount the partitions in the old drive. Most partitions mount fine except for one: the /var partition, where my MySQL tables reside. When I try to mount that one, I see these errors with dmesg : sd 0:0:1:0: Unhandled sense code sd 0:0:1:0: SCSI error: return code = 0x08100002 Result: hostbyte=invalid driverbyte=DRIVER_SENSE,SUGGEST_OK sdb: Current: sense key: Medium Error Add. Sense: Unrecovered read error Info fld=0x4a47e JBD: Failed to read block at offset 9863 JBD: recovery failed EXT3-fs: error loading journal. Is there a way I can recover the data in that partition? EDIT: As requested, the output of tune2fs -l /dev/sdb2 is: tune2fs 1.39 (29-May-2006) Filesystem volume name: /var1 Last mounted on: Filesystem UUID: d84f5181-24f3-40ce-9eaa-601ae5ae33bd Filesystem ...