Skip to main content

Configuring YUM for DAG

Don't know what DAG is yet, but this is good for adding more packages: (libnet is needed by nessus) Add this to bottom of /etc/yum.conf: [dag] name=Dag RPM Repository for Fedora Core baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag (This on the page http://dag.wieers.com/home-made/apt/FAQ.php#B) Then do the following to find the pkg. note that when i do yum install later down, it picks the latest one. :) [root@localhost etc]# yum search libnet Searching Packages: Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 566 kB 00:01 MD Read : ################################################## 1605/1605 dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 libnet.i386 1.1.2.1-1.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ echoart.i386 0.1-1.1.fc3.rf dag Matched from: Echoart responds to or drops ICMP echo request packets based on a pre-defined sequence, and could be used to return crude ASCII art in response to pings from a Cisco router. It works by intercepting ICMP echo request packets and consulting a pattern template to determine whether or not to respond to a specific echo request. It then uses libnet to inject responses back into the network as necessary. libnet.i386 1.0.2-2.1.fc3.rf dag Matched from: libnet Libnet is a high-level API (toolkit) allowing the application programmer to construct and inject network packets. It provides a portable and simplified interface for low-level network packet shaping, handling and injection. Libnet hides much of the tedium of packet creation from the application programmer such as multiplexing, buffer management, arcane packet header information, byte-ordering, OS-dependent issues, and much more. Libnet features portable packet creation interfaces at the IP layer and link layer, as well as a host of supplementary and complementary functionality. Using libnet, quick and simple packet assembly applications can be whipped up with little effort. With a bit more time, more complex programs can be written (Traceroute and ping were easily rewritten using libnet and libpcap). http://www.packetfactory.net/projects/libnet/ snort-bloat.i386 2.2.0-1.1.fc3.rf dag Matched from: Snort compiled with MySQL, PostgreSQL and ODBC support. Requires snort libnet rpm. [root@localhost etc]# [root@localhost etc]# yum install libnet Setting up Install Process Setting up Repo: dag repomd.xml 100% |=========================| 951 B 00:00 Setting up Repo: base repomd.xml 100% |=========================| 1.1 kB 00:00 Setting up Repo: updates-released repomd.xml 100% |=========================| 951 B 00:00 Reading repository metadata in from local files dag : ################################################## 1605/1605 base : ################################################## 2622/2622 updates-re: ################################################## 463/463 Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for libnet to pack into transaction set. libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 9.5 kB 00:00 ---> Package libnet.i386 0:1.1.2.1-1.1.fc3.rf set to be installed --> Running transaction check Dependencies Resolved Transaction Listing: Install: libnet.i386 0:1.1.2.1-1.1.fc3.rf Is this ok [y/N]: y Downloading Packages: libnet-1.1.2.1-1.1.fc3.rf 100% |=========================| 223 kB 00:00 warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 6b8d79e6 public key not available for //var/cache/yum/dag/packages/libnet-1.1.2.1-1.1.fc3.rf.i386.rpm [root@localhost etc]# [root@localhost etc]#

Comments

Popular posts from this blog

Essential Firefox Add-Ons For the Cloud

If you don't want to be tied down to a desktop, you need direct access to your computer in the cloud. Since Firefox runs just about everywhere, it's a good place to start to set up a reliable way to access your accounts. Blog & Social  Delicious Bookmarks is the recommended and official Firefox add-on for Delicious, the world's leading social bookmarking service (formerly del.icio.us). It integrates your bookmarks and tags with Firefox and keeps them in sync for easy, convenient access. Syncing slows down startup, though. ScribeFire Blog Editor is a blog editor that integrates with your browser and lets you easily post to your blog. They've also integrated their affiliate Quick Ads advertising program, which I haven't tried.

Joomla 1.5 Directory Status: Writeable

[UPDATED] Joomla 1.5 is acting flaky on one of our installations because the directories are set to ‘unwriteable’. To see the their current state, log in as Super Administrator and go to Help > System Info > Directory Permissions . Elsewhere, it's been suggested that the specified directories must be set to “world-writeable” (777). This works, but it is a very bad idea , since it means anyone can change your files! Not cool. Fixing Security with User and Group Settings To perform these changes, you need shell (command line) access to your server. If you don't have it, you can beg your host to make these changes for you, or switch to a Joomla-friendly host. I'm going to assume that you are using a LAMP (Linux/Apache/MySQL/PHP) server because if you're not, then ... well, these instructions should work in principle, but the specifics for your server may be quite different. Here's the issue: you, the FTP user, need full access to your files. So does Joomla,

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium. If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here . Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD , which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-P