Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,235
» Latest member: pwcreator
» Forum threads: 4,030
» Forum posts: 16,405

Full Statistics

Online Users
There are currently 324 online users.
» 0 Member(s) | 319 Guest(s)
Applebot, Baidu, Bing, DuckDuckGo, Google

Latest Threads
Wi-Fi works for a few min...
Forum: Network Problems
Last Post: kabifff
2025-12-15, 12:57 AM
» Replies: 0
» Views: 57
How to install Archboot i...
Forum: Network Problems
Last Post: Meup
2025-05-13, 01:41 PM
» Replies: 0
» Views: 3,605
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 113,437
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 61,125
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 4,969
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 8,642
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 46,032
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 144,801
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 80,100
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 62,842

 
  How to block local users ports and ips
Posted by: KobrAs - 2004-12-29, 08:42 AM - Forum: Security and Firewalls - Replies (2)


Want to block a local user to access a specific port or a specific ip ?

linux-noob.com will help you how to do that :

 

[root@test tmp]# id test

uid=503(test) gid=503(test) groups=503(test)

[root@test tmp]#

(look at uid= and gid=)

 

How to block a local user to access any outside ports ?



Code:
iptables -t filter -A OUTPUT -p tcp --dport 6667 --match owner --uid-owner 503 -j DROP




(you may need to change tcp to udp or icmp and --uid-owner to other uid)

 

How to block a local group to access any outside ports ?

(lets find group 'users' gid by doing grep -i users /etc/group)



Code:
iptables -t filter -A OUTPUT -p tcp --match owner --gid-owner 100 -j DROP




 

For blocking just specific ports just add --dport port or --sport port after -p protocol

 



Code:
iptables -t filter -A OUTPUT -p tcp --dport 6667 --match owner --uid-owner 503 -j DROP




 



Code:
iptables -t filter -A OUTPUT -p tcp --dport 6667 --match owner --gid-owner 100 -j DROP




 

How to block a specific range of ports ?

 



Code:
iptables -t filter -A OUTPUT -p tcp --dport 1:1024 --match owner --uid-owner 503 -j DROP




(you may need to change the range 1:1024 (all ports from 1 to 1024) and the uid)

 

How to block a specific ip destination or source or a specific class (a 256 ips class) on all protocols and ports or to specific port(s)?

 

destination :



Code:
iptables -t filter -A OUTPUT -d 199.9.9.9 --match owner --uid-owner 503 -j DROP




 

source :



Code:
iptables -t filter -A OUTPUT -s 199.9.9.9 --match owner --uid-owner 503 -j DROP




 

full class :



Code:
iptables -t filter -A OUTPUT -d 199.9.9.0/24 --match owner --uid-owner 503 -j DROP






Code:
iptables -t filter -A OUTPUT -s 199.9.9.0/24 --match owner --uid-owner 503 -j DROP




 

specific destination or source specific ports or range :



Code:
iptables -t filter -A OUTPUT -d 199.9.9.0/24 --dport 6667 --match owner --uid-owner 503 -j DROP






Code:
iptables -t filter -A OUTPUT -d 199.9.9.0/24 --dport 1:1024 --match owner --uid-owner 503 -j DROP




 

(you many need to change tcp to udp or icmp and --gid-owner to other gid)

 

(the ips and ports used here are just examples)

 

Thats all for today.

 

Greets goes out to ... linux-noob.com

Print this item

  What's the difference between the various DVD reco
Posted by: KobrAs - 2004-12-29, 08:16 AM - Forum: General Chat - Replies (1)


Currently there are many writeable and rewriteable DVD formats on the market, and this can be confusing to the average consumer. These DVD formats include:

 

DVD-RAM

DVD-R

DVD-RW

DVD+R

DVD+RW

 

DVD-RAM

 

DVD-RAM is a sanctioned format of the DVD Forum, a consortium of companies involved in the development of DVD standards. DVD-RAM was a format originally aimed primarily as a data solution, but it is now becoming popular as a video format used by some brands of standalone (non-PC) DVD recorders. DVD-RAM is a very robust data storage solution, theoretically allowing greater than 100000 rewrites per disc.

 

