Jump to content

neylitalo

Staff Alumni
  • Posts

    1,853
  • Joined

  • Last visited

    Never

Everything posted by neylitalo

  1. I thought these would allow a carte blanche for anything related to and established ftp (port 21) connection. I guess I oversimplified too much? what about: iptables -A INPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED -j ACCEPT iptables -A OUTPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED,RELATED -j ACCEPT I thinks its the same as above except only applied to sport and dport above 1024? Is that correct? HELP! Two things, most important first: With passive FTP, you're actually using a combination of port 21 and x amount of ports > 1023, so it's not quite enough to open up port 21. And you don't have to worry about the OUTPUT table at all, it's the INPUT table that you want to focus on. To answer your question, though, it looks as though it might work - I've never tried an open-ended port range, but if the syntax is correct, I don't see why it won't do the trick. To test it, just scan a few ports > 1023 after you add the rule - something like this ought to do the trick if you have nmap installed. # nmap -sT -P0 -p <portnumber> localhost
  2. Just a few notes: The hierarchy of domain names is usually as follows: .org - Top Level Domain, controlled by ICANN. example.org - Domain, controlled by the owner. Points to a specific machine. www.example.org - Subdomain. Most people don't realize that the "www." part is actually part of the domain, they think it's Just There . www.example.org may very well resolve to a different machine than example.org, and it very often does. And you can take your subdomains as many levels deep as you want, with the most important restriction being that the final label can be no greater than 63 characters long. If you're still interested in buying a domain after the new information brought to light by redbullmarky and Daniel0, though, here's a comprehensive list of accredited domain name registrars.
  3. Most (maybe all) FTP servers make you specify a port range for PASV connections - what FTP server are you using, and did you specify a port range for passive FTP? If you did, make sure that the port range you specified is opened. Also, I would have thought that when you specify a port range, you would specify --dport lowport:highport, but I could be mistaken - do you know which is the case? Here's a comprehensive description of Passive FTP, in case it helps at all. (If nothing else, you might be able to learn something from it that you didn't know already.)
  4. I'm sure that the publicity given to the album was a huge factor, but I also think that people are pleasantly surprised to see this kind of open-mindedness and freedom. If Radiohead had released their album with a price tag of $10, I don't think I would have purchased it - but since they're letting me decide how much to pay, I want to give them something in return for that. I was glad to give them $10 for their album, because they let me choose. I suppose another factor was that I knew that Radiohead was getting my money, not some corporation. I'm more than happy to support artists who create good music, but when my money doesn't even get to the artists, I'm reluctant to pay up.
  5. This may be old news to some of you, but a few weeks ago, the popular bands Radiohead and Nine Inch Nails dropped their corporate record labels and went independent. Trent Reznor (NIN singer) at the unnecessarily high price of CDs, and shortly after, they dropped their record label. Radiohead followed suit, and at the same time, announced the release of their own independently released album called 'In Rainbows'. They also introduced a unique business model - you decide how much you pay for a digital download of the album (DRM free!), or you can order a "discbox", which comes with the album on CD and vinyl, along with a pile of other goodies. Now, only a few weeks after the release, it's estimated that they've made anywhere between $6 and $10 million on sales of the album. I suspect that the reason Radiohead and NIN have had such success with their independence is because they both have a cult following of sorts, but I'm hoping that more artists will cut themselves away from their record labels and show the RIAA, CRIA, etc., that they're not needed. It makes better business for the artists, makes the fans happy, and keeps the lawsuits down. If you're interested, you can buy the album, in the form of a digital download or the discbox, here or by following the links on Radiohead's website.
  6. It depends on the filesystem. I believe with ext2/3, you can shrink and grow filesystems in both directions. Keep in mind, though, that "any program that messes with your hard disk has the possibility to totally destroy your disk, or even turn it into a sperm whale". (From the ext2resize website.) With FUSE (Filesystem in USErspace), you can mount an NTFS filesystem as rw with the ntfs3g tool. Note that this may require modifications to your kernel, depending on the setup provided by the good folks at Ubuntu. I don't know if they have support for userspace filesystems, so if they don't, you'll have to build your own kernel.
  7. I've never been through quite that magnitude of distress at work, but I've had my fair share of problems - I had three immediate superiors at work, so it was never a pretty picture. Each manager had a task for me to do that was "top priority", and none wanted to make concessions, so I'd end up inevitably disappointing one of them. And I know exactly what you mean about "time to find a better offer" - towards the end, I started looking for a new job, because I hated working there so much. I knew that I was either going to quit or be fired for a lack of enthusiasm and general apathy (it was the latter that did me in ), so I figured I should probably get looking. My advice: Take up freelancing on the side, or look for another job. Once you've gotten one or the other (or both, I suppose) put in your two weeks' notice and move on. (Sorry if that sounded curt.)
  8. Network cards don't "come with Linux drivers" - they're either included in the Linux kernel (very likely), or you download them from the manufacturer (not likely at all).
  9. In real life, I can't honestly say that race doesn't play a part, on a subconscious level. I don't think I can be 100% sure that there isn't a subconscious element of bias or negativity towards one race, but it's definitely not something I realize on a conscious level. However, since this isn't real life, I can't see or hear you, and the only interaction I have with you is by typing words and reading the words that you typed. I have no clue what race you are. To be honest, I don't even visualize the people I'm communicating with over the internet, unless I try to. Until I think about it, they're just words expressing ideas and thoughts from some unknown sentient being. This is a good point, and I wish I had thought of it in that other thread. Personal grievances should not be aired in a public medium. I'm sure that nobody wants you to be unhappy. However, frequent use of emoticons, extra or lacking punctuation, and frequent use of unusual non-alphanumeric symbols in regular communication is associated with immaturity. It's common for youngsters to have AIM names or email addresses like "~_~HOttDAwg~_~", and while this may be appropriate amongst their peers, it's strongly discouraged in "mature" conversation. It's the same category as profanity - it probably doesn't add any value to the communication, and it most likely distracts from the actual message. This is a professional-grade forum, and communication should be treated as such. That's not to say that emoticons are entirely unacceptable - there are definitely situations where you might want to throw in a smiley face, or an unhappy face. Just keep in mind that excessive use will just irritate the readers.
  10. Or as a step-stool - or if you have two of them, they work well as the legs in a make-shift desk. (I did that once, but they were old computers and had the good parts taken out.)
  11. Apples and oranges. They're designed and used for entirely different purposes - make your decision based on what you want the product to do for you.
  12. Hacking PHP is used to describe the modification, addition, or removal of features to or from PHP itself. It has absolutely nothing to do with cracking, attacks, or any of the other negative connotations that have unfortunately been assigned to the word "hack".
  13. Your IP address is 192.168.0.13, not 10.19.19.254 - you'll want to try going to http://192.168.0.13.
  14. I got an offer for a file upload system for $200. While I wouldn't charge as much as SA (maybe $8k or $10k), it's not unreasonable at all to imagine that someone would pay $16,000 for something like that.
  15. Sounds like your looking for a suga daddy...then once he suggests something sexual youve got him. Still dont trust ya ..sorry I should hope that we don't have members using our forums as a dating service, or as a means to hook up. And I rather doubt that ours is a "haven for cops pretending to be 15 yo girls", since I've noticed maybe a few dozen users that A) are female or B) have feminine usernames or avatars. If it was such a predator-trap, then I'd expect to see hundreds of obviously female users. One last note: I should hope your distrust doesn't reach so far as to treat this member any differently than the others. You shouldn't be having exchanges that the police would be interested in, anyway. A healthy number, I suppose - the odds are in America's favor, in regards to population.
  16. Let's also take a look at this thread regarding free forums, and this one regarding the commercial forums. Since you have a question that isn't answered by these threads, I'll not lock the thread - but once it gets to be redundant, out comes the padlock.
  17. It seems that X doesn't assign a keymap to Shift+Caps Lock, so the Shift just gets ignored. I don't really want to modify the system keymap files, but there's a section in the XKB file that looks as though it might be able to handle the addition of extra keymaps: xkb_keycodes { include "xfree86+aliases(qwerty)" }; But I can't get it to add the shift+caps keycode - I keep getting syntax errors, and I can't figure out how xkb source files are arranged. Here's how it would look in the US QWERTY keymap file: shift keycode 58 = Caps_Lock And then, this line in the xkb source file needs to be changed: // old line, without Shift + Caps Lock key <CAPS> { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift ] }; // the new line, which, ideally, would make Shift + Caps Lock turn Caps Lock on. key <CAPS> { type[Group1] = "ONE_LEVEL", symbols[Group1] = [ ISO_Level3_Shift, Caps_Lock ] }; Anybody who can work some magic, please do, and then post it somewhere we can get it.
  18. That's a possibility, I'll see what I can do.
  19. The short story: I hate frequently moving my right hand between the keyboard and mouse, so I often try to limit my IM, IRC, etc., responses to words that can be constructed with my left hand only. Now I can type anything I want with my left hand. See this blog post for the whole picture. They've created an XKB file (for Unix-like operating systems only, sorry!) that will mirror the right-hand side of the keyboard to the left-hand side, when you press and hold Caps Lock. I never use Caps Lock anyway, so yay for finally making it do something useful. Now, you can either download mirrorboard.xkb from the xkcd blog that I linked you to, or you can get the "fixed" version from my website. It used to have a little bug where the Tilde and Shift-Tilde mappings were reversed, but I fixed it. Instructions for using the file are in the blog and in the XKB file, but if it doesn't Work For You , then post here and we'll see what we can do.
  20. I've been reading xkcd for about a year, and have been loving every minute of it. xkcd fans may also enjoy Dinosaur Comics, Help Desk, and Wondermark.
  21. Core files are useful information when you need to debug a problematic application, usually in the realm of buffer overflows or segmentation faults. Although I've never heard of an application leaving a core dump automatically, it is possible - so that's my guess.
  22. You should. Even if you don't really have a desire to ride afterwards, you would get a huge sense of accomplishment from it. And if you ever get in a life-or-death situation where you need to ride a bicycle, you'd be all set!
  23. Never mind... it seems that default ACLs only set the x bit when you create a directory. Which makes sense - new files created shouldn't be executable. Solved.
  24. I don't think that analogy works at all for programming. Why not? If you were to take a break from programming, never see anything programming-related for many years, you would have a pretty difficult time getting back into it. I used a combination of PHP 4 and 5 for about a year, and had no problems with keeping the differences in mind. But then I switched to PHP 5 exclusively for ~2 years, and forgot all of the things I needed to know about keeping PHP 4 code free of PHP 5 features, and I found myself with broken code, with no idea of what was going wrong.
  25. This is the ACL I have set on a directory: # file: public_html # owner: neal # group: apache user::rwx group::r-x other::--- default:user::rwx default:group::r-x default:other::--- Yet, when I do: ~/public_html $ touch testfile I get these permissions: -rw-r----- 1 neal apache 0 Oct 12 01:44 testfile Instead of what I should be seeing: -rwxr-x--- Is there something wrong with my ACL? Should I be using masks instead?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.