Jump to content

niels

Active Members
  • Posts

    76
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by niels

  1. niels

    Iptables

    Yes it is, I'm using a ruby script to deploy several firewalls on different servers and a git repo to keep up with the changes. But I also tried this one manually and I wasn't able to get it working. Anybody a clue, seems that older servers can't handle the syntax.
  2. niels

    Iptables

    I'm using this version of debian: Linux version 2.6.26-2-xen-amd64 (Debian 2.6.26-24) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Sun Jun 20 20:51:58 UTC 2010
  3. niels

    Iptables

    Hey everybody, I'm having some issue on an older version of Iptables version 1.4.2 I'm using this command : iptables-restore < /etc/network/iptables.config And the content of the iptables.config file is : *filter -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT -A INPUT -i lo -j ACCEPT -A OUTPUT -o lo -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT --src x.x.x.x -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT --src x.x.x.x -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT --src x.x.x.x -A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j DROP -A INPUT -j REJECT -A FORWARD -j REJECT COMMIT I've used this exactly the same config for another server and there I did't got any troubles. But now I got this output: iptables-restore v1.4.2: no command specified Error occurred at line: 16 Try `iptables-restore -h' or 'iptables-restore --help' for more information. I already truncated the file line endings, commenting out some rules but still didn't work. And it always throws the error/exception. Strange part is I use the exact same file for another server and it doesn't complain about any errors or exceptions and it works fine. Anybody had the same experience or anybody some advise ? Thanks a lot in advance!
  4. Hey everybody, I'm looking to setup a nice rig to run ESXi. Run it smoothly with 20 virtual instances max 30 instances running. Could anybody tell we what I need of system requirements ? I was thinking on 16 Ram, 500 - 1000gb hdd, 2 x intel quad-core processor. I'm seeking some advise from some people with some hands on experience who could advise me. Thanks a lot in advance, cheers
  5. byobu, but it is only an enhancement of screen but you can take a look.
  6. I'm also interested in the HowTo looking forward to see something appear on the forum!
  7. I did some more investigating on my own. And I was thinking that a setup like this would work: Setup an OpenRADIUS or YubiRADIUS server, add all my current servers as Radius clients. Then use a pam module with ssh so people could login. This way I have Authentication, Authorization, and Accounting (AAA) but this has one drawback I can't manage privileges of the different users. Downside is everybody could login on al the servers, that's something I would like to prevent. So anybody who has a solution or comment on my idea? Just exploring these solutions/ options / ideas myself so don't shoot me if I got the facts mixed up :). But I'm eager to see what comment you guys have? Does anybody has some experience with IAM systems (Identity and Access Management systems)?
  8. Hey everybody, at the company I'm working for, the number of servers is climbing very fast nowadays. Now we're looking for a way to manage the access to these server instances, now is using ssh and PKI, so manually deploying/managing the keys is a hard task. Also managing password of different services on the servers, is running out of control. Does anybody know a good way of solving this, or some software implementation that could free us from this burden? I was thinking of maybe using the YubiKey, for authentication. Thanks a lot in advance. Regards, Niels
  9. Hey everybody, I'm experiencing some weird things with a pc and a printer of some acquaintance of me. I was hoping that some one could help me understand the problems. The pc is running a old fashion Windows XP with LibreOffice installed on it. Now the problem, occasionally they want to print some doc file and 50% of the time the printer works fine, they are using a Samsung printer (I can't remember the exact printer but I will update my post later on this.) And the other 50% of the time, it seems like the pc doesn't pass on the command to print to the printer so weird. They after some reboots it starts printing the queue automatically. On the website of samsung I founded some tool to check the printer and do some tests and cleaning operation. And I responded fine to all the demanded actions. Now could any body share there knowledge and help me fix this problem ? Thanks a lot in advance.
  10. niels

    Tcp/ip

    Doesn't the IP Protocol allow a MTU up to 65,515 bytes ? Or am I making a mistake here ?
  11. Hey everybody, I'm planning to get more into some java frameworks and hope to find some experiences here on the forum. I thought to start with taking a closer look at Spring 2 and Hibernate. Can somebody recommend some good books or other informational materials or tutorials? Thanks
  12. Hey everybody, I'm running iTunes 10.5b118 (118) 64-bit now I recently downloaded some music files. So I imported them in iTunes, played them and while the song is playing you hear a scratching like very high soun. Some songs have the same phenomenon. I is very strange, when I play the songs with vlc player on the same mac I don't hear the song. Does any one on the forum experienced the same problems ? Or now where I can find help, apple support sucks. Thanks !
  13. Like mentioned before it all depends if you have a small or large organization. But if you want a virtual server to go take a look here => Turnkey Fileserver This is a preconfigured fileserver with samba. If you have a larger organisation then you can check this link out to configure ldap with samba => Samba & LDAP This wiki page contains a lot of information to start with. Hope it can be of any use.
  14. Nothing so far to test the hardware but, I installed Mac os x 3 times the last day on the MBP so I don't think it's a hardware failure of the MBP. The usb drive I'm using formatted it installed the live BT5 on it with no problem at all. It ran the live BT5 without any errors. So it's seems strange to me that it's a hardware failure, I'm now downloading the BT5 R1 using a direct link will check the MD5 hash and then try to reinstall BT5 on the MBP. I tried using the BT5 release but I got a boot error so .... wish me luck on my next try :) EDIT: Finished the direct download, checked the MD5 hash, installed the iso on a different usb, installed BT5 R1 Gnome 64 again. => same problem trying hangs on the udev thing I mentioned above :s btw I can find anything useful using ' oom_adj is deprecated' in google but I will search a little bit deeper :)
  15. Could you tell me what you're using to search in google ? Yes, it always hangs there every time , although it seem in recovery mode it gets a little bit further in the boot process. I didn't try modifying any parameters in GRUB because I couldn't find amy decent information about my problem, probably not using the right search techniques :). I already took it to the backtrack forum but I can't get a thread to be posted, and I don't know why, the admin don't approve my thread to be posted I think. So I'm glad that I'm getting any response from the Hak5 forum :)
  16. Thanks for the response, I'm using a 8gb usb drive so size isn't the problem. I found a way to run the live usb. I must add nomodeset to the kernel command line and it works fine. I finally got Backtrack installed on the hard drive of the mac but now it won't boot. I tried the solutions with nomodeset I used above but no luck. This time i got this error anybody a clue ?
  17. No problem I'm glad I'm getting any response, I finally got the usb from booting again. But the MBP got frozen again. So I started again, in safe mode this time took a picture hoping someone could help me with the output : Hoping someone can translate :)
  18. I'm trying to follow your advise but I can't use unetbootin to install the iso on the usb drive as long as it is formatted in Mac os journaled. It must be FAT32. I managed to boot from the usb drive once, choose text mode of BT5 then it got stuck and the mac froze, after that I wasn't able to boot from the drive again. Any more advise ?
  19. Hey everybody, recently I bought a new MBP. Now with my old MBP I was thinking to install Backtrack. But so far no success, I must use an usb flash drive because my superdrive (cd reader) is broken and I'm not able to fix it. I install rEFit but it won't boot the usb. And I'm sure the usb is working I tested it on a other pc. Is there someone out there who has experience with installing an other os on a MBP, using a flash drive ? If someone can help me with some information would be very much appreciated Thanks a lot in advance, Niels
  20. Hey everybody, this week I was trying to "install" katana on a usb key I bought recently. The usb key is a HP v210w 8gb. Now my problem is I can't run the bootinst.sh of bootinstbat. I first formatted the usb key on my mac en tried to run the bootinst.sh, then I get this output : egrep: /proc/mounts: No such file or directory egrep: /proc/mounts: No such file or directory egrep: /proc/mounts: No such file or directory Can't find device to install to. Make sure you run this script from a mounted device. Then I tried the same thing on a Windows 7 pc. Formatted the usb key, unrared the katana rar, tried to run the bootstrap.bat, getting the message that it can't be performed because the device is read-only. So I made sure that the all files weren't read-only but that didn't worked either. Can anybody come up with some advise ? Thanks in advance, Niels
  21. Maybe you should take a look at the Observer Pattern, that's a possible solution. Or try an MVC kind of approach but like Sitwon said. It al depends an you're requirements.
  22. Hey everybody, for a couple of months I've been keeping an eye out to buy me a rackserver. Finally I found some interesting bargains, but I'm seeking some advise from you guys. I found some used, refurbished servers and some interesting new servers. This is what I come up with : ################################################### ##############USED refurbished Servers ############### ################################################## ########### IBM ############### IBM X-series 3850m2 2 x Intel Xeon E7330 Quad-Core 2,4Ghz 8 x 1 GB PC2-5300 ECC DDR-2 2 x 72 GB 2,5" hot-pluggable harddisk SAS 3G 10K IBM dual nic integrated 2x 10/100/1000 Mb/sec IBM integrated RAID controller IBM Powersupply X-series 3850 1300 Watt IBM Xseries 3850 6 vents Internal DVD-Rom IDE low-profile = >1485 € ########### DELL ############### Dell Power-Edge 2950 2 x Intel Xeon E5130 Dual-core 2,00 Ghz 4 MB cache 1333 Mhz FSB 4 x 2 GB PC2-5300 ECC DDR-2 4 x 1 GB PC2-5300 ECC DDR-2 2 x 500 GB 3,5" hot-pluggable harddisk SATA 7200rpm Dell embedded Remote Access Controller Dell dual embedded Broadcom NetXtreme II 5708 Gigabit ethernet NIC Dell NC7170 2x gigabit PCI-X nic Dell PERC 5/i controller met 256 MB + battery Dell Poweredge 2950 hot-pluggable 750W powersupply Dell Poweredge 2950 4 vents Internal DVD-Rom IDE low-profile => €1.529,15 ########### HP ############### HP Proliant ML350G5 2 x Intel Xeon X5355, 4 cores 2.66Ghz 2x4 MB cache 1333 Mhz FSB 2 x 2 GB PC2-5300 ECC DDR-2 4 x 1 GB PC2-5300 ECC DDR-2 2 x 72 GB 2,5" hot-pluggable harddisk SAS 3G 10K aanbieding HP Integrated Light Out 2 (iLo2) managemen HP two embedded NC373i Multifunction Gigabit Net work adaptor HP Smart-Array E200i SAS RAID controller HP Proliant ML350G5 Powersupply 800Watt Powerkabel standaard 220v - C19 female 2 x HP Proliant ML350G5 vents Internal DVD-Rom IDE black => €1.449,42 HP Proliant ML350G5 2 x Intel Xeon E5335, 4cores, 2,0 Ghz, 8 MB L3 cache, 80 Watt 2 x 2 GB PC2-5300 ECC DDR-2 4 x 1 GB PC2-5300 ECC DDR-2 2 x 72 GB 2,5" hot-pluggable harddisk SAS 3G 10K HP Integrated Light Out 2 (iLo2) management HP two embedded NC373i Multifunction Gigabit Net work adaptor HP Smart-Array E200i SAS RAID controller HP Proliant ML350G5 Powersupply 800Watt Powerkabel standaard 220v - C19 female€15,00 2 x HP Proliant ML350G5 vents Internal DVD-Rom IDE black => €1.354,22 ################################################### ##############BRAND NEW Servers ################### ################################################## These are the new servers I found, these are supermicro servers, but they only have 1 processor. ########### SuperMicro ############### 2U Superserver Xeon 5000 8bay Intel Xeon E5506 Quad Core 2.13GHZ 4.8GT 80W 3 x Kingston 1GB DDR3 1333Mhz ECC Integrated IPMI2.0 with Dedicated LAN Rackmount rails Onboard LSI 1068e 8-Port SAS Controller 2 x seagate 2tb 5900rpm sata II AS low power 3 x kingston 2gb DDR3 1333mhz Ecc =>1070€ Supermicro 1U 5016T-MTF Xeon 5000 4bay Intel Xeon E5506 Quad Core 2.13GHZ 4.8GT 80W intel xeon e5620 2.4g 5.86T 80w 3 x Kingston 2GB DDR3 1333Mhz ECC Integrated IPMI2.0 with Dedicated LAN Rackmount rails / Without DVD-Rom (x16) PCI-Express 2.0 slot 2 x seagate 1TB 7200rpm SATA II AS 6 x 2GB DDR3 1333Mhz Ecc => 1314€ Supermicro 1U 5017C-MTF Xeon E3 4bay Intel Xeon E3-1230 4core 3.20ghz 8mb 80W 2 x Kingston 1GB DDR3 1333Mhz ECC Onboard IPMI/KVM with Dedicated LAN 350W Gold Level Power Supply 2 x Seagate 500GB 7200rpm sata II ns 4 x kingston 4gb DDR3 1333 mhz ECC slimline dvd-rom player sata => 1220€ I want to install VMWare ESXi on the server I would like to buy. Could anybody give his/here opinion on these servers? Thanks very much, looking forward to hear some comment.
  23. sorry for the little detail but ADSL stands for Asymmetric dsl, and in you're case 10 up and down isn't really asymmetric. Because adsl is full-duplex,the name comes from that originally the channels ( frequencies) reserved for download is a higher proportion then the upload part.
  24. Hey everybody, I'm hving a problem with a script I'm using and I hope somebody could help on the forum. I started implementing the facebook like button. I noticed they encouraged you to use this piece of code : &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script&gt; window.fbAsyncInit = function() { FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); &lt;/script&gt; Now that doesn't work for me at the moment and I thought it had something todo with the special htmltag you need to use so I thought to implement my on script loading this way first. Easy enough I thought but after 2 days searching around, and I'm not that familiar with javascript or jquery. I wrote this piece of script to load my own jquery(this part is work correctly because I tried the static linking first). &lt;script type="text/javascript"&gt; //&lt;![CDATA[ (function() { var e = document.createElement('script'); e.type = "text/javascript"; e.async = true; e.src = ('/js/general.js'); var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(e, x); }); //]]&gt; &lt;/script&gt; I followed a tutorial somewhere online, just replace the write url but it didn't worked sadly enough. I hope there are some javascript master on the forum who could help with some tips. Maybe give be some links to good javascript tuts Thanks in advance
  25. I got this from the clonezilla faq, as you can see clonezilla compresses standard with z1, and as jason cooper mentioned you could use bzip2 right without compressing is afterwards. So have fun and use clonezilla :D In the Clonezilla, the compression opitons are: -z0, --no-compress Don't compress when saving: very fast but very big image file (NOT compatible with multicast restoring!!!) -z1, --gzip-compress Compress using gzip when saving: fast and small image file (default) -z1p, --smp-gzip-compress Compress using parallel gzip program (pigz) when saving: fast and small image file, good for multi-core or multi-CPU machine -z2, --bz2-compress Compress using bzip2 when saving: slow but smallest image file -z2p, --smp-bzip2-compress Compress using parallel bzip2 program (pbzip2) when saving: faster and smallest image file, good for multi-core or multi-CPU machine -z3, --lzo-compress Compress using lzop when saving: similar to the size by gzip, but faster than gzip. -z4, --lzma-compress Compress using lzma when saving: slow but smallest image file, faster decompression than bzip2.
×
×
  • Create New...