Early PC-based DVD-RAM recorders used 2.6 GB discs (or double-sided 5.2 GB discs), but current drives also use 4.7 GB discs (or double-sided 9.4 GB discs). DVD-RAM discs are traditionally housed within cartridges, so that the media is well-protected. Originally, the cartridges could not be opened, but newer Type II and Type IV cartridges can be opened, an important feature for those who wish to read these discs in DVD-RAM compatible DVD-ROM drives or standalone DVD players. In addition, some DVD-RAM discs are now sold without cartridges.

 

In addition to support of the usual DVD UDF formats, DVD-RAM also allows fully integrated OS-level random read/write access similar to hard drives, with both Windows XP (with FAT32) and Mac OS X (with FAT32 or HFS+), as well as on-the-fly write verification.

 

The main drawback of the DVD-RAM format is its limited read compatibility by DVD-ROM drives and standalone DVD players. DVD-RAM read support with these units is increasing however, partially because of the increasing popularity of home standalone DVD-RAM recorders in home theatre systems.

 

DVD-R and DVD-RW

 

DVD-R and DVD-RW are also both formats of the DVD Forum. Both formats generally use 4.7 GB discs, although some professional DVD-R drives use 3.95 GB discs.

 

DVD-R is a write-once recordable format which allows excellent compatibility with both standalone DVD players and DVD-ROM drives. There are two main types of DVD-R discs: DVD-R for General Use and DVD-R for Authoring. Most consumer DVD-R burners use the cheaper General Use discs, while some professional burners use Authoring discs. The correct media type appropriate for the recorder must be used when burning a DVD-R. However, once written, the discs should be readable in either drive type. (General Use DVD-R is designed to prevent backup of encrypted commercial DVDs.)

 

DVD-RW media uses rewriteable discs which are rated for more than 1000 rewrites in ideal situations. The majority of standalone DVD players will play video recorded on DVD-RW discs, but the compatibility is not as high as with DVD-R.

 

Current DVD-RW recorders also record to DVD-R. However, the reverse was not always true. Some older DVD-R recorders were not capable of writing to DVD-RW discs (although some were able to read DVD-RW discs burned with other drives).

 

DVD-RW and DVD-R have heavy penetration into the professional multimedia market as well as the general consumer market. For instance, the Apple SuperDrive, found in many pro and consumer Mac computers, is simply a DVD-R/DVD-RW (and CD-R/CD-RW) capable burner.

 

DVD+R and DVD+RW

 

These two formats are backed by the DVD+RW Alliance. While these formats are not supported by the DVD Forum, several members of the DVD+RW Alliance are also members of the DVD Forum. These discs are very similar to DVD-R and DVD-RW in design, usage, and compatibility.

 

DVD+RW, like DVD-RW, is a rewriteable 4.7 GB format, and overall it has similar functionality to DVD-RW. The level of compatibility of standard DVD+RW discs in standalone DVD players is similar to that of DVD-RW. The rewritability of DVD+RW is also said to be similar to that of DVD-RW, allowing up to 1000 rewrites.

 

One potential advantage of the DVD+RW format is Mount Rainier (DVD+MRW) drag-and-drop file access support planned for Longhorn, a future version of Windows slated for release in 2005. Older DVD+RW drives do not support this function, but newer drives may. While DVD+MRW is arguably not as robust a data solution as DVD-RAM, DVD+MRW potentially will offer higher read compatibility in current DVD-ROM drives.

 

DVD+R is a format that was introduced to consumers in early 2002. The first generation +RW recorders did not support DVD+R recording, and likely cannot be upgraded to do so. However, all current models of DVD+RW recorders also support DVD+R recording. Compatibility of +R discs in standalone DVD players is similar to that of DVD-R.

 

Can I have it all?

 

Support of combinations of several of the formats are available in many current drives. Recorders that conform to the DVD Forum

Print this item

  linux-noob.com apache updated to 1.3.33
Posted by: anyweb - 2004-12-28, 09:55 PM - Forum: Site News - No Replies


time to update again

 

this involved the following

 

download apache 1.3.33

 

or

Code:
wget http://apache.dataphone.se/httpd/apache_1.3.33.tar.gz




 

then untar it as follows

 



Code:
tar zxvf apache_1.3.33.tar.gz




 

once done move it as follows

 



Code:
mv apache_1.3.33 /usr/local/src/




 

once moved lets compile it !

 

 



Code:
cd /usr/local/src/
cd apache_1.3.33
./configure --prefix=/usr/local/apache \--enable-module=so
make
make install




 

ok compiling done, lets restart apache

 

(by the way all this time apache was HOSTING this site :-) no interuptions at ALL

 

 



Code:
/usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl start  




 

done !

 

cheers

 

anyweb

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-36-1104271145.png" data-fileid="242">[img]<fileStore.core_Attachment>/post-36-1104271145.png[/img]</a>



Attached Files
.png   Screenshot_16.png (Size: 154.48 KB / Downloads: 300)
Print this item

  what is the stability of fedora core r. 3
Posted by: anyweb - 2004-12-28, 07:25 PM - Forum: Polls - Replies (2)


please give us all an idea of the stability of fedora core release 3

 

personally i find it very stable, (moreso than fedora core release 2)

 

however, i have experienced two glitches and both occurred immediatly after a reboot after doing an up2date

 

seems selinux is the culprit for my last 'glitch'

 

basically gnome wouldnt start, because it could not find libxml2.so.2

 

turns out the file was indeed there, but selinux was denying access to it, disabling selinux allowed me to startx normally, thanks to Ritter for spotting that

 

how about you ? how have your experiences been ?

 

cheers

 

anyweb

Print this item

  Planned downtime tomorrow (Monday 27th)
Posted by: anyweb - 2004-12-26, 08:41 PM - Forum: Site News - No Replies


hi all, for your information

 

tomorrow (Monday 27th December 2004) @ approx 1pm GMT, www.linux-noob.com will be COMPLETELY INACCESSIBLE for at least one hour possibly more while maintenance (electrical work) is being carried out.

 

After this period, if all goes well the site will be back up and more than likely on a different IP address, which may lead to some problems for some of you, I will update via everydns.net once i see if the IP is different.

 

just to let you know...

 

cheers

 

anyweb

Print this item

  heh
Posted by: anyweb - 2004-12-25, 10:46 PM - Forum: Linux - Replies (4)


duh

<a class="ipsAttachLink ipsAttachLink_image" href="<fileStore.core_Attachment>/post-11-1104014768.png" data-fileid="241">[img]<fileStore.core_Attachment>/post-11-1104014768.png[/img]</a>



Attached Files
.png   Screenshot_15.png (Size: 234.04 KB / Downloads: 0)
Print this item

  AirCard 710
Posted by: beej - 2004-12-25, 04:54 AM - Forum: How Do I? - Replies (2)

Hey all, recently tried getting my Sierra Wireless AirCard 710 GSM/GPRS Wireless Modem installed in FC3...after following the guide for installing it under Linux, KPPP says it can't find /dev/modem, which is what it is supposed to be avalible as. Any help would be much appreciated. Thanks!

Print this item

  Merry Christmas
Posted by: lia - 2004-12-25, 12:08 AM - Forum: General Chat - Replies (1)


We're just back from eating way too much and drinking way too little ;)

And I am knackered zzz

 

But before heading off to bed I wanted to wish you all a Merry Christmas!

May your day be filled with joy and laughter :)

 

/lia

Print this item

  dependancy hell
Posted by: Blake_AE - 2004-12-24, 01:57 PM - Forum: Package Management - Replies (2)


Computer - Dual 700, 5 SCSI HD Raid Array, Red Hat 9

 

Problem - Openldap-2.2.17 is currently installed. When this was installed, it broke 5 dependancies:

 

The following packages have unmet dependencies:

autofs: Depends: liblber.so.2

Depends: libldap.so.2

gnupg: Depends: libldap.so.2

libuser: Depends: liblber.so.2

Depends: libldap.so.2

nss_ldap: Depends: liblber.so.2

Depends: libldap.so.2

sendmail: Depends: liblber.so.2

Depends: libldap.so.2

 

I get the above message when I try to install ANYTHING with rpm or apt. I've tried to manually add libldap.so.2 (linked to libldap.so that I built manually from an old openldap which I did not install). Anyway, that didn't take.

 

So, I can't install anything with a package manager. I can't remove the new openldap because there are 33 packages with dependancies on the new libldap libraries including apache. It's hosting 5 live websites right now so it can't go offline.

 

Any ideas? I'm on the IRC channel as well if anyone can offer help.

 

Thanks,

Blake

Print this item

  Merry Christmas!
Posted by: Ritter - 2004-12-24, 12:21 PM - Forum: Site News - No Replies


Merry Christmas to all!

 

If you don't celebrate christmas then happy hana.. :/ umm.. happy jewish days! ...:/

 

If you aren't a jew then .. happy <insert your belief here>

 

:):):):):):)

Print this